StarFlyers .bul

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Puterboy1
Posts: 382
Joined: Wed Sep 12, 2018 2:22 am

StarFlyers .bul

Post by Puterboy1 »

I would like to extract the contents of these file types: https://archive.org/download/ROYALRESCU ... cja5cd.bul
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: StarFlyers .bul

Post by aluigi »

If you are interested only in the WAV files you can use this simple script, otherwise I have to make a real script that parses root.inx:

Code: Select all

get BUL_SIZE asize
get TSTAMP long
for OFFSET = 4 != BUL_SIZE
    get NAME string
    savepos OFFSET
    idstring "RIFF"
    get SIZE long
    math SIZE + 8
    log NAME OFFSET SIZE
    math OFFSET + SIZE
    math OFFSET + 4 # some CRC
    goto OFFSET
next
Puterboy1
Posts: 382
Joined: Wed Sep 12, 2018 2:22 am

Re: StarFlyers .bul

Post by Puterboy1 »

Here's the root file. You'll need it to parse the files.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: StarFlyers .bul

Post by aluigi »