ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Wed Jun 26, 2019 1:42 am

All times are UTC




Post new topic  Reply to topic  [ 11 posts ] 
Author Message
PostPosted: Sat Jan 12, 2019 12:08 pm 

Joined: Mon Feb 05, 2018 5:45 pm
Posts: 113
Hi! Could somebody help me extracting the content of those *.ZAR archives which contain the sounds I'm looking for? Thanks in advance.

Samples: ZAR


Top
   
PostPosted: Sat Jan 12, 2019 12:29 pm 
User avatar

Joined: Sat Dec 16, 2017 8:58 pm
Posts: 121
I'm in love with this game, especially your songs. :mrgreen:
-
Image


Attachments:
SOCOM Archives.rar [13.53 KiB]
Downloaded 20 times

_________________
WebSite: HNNEWGAMES
YouTube: HNNEWGAMES
Top
   
PostPosted: Sun Jan 13, 2019 12:10 pm 

Joined: Mon Feb 05, 2018 5:45 pm
Posts: 113
Sorry but it doesn't seem to work. I found this script by alpha23 :

Code:
get UNK long
get FILES long
math FILES -= 1 # first one seems to be no actual file
get INFO long
get UNK long
get BLOCKSIZE long # determines filler blocks
math INFO += 0x74
goto INFO
set OFFCORR FILES
math OFFCORR *= 0x10
math OFFCORR += INFO
math OFFCORR /= BLOCKSIZE
math OFFCORR += 1
math OFFCORR *= BLOCKSIZE
set NAMEPOS 0x64
for i = 1 <= FILES
   get UNK long
   get OFFSET long
   math OFFSET += OFFCORR
   get SIZE long
   get ZERO long
   savepos MYOFF
   goto NAMEPOS
   get NAME string
   savepos NAMEPOS
   log NAME OFFSET SIZE
   goto MYOFF
next i


It extracts all the files correctly with original names but I found the proper names of the tracks inside another file "readerc.zar". Is it possible to edit this script in order to take the names inside readerc and extract what is inside vagstore with these names? Thanks in advance!

READERC.ZAR


Top
   
PostPosted: Sun Jan 13, 2019 1:04 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 10553
http://aluigi.org/bms/socom_zar.bms

The vags*.zar files are NOT archives, they start with the codec (I see ps adpcm in one of them) directly from offset 0


Top
   
PostPosted: Sun Jan 13, 2019 2:08 pm 

Joined: Mon Feb 05, 2018 5:45 pm
Posts: 113
They are not archives? Sorry oO


Top
   
PostPosted: Sun Jan 13, 2019 2:18 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 10553
Don't worry, it wasn't possible to know it without analysis :)
It's rare but sometimes the developers use the same file extension for both archives and normal files.

P.S.: after a double check I guess that vags* are containers and not just a big raw audio file, the reason is that vags_eng* contains strange data at the beginning and adpcm at the end. Still no information for extracting the data, that's why they are only containers.


Top
   
PostPosted: Mon Jan 14, 2019 5:30 am 

Joined: Wed Mar 23, 2016 5:11 am
Posts: 62
I think, in my humble opinion, the score music from SOCOM U.S.NAVY SEALs FIRETEAM BRAVO 2 for PSP is better, nicely composed and very powerful, keeps you on the edge of your seat the whole time you play the game on the PSP, or emulated on PC.
And although both scripts extract the sounds of the PSP version, the one posted above keeps the headers intact and they play fine, while Luigi's script screws things up big time and they will no longer play.


Top
   
PostPosted: Mon Jan 14, 2019 12:40 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 10553
cyberspeed wrote:
while Luigi's script screws things up big time and they will no longer play.

me sad :(

Anyway the results on readerc.zar are identical with both the scripts.
If you can upload one of the archives that gives wrong results with my script I will fix it immediately (I bet it's the ALIGN field or something similar).


Top
   
PostPosted: Mon Jan 14, 2019 6:27 pm 

Joined: Wed Mar 23, 2016 5:11 am
Posts: 62
aluigi wrote:
If you can upload one of the archives that gives wrong results with my script I will fix it immediately (I bet it's the ALIGN field or something similar).

Attachment:
File comment: SOCOM U.S. Navy SEALs: Fireteam Bravo 2 (2006) PSP
VAGSTORE.zip [3.9 MiB]
Downloaded 8 times


Top
   
PostPosted: Mon Jan 14, 2019 9:51 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 10553
Ok fixed, thanks


Top
   
PostPosted: Tue Jan 15, 2019 12:02 am 

Joined: Wed Mar 23, 2016 5:11 am
Posts: 62
Thank you, I can confirm now they play fine for both PSP games with same files.

SOCOM U.S.NAVY SEALs FIRETEAM BRAVO
SOCOM U.S.NAVY SEALs FIRETEAM BRAVO 2


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 11 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