Tweak cover JSON format and set names for remaining cover flags

This commit is contained in:
Ryan Dwyer committed 2023-01-05 22:12:16 +10:00
1 parent 577f97b8c8
commit 4be874210b
367 files changed
+125209 -62788

No files matched your search

+16 -1
View File
@@ -265,7 +265,22 @@ class App():
output += self.make_float(row['dir'][0])
output += self.make_float(row['dir'][1])
output += self.make_float(row['dir'][2])
output += row['unk18'].to_bytes(4, 'big')
if row['special'] == 1:
output += b'\x00\x20'
elif row['special'] == 2:
output += b'\x00\x40'
elif row['special'] == 3:
output += b'\x00\x80'
else:
output += b'\x00\x00'
unk1a = row['unk1a']
if unk1a < 0:
unk1a += 0x10000
output += unk1a.to_bytes(2, 'big')
return output