ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Tue Dec 01, 2020 4:45 am

All times are UTC




Post new topic  Reply to topic  [ 7 posts ] 
Author Message
 Post subject: VCRAZ File header
PostPosted: Wed Nov 18, 2020 6:14 pm 
User avatar

Joined: Wed Nov 18, 2020 5:54 pm
Posts: 4
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

_________________
-Garo


Top
   
 Post subject: Re: VCRAZ File header
PostPosted: Thu Nov 19, 2020 5:39 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 11845
This script can compress the VCRA file into SLZ (I don't remember what's the original extension):
Code:
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.


Top
   
 Post subject: Re: VCRAZ File header
PostPosted: Mon Nov 23, 2020 11:37 pm 
User avatar

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

_________________
-Garo


Top
   
 Post subject: Re: VCRAZ File header
PostPosted: Mon Nov 23, 2020 11:46 pm 
User avatar

Joined: Wed Nov 18, 2020 5:54 pm
Posts: 4
Wait, I need to pack the folder as one big file. Is there some way to do this that I'm missing?

_________________
-Garo


Top
   
 Post subject: Re: VCRAZ File header
PostPosted: Wed Nov 25, 2020 3:23 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 11845
You can use reimport2.bat for that job.


Top
   
 Post subject: Re: VCRAZ File header
PostPosted: Fri Nov 27, 2020 8:30 pm 
User avatar

Joined: Wed Nov 18, 2020 5:54 pm
Posts: 4
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!

_________________
-Garo


Top
   
 Post subject: Re: VCRAZ File header
PostPosted: Sat Nov 28, 2020 11:01 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 11845
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


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 7 posts ] 

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited