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.

Koei Tecmo Sound Bank format? (Final Fantasy Dissidia NT PS4 wbd/wbh files)

Featured Replies

  • Author
  • Localization

DeathChaos, posted Fri Jul 20, 2018 2:44 pm (36879)


Final Fantasy Dissidia NT uses 2 container formats for all of it's audio, BGMs use a g1l wrapper, which actually does nothing, delete the first few bytes of the wrapper and it turns out BGMs are just standard at9 files for Sony consoles.

Voices and Sound Effects on the other hand, seem to be on a .sed container, with the bms script made for another game (Fatal Frame: Maiden of Black Water) found here ( http://aluigi.altervista.org/bms/fatal_frame.bms ) and changing the endianess from Big to Little made it successfully unpack everything inside the .sed, in most cases it spits out 2 files, one "small" file with a header of _HBW0000, which I assume to be WBH_0000 due to endianess, and a "big" one with a header of _DBW0000, or WBD_0000.

They both seem to be linked somehow, WBH seems to contain file IDs? While the WBD file would be a sound bank of sorts, maybe with headerless streams?

Here are some sample .sed archives from the game, If anyone could help figure this out I would really appreciate it.
https://cdn.discordapp.com/attachments/ ... oice_e.sed
https://cdn.discordapp.com/attachments/ ... tvoice.sed
https://cdn.discordapp.com/attachments/ ... oice_e.sed
  • Author
  • Localization

corruptturret, posted Fri Aug 31, 2018 4:57 am (37967)


Fire Emblem Warriors for the Switch has files in a simple container format (.bin.gz, 4 bytes for entry offset little endian, 4 bytes for entry length little endian)
They contain a small file with header "_HBW0000" and a larger file with header "_DBW0000" and are probably SFX.
Same problem here.
  • Author
  • Localization

DeathChaos, posted Fri Sep 07, 2018 2:13 pm (38179)


Well our problem is a bit different.
We managed to figure out that our wbd section files are just headerless at9s, the header is made with a combination of data from the wbh section and some hardcoded data on the eboot, so unless someone who knows how to dig into the eboot decides to help we're kinda stuck on this.

We know they're headerless at9s because we gave it an at9 header from an existing at9 and go the audio to play (but it sounds very broken due to wrong header info).
  • Author
  • Localization

corruptturret, posted Sat Sep 08, 2018 10:32 pm (38204)


I used the script as you said for your first sample file, but the second extracted file had _DBW0000 at 0x5c (92 bytes in, not file start) for some reason. Started with 0x80bb0000 and some other data. Is that encoding 48000 khz... Also, the 4 bytes after the _WBD0000 header give the correct content size (as do the _WBD files in Fire Emblem). Strange. Looking at the original archive, kind of looks like 96 bytes are missed at the end. Last 4 were 0x00, so more like 92 missed bytes of value (as noisy as the bytes actually extracted). The other two _DBW files seemed similarly offset. Something's off with that script.
I'm assuming Fire Emblem _DBW files are headerless KTSS streams seeing as KTSS streams are the only audio format I've encountered. I have no idea how entries in _HBW files are structured at all. Nor do I know of any KTSS documentation.
Looks like I'm SOL.

A few notes

In the Fire Emblem _HBW files I'm looking at, 0x0c-0x0f is "KWBN" while your sample says "K4HD"
Fire Emblem _HBW files seem to have a constant 0x00 64 68 00 at 0x10 while yours have 0x38 00 00 00
Fire Emblem _HBW files seem to have a payload length at 0x14-0x17 (little endian ofc) as it's the _DBW file length minus 12 bytes for the header (which uses 4 bytes for file length). Your samples do something else.
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.