Digimon Encounters PNG

From XentaxWiki
Jump to: navigation, search

Back to index | Edit this page

PNG


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 (*.PNG)

Compatible Programs

See Also