vArc File packer

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
sma6871
Posts: 9
Joined: Tue Oct 07, 2014 12:32 pm

vArc File packer

Post by sma6871 »

Hi

I need .vArc file packer(creator), Vision Engine Archive files(Cabela's African Adventures, Young Justice , ...)

this is the unpack bms script: (thanks to Ekey (h4x0r))

Code: Select all

idstring "VISIONPACKAGE\x00"
get VERSION short
get FILES long
get NAMESTABLESIZE long
goto 0x20

set NAMETABLEOFFSET = FILES
math NAMETABLEOFFSET *= 14
math NAMETABLEOFFSET += 32

for i = 0 < FILES
    get NSIZE short
    get SIZE long
    get ZSIZE long
    get OFFSET long
    savepos TEMP
    goto NAMETABLEOFFSET
    getdstring NAME NSIZE
    math NAMETABLEOFFSET += NSIZE
    math NAMETABLEOFFSET += 1
    if SIZE == ZSIZE
        log NAME OFFSET SIZE
    else
        clog NAME OFFSET ZSIZE SIZE
    endif
    goto TEMP
next i


in game data folder there is a encrypt.bat file:

Code: Select all

make_sdata %1 %2


but there is no make_sdata executable!!!
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: vArc File packer

Post by aluigi »

It looks like make_sdata is part of the Sony PS3 SDK, that's probably why it's not inside the other files.

Regarding the script, it's valid for reimporting so you can opt for that solution (read section 3 of quickbms.txt).
sma6871
Posts: 9
Joined: Tue Oct 07, 2014 12:32 pm

Re: vArc File packer

Post by sma6871 »

Thanks dude

reimport works fine, but just one question, may I trust reimport function for many of files? I just test 2 files.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: vArc File packer

Post by aluigi »

If it worked with 2 files then there are good chances that it will work with all the others.
The only doubt is if the file you modified were compressed or non-compressed in the archive, just in case the archive will not like reinjected compressed files that differ in size (because the compressed size of a file usually differ than the original even if the file is the same due to the different compression level and libraries).