VCRAZ File header

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Garo
Posts: 20
Joined: Wed Nov 18, 2020 5:54 pm

VCRAZ File header

Post by Garo »

I was using QuickBMS with the Namco Museum script to rip from Namco Museum Remix, when you run the initial Lempel-Ziv-Stac file through QuickBMS it gives you a raw data file with a header of VCRAZ. Yes, I have decompressed the raw data file with QuickBMS by running it through the program a second time, but I want to know if you can compress VCRAZ files. Does anyone know if this may be a U8 archive? Thanks in advance
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: VCRAZ File header

Post by aluigi »

This script can compress the VCRA file into SLZ (I don't remember what's the original extension):

Code: Select all

comtype lzss0_compress

get SIZE asize
clog MEMORY_FILE2 0 SIZE SIZE
get ZSIZE asize MEMORY_FILE2

log MEMORY_FILE 0 0
putdstring "SSZL" 4 MEMORY_FILE
put 0 long MEMORY_FILE
put ZSIZE long MEMORY_FILE
put SIZE long MEMORY_FILE

get NAME filename
string NAME + ".slz"
log NAME 0 16 MEMORY_FILE
append
log NAME 0 ZSIZE MEMORY_FILE2
append

While if you need to edit the VCRA file, try the reimport feature while running namco_museum.bms.
Garo
Posts: 20
Joined: Wed Nov 18, 2020 5:54 pm

Re: VCRAZ File header

Post by Garo »

Thanks Luigi, I'll try it out!
Garo
Posts: 20
Joined: Wed Nov 18, 2020 5:54 pm

Re: VCRAZ File header

Post by Garo »

Wait, I need to pack the folder as one big file. Is there some way to do this that I'm missing?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: VCRAZ File header

Post by aluigi »

You can use reimport2.bat for that job.
Garo
Posts: 20
Joined: Wed Nov 18, 2020 5:54 pm

Re: VCRAZ File header

Post by Garo »

Hey I'm sorry for making this a long topic, but will you publish that .lzs compression script on the QuickBMS website? I am making a program that quickly extracts the files of Namco Museum Remix and it uses the original namco_museum.bms script and the script you replied to this post with. Thanks for the help!
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: VCRAZ File header

Post by aluigi »

It's a simple script so I guess I will leave it here in the post without indexing it on the quickbms homepage.
Very happy of your project :D