[Release] Wwise Sound Tool BETA
Avatar

Hi everyone,

my name is Xaser and I've been playing Payday 2 for a while now and recently got into modding it. I have quite a bit experience in game modding, starting with Oblivion back in the days :)

I'd like to introduce to you my freshly made Wwise Sound Tool that hopefully will make it easier for all the other Payday Modders to create Sound Mods of all kind.

The first question you probably have on your mind is: "What the heck for, there are perfectly good tools out there". Well you are right.. kinda.

The ultimate goal of this tool is to combine the functionality of Bohdi's (not quite done) bnk tool with Zwagoth's wwise_apdcm_tool AND eventually support even more formats for other games (like Wildstar) and a proper, easy to use GUI.

There were several reasons that made me write a new tool, I'll just list some here:

  • Zwagoth's wwise_adpcm_tool removes wave header data when decoding wwise ima adpcm files. This has unknown consequences.
  • Zwagoth's wwise_adpcm_tool is in a.. quite messy state, and he said so himself.
  • I had some trouble with Bohdi's Sound tool (especially longer-than-original replacement files)

What I release today is the v0.9 BETA for you guys to test (most of the underlying code works and just some user commands still need implementing).
The main reason I release a BETA is that I basically achieved what I wanted and tend to loose interest in a project after my main goal is completed, so I need you to keep up the pressure :)

It offers:

  • Extracting embedded wems from bnk files
  • Packing wems into bnk files
  • Decoding wems / streams to wav
  • Encoding wav to wems / streams

It shouldn't be long till the final console based release (v1.0) and then it will probably take a while till the GUI (v1.5) is done.

Thanks goes to:

  • Zwagoth for the original wwise_apdcm_tool that I used to compare my outputs to :D
  • The FFMPEG project and wiki.multimedia.cx which were my main references for the IMA ADPCM implementation.
  • Xentax Wiki which was my main reference for the Wwise Soundbank (bnk) file format.
  • Wwise for making such an awesome format :P

I will eventually release the source code, once v1.0 is done and I did a round of refactoring / tidy up.

The Download is  in the attachment, please provide feedback ;)

So happy modding :)

UPDATE 19.01.2016: Due to the apparently increased demand in this tool, I have increased its priority and threw together a command line version of the revised C# Version, which may be added to the BMT later on. This Command Line Tool is still in highly experimental state since I didn't have any time to do any further testing. Commands that have not been finished show a warning before use. Please provide feedback via this thread or by PM. I hope to find time to finalize a version that at least enables anybody to do everything needed for sound modding. As for functionality, the lib is nearly there, its mostly CMD/GUI stuff missing.

Replies
Avatar

Reserved for Tutorial...

Okay, how to use the tool. If you are like me and hate Video Tutorials, because you can't use CTRL+F on them, then you'll be glad to see that I typed it  all down for you :)

First off, the Lookup Tables for Sound files:
http://www.reddit.com/r/paydaytheheistmods/comments/37fkdz/payday_2_sounds_lookup_table/
https://dl.dropboxusercontent.com/u/30675690/Payday2/dump.txt
http://web.archive.org/web/20150318153100/http://wiki.modworkshop.net/index.php?title=Guide:Payday_2_-_Sound_Files/Music

Part 0: Setting up a workspace

  • In a location of your choice, create your Payday Workspace
  • It may look like this
  • "Payday Modding\Tools\Wwise Sound Tool"
  • Extract the wwisetool.exe into this folder
  • "Payday Modding\Mods"
  • This folder will contain a folder for each of your mods

this here is all outdated, please refer to the CMD line help till I find time to rewrite this stuff.

Avatar

I didn't yet run into files with looppoints, so no - but it will when time / demand comes :)
Oh funny enough I completely missed that BNK tool in the zabb65 repo :D oh right, because its part of the bundle modder, which i completely ignored.

Thanks Spy, I'll give it a read.

Avatar
I didn't yet run into files with looppoints, so no - but it will when time / demand comes :)
Oh funny enough I completly missed that BNK tool in the zabb65 repo :D

