Page 1 of 1

DragonSoul AUP Decoding

Posted: Sun Feb 05, 2012 6:59 pm
by Ekey
All files not packed it looks like this

Code: Select all

data\actiondesc.xml.aup
map\10000\000-000.dds.aup
model\mount\chongdengzuoqi\armoredhorses\armoredhorses_black.mdl.bin.aup
texture\character\assassin\a040_00_00\a040_00_00_chest.dds.aup
ui\textnamepic\zs\bawangzhuiji.tga.aup
but encrypted. Need help for decrypting.

Executables and simpe AUP files : here

Functions that are used (in order):

Code: Select all

0076E970 ; halo::resource::File *__thiscall halo__resource__Manager__OpenFile(halo::resource::Manager *this, const char *szFileName)
0076E920 ; void __thiscall halo__resource__File__Create(halo::resource::File *this, const char *szFileName, int iLength)
0076E150 ; int __thiscall halo__resource__Chunk__Create(halo::resource::Chunk *this, _iobuf *fp, int iLength)
0076E230 ; void __thiscall halo__resource__Chunk__Decode(halo::resource::Chunk *this, halo::resource::File *pFile)
Thanks advance :)

Re: DragonSoul AUP Decoding

Posted: Sun Feb 05, 2012 8:07 pm
by finale00
Game looks nice.
Hope someone looks into it.

My first guess is that it's compressed, considering the integer at the beginning of each file relative to the size of the file.

Re: DragonSoul AUP Decoding

Posted: Sun Feb 05, 2012 9:42 pm
by aluigi
it's a lzss algorithm that uses a bit by bit flag instead of one of 8 bits each time.
the problem is that I don't know the exact parameters, I have already made some scans but none so I guess that I need to dump the function from the executable... I will keep you update if I continue

Re: DragonSoul AUP Decoding

Posted: Sun Feb 05, 2012 10:41 pm
by Ekey
Thanks aluigi will wait for good news :)

Re: DragonSoul AUP Decoding

Posted: Sun Feb 05, 2012 10:57 pm
by aluigi
no good news, I have abandoned.

if you are interested in the main algorithm, it's that simple function at the end of src\libs\tdcb\lzss.c in quickbms.zip
if you set the first 2 #define constants to 13 and 5 you start to get something interesting but still not correct.

Re: DragonSoul AUP Decoding

Posted: Mon Feb 06, 2012 3:53 pm
by Ekey
Sad. Thanks you that tried to help.