Digimon Encounters PNG: Difference between revisions
Jump to navigation
Jump to search
imported>Ikskoks |
imported>Ikskoks (→Games) |
||
| (16 intermediate revisions by the same user not shown) | |||
| Line 26: | Line 26: | ||
* PNG files are encrypted with '''XXTEA algorithm'''. | * PNG files are encrypted with '''XXTEA algorithm'''. | ||
=== Example Decryption === | |||
Below you can find example decryption method implemented in Python by '''aspadm'''. | |||
<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;"> | |||
<pre> | |||
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) | |||
</pre> | |||
</div> | |||
=== Games === | === Games === | ||
List of games using this file format: | List of games using this file format: | ||
* Digimon Encounters | * Digimon Encounters (*.PNG) | ||
=== Compatible Programs === | === Compatible Programs === | ||
* https://github.com/boseji/xxtea-lib xxtea-lib] | * [https://github.com/boseji/xxtea-lib xxtea-lib] | ||
=== See Also === | |||
* [https://forum.xentax.com/viewtopic.php?f=18&t=23750 Digimon topic on Xentax] | |||
<br/><br> | <br/><br> | ||
[[Category:Complete Complete|Digimon Encounters PNG]] | [[Category:Complete Complete|Digimon Encounters PNG]] | ||
[[Category:CE | [[Category:CE Encrypted|Digimon Encounters PNG]] | ||
[[Category:Format_Image | Type: Image]] | [[Category:Format_Image | Type: Image]] | ||
[[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]] | ||
Latest revision as of 09:03, 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 (*.PNG)
Compatible Programs
See Also