Warlords: Battlecry ARM: Difference between revisions
Jump to navigation
Jump to search
imported>Ikskoks |
imported>Ikskoks |
||
| Line 53: | Line 53: | ||
[[Category:BMS_None | BMS: None]] | [[Category:BMS_None | BMS: None]] | ||
[[Category:File Format]] | [[Category:File Format]] | ||
[[Category:Custom encryption]] | |||
Revision as of 14:08, 18 December 2020
ARM
- Game : Warlords: Battlecry
- Format Type : Misc
- Endian Order : Little Endian
Format Specifications
//header // TODO
MultiEx BMS Script
Not written yet.
Notes and Comments
- ARM files are encrypted with custom algorithm. Special 256-bytes key is needed for decryption.
Decryption algorithm
Below is Python implementation of decryption algorithm:
arm_size = os.path.getsize(in_file_path)
for i in range(arm_size):
arm_byte = struct.unpack("B", arm_file.read(1))[0]
key_file.seek(arm_byte)
out_byte = key_file.read(1)
out_file.write(out_byte)
Compatible Programs