I'm taking audio mod commissions. Please contact me on twitter.com/osuDJPop
Posts: 11
|
Post by DJPop on Feb 10, 2019 22:13:27 GMT 10
Hello, I'm the one who make the X Gon' Give It To Ya mod for RE2 Remake. You can watch the preview of the mod here. I created this thread to share about my method of audio modding. Requirements Extract audio filesUse wwiseutil-gui.exe, it's pretty straightforward. The supported files are BNK and PCK. The extracted files have WEM extension. You can convert them to OGG using ww2ogg.exe. ww2ogg input.wem --pcb packed_codebooks_aoTuV_603.bin Save/Replace options are either hit or miss. The game didn't play the new Mr.X theme when I used them so I had to used my own method. Create WEM audio fileTo convert WAV to WEM, check this video. RE2 Remake uses 2 Channels, 48000 Hz audio format. You can set conversion options in Wwise. Replace audioNotice Size and File offset in wwiseutil-gui.exe? They tell you where and how big each audio file is. Once you know which one you want to replace, compare the size with your new WEM file's size. Your file MUST be smaller or equal. Take a note of that file offset and close the program. Open BNK/PCK file with hex editor and go to that offset. Open WEM file with hex editor and Ctrl+A, Ctrl+C to copy the entire file. Switch to BNK/PCK tab and Ctrl+B to replace its content. Save. Open the game and test. LimitationBeware of looping issues when replacing music files. The audio will also cut out if it's longer than the original one. I think they're controlled in BNK file, but I've no idea how it works. Despite the limitations, enjoy modding!
|
|
Posts: 2
|
Post by volgin on Feb 11, 2019 11:56:51 GMT 10
May I know the name of the file for the music that plays for Mr.X?
|
|
I'm taking audio mod commissions. Please contact me on twitter.com/osuDJPop
Posts: 11
|
Post by DJPop on Feb 11, 2019 21:04:06 GMT 10
May I know the name of the file for the music that plays for Mr.X?
6 and 157
|
|
Posts: 12
|
Post by cranedrop on Feb 11, 2019 22:57:50 GMT 10
Where and how do you find the audio files to edit?
|
|
|
Post by andehx on Feb 11, 2019 23:53:34 GMT 10
Don't understand this guide. You say Use wwiseutil-gui.exe to extract the audio files. There are no files in the RESIDENT EVIL 2 directory with BNK or PCK extension. Am I missing something? Also, could this process be any more convoluted? Is this seriously the easiest way you could find to do this? EDIT: Ok even though this is probably the most finicky method I have ever encountered for modifying a games files, I have actually managed to replace some music. Fortunately the music im adding, is just remixes of the classic music, so loop points work perfectly.
|
|
Posts: 2
|
Post by volgin on Feb 12, 2019 4:21:14 GMT 10
I'm not too new to modding, but I am very new to modding the RE engine or anything dealing with these formats. So im very unfamiliar with this. This seems quite confusing. When you say "6 and 157", where are those files located?
Also, I changed the audio file extensions from (for example) something like bnk.2.x64 to just a regular .bnk. And then I opened up the file with wwiseutil-gui.exe and got 2 .wem files, but I dont know what to do after that. Your guide says the .wem files can be converted to .ogg with ww2ogg.exe but ww2ogg.exe opens for a split second and then closes, not sure if I'm missing an important step or not.
You seem to have a lot of experience in this so you might skip over directions which seem obvious to you but not novice modders.
|
|
|
Post by andehx on Feb 12, 2019 6:56:01 GMT 10
You seem to have a lot of experience in this so you might skip over directions which seem obvious to you but not novice modders.
This is pretty much the issue I had. He doesn't tell you that you need to have already extracted the contents of the PAK files before following this guide. Something that took me half an hour to work out myself.
|
|
Posts: 176
|
Post by archerpz on Feb 13, 2019 13:29:41 GMT 10
Hey DJPop, I noticed you released the version for the original ost too, how did you edit the bnk file? And if it's with a hex editor, know which values to edit, and did you change the offsets in that bnk file to work with your larger pck file?
I spent way too long editing the loop points only to have silence play after loop point, even though the track was def. long enough.
edit: I think I've figured it out, figuring out how the song loops was quite hard, especially with the two loop points.
|
|
"É a nova era, esta com medo? Está com MEDO, PETISTA SAFADA?!"
Posts: 54
|
Post by RyuuzakiL5 on Feb 14, 2019 21:46:21 GMT 10
Hey DJPop, I noticed you released the version for the original ost too, how did you edit the bnk file? And if it's with a hex editor, know which values to edit, and did you change the offsets in that bnk file to work with your larger pck file? I spent way too long editing the loop points only to have silence play after loop point, even though the track was def. long enough. edit: I think I've figured it out, figuring out how the song loops was quite hard, especially with the two loop points. how do I change loop points?
|
|
Posts: 176
|
Post by archerpz on Feb 15, 2019 4:41:27 GMT 10
how do I change loop points? i'll write up a tutorial tomorrow, mostly about which values to edit and what they do (the ones i've figured out anyway)
|
|
|
Post by fothsid on Feb 18, 2019 4:56:55 GMT 10
I remember testing audio swap before you released your mod, and actually I did it almost the same way, except I didn't knew of limitations and coded my own tool in order to repack .pck file.
I think they're controlled in BNK file, but I've no idea how it works. You can find BNK file structure here. Just have to code some kind of editing tool for this file format.
|
|
|
Post by ownerofaheart on Mar 18, 2019 22:32:10 GMT 10
Whilst opening my .PCK in Wwise.gui.exe file it seems that this error message appeared: UNEXPECTED EOF
Any ideas?
|
|
Posts: 176
|
Post by archerpz on Mar 19, 2019 0:05:49 GMT 10
Whilst opening my .PCK in Wwise.gui.exe file it seems that this error message appeared: UNEXPECTED EOF
Any ideas?are you opening the .pck file in the ' x64\streaming\sectionroot\..' folder or the one in ' x64\sectionroot\..' folder?
|
|
Posts: 76
|
Post by EXQRAY on Apr 1, 2019 3:55:45 GMT 10
Hi, Just wanna ask something, what is the wem files and which one is responsible for Mr.X's footsteps, I just wanna disable it once and for all, not for replaced with the others
Thanks
|
|
Welcome To The Party, Pal !!!
Posts: 247
|
Post by ReiKaz on Sept 27, 2019 1:57:35 GMT 10
Thanks for info, i'm just started learning the ropes for RE2 sounds. So far just have problem founding locations of sounds e.g. Mr.X sfx's. For converting audio, ww2ogg converts to .ogg and revorb decrypts .ogg to playble/editable format. I put WW2Ogg by HCS, ReVorb by foobar2000 and FFmpeg and .bat with commands for personal use. If anyone needs can grab it: WEM to OGG, WAV converterJust extract archive to folder (where .wem files is) and run "WEM to OGG converter v0.24.bat". It converts (with ww2ogg) and decrypts (with revorb) all .wem files in current folder.
|
|