
19-06-2024, 05:28
|
|
Registered User
|
|
Join Date: Apr 2011
Location: Iran
Posts: 753
Thanks: 980
Thanked 514 Times in 457 Posts
|
|
Quote:
Originally Posted by wareck
Hello
Yes it's a little tricky to compress this game
the problem is on files basis.pak and patch_00*.pak
the are compressed with zipcrypto (ntfs+pkware+encrypt)
what I've done:
uncompress basis.pak in a temporary folder "basis-temp"
(keep structure and everything like in the basis archive)
for uncompress you need a password : oKoo$]bnGTKJLMNBA9A
I optimized compression with software linked to each kind of file
(wavpack for wav, oggre for ogg, lepton for jpg, xtool for png, lolz for dds, lzma2 for xml/txt/inifile razor for dll/exe ect)
during the install/decompression process, I made a batch file to rebuild the basis.pak
7z.exe -mx5 -tzip -spe -poKoo$]bnGTKJLMNBA9A a basis.pak .\basis-temp\*
then delete basis-temp
at the end the structure of game is more or less the same but CRC will be different.
The game do not check crc so it works.
I do not find a way to rebuild exactly the same basis.pak as the beguining.
As I explain during compress/encryption, there is some random caracter are added in the packed file.
because they are random, you cannot easily use hdiff or Xdelta, the diff file is almost as big as the original file...
there is probably an another way, using quickbms or header manipulation, but I'm not enough skilled to find a solution
edit: I forgot :
you must have the syrilic characters in windows otherwise some files will be corrupted.
|
Well, I think I'll leave this one game alone . . .
|