Difference between revisions of "Extracting Sounds"
From TWC Wiki
Jump to navigationJump to searchm |
m (Text replacement - "http://www.twcenter.net" to "https://www.twcenter.net") |
||
(5 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | [ | + | [https://www.twcenter.net/forums/showthread.php?t=67985 Link to original thread at TWC] |
<hr> | <hr> | ||
Most of you probably already know this if you've taken a look at the file structure, but here's how to extract sounds: | Most of you probably already know this if you've taken a look at the file structure, but here's how to extract sounds: | ||
− | #Download [ | + | #Download [https://www.twcenter.net/forums/downloads.php?do=file&id=32 Vercingetorix's XIDX-extractor]. Or the later revised [https://www.twcenter.net/forums/showthread.php?488988-Return-of-XIDX-with-bug-fixes-and-updates-for-M2TW Return of XIDX: with bug fixes and updates for M2TW] |
#Unzip the files included and copy+paste "xidx.exe" and "extract_sounds.bat" to your "M2TW\data\sounds\" folder (by default "C:\Program Files\Sega\Medieval II Total War\Data\sounds") | #Unzip the files included and copy+paste "xidx.exe" and "extract_sounds.bat" to your "M2TW\data\sounds\" folder (by default "C:\Program Files\Sega\Medieval II Total War\Data\sounds") | ||
#Double click on the bat-file and it will automatically begin extracting all music, voices and SFX. | #Double click on the bat-file and it will automatically begin extracting all music, voices and SFX. | ||
Line 24: | Line 24: | ||
*[[Sound text files]] | *[[Sound text files]] | ||
− | [[Category: Modding]][[Category: M2TW Modding | + | [[Category: M2TW Modding]] |
+ | [[Category:M2TW Modding Tutorials]] |
Latest revision as of 11:36, 10 February 2020
Link to original thread at TWC
Most of you probably already know this if you've taken a look at the file structure, but here's how to extract sounds:
- Download Vercingetorix's XIDX-extractor. Or the later revised Return of XIDX: with bug fixes and updates for M2TW
- Unzip the files included and copy+paste "xidx.exe" and "extract_sounds.bat" to your "M2TW\data\sounds\" folder (by default "C:\Program Files\Sega\Medieval II Total War\Data\sounds")
- Double click on the bat-file and it will automatically begin extracting all music, voices and SFX.
And here's how to replace the music (will write a more extensive tutorial once we get tools for unpacking the .pack-files and getting the txt-files available)
- Find a track you want to put in the game. Determine what kind of music it'll be (ie strat map, battle, mobilize, victory etc.), and find the song you don't like (ie the one you wanna replace your own with). These can now be found unpacked in "M2TW\data\sounds\data\sounds\music".
- Rename your own song the same as the song you're replacing, and paste over the original song.
- Now either:
- Cut out the Music folder and paste it in "M2TW\data\sounds\data\sounds\", then delete the "music.dat". OR
- Use the XIDX to repack the new music. Copy and paste the "pack_example_music_idx.bat" to the "\sounds"-folder, and right click on it and select "Edit". You should now see this:
.\xidx.exe -cf my_music.idx data\sounds\music\*pause[
(Does this actually work in M2TW? It does not for in-game sound. / Beiss )
- Rename the "my_music.idx" to "music.idx", then save, delete the original music.dat and run the bat. It should now (if you did everything correctly) create a new "musid.dat"-file including your own music!
NOTE: Before you do anything, it is good to backup both the original "music.dat" and "music.idx", incase something happens :wink: (Just copy them and paste them there :))
-Arakorn-eir