Digimon Encounters PNG: Difference between revisions
Jump to navigation
Jump to search
imported>Ikskoks |
imported>Ikskoks |
||
| Line 59: | Line 59: | ||
[[Category:Extension_png | Extension: png]] | [[Category:Extension_png | Extension: png]] | ||
[[Category:BMS_None | BMS: None]] | [[Category:BMS_None | BMS: None]] | ||
[[Category:XXTEA encryption]] | |||
[[Category:File Format]] | [[Category:File Format]] | ||
Revision as of 08:56, 23 April 2021
Back to index | Edit this page
PNG
- Format Type : Image
- Endian Order : Little Endian
Format Specifications
// Digimon Encounters // PNG file format 2 bytes (char) - signature // "XT" x bytes - encrypted data // it is standard PNG file after decryption
MultiEx BMS Script
Not written yet.
Notes and Comments
- PNG files are encrypted with XXTEA algorithm.
Example Decryption
Below you can find example decryption method implemented in Python by aspadm.
import xxtea
if __name__ == "__main__":
with open("chr755a01.png", "rb") as f:
sign = f.read(2) # b"XT"
data = f.read()
dec = xxtea.decrypt(data, b"140818\0\0\0\0\0\0\0\0\0\0", padding=False)
with open("chr755a01.dec.png", "wb") as f:
f.write(dec)
Games
List of games using this file format:
- Digimon Encounters
Compatible Programs