Help, please, recognize decryption of Vital Engine 2 GRP archives (Xenus: Boiling Point game). I want to make unpacker\packer script on Quick BMS (for making fan-made patches in future).
I'm reverse engineering engine .dll's and found 'unpack' function, but I can't understand it. All what I'm found I saved to gfUnpack.c file in attach. I could missed some external functions, so notify me if some will not enough.
Also I provide filecutted GRP archive, in which saved only files info block (should contain fileNames length's, fileNames strings, Offsets..)
Struct of archive header block:
Code: Select all
IDString 'FPRG'
Long version
Long nFileInfo --Count of files;
Long fat_size --nFileInfo block size;
Thanks.