Post by Orion_ on Sept 25, 2022 13:16:43 GMT 10
I found out how to change OSTs from the game, the ones that if you normally change, it does not work and then crashes. Unfortunately, it won't have any screenshot in this thread, so it will have to be a written tutorial.
First, you need to see how many channels are present in the one you want to change. To see this, you need to open the st_bgm.stq with MT Framework - Sound Tool made by Sr. Wesky. If you don't have his tool downloaded, you can download it from this link below:
MT Framework - Sound Tool: residentevilmodding.boards.net/thread/15557/mt-framework-sound-tool
Also, you gonna need ARC Tool to unpack and get the st_bgm.stq. If you don't have this tool downloaded, you can download it from this link below:
ARC Tool: residentevilmodding.boards.net/thread/481/arc-unpacker-repacker-v0-31
Depending of the soundtrack you want to change, you have to know their respective .stq to see how many channels it has. For example: Wesker LiN soundtrack. The .stq file is inside Extra1Resource, not CoreResources. So, if you already modded Wesker LiN soundtrack and it didn't worked, it means that it has more than 2 sound channels. So, if the soundtrack you want to change is from DLC, you should check this thread below:
residentevilmodding.boards.net/thread/15838/stq-files-resource-arc-list?page=1&scrollTo=144153
Ok, after downloaded the necessary programs, go to the RE5's folder and copy the "CoreResources.arc". Follow the directory:
"nativePC_MT/Image/Archive/CoreResources.arc".
Now paste inside the ARC Tool's folder then drag and drop the .arc file into "pc-re5.bat". It will create a new folder with the same name as the archive. Now open MT Framework, go to "STQ Editor" and open the st_bgm.stq file. The file is inside the new folder that was created by ARC Tool, and his directory is:
"CoreResources/sound/bgm/st_bgm.stq".
After opened it, check the soundtrack you want to change by the name (ex: s_bgm018), then look at how many channels there are. If your soundtrack has 6 channels, there is the problem. That's the one which made your game crash right before the game starts playing your custom music. Why 6 channels? That's because the soundtrack you're going to change, has 6 different channels and different sound rows each one.
The game won't recognize the 6 channels if your custom music only has 2 channels, 2 sound rows, and then he crashes. Soundtracks with 2 channels works with any music without editing anything, but there are some soundtracks of the game that has 6 channels, which means that you have to edit your custom music or it won't work. And now, I'm going to show you how to make your custom music work with a soundtrack with 6 channels.
Ok, now that you know how many channels it has, you have to copy the original soundtrack and paste wherever you want, copy the one you'll be changing and after paste, remove the ".sngw" and write ".ogg" on it. Now, you're going to need another program, that is Audacity, so we can edit the original soundtrack. Open the original soundtrack with Audacity, then open your custom music. Right below from the Pause button, you will see an "x" and on his side, there will be the name of your custom music. Click in this button with the name of your custom music then it will show some options.
Click in "Split Stereo to Mono", then it will split your music in 2 Mono channels. Copy the first channel and paste it on the first channel of the original soundtrack. Then, the second channel from your custom music, copy and paste it on the second channel of the original soundtrack. Keep doing this until every single channel from the original soundtrack has been changed. Like: (Numbers is the channel) 1 to 1, 2 to 2, 1 to 3, 2 to 4, 1 to 5 and 2 to 6. Normally, most of the soundtracks that I saw inside the CoreResources is 2 channels and 6 channels, so, probably your soundtrack must be 6 channels due to the kind of the soundtrack.
Now that you overwrote the 6 channels, it's time to export. But first, Audacity has a default option that mixes all the 6 channels and you have to disable that option, or it won't work. To disable this option, click in "Edit", then click in "Preferences". There it will show you Audacity configurations. Click in "Import/Export", and in the first options, the option "Mix down to Stereo or Mono" will be marked for default. Select the one below, that is "Use Advanced Mixing Options" and it's done now, click Ok and now extract as .ogg. It will show some stuffs, just click Ok for everything and wait the program export your new soundtrack.
And it's finally done! Rename your soundtrack back as .sngw, then copy/cut and paste it where you copied before and be happy!!
Well, that's the tutorial. It's very very simple once you learn it. If you're still facing crashes after this, feel free to comment here!
Have a nice day.
First, you need to see how many channels are present in the one you want to change. To see this, you need to open the st_bgm.stq with MT Framework - Sound Tool made by Sr. Wesky. If you don't have his tool downloaded, you can download it from this link below:
MT Framework - Sound Tool: residentevilmodding.boards.net/thread/15557/mt-framework-sound-tool
Also, you gonna need ARC Tool to unpack and get the st_bgm.stq. If you don't have this tool downloaded, you can download it from this link below:
ARC Tool: residentevilmodding.boards.net/thread/481/arc-unpacker-repacker-v0-31
Depending of the soundtrack you want to change, you have to know their respective .stq to see how many channels it has. For example: Wesker LiN soundtrack. The .stq file is inside Extra1Resource, not CoreResources. So, if you already modded Wesker LiN soundtrack and it didn't worked, it means that it has more than 2 sound channels. So, if the soundtrack you want to change is from DLC, you should check this thread below:
residentevilmodding.boards.net/thread/15838/stq-files-resource-arc-list?page=1&scrollTo=144153
Ok, after downloaded the necessary programs, go to the RE5's folder and copy the "CoreResources.arc". Follow the directory:
"nativePC_MT/Image/Archive/CoreResources.arc".
Now paste inside the ARC Tool's folder then drag and drop the .arc file into "pc-re5.bat". It will create a new folder with the same name as the archive. Now open MT Framework, go to "STQ Editor" and open the st_bgm.stq file. The file is inside the new folder that was created by ARC Tool, and his directory is:
"CoreResources/sound/bgm/st_bgm.stq".
After opened it, check the soundtrack you want to change by the name (ex: s_bgm018), then look at how many channels there are. If your soundtrack has 6 channels, there is the problem. That's the one which made your game crash right before the game starts playing your custom music. Why 6 channels? That's because the soundtrack you're going to change, has 6 different channels and different sound rows each one.
The game won't recognize the 6 channels if your custom music only has 2 channels, 2 sound rows, and then he crashes. Soundtracks with 2 channels works with any music without editing anything, but there are some soundtracks of the game that has 6 channels, which means that you have to edit your custom music or it won't work. And now, I'm going to show you how to make your custom music work with a soundtrack with 6 channels.
Ok, now that you know how many channels it has, you have to copy the original soundtrack and paste wherever you want, copy the one you'll be changing and after paste, remove the ".sngw" and write ".ogg" on it. Now, you're going to need another program, that is Audacity, so we can edit the original soundtrack. Open the original soundtrack with Audacity, then open your custom music. Right below from the Pause button, you will see an "x" and on his side, there will be the name of your custom music. Click in this button with the name of your custom music then it will show some options.
Click in "Split Stereo to Mono", then it will split your music in 2 Mono channels. Copy the first channel and paste it on the first channel of the original soundtrack. Then, the second channel from your custom music, copy and paste it on the second channel of the original soundtrack. Keep doing this until every single channel from the original soundtrack has been changed. Like: (Numbers is the channel) 1 to 1, 2 to 2, 1 to 3, 2 to 4, 1 to 5 and 2 to 6. Normally, most of the soundtracks that I saw inside the CoreResources is 2 channels and 6 channels, so, probably your soundtrack must be 6 channels due to the kind of the soundtrack.
Now that you overwrote the 6 channels, it's time to export. But first, Audacity has a default option that mixes all the 6 channels and you have to disable that option, or it won't work. To disable this option, click in "Edit", then click in "Preferences". There it will show you Audacity configurations. Click in "Import/Export", and in the first options, the option "Mix down to Stereo or Mono" will be marked for default. Select the one below, that is "Use Advanced Mixing Options" and it's done now, click Ok and now extract as .ogg. It will show some stuffs, just click Ok for everything and wait the program export your new soundtrack.
And it's finally done! Rename your soundtrack back as .sngw, then copy/cut and paste it where you copied before and be happy!!
Well, that's the tutorial. It's very very simple once you learn it. If you're still facing crashes after this, feel free to comment here!
Have a nice day.