Join also our Discord channel! Click here.

Retro City Rampage - BAP files

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Post Reply
LuigiBlood
n00b
Posts: 10
Joined: Thu Jan 28, 2010 10:26 pm
Been thanked: 3 times

Retro City Rampage - BAP files

Post by LuigiBlood » Thu Oct 11, 2012 8:58 pm

So... I gotta admit, those files got my attention as I want the songs.

But I found out those are pretty much made for music. I mean, apparently, it has "IT" and WAV files inside (from the file list included), with 50% of the file being unsigned 8-bit samples.

Though I can't seem to figure it out. I'd like to get those songs as they are some pretty cool NES-styled music.

The file type is called "Brian's Audio Pack".
My source is official, as I asked him directly:
https://twitter.com/LuigiBlood/status/2 ... 7404790784

Nerd42
beginner
Posts: 21
Joined: Thu Apr 14, 2011 6:03 am
Been thanked: 1 time

Re: Retro City Rampage - BAP files

Post by Nerd42 » Wed Dec 26, 2012 6:29 pm

I want too!

I would expect that they are impulse tracker ".it" files right? Maybe if we can find the specs for that format anywhere, we can scan the binary contents of audio_music_W32.bap to see if the tracks are in there unencrypted.

barti
veteran
Posts: 148
Joined: Sun Apr 01, 2012 12:44 pm
Has thanked: 51 times
Been thanked: 101 times

Re: Retro City Rampage - BAP files

Post by barti » Sun Nov 30, 2014 12:13 pm

Apparently he made his own tracker format as well. Files start off with a "BTRK" header, so I'm not sure what's up with the .it and .wav filenames.

Nerd42
beginner
Posts: 21
Joined: Thu Apr 14, 2011 6:03 am
Been thanked: 1 time

Re: Retro City Rampage - BAP files

Post by Nerd42 » Sun Nov 30, 2014 11:43 pm

barti wrote:Apparently he made his own tracker format as well. Files start off with a "BTRK" header, so I'm not sure what's up with the .it and .wav filenames.
What files?

barti
veteran
Posts: 148
Joined: Sun Apr 01, 2012 12:44 pm
Has thanked: 51 times
Been thanked: 101 times

Re: Retro City Rampage - BAP files

Post by barti » Mon Dec 01, 2014 9:29 pm

Nerd42 wrote:What files?
Files inside the .BAP containers.

Nerd42
beginner
Posts: 21
Joined: Thu Apr 14, 2011 6:03 am
Been thanked: 1 time

Re: Retro City Rampage - BAP files

Post by Nerd42 » Wed Dec 03, 2014 11:46 pm

barti wrote:
Nerd42 wrote:What files?
Files inside the .BAP containers.
How'd you get into them?

barti
veteran
Posts: 148
Joined: Sun Apr 01, 2012 12:44 pm
Has thanked: 51 times
Been thanked: 101 times

Re: Retro City Rampage - BAP files

Post by barti » Thu Dec 04, 2014 12:38 am

I've tried to reverse the format myself and make a QuickBMS script (which isn't really useful in its current state):

Code: Select all

# Retro City Rampage .bap (Brian's Audio Package)

idstring "BAP0"
get VERSION short
get FILES0  short
get FILES1  short
get FILES2  short
get FILES1OFF long
get FILES2OFF long
get NAMEOFF long
math NAMEOFF += 1

getdstring COMMENT 24

for i = 0 < FILES0
get OFFSET long
get SIZE   long
get DUMMY  long
get NAME   long
math NAME += NAMEOFF

savepos TMP
goto NAME
get NAME string
goto TMP

log NAME OFFSET SIZE
next i

#for i = 0 < FILES1
#get OFFSET long
#log "" OFFSET 500
#next i

#for i = 0 < FILES2
#get OFFSET long
#log "" OFFSET 500
#next i
The files look like they're separated somehow. I'm guessing files0 are "BTRK" headers, files1 are PCM samples and files2 are the track patterns or something like that (I'm not very familiar with tracker formats).

Post Reply