August 14, 20241 yr Hi nice people! I have extracted some files from the game Ninja - Shadow of Darkness with a quickbms. and find some .pak files, that seems it compressed. Could someone take a look? thanks in advanced. FRONT.zip
August 15, 20241 yr Supporter Try this: https://github.com/bartlomiejduda/Tools/blob/master/NEW Tools/Ninja Shadow of Darkness/Ninja_Shadow_of_Darkness_PAK_script.bms Data is compressed with LArc LZ5 compression ("LHA_lz5" in quickbms).
August 15, 20241 yr Supporter Quote Data is compressed with LArc LZ5 compression ("LHA_lz5" in quickbms). Actually It´s a LZ5 Variant, not larc one. flagbits is processed by shifting it left or right depending on its current value. rd is calculated based on the current src value, where: rd points to dst + 1 adjusted by the scaled src value. len is determined by extracting the lower 4 bits of src and adding 3. The logic performs some operations with rd and len. In this example, it copies data from src to rd and updates src and dst pointers. Edited August 15, 20241 yr by Rabatini
August 15, 20241 yr Supporter Solution I’ve created a decompressor and compressor tool (attached). The compressor tool was made in a hurry and might not have the best compression ratio, but it works! LZ5-Ninja-DeCompressor.zip
August 15, 20241 yr Author 1 hour ago, Rabatini said: I’ve created a decompressor and compressor tool (attached). The compressor tool was made in a hurry and might not have the best compression ratio, but it works! LZ5-Ninja-DeCompressor.zip 155.91 kB · 0 downloads No sucess with ikskoks! But yours, works perfectly!!!! Thank you sooo muchhh. Tried in other paks, and works too!
Create an account or sign in to comment