[PC / DAT] Touhou Mystery of Gensokyo (maybe World Party too)

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Delacroix
Posts: 65
Joined: Mon Dec 08, 2014 1:16 pm

[PC / DAT] Touhou Mystery of Gensokyo (maybe World Party too)

Post by Delacroix »

https://dl.dropboxusercontent.com/u/735 ... sddata.dat

Can I ask for help in extracting this? (it's possible that the potential script will work not only for MoG but also for the prequel as the engine is the same - if not, I'll upload a sample from World Party too) Thanks in advance.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: [PC / DAT] Touhou Mystery of Gensokyo (maybe World Party too)

Post by aluigi »

DXArchive with key "dezabema":
http://homepage2.nifty.com/natupaji/DxLib/dxdload.html

Usage example:
DxaDecode.exe -K:dezabema sddata.dat

Those types of archives can be recognized because they have no headers or readable data.
Then if you analyze the executable check the availability of the following constants: 0x8a, 0xac, 0x7f, 0xd6 and 0xcc, plus 0xaa used if no key is provided. That one is the DXArchive::KeyCreate function with the Key string :)
Delacroix
Posts: 65
Joined: Mon Dec 08, 2014 1:16 pm

Re: [PC / DAT] Touhou Mystery of Gensokyo (maybe World Party too)

Post by Delacroix »

aluigi wrote:Then if you analyze the executable check the availability of the following constants: 0x8a, 0xac, 0x7f, 0xd6 and 0xcc, plus 0xaa used if no key is provided. That one is the DXArchive::KeyCreate function with the Key string :)


... I honestly have no idea if this is even English :-D

Anyhow, needless to say, this does NOT work for the prequel. Uploading the prequel's archive now.
Delacroix
Posts: 65
Joined: Mon Dec 08, 2014 1:16 pm

Re: [PC / DAT] Touhou Mystery of Gensokyo (maybe World Party too)

Post by Delacroix »

Link in the OP has been updated. May I ask for help with this one as well?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: [PC / DAT] Touhou Mystery of Gensokyo (maybe World Party too)

Post by aluigi »

If it's a different game (a prequel is a different game moreover if the key changes) I need the executable and the name of the game.
Delacroix
Posts: 65
Joined: Mon Dec 08, 2014 1:16 pm

Re: [PC / DAT] Touhou Mystery of Gensokyo (maybe World Party too)

Post by Delacroix »

Touhou Yuuen Sekai (translates as World Party, lol)...

https://dl.dropboxusercontent.com/u/735 ... hworld.exe
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: [PC / DAT] Touhou Mystery of Gensokyo (maybe World Party too)

Post by aluigi »

The key is: denn2
Delacroix
Posts: 65
Joined: Mon Dec 08, 2014 1:16 pm

Re: [PC / DAT] Touhou Mystery of Gensokyo (maybe World Party too)

Post by Delacroix »

Thanks, Luigi! I take it, to recreate the archives, I have to use the same keys with DXAEncode, yes?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: [PC / DAT] Touhou Mystery of Gensokyo (maybe World Party too)

Post by aluigi »

It should work, try:
DXAEncode.exe -K:denn2 FOLDER