VCRAZ File header
-
- Posts: 20
- Joined: Wed Nov 18, 2020 5:54 pm
VCRAZ File header
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
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: VCRAZ File header
This script can compress the VCRA file into SLZ (I don't remember what's the original extension):
While if you need to edit the VCRA file, try the reimport feature while running namco_museum.bms.
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.
-
- Posts: 20
- Joined: Wed Nov 18, 2020 5:54 pm
Re: VCRAZ File header
Thanks Luigi, I'll try it out!
-
- Posts: 20
- Joined: Wed Nov 18, 2020 5:54 pm
Re: VCRAZ File header
Wait, I need to pack the folder as one big file. Is there some way to do this that I'm missing?
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: VCRAZ File header
You can use reimport2.bat for that job.
-
- Posts: 20
- Joined: Wed Nov 18, 2020 5:54 pm
Re: VCRAZ File header
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!
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: VCRAZ File header
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
Very happy of your project