mtr:dev:custom_bve_sound
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
mtr:dev:custom_bve_sound [2023/11/09 05:14] – created lx862 | mtr:dev:custom_bve_sound [2024/02/17 14:10] (current) – [Note / Troubleshooting] sfsperseverance | ||
---|---|---|---|
Line 7: | Line 7: | ||
<WRAP round info> | <WRAP round info> | ||
- | This article is ported from [[https:// | + | This article is ported from [[https:// |
You may help improving the page by filling in the missing knowledge. | You may help improving the page by filling in the missing knowledge. | ||
Line 15: | Line 15: | ||
===== Prerequisite ===== | ===== Prerequisite ===== | ||
- | - Basic knowledge of adding custom Minecraft sound, | + | - Basic knowledge of adding custom Minecraft sound, |
- An existing BVE4/ | - An existing BVE4/ | ||
- | - An custom MTR Mod Train made with Resource Pack(Livery works as well). | + | - An custom MTR Mod train added with Resource Pack (Livery works as well). |
- Software that is capable of exporting **.ogg** file (e.g. [[https:// | - Software that is capable of exporting **.ogg** file (e.g. [[https:// | ||
- | - (Optional, but makes life way easier) Bulk renaming software (**PowerRename** from [[https:// | + | - //(Optional, but makes life way easier)// Bulk renaming software (**PowerRename** from [[https:// |
===== Process ===== | ===== Process ===== | ||
- | - Make a copy of your BVE/OpenBVE Train folder, **you should | + | - Make a copy of your BVE/OpenBVE Train folder, **only |
- | - Find the folder where train sounds | + | - Find the folder where the train sound are located. They're either located right in the main train folder |
- | - //If you do find another sound folder//, just put all the sound file inside to the root BVE Train Folder | + | - //If you do find another sound folder//, just put all the sound file inside to the main train folder |
- Delete all other files except ***.wav, *.flac**, **train.dat** and **sound.cfg** | - Delete all other files except ***.wav, *.flac**, **train.dat** and **sound.cfg** | ||
- Rename **all files** **(Including sound.cfg and train.dat)** in that folder to __lowercase letter file name__. You can do it with most bulk renaming software, or you can manually renaming each one of them | - Rename **all files** **(Including sound.cfg and train.dat)** in that folder to __lowercase letter file name__. You can do it with most bulk renaming software, or you can manually renaming each one of them | ||
- | - Add the following to sound.cfg, below '' | + | - Edit the **sound.cfg** file, by adding the following |
[MTR] | [MTR] | ||
MotorNoiseDataType = 4 | MotorNoiseDataType = 4 | ||
Line 44: | Line 44: | ||
- Export all the **.wav/ | - Export all the **.wav/ | ||
- Copy the train folder to '' | - Copy the train folder to '' | ||
- | - Make a sound.json file in '' | + | - Make a sounds.json file in '' |
- | - Make a sound entry in sound.json of every file in '' | + | - Make a sound entry in sounds.json of every file in '' |
- | - Your sound.json in the end should look something like this (I used '' | + | - Your sounds.json in the end should look something like this (I used '' |
- {{: | - {{: | ||
- Finally, add the following line to your custom train entry in '' | - Finally, add the following line to your custom train entry in '' | ||
Line 60: | Line 60: | ||
- **You will need to re-select the train in the siding, or restart the client if you have made any changes to the sound config.** | - **You will need to re-select the train in the siding, or restart the client if you have made any changes to the sound config.** | ||
- | - '' | + | - '' |
- Small motor noises may be heard even when the train is coasting, this is to simulate train adding small bits of power to maintain it's speed. | - Small motor noises may be heard even when the train is coasting, this is to simulate train adding small bits of power to maintain it's speed. | ||
mtr/dev/custom_bve_sound.txt · Last modified: 2024/02/17 14:10 by sfsperseverance