Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

Shrek 2 - Xbox audio codec [solved]

Featured Replies

  • Author
  • Localization

loudaslife, posted Thu Jun 18, 2020 1:05 am (57245)


Hello. I've been trying to extract audio from Shrek 2 on Xbox. Most of it is in .wma format, except for the sound effects used during gameplay. These are stored in .xwb files that I haven't been able to decode. I've tried decoding them using all 49 ADPCM codecs supported by ffmpeg (I even compiled it myself to get some extra ones not included by default), and some output a heavily distorted version of the audio, but none are usable. xbadpdec.exe also doesn't work.

I've included 4 files in the .zip:
Donkey.xwb - The .xwb file from the Xbox disc.
000.wav - The output extracted by Luigi's unxwb
Donkey000.adpcm - The output extracted by XWB Extractor 1.1
Donkey0.wav - The equivalent audio file from the PC version

BTW, I want the Xbox versions because the PC version sound effects have wildly inconsistent volume. So the volume of Donkey0.wav might not match the other files.
  • Author
  • Localization

loudaslife, posted Fri Jun 19, 2020 6:57 pm (57274)


Update: I've discovered that these are, in fact, standard Xbox ADPCM. I had only tried xbadpdec.exe with the raw output from XWB Extractor 1.1, which wasn't handling offsets correctly (and therefore outputting files with a bunch of incorrect header garbage at the beginning.) Feeding the output of unxwb into xbadpdec produced the correct output. Might be worth noting that unxwb sets the format code in the wav header as 0x0002, rather than 0x0069 for Xbox ADPCM.
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.