Jump to content

Regarding The Pcm And Sbk Files.


Oboe Shoes
 Share

Recommended Posts

Alright, I know these have their own topic, but neiter has been touched in over a year, and with the site expanding ot racers soon, I thought i might share what I've figured out with these things/clear up any confusion, as it could open up some modding possibilities.

In GAMEDATA / VOICES, there are a bunch of .pcm files. These can be listened to with a program like audacity, for example. Import a file's raw data with VOX ADCPM encoding, and a sample rate of 11025 Hz. Like the .tun files, there's a little unwanted noise, but not nearly as much as the music tracks.

The format these files are named in is pretty easy to understand, a 2-letter abbreviation of the character the voice is for, followed by either _p(#) or _n(#). I'm assuming p and n stand for positive and negative, respectively, as files with a p in them are generally laughs, or "Whoo, yeah"s, while files with an n in them are usually "Oh, no"s or "Ooof"s.

So, for example. RR_p21 is a positive exclamation for Rocket Racer, VB_n06 a negative exclamation for Baron Von Barron, and so forth.

The SBK files found here, are simple text files that can be opened with notepad. "VOICE00" to "VOICE29" indicate which minifig head gets which voice.

For example, VOICE29.sbk controls which voice files go with Veronica Voltage's head. The top number is the number of files accociated with the figure (always 12) and the files are listed directly beneath it. So VOICE29 looks like this:

12

vv_n03.pcm

vv_n04.pcm

vv_n09.pcm

vv_n11.pcm

vv_n15.pcm

vv_n27.pcm

vv_p05.pcm

vv_p09.pcm

vv_p13.pcm

vv_p20.pcm

vv_p28.pcm

vv_p29.pcm

There are four more SBK files in this directory. "VOICEC0" to "VOICEC3" These are in generally the same format, but list the voice files for the opponents in each circuit, so alot more files are listed in each one.

These files seem to be shared by a circuit and it's mirrored version. Which might explain some goof-ups with the ai voices, such as Captain Redbeard using Johnny Thunder's Voice in Circuit 1. These files seem to have some other goofs in them in general, as I believe Governer Broadside's and The Mummy's voices are swapped when used by the Ai. Edit: No, wait. I checked. EVERY single racer uses the wrong voice when used by the AI.Changing this file may be able to fix issues like that.

VOICEC0.sbk (the sbk file for circuit 1 and 4) looks like this:

72

gb_n07.pcm

gb_n13.pcm

gb_n20.pcm

gb_n23.pcm

gb_n29.pcm

gb_n67.pcm

gb_p23.pcm

gb_p36.pcm

gb_p80.pcm

gb_p91.pcm

gb_p95.pcm

gb_p101.pcm

rh_n04.pcm

rh_n19.pcm

rh_n22.pcm

rh_n31.pcm

rh_n42.pcm

rh_n44.pcm

rh_p22.pcm

rh_p25.pcm

rh_p28.pcm

rh_p30.pcm

rh_p33.pcm

rh_p37.pcm

ad_n13.pcm

ad_n33.pcm

ad_n35.pcm

ad_n39.pcm

ad_n46.pcm

ad_n99.pcm

ad_p09.pcm

ad_p11.pcm

ad_p16.pcm

ad_p30.pcm

ad_p31.pcm

ad_p37.pcm

pm_n33.pcm

pm_n36.pcm

pm_n50.pcm

pm_n54.pcm

pm_n55.pcm

pm_n64.pcm

pm_p12.pcm

pm_p15.pcm

pm_p55.pcm

pm_p62.pcm

pm_p80.pcm

pm_p108.pcm

cr_n02.pcm

cr_n09.pcm

cr_n16.pcm

cr_n32.pcm

cr_n34.pcm

cr_n50.pcm

cr_p05.pcm

cr_p13.pcm

cr_p16.pcm

cr_p17.pcm

cr_p20.pcm

cr_p36.pcm

jt_n00.pcm

jt_n01.pcm

jt_n04.pcm

jt_n05.pcm

jt_n11.pcm

jt_n19.pcm

jt_p06.pcm

jt_p07.pcm

jt_p10.pcm

jt_p13.pcm

jt_p14.pcm

jt_p16.pcm

As you can see, there are 6 sets of voices listed, the first 4 being standard racers, while the fifth is the regular champion, while the sixth is the mirror champion. (Although, as stated above this doesn't always seem to be the case, as Redbeard uses the jt_ pcms anyway.)

Also, the sbk for Rocket Racer Run (VOICEC3) reveals something a bit interestng.

72

bk_n02.pcm

bk_n04.pcm

bk_n14.pcm

bk_n27.pcm

bk_n32.pcm

bk_n45.pcm

bk_p01.pcm

bk_p06.pcm

bk_p19.pcm

bk_p24.pcm

bk_p28.pcm

bk_p41.pcm

al_n00.pcm

al_n03.pcm

al_n07.pcm

al_n14.pcm

al_n29.pcm

al_n35.pcm

al_p02.pcm

al_p03.pcm

al_p08.pcm

al_p10.pcm

al_p12.pcm

al_p14.pcm

gs_n13.pcm

gs_n23.pcm

gs_n25.pcm

gs_n26.pcm

gs_n33.pcm

gs_n34.pcm

gs_p03.pcm

gs_p04.pcm

gs_p16.pcm

gs_p31.pcm

gs_p41.pcm

gs_p44.pcm

nh_n00.pcm

nh_n09.pcm

nh_n10.pcm

nh_n13.pcm

nh_n17.pcm

nh_n25.pcm

nh_p01.pcm

nh_p02.pcm

nh_p22.pcm

nh_p23.pcm

nh_p24.pcm

nh_p29.pcm

rr_n01.pcm

rr_n35.pcm

rr_n36.pcm

rr_n39.pcm

rr_n43.pcm

rr_n45.pcm

rr_p21.pcm

rr_p22.pcm

rr_p28.pcm

rr_p30.pcm

rr_p34.pcm

rr_p35.pcm

vv_n03.pcm

vv_n04.pcm

vv_n09.pcm

vv_n11.pcm

vv_n15.pcm

vv_n27.pcm

vv_p05.pcm

vv_p09.pcm

vv_p13.pcm

vv_p20.pcm

vv_p28.pcm

vv_p29.pcm

Note the vv_ files after the rr_ ones. If the format is followed as per the other 3 files, it lists Veronica Voltage as the mirror champion for Rocket Racer Run. O_O

Link to comment
Share on other sites

Good find; I assume that the PCM files are just slightly modified WAVE files. Shouldn't be too hard to figure out why you're getting some sound issues when you import these files.

Link to comment
Share on other sites

I can confirm changing the order of the files in the sbks will change the voices of the npc racers. I've gotten most of circuit 1/4 fixed, except for one little detail.

HVS made The Mummy and Johnny Thunder use the same voice files. >_> You can fix one, but not the other at the same time.

Link to comment
Share on other sites

lol username

Note the vv_ files after the rr_ ones. If the format is followed as per the other 3 files, it lists Veronica Voltage as the mirror champion for Rocket Racer Run. O_O

Whoa whoa whoa... What? There's a mirrored version of the Rocket Racer Run that can be accessed with a cheat, did they... Wow. I'm tempted to email HVS about this.

Link to comment
Share on other sites

It could just be there as a placeholder, but I'm not sure why it would be, as I'm pretty sure the file would work correctly without a sixth entry anyway, so you never know. Either way, her voice files are still allocated everytime you play Rocket Racer Run.

Anyway, I've gone through, the files for circuit 1/4 and 2/5. I've found out what character is using what voice, and I've been able to fix some by reordering the sbk, but... just look at who uses what.

By default:

Captain Redbeard uses Johnny Thunder (entry 6)

Governor Broadside uses Mummy (entry 4)

Robin Hood uses Captain Redbeard (entry 5)

Ann Droid uses Robin Hood (entry 2)

Mummy uses Ann Droid (entry 3)

Johnny Thunder uses Ann Droid (entry 3)

King Kahuka uses THE "3 2 1, GO" COUNTDOWN NOISE (entry ???)

Islander uses Royal King (entry 2)

Royal King uses Commander Cold (entry 3)

Commander Cold uses Royal King (entry 2)

Achu uses Baron Von Barron (entry 6)

Baron Von Baron uses Royal King (entry 2)

...Yeah, HVS screwed up a bit. I can reorder the files to fix most of these, but i can't do anything about the racers that share the same voice files. I've been looking for files that control which racer goes for which entry, but it's looking like it might be hard coded. D:

So, not only do 2 people use Ann Droid, and 3 people use Royal King, King Kahuka only has one file tied to him, and it's GAMEDATA / COMMON / 321.pcm, aka the little beep noise that you hear when it counts down at the beginning. You can hear it in your unmodified game, start a race against only King Kahuka, and keep bumping into, or passing him.

Link to comment
Share on other sites

Also, Rocket Racer Run doesn't even use the file accociated with it. All of the sounds come from Circuit2/5's file.

Once The Racers forum is up and running i'll make a more in-depth topic about this and some other modding possibilities i've found.

Link to comment
Share on other sites

  • 11 months later...
  • 5 months later...
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.