Eden* - *.paz (encrypted?)

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
AlphaTwentyThree
Posts: 909
Joined: Sat Aug 09, 2014 11:21 am

Eden* - *.paz (encrypted?)

Post by AlphaTwentyThree »

Hello guys!
Can somebody look at this format? Might be encrypted.
http://*USE_ANOTHER_FILEHOSTING*/b1d7aee ... samples.7z
Thanks for your help!
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Eden* - *.paz (encrypted?)

Post by aluigi »

Blowfish with a key coming from a constant array where each byte must be converted to negative.
I have the array of the demo, can you provide the exe of the full game?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Eden* - *.paz (encrypted?)

Post by aluigi »

No luck with the full game, I can decrypt the index table but the files are not decrypted correctly.

The demo instead is ok but the 2 files of mov.paz are not decrypted correctly.

Script:
http://aluigi.org/papers/bms/others/eden_.bms
AlphaTwentyThree
Posts: 909
Joined: Sat Aug 09, 2014 11:21 am

Re: Eden* - *.paz (encrypted?)

Post by AlphaTwentyThree »

I've uploaded some other samples: http://*USE_ANOTHER_FILEHOSTING*/d38839a ... de4/paz.7z
Does that help?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Eden* - *.paz (encrypted?)

Post by aluigi »

This is really senseless.
Inside the SYS folder we have BGMtest.wav which is perfectly decrypted and many PNG which aren't.

Note that this is NOT a bug but it's something intentional, probably the same method used for the 2 files in mov.paz.
I will check it again later.
AlphaTwentyThree
Posts: 909
Joined: Sat Aug 09, 2014 11:21 am

Re: Eden* - *.paz (encrypted?)

Post by AlphaTwentyThree »

Thanks a lot for checking this out! :D
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Eden* - *.paz (encrypted?)

Post by aluigi »

The good news is that I have found and implemented the second method for the 2 AVI files in mov.paz, script 0.2.

The bad news is that this method doesn't work with the png/ogg/sc files of the full game, in fact this method needs a 0x100 bytes header in the PAZ file that doesn't exist in the full game.
Probably it uses a third method (a fixed 32bit xor after ReadFile?) but I have enough of this game moreover because I have only the demo working.

Sorry, anyway the script is awesome :)
AlphaTwentyThree
Posts: 909
Joined: Sat Aug 09, 2014 11:21 am

Re: Eden* - *.paz (encrypted?)

Post by AlphaTwentyThree »

Thanks for trying nevertheless. :)