There's a new game from XLegends(most aeriagames developer), I've used the (http://aluigi.altervista.org/papers/bms/aeriagames.bms) script from their past games and it's working great but to this new one, It doesn't, I think they changed the compression method?(zlib) as in the error it shows,
here are the files that you might need in checking it out,
I have updated the script to skip the 0x88 0x1c header and footer but there is for sure something like an obfuscated or truncated compressed bytes somewhere in the compressed file so some files will not be decompressed by quickbms and other may be incomplete.
It tooks me some time to analyze the problem because I got some results with offzip but in reality it was just a partial result (offzip is made to extract anything, even invalid).
Take an extracted file like "biology\animation\M009_Bip01 _condition02.kf", as you can see it doesn't contain the Gamebryo data. offzip tells us that it was able to extract 0x00004982 compressed bytes. I tried to cut some bytes around 0x4000 but nothing changed.
I'm sure this is the correct way, I just don't know the exact offset and what operation is performed.
I've successfully got pre-patched? samples from the game on with underscores ,
looks like just like the results on the sacred online thread here, the problem seems to be the NIF file format that are contained in the pkg archives, I think they are rehashed it in the idx or re-encrypted them in a way to work on their latest engine build(old one was 20.2.0.6, new one is 20.2.0.8)?
That extracted data\db\t_itemmall.ini file is expected to be compressed but it doesn't containg compressed data. The proof is that using offzip -S -z -15 returns nothing. Currently I don't know how to handle these files.
aluigi wrote:That extracted data\db\t_itemmall.ini file is expected to be compressed but it doesn't containg compressed data. The proof is that using offzip -S -z -15 returns nothing. Currently I don't know how to handle these files.
This GameProgram seemingly not packers (game.bin) I use Ollydbg open game.bin (Command Line:game.bin Easyfun) Breakpoints ASCII .\data\db\BiologyList.ini (This File is 0x881c unpack fail) I do not really understand Ollydbg..
GameRes is too big..I picked one can't unpack file to upload..
So I would like in this forum looking for your help..Thank you very much..~
There files is used deflate64 zlib format Compression (Zlib Default in deflate32).. Quickbms Can UnCompression There Files? How is Edit Zlib Source code it support deflate64 format?
I use comtype deflate64 unpack this file.. It's Fail.. But I to know zip format and use HaoZip(http://haozip.2345.com/ this soft support deflate64 Compression to zip) create new zip (Zip Compression is 0x09 == deflate64).. use winhex del zipdata and add filedata..(use 0x08 == deflate extracted is fail) use haozip extracted this zip (use Retain the damaged file mode).. The extracted file is incomplete..head is DDS.. pic width is 1920(0x0780) Height is 1080(0x0438) DXT1.. This information is correct .. But behind the data is corrupted The deflate64 metod is were altered?
The technical reason behind the decompression issues was simply that the developers modified the zlib library to allow more than 30 distance bits. I found the problem by using the great tinf library and debugging (with the library, not a debugger) a file till the occurrence of the malformed bytes.
Sorry for being a total noob, Aluigi (and for unearthing a two months old topic) but I used the great script Aeriagames pkg.idx/pkg???.pkg (0.2) with QuickBMS in order to extract data (mainly textures) from Dragon Slayer Online (which worked properly) but when I tried to use the reimport.bat from QuickBMS with my modded *.dds files, it gave me that (see below). I know I'm the stupid one making mistakes but would you be kind enough to tell me what I did wrong ? Thank you so much.