tehƧP@ƦKly�ANK� -Ⅲ�
03-28-2013, 05:08 AM
So I'm ripping music/audio from The Walking Dead: Survival Instinct from the PC version.

All the assets are in POD5 archives.
I found a QuickBMS to extract the archives.
Inside were WEM and BNK files.
I found some tools to convert the WEM containers to OGG Vorbis codecs and they playback normally.
The BNK's are WAVtoWEMtoOGG.

However, all the files are named in generic numbers.

Exampe:
2807192.wem
2807192.ogg

Inside the WEM we can see:

RIFF��".WAVEfmt B...��..D�..�T......0.......)�E.�...Y�".........�...�[email protected]..�.'...cue ................data............LIST"...adtllabl........mus_BG_03_detect..dataY�".�.

I tried looking on the xentax forum but didn't really see anything. Mostly for Star Wars: TOR name_hash stuff.

Anyone know what to do from here to get the names from the WEM and apply them to the OGG?

Crossbones
03-28-2013, 03:56 PM
I hope someone does know how to turn this around so we could enjoy the music.

Bump it.

hack3rman
04-02-2013, 12:46 AM
That's one of the downfalls of Quick BMS. All that program does is scan for certain file types, ignoring the original file names. This is what makes the program so fast at extracting files. Unfortunately, I don't think there is a setting in Quick BMS to change this.

Infernus Animositas
04-03-2013, 02:11 PM
It's not QuickBMS itself I don't think. If it was, a few of the game rips I have done with it wouldn't have given filenames with the extracted files.

I think it's the Audiokinetic engine itself. A lot of the games that have used that middleware have had the filenames stripped before they're packed into the archive. Sometimes there is an XML file that gives out a correspondence of which string of numbers represents what file (Ridge Racer Unbounded did this) but that is rare to see these days. Especially with the audio in games becoming so dynamic and with multiple parts that interchange so fluidly.

But in this case, it seems that the filenames have been embedded into the individual files themselves. I could be wrong though as I haven't looked at all of the game's audio myself.

It might be possible for someone to make a BMS script that could get the name from a certain offset and then rename the file though :)

tehƧP@ƦKly�ANK� -Ⅲ�
04-03-2013, 06:07 PM
all the files have an offset of 92 with the name inside.

tehƧP@ƦKly�ANK� -Ⅲ�
04-03-2013, 06:13 PM
Here's my post from xentax.

I found these threads helpful:
XeNTaX ? View topic - The Walking Dead SI Archive (http://forum.xentax.com/viewtopic.php?p=84023#p84023) (The Walking Dead SI Archive)
XeNTaX ? View topic - Star Wars - The Old Republic Beta Audio Files (http://forum.xentax.com/viewtopic.php?p=63053#p63053) SW: TOR (quickBMS script for extracting the WEM archives)
XeNTaX ? View topic - Star Wars - The Old Republic Beta Audio Files (http://forum.xentax.com/viewtopic.php?p=66311#p66311) SW: TOR (Guide: Converting .wem to .ogg/Converting .bnk to .wem)

Tools used:
QuickBMS
ww2ogg/packed_codebooks_aoTuV_603
revorb
bnkextr

Game:
The Walking Dead: Survival Instinct (PC)

Formats:
POD5 (archive)
.bnk (BKHD) -> .wav -> .ogg
.wem -> .ogg

Need:
Internal file names/cues

This might be useful for dealing .bnk containers to obtain file names.
XeNTaX ? View topic - Wwise *.bnk containers (http://forum.xentax.com/viewtopic.php?p=36450#p36450) (Wwise *.bnk containers)

I managed to extract the contents of the POD5 archive for W32SOUND.POD.

POD5�.2‰Release format assets............................................ ...............�.......�...�...................... .................................................. .................................................. .........................................��x)>��!�.......��������............................... .................................................. ...............RIFF‰�..WAVEfmt B...��..D�..:L......0.......٣..�...�....g.....�. [email protected]..�.'...cue ................data............LIST&...adtllabl........mus_proto_amb_gtr_01..dat

I extracted quite a bit of .bnk and .wem containers and found a way to extract/convert them all to playable .ogg files in Foobar.
Success (thanks to the work of others).

However, all the files are assorted numbers.
2807192.wem
2807192.ogg

Inside the ALL the .wem files are cue names for each file/track.
For 2807192.wem:

RIFF�„".WAVEfmt B...��..D�..�T......0.......)�E.�...Y„".........�...€[email protected]..�.'...cue ................data............LIST"...adtllabl........mus_BG_03_detect..data
NOTE: The cue name (mus_BG_03_detect) seems to be offset at 92 for each file.
I've checked 7 random .wem files and the offset: 92 is consistent.

I would like to know if there's any scripts or tools that can take the internal cue name of the .wem files and apply it to the final output file.

2807192.wem -> mus_BG_03_detect.ogg
instead of
2807192.wem -> 2807192.ogg

This seems to share the same structure and format as Star Wars: TOR, yet all the work done for the file names of TOR is exclusive to TOR and I really have no idea where to begin.

Would I have to open each .wem file to obtain the cue name of the file and create a .txt file and do the same as everyone is doing for the TOR work?
Or is there a QuickBMS script to do all this?

Any help would be appreciated.

tehƧP@ƦKly�ANK� -Ⅲ�
04-04-2013, 08:54 PM
I think I'll give up on this and just upload the .ogg files with the original file names and abandon the internal names.
The .oggs will lose the internal names during the conversion process from .wem to .ogg.

There are dialogue, sfx and repeated cues in the batch.
There are about 5 different "Main Titles" but different time lengths. About one or two seconds difference.

I'm not sorting it out though.
I'll let the downloaders have fun until I find a script to snatch the internal name cues and rename the files or learn how to write scripts for QBMS.

Debeli
03-09-2017, 04:28 PM
I know this is old but i ripped the music myself and renamed all the tracks manualy, so if anyone still needs the RIP, here it is:

Untouched OGG (proper names added only):
https://mega.nz/#!L9MxxJJA!HLS51U0jZsyZ9Emk9BgloS8atlNtV88S2g86mgrxW9I

MP3 128kbps with album art and track information filled out:
https://mega.nz/#!oQNwBQSC!50dYRq-h1XTHRetSOSf3ShtonIHp7AyBw-mH0DlTrYY