Posts: 12
|
Post by cranedrop on Feb 13, 2019 22:56:17 GMT 10
Thanks to DJPop for sharing his/her way to mod audio but it lack detailed instructions for newbies like me. So I will try to help as much.
Before extracting, always make a backup of the files you want to edit.
Requirements
How to extract PAK and get music files
- Go to Crazy Potato's thread and follow instructions on how to unpack PAK.
- Go to x64/sectionroot/sound/wwise to find sound files.
- Files that are needed are of bnk.2.x64 and pck.2.x64 file format.
How to extract BNK/PCK for WEM files
- Remove “.2.x64” from the files you selected otherwise wwiseutil won’t be able to find it.
- Use wwiseutil to open your desired file and from there it will automatically extract all WEM files.
How to convert WEM to OGG and then to MP3
- Go to this thread on how to convert and then follow the steps listed there. That way you can easily edit the sound with your DAW choice.
- Once edited, remember to export to WAV format to stereo and 48000 khz.
Converting back to WEM
- Follow this thread on how to convert WAV to WEM.
Repacking to BNK/PCK
- Run wwiseutil-gui and open the file that you are editing (original/copied sound file with .2.x64 extension).
- Go to the number.wem that you edited and replace it.
- Before saving, remember the offset number. You will need it when editing the file with hex editor later.
- Save them into the same name as the original file but don’t include “.2.x64” yet. You can do that at the very end.
Making the edited file to work properly
- Open both edited WEM and BNK/PCK file with a hex editor. HxD works nicely.
- Remember the offset number from wwiseutil-gui? Go to that line on BNK/PCK file and select the whole line. Don’t do anything yet.
- Now go to WEM tab and copy all of it.
- Go back to BNK file and paste over it and save the file.
Final Step
- Rename the sound file back to “.2.x64”
- Recommend to use fluffy’s modmanager to install
Enjoy Modding
Credits
DJPop - How to mod audio Crazy Potato - How To Extract .Pak And Use Noesis FluffyQuack - For his mod manager Kousatsu from worldofwarships forum for his method and software to extract files MrConway from worldofwarships forum for his guide on how to convert WAV to WEM Capcom for an awesome Resident Evil games
|
|
Posts: 2
|
Post by AlchemygGold on Feb 14, 2019 7:14:09 GMT 10
Thank you good ser.
|
|
|
Post by andehx on Feb 16, 2019 22:50:59 GMT 10
Just to clarify (since it's not explained very well in this guide) Ctrl+A to select all the hex data in your edited WEM, and then Ctrl+C to copy it. Then go to the desired address location of the audio track you want to replace in the original file, and Ctrl+B to OVERWRITE the original audio track. Then save.
Also. replacement audio tracks do not have to be 48000khz. I have added many audio tracks to mine that are 44100khz and they work perfectly fine.
|
|
|
Post by zombizombi on Feb 27, 2019 2:41:57 GMT 10
Thanks, all good but the link to convert WEM to OGG is dead. Here is a quote from the other sound edition tutorial thread in case someone needs it : You can convert WEM to OGG using ww2ogg.exe. ww2ogg input.wem --pcb packed_codebooks_aoTuV_603.bin >> link to the tool <<
|
|
Posts: 176
|
Post by archerpz on Feb 27, 2019 5:16:01 GMT 10
tbh, you can either use wwiseutil-gui, or the Ravioli Explorer that's a part of Ravioli Game ToolsI personally use the Ravioli Explorer (you can actually drag n drop .pck files onto it to open them) and use wwiseutil-gui to replace .wem files in the .pck file (don't save with same name as the file you have open, it breaks stuff) and you can choose to convert when exporting files
|
|
|
Post by zombizombi on Mar 13, 2019 21:20:31 GMT 10
Another remark, don't know if it's only on my end, but I just can't use any software to edit these oggs, they don't look "normal", even vlc doesn't read them. edit : dbpoweramp is also unable to convert these oggs.
I found out my old winamp was able to read them flawlessly and has an export to wav plugin.
|
|
Posts: 176
|
Post by archerpz on Mar 14, 2019 7:40:01 GMT 10
I'm afraid it's something on your end, I can extract them to .ogg and play them in vlc etc using Ravioli Explorer to extract them (you can extract to mp3 or wav too) and audacity to edit them
|
|
|
Post by zombizombi on Mar 14, 2019 8:04:08 GMT 10
Thanks Archerpz, using ravioli I confirm files are immediately converted and editable on the fly. The only issue I find is that the files are not having the same ID at all. That is potentially a big issue when reimporting, which ravioli doesn't do, or does it ? Example : with wwiseut, Leon "No!" = 1253.wem with ravioli, Leon "No!" = 997859705.wem
ps : while at it, did someone already batch replace with wwise ? if so I'd gladly take his advise here.
Edit : whoopsie, didn't read the whole page, looks like ravioli scanner is able to repack. Now I'm still having the ID issue, and after 4 days of dialogues digging & listing, I ain't restart haha, "oh boy", no no...
|
|
Posts: 176
|
Post by archerpz on Mar 14, 2019 18:11:20 GMT 10
the longer ID named file is the correct one though, that's the one you can find in the .bnk files when you search for a signed int (i32) when editing the Original and Remake Soundtrack I used those longer numbers as the filename when replacing tracks (I use wwiseutil-gui for reimporting, not sure if Ravioli deals with changing offsets too, incase your replacement .wem file is a different size)
|
|
First of my name, Queen of Joke Mods, Mother of memes
Posts: 2,569
Original Join Date: May 12, 2009
|
Post by JTeghius Kittius on Mar 15, 2019 2:01:13 GMT 10
both links to the "world of warships" threads don't work
|
|
Posts: 176
|
Post by archerpz on Mar 15, 2019 2:29:24 GMT 10
both links to the "world of warships" threads don't work this archived version of the page should work, that's the one on how to create .wem files the thread mentions quality '6' for the .wem files, but since you can use larger .wem files to replace the standard ones, quality 7 or 8 works too (I was looking for the tutorial I followed to create .wem files, and it turns out it was the world of warships one, no wonder I couldn't find it anymore)
|
|
|
Post by ownerofaheart on Mar 15, 2019 3:02:39 GMT 10
I wish to ask something of you (and plenty of others working hard on this forum with like what a hand full of people that are on here) Why don't you go get a job in the video game industry? Except for wasting your hours away on something that will not fully satisfy your probably very completionist mindset and your not gaining a single dim on doing. You guys should put this shit on a resume with all the hard work you MF'ers go through to just get absolutely nothing out of it is unexceptional. You guys deserve way more than what your doing on this very small site of the internet and I thank you for continuing to push that, but man you guys deserve a high work of pay that's all I'm saying.
|
|
|
Post by zombizombi on Mar 15, 2019 9:01:16 GMT 10
the longer ID named file is the correct one though, that's the one you can find in the .bnk files when you search for a signed int (i32) when editing the Original and Remake Soundtrack I used those longer numbers as the filename when replacing tracks (I use wwiseutil-gui for reimporting, not sure if Ravioli deals with changing offsets too, incase your replacement .wem file is a different size) If I don't find a way to batch repack all these files with wwise that would mean I'd have to restart and would make me really sad... I just followed the tutorials in there, how come ravioli is not even mentioned then :/ I found a way to repack using a python script but no sound from that repacked file was loaded ingame unfortunately. I'm sure I'm making a dumb mistake somewhere missing that repack feature wwise should have.
Don't want to answer it in anyone else's name, I just arrived here. But working in the "industry" ain't that easy and may not be a goal on its own, ending up working in a company doing textures for a little pony game series or even just working on dumb AAA game assets (what you'll mostly do) for years could also lead to depression. Might be best meantime sticking to tinker things we like, gathering & sharing experience and expressing ourselves... idk.
|
|
First of my name, Queen of Joke Mods, Mother of memes
Posts: 2,569
Original Join Date: May 12, 2009
|
Post by JTeghius Kittius on Mar 15, 2019 10:20:39 GMT 10
just in case for whatever reason anything ever happens and the archive link no longer works either I'll repost the tutorial steps here: Full credit to MrConway of the "World of Warships" forums for posting this tutorial on their forumsGuidelines for converting .WAV files into the .WEM format: 1) Install the latest version of WWISE. 2) Launch it to see the screen for creating and loading projects Press "New". 3) Fill in the "Name" (if required) and "Location" fields. Windows platform In the Import assets to project, deselect all fields Press Ok. 4) Press "Close" 5) Grab your .WAV file (or any required piece of it) and drag it to "Actor-Mixer Hierarchy". Press the "Import" button below. 6) Now, we can see the .WAV files we have just added 7)Go to the "SoundBanks" tab. 8) Right-click on "Default Work Unit" and select "New Child"->"SoundBank". The newly created bank will appear below. Give it a name. 9) Now go back to "Audio" and press F7. 10) Let's transfer all our files onto the newly added bank. 11) Right-click on our selected sound files and select "Multi Edit". The "Multi-Editor" screen will appear. Go to "Audio"->"General Settings"->"Stream" and tick "Is Streaming Enabled". 12) Tick the bank, "Windows" and "English (US)". 13) Go to the "ShareSets" tab. In the appearing tree, open "Conversion Settings"->"Default Work Unit"->"Default Conversion Settings". 14) In "Format", select "Vorbis", and select "6" for "Quality". 15) Close the window and press "Generate". 16) Close the window.
|
|
|
Post by zombizombi on Mar 16, 2019 9:48:42 GMT 10
I'm having issues with some of the files. No matter if ravioli or wwise, it's either I can't access the files at all, or I can't convert the wems (looks like whether I got corrupted files, or these files need a special step) :
ev050, ev051, ev140, ev250, ev251, ev260, ev410, ev620, ev680, ev730, ev740, ev750, ev760, ev890, ev900, ev905, ev980, ev981. ( dialogue files from re_chunk_000.pak\natives\x64\sectionroot\sound\wwise )
Could any of you confirm you can't access them please ?
|
|