That's because I released it recently. It's mine. :P

Avatar

That's because I released it recently. It's mine. :P

I see :D well I gave the code a quick read and it looks quite nice. I like the clean style and right now I feel stupid for moving back to c++11 instead of sticking with C# that I've been using for the last few years :D .NET makes some operations quite a bit easier...

The way I see it, your BNK tool isn't quite done yet either? will you continue to develop it?

I think I will be able to implement Looppoint to my tool quite quickly.

Avatar

That's because I released it recently. It's mine. :P


I see :D well I gave the code a quick read and it looks quite nice. I like the clean style and right now I feel stupid for moving back to c++11 instead of sticking with C# that I've been using for the last few years :D .NET makes some operations quite a bit easier...

The way I see it, your BNK tool isn't quite done yet either? will you continue to develop it?

I think I will be able to implement Looppoint to my tool quite quickly.

This will answer your questions: https://modworkshop.net/showthread.php?tid=91

Tool is currently capable of extracting information from BNK and presenting it. It can also create BNK with changes made with an opened file. It lacks some patching features, such as give it a file and id to update. But it displays information perfectly fine.

Avatar

that was what I was hinting at ;) Okay so I guess I'll talk to the Big Beard about how we should focus the programming power we have left.

Avatar

You might wanna make a download page for it here.

Avatar

I had intended to do that for the first release but since it seems that I'll be joining forces with spy and beard I guess I'll have to scrap my c++ code anyway :P

Avatar

It crashed whenever I try to encode a wav file, help?

Avatar

The WAV file has to be 16-bit PCM encoded. Can you check that and maybe upload the file somewhere so I can test it locally?

Also please note that this tool isn't actively continued anymore and has limited support as I'm working on an again new version that will be integrated into the bundlemodder.

Avatar

oh and up it to our tool section.

Avatar

How to use?
please create video tutorials

Avatar

wwisetool.exe decode_all *.wem and wwisetool.exe pack y_new.wem x.bnk y don't work

Avatar

man are you still there?I'm playing around with a lot of stream files for another game.Have you got an update ?the _all commands are all unavailable for now...

Avatar

I do not feel smart enough to fully grasp what this does, nor did I fully understand how Bodhi's 2 little batch files worked when they released them yet I've been using it ever since so please excuse my ignorance as I don't understand what this does over the 2 little programs that they made.

Avatar

Hi.

Been trying to do some audio modding for Dirt Rally lately :) I managed to extract the .bnk-files to wem-files. Ai also managed to convert the wem-files to wav-files and back. It seems I could do the whole process pretty much ok, but I have one concern: The encoded wem-files are huge compared to the original ones. Is this by design, or am I just stupid? For example the original wem was 11KB and the encoded (from wav) wem was over 5MB. The wav was 2 seconds long and 32Khz 16-bit mono.

Where's my error here? :)

Avatar
Hi.

Been trying to do some audio modding for Dirt Rally lately :) I managed to extract the .bnk-files to wem-files. Ai also managed to convert the wem-files to wav-files and back. It seems I could do the whole process pretty much ok, but I have one concern: The encoded wem-files are huge compared to the original ones. Is this by design, or am I just stupid? For example the original wem was 11KB and the encoded (from wav) wem was over 5MB. The wav was 2 seconds long and 32Khz 16-bit mono.

Where's my error here? :)



Might explain how consequido as reaching point, I can not decompress the file

Thank you
Avatar

Hi and sorry to everyone who's been waiting for an answer here.

As I may have mentioned here or in some other thread, I recoded the tool in c# for integration into the bundle modding tool. Eventhough the wwise tool is pretty much function, development and integration got stalled somewhere last year.

If somebody still needs assistance / wants to make use of the tool, please write here or send me a PM. I'll promise to turn my mail notifications on this time ;).

Avatar

Hi, what's the up to date download link? The version I have says that the convert all feature isn't yet implemented (0.9). Thanks.

33 1144