Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
lsaint
Posts: 22 Joined: Tue Oct 04, 2016 10:55 pm
Post
by lsaint » Sat Oct 22, 2016 3:49 pm
Oh,
I attached the wrong file... (I don't think there are any names)
for some reason in other MKD files it crashes with this code
aluigi
Site Admin
Posts: 12984 Joined: Wed Jul 30, 2014 9:32 pm
Post
by aluigi » Sat Oct 22, 2016 6:59 pm
Can you upload the MKD file that crashes? Remember that I don't have the game so everytime you notice a problem you have to upload the file causing it.
aluigi
Site Admin
Posts: 12984 Joined: Wed Jul 30, 2014 9:32 pm
Post
by aluigi » Sat Oct 22, 2016 8:18 pm
My fault, it was a stupid bug I fixed some seconds after the upload of the script but forgot to reupload it
Script 0.1.1
lsaint
Posts: 22 Joined: Tue Oct 04, 2016 10:55 pm
Post
by lsaint » Sat Oct 22, 2016 9:15 pm
One final question, I'm trying to program a re compresser/de comperessor The C String at MEMORY_FILE10 binary is the Decompression Table right?
aluigi
Site Admin
Posts: 12984 Joined: Wed Jul 30, 2014 9:32 pm
Post
by aluigi » Sat Oct 22, 2016 9:31 pm
No, MEMORY_FILE10 is just the compiled x86 function, the executable code.
lsaint
Posts: 22 Joined: Tue Oct 04, 2016 10:55 pm
Post
by lsaint » Sat Oct 22, 2016 9:37 pm
Ah thank you, so much to learn!
lsaint
Posts: 22 Joined: Tue Oct 04, 2016 10:55 pm
Post
by lsaint » Mon Oct 24, 2016 5:37 pm
Hey, is it impossible to reimport with this script due to it being chunked?
aluigi
Site Admin
Posts: 12984 Joined: Wed Jul 30, 2014 9:32 pm
Post
by aluigi » Mon Oct 24, 2016 7:23 pm
It's not possible to reimport the files because there is no recompression algorithm available.
BlackDog
Posts: 2 Joined: Mon Oct 24, 2016 8:23 pm
Post
by BlackDog » Mon Oct 24, 2016 8:25 pm
Quick question, aLuigi: would you share the source code used to compile that MEMORY_FILE10 DLL? Did you have to implement the whole of what lsaint described in his long post?
aluigi
Site Admin
Posts: 12984 Joined: Wed Jul 30, 2014 9:32 pm
Post
by aluigi » Tue Oct 25, 2016 6:07 am
There is no source code. That one is the original code taken from that tool you linked.
Holdenbrawlfield
Posts: 1 Joined: Tue Nov 01, 2016 3:12 pm
Post
by Holdenbrawlfield » Tue Nov 01, 2016 3:21 pm
Hi,
I'm looking into this game also, and apparently there are RIFF files in one of the archives
and the current script stops when it see's them. I've uploaded an example
https://mega.nz/#!DJlVgTiZ!LixZ0EKDXcPh ... wOrFto1kLI Can you do an update?
also, what exact kind of compression is it? I've read the thread and the OP's post is hard to follow.
It appears to be some kind of variant of Lz77?
aluigi
Site Admin
Posts: 12984 Joined: Wed Jul 30, 2014 9:32 pm
Post
by aluigi » Tue Nov 01, 2016 4:59 pm
Script 0.1.2
lsaint
Posts: 22 Joined: Tue Oct 04, 2016 10:55 pm
Post
by lsaint » Tue Nov 08, 2016 2:02 am
ahh finally! So here is the binary Luigi dumped, translated into a working program in C. right now it can only handle single files. now on to the long road to figuring out re-compression.
aluigi
Site Admin
Posts: 12984 Joined: Wed Jul 30, 2014 9:32 pm
Post
by aluigi » Tue Nov 08, 2016 5:01 pm
Well done, less work for me when I will add it natively in quickbms
lsaint
Posts: 22 Joined: Tue Oct 04, 2016 10:55 pm
Post
by lsaint » Tue Nov 08, 2016 6:02 pm
Glad I could be of some assistance! do you have any tips about understanding re compression?
aluigi
Site Admin
Posts: 12984 Joined: Wed Jul 30, 2014 9:32 pm
Post
by aluigi » Wed Nov 09, 2016 11:03 am
I suggest you to post on
http://encode.ru , they can write a compressor on the fly.
lsaint
Posts: 22 Joined: Tue Oct 04, 2016 10:55 pm
Post
by lsaint » Wed Nov 16, 2016 10:18 pm
Hey, Thanks for the help luigi and the guys at encode.ru! I have now achieved semi working compression....it's larger than the original but can be decompressed by the girenaxv program. It appears there is another compression on top of the lz and the rle: it avoids using markers for repeated literals. I haven't figured it out yet. but if anyone is interested I'm attaching my test program.... slow and steady