Disney Magic Kingdoms: XXTE header (XXTEA file encryption?)

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Disney Magic Kingdoms: XXTE header (XXTEA file encryption?)

Post by LolHacksRule »

I want to view the game scripts and text files in the game files, they are just in ZIP archives but A LOT of the files them have a header of XXTE, and unreadable bytes below, meaning XXTEA file encryption is possibly in play. Any advice on finding the key and decrypting these files or will someone find it and figure out these for me? Quick note, decrypting files and forcing the game to use them in plaintext is not possible as the game will crash when trying to read one. My files I am sending are from Android, likely multiplatform.

UPDATE: Turns out PC has ONE file encrypted while other plats (like Android) don't, they partially decrypt to the memory too. Another thing is the game supports using DECRYPTED files instead ENCRYPTED ones.

Code: Select all

4bytes: XXTE (58 58 54 45 Header)
1byte: 01
1byte: 00
1byte: 00 or 01 (IDK WHY? EXTRA COMPRESSION?)
1byte: 00
1-3bytes: Size of encrypted data
Beyond: The encrypted data
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: Disney Magic Kingdoms: XXTE header (XXTEA file encryption?)

Post by LolHacksRule »

Bump?