Godzilla Save The Earth - *.VOL

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
MasterMinya
Posts: 18
Joined: Wed Aug 12, 2015 11:26 pm

Godzilla Save The Earth - *.VOL

Post by MasterMinya »

Hello! I'm trying to extract the VOL archive from Godzilla Save The Earth for modding purposes. The file is normally about 671 MB but I used the File Cutter script because the file pretty much contains the entire game.

Samples:

https://mega.co.nz/#!LMpkwZpJ!XfBwC6UXl ... SwUpBBau48

Thanks in advance! :)
AlphaTwentyThree
Posts: 909
Joined: Sat Aug 09, 2014 11:21 am

Re: Godzilla Save The Earth - *.VOL

Post by AlphaTwentyThree »

Tested with the PS2 version.

Code: Select all

# extracts the GODZILLA.VOL from Godzilla: Save the Earth (PS2)
#
# written by AlphaTwentyThree of Zenhax
#
# script for QuickBMS http://quickbms.aluigi.org

idstring "PVOL"
get UNK long
get FILES long
get DATASTART long
xmath NAMEOFF "(0xc * FILES) + (4 * FILES) + 20"
for i = 0 < FILES
   get OFFSET long
   get SIZE long
   get FID long
   savepos MYOFF
   goto NAMEOFF
   get NAME string
   savepos NAMEOFF
   goto MYOFF
   log NAME OFFSET SIZE
next i
Mygoshi
Posts: 654
Joined: Mon Oct 27, 2014 1:49 pm

Re: Godzilla Save The Earth - *.VOL

Post by Mygoshi »

Thank you :D
Last edited by Mygoshi on Wed May 06, 2020 6:42 pm, edited 2 times in total.
AlphaTwentyThree
Posts: 909
Joined: Sat Aug 09, 2014 11:21 am

Re: Godzilla Save The Earth - *.VOL

Post by AlphaTwentyThree »

Btw, the Xbox version has a complete folder structure and the music is plain Xbox ADPCM - just rename to lwav and play with vgmstream. :)
MasterMinya
Posts: 18
Joined: Wed Aug 12, 2015 11:26 pm

Re: Godzilla Save The Earth - *.VOL

Post by MasterMinya »

Thank you so much! :D Extraction works perfectly!

Can this script re-insert the files into the VOL file? Sorry if this is a dumb question, I'm kind of new to using QuickBMS scripts.

Btw, your script works with the vol file from Godzilla Unleashed PS2 as well. Interestingly Pipeworks left tons of unused music from the Wii version in the files.

EDIT: Nevermind, I just saw a topic about reimporting.