Crimson Skies Level files (.bin)

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
RevolverOcelo
Posts: 29
Joined: Sat Dec 01, 2018 1:43 pm

Crimson Skies Level files (.bin)

Post by RevolverOcelo »

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!
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Crimson Skies Level files (.bin)

Post by aluigi »

This script can extract the raw audio files in the bin archive:

Code: Select all

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.
RevolverOcelo
Posts: 29
Joined: Sat Dec 01, 2018 1:43 pm

Re: Crimson Skies Level files (.bin)

Post by RevolverOcelo »

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?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Crimson Skies Level files (.bin)

Post by aluigi »

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

Re: Crimson Skies Level files (.bin)

Post by aaa801 »

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
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Crimson Skies Level files (.bin)

Post by aluigi »

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.
RevolverOcelo
Posts: 29
Joined: Sat Dec 01, 2018 1:43 pm

Re: Crimson Skies Level files (.bin)

Post by RevolverOcelo »

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.