papermario/tools/build/pm_charset.py
alex 7cf8bf0b88
Split charsets, matching load_font and load_font_data (#312)
Also use snake_case for splat_ext types
2021-07-16 10:28:37 +01:00

15 lines
326 B
Python

#! /usr/bin/python3
from sys import argv
if __name__ == "__main__":
argv.pop(0) # python3
out = argv.pop(0)
with open(out, "wb") as f:
for path in argv:
with open(path, "rb") as j:
f.write(j.read())
while f.tell() % 8 != 0:
f.write(b'\0')