Dark Arcana: The Carnival - cub variant

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

Dark Arcana: The Carnival - cub variant

Post by AlphaTwentyThree »

Hi folks!
I already wrote a script for cub1.1 archives which wasn't very complicated. Now I'm encountering cub1.0 and it's quite different. I tried to understand it but to no avail. Can somebody take a look?
Here's the first 2mb of the archive (xor_0x96): http://*USE_ANOTHER_FILEHOSTING*/f261d34 ... ame.cub.7z
Thanks for your help!
Ekey
Posts: 1383
Joined: Sat Aug 09, 2014 2:34 pm

Re: Dark Arcana: The Carnival - cub variant

Post by Ekey »

Xored by 0x96969696 also some SHORT values xored by 0x9696
AlphaTwentyThree
Posts: 909
Joined: Sat Aug 09, 2014 11:21 am

Re: Dark Arcana: The Carnival - cub variant

Post by AlphaTwentyThree »

Yes, I know. ;)
What I don't understand is the TOC structure. I'll need somebody to take a look at that.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Dark Arcana: The Carnival - cub variant

Post by aluigi »

I have a script that has xor 0x96 and the "cub\0" signature:
http://aluigi.org/papers/bms/others/enigmatis.bms
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Dark Arcana: The Carnival - cub variant

Post by aluigi »

I have just updated the enigmatis.bms script.
It seems to work correctly, it also cuts the 0x12345678 header at the beginning.
AlphaTwentyThree
Posts: 909
Joined: Sat Aug 09, 2014 11:21 am

Re: Dark Arcana: The Carnival - cub variant

Post by AlphaTwentyThree »

Thanks a lot for this! :)