SpongeBob SquarePants: UnderPants Slam! .WAV Playback Issue

Codecs, formats, encoding/decoding of game audio, video and music
Cartoonish Weeb
Posts: 8
Joined: Mon Sep 03, 2018 1:05 am

SpongeBob SquarePants: UnderPants Slam! .WAV Playback Issue

Post by Cartoonish Weeb »

So i extracted the audio files from SpongeBob UnderPants Slam, with some help from Sandmanfan, he guided me on how to extract the files with the game. and i just so happen to find the folder that contains the Voice and i think the Music files as well. The file extention is .wav but will not open no matter what i try. Could someone possibly help me with this? Thanks! :D
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: SpongeBob SquarePants: UnderPants Slam! .WAV Playback Issue

Post by aluigi »

Upload one or two of these wav files :)
Cartoonish Weeb
Posts: 8
Joined: Mon Sep 03, 2018 1:05 am

Re: SpongeBob SquarePants: UnderPants Slam! .WAV Playback Issue

Post by Cartoonish Weeb »

aluigi wrote:Upload one or two of these wav files :)


https://mega.nz/#!6EtQwCxZ

https://mega.nz/#!vF8U3AwY

Key For Link 1: !WPGuVYfg-hT5sNbC0NJN55-X7ic1uUd6UH2IrEm-bQ0

Key For Link 2: !rsTK1jARofxAFNql1UkrrV0d2dlgRYZCvzRgFEGXq-A
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: SpongeBob SquarePants: UnderPants Slam! .WAV Playback Issue

Post by aluigi »

For sure they aren't RIFF wav.
Maybe some sort of header at the beginning and data starting from offset 0x800.
Moving to the Audio section
brendan19
Posts: 144
Joined: Fri Aug 08, 2014 11:25 am

Re: SpongeBob SquarePants: UnderPants Slam! .WAV Playback Issue

Post by brendan19 »

The samples are mono XMA files.

Download the tools here

I've included the tools necessary (QuickBMS from aluigi, a BMS script from Alpha23 and ToWAV) to decode them into PCM WAV. The samples you provided were at 32000Hz but some of the files might not be. In that case you need to manually adjust the BMS script in a text editor changing it from 32000 to another sample rate (22050, 44100 or 48000) most likely.

Put all the .wav files in the 'QuickBMS' folder and then run the 'Add XMA Header.bat'

After that, then copy all the .xma files generated from that BMS script and put them into the 'ToWAV' folder and run the 'ConvAll.bat' which will transcode them into PCM WAV :)