ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Wed Dec 12, 2018 10:56 pm

All times are UTC




Post new topic  Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Sat Dec 01, 2018 1:49 pm 

Joined: Sat Dec 01, 2018 1:43 pm
Posts: 4
Hello! Not sure if this is the correct place to post this but I'm attempting to extract sounds (weapon audio) which I believe are contained in SH_Tutorial.bin (as linked here) from Crimson Skies: High Road to Revenge. I saw an earlier thread here with a QuickBMS script, however this only worked for the airplane .bins and several others that do not contain the files I need.
The files required do appear to be contained in the .bin, as I can see the filenames with a HEX Editor.

Specific files I am looking for are Gun_2D.wav and Gun_3D.wav although I would prefer all sounds extracted to be sent, since I am unsure whether or not this is the exact sound(s) I'm looking for. I am also in need of missile firing sounds (unsure of the actual file-names)

I apologize if I am violating any rules by linking the file here, as I am unable to attach it due to the filesize limit.
https://www.mediafire.com/file/09i5na2w ... l.bin/file

If anyone is capable of extracting this and sending the contents to me, that would be great. Thanks!


Top
   
PostPosted: Sat Dec 01, 2018 3:06 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9459
This script can extract the raw audio files in the bin archive:
Code:
get DUMMY long
get DUMMY long
get FILES long
get DUMMY long
for i = 0 < FILES
    get DUMMY long
    get NAMESZ long
    getdstring NAME NAMESZ
    get SIZE long
    savepos OFFSET
    log NAME OFFSET SIZE
    goto SIZE 0 SEEK_CUR
next i
There are also other types of files (some names, default.x and so on) after them but they are a mess.


Top
   
PostPosted: Sat Dec 01, 2018 10:15 pm 

Joined: Sat Dec 01, 2018 1:43 pm
Posts: 4
Tried to use it, it extracted the .wav files. However, I cannot play them. Tried with a XBADPCM WAV codec as well, no dice there. Know how to get the .wav to play?


Top
   
PostPosted: Sat Dec 01, 2018 11:24 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9459
Unfortunately I can't help with audio codecs. Maybe try posting one of the obtained samples in the Audio section.


Top
   
PostPosted: Sun Dec 02, 2018 12:19 am 

Joined: Wed Oct 12, 2016 12:22 pm
Posts: 12
aluigi wrote:
Unfortunately I can't help with audio codecs. Maybe try posting one of the obtained samples in the Audio section.

It actually looks like theres some data before the wav files, some don't even have a RIFF header, its odd, but on the ones that do they could just trim off that data id assume


Top
   
PostPosted: Sun Dec 02, 2018 11:27 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9459
Here we go, script 0.2:
http://aluigi.org/bms/crimson_skies.bms

It's compatible also with an older version of bin file reported in this topic:
viewtopic.php?t=4264

If you have any problem extracting a bin just upload it.


Top
   
PostPosted: Mon Dec 03, 2018 9:14 pm 

Joined: Sat Dec 01, 2018 1:43 pm
Posts: 4
Thanks a lot! This helps tremendously with what I'm trying to do.
Onto another question, does anyone know how to open the .tga files? I read elsewhere they're dxt1-5 files but I cannot figure out how to open them.


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