1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2026-04-20 15:16:38 +00:00

SMS pix format (sl:); new presets

This commit is contained in:
Steven Hugg
2019-08-06 18:52:52 -04:00
parent f87ff47a35
commit 138ee806cb
10 changed files with 1831 additions and 26 deletions
+11
View File
@@ -0,0 +1,11 @@
import sys
chr = open(sys.argv[1],'rb').read()
out = open('outsms.bin','wb')
for i in range(0,len(chr),16):
for y in range(0,8):
arr = [ ord(chr[i+y]), ord(chr[i+8+y]), 0, 0 ]
out.write(bytearray(arr))
out.close()