Page 1 of 3 123 LastLast
Results 1 to 20 of 52

Thread: Extracting sounds

  1. #1
    Arakorn's Avatar Jukutatsu shita
    Join Date
    May 2005
    Location
    Helsinki
    Posts
    3,571

    Default Extracting 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:

    1. Download Vercingetorix's XIDX-extractor.
    2. 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")
    3. 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)

    1. 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:

    1. Cut out the Music folder and paste it in "M2TW\data\sounds\data\sounds\", then delete the "music.dat".

      OR
    2. 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:

      Code:
      .\xidx.exe -cf my_music.idx data\sounds\music\*
      pause
      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 )

    PS. Wasn't really sure where I should put this, there is no audio forum anymore, didn't really think this is a tut (though move it if you think ) so it was safe to post it here. :wink:

  2. #2
    The Strategy-Player's Avatar Shashu
    Join Date
    Dec 2004
    Posts
    196

    Default Re: Extracting sounds

    Nice work!

    But is it only me? Now when I have opened it I think it is far too few sounds, one-liners to the battle speeches and so on. Gah, shouldn't have opened it. =/

  3. #3
    Arakorn's Avatar Jukutatsu shita
    Join Date
    May 2005
    Location
    Helsinki
    Posts
    3,571

    Default Re: Extracting sounds

    What do you mean? How many do you see? They are one liners, but when combined they make long speeches :wink:

  4. #4
    Murakawa
    Join Date
    May 2006
    Posts
    3

    Default Re: Extracting sounds

    doesn't work ... followed your instructions twice and both times there is no music being played. Extraction of the sounds worked fine but when it came to playing them ingame Music.Dat & Music.idx both change file sizes (24bytes) and just having the music in the folder like which was possible in Rome does not work also.

    anything else to suggest?

  5. #5
    Arakorn's Avatar Jukutatsu shita
    Join Date
    May 2005
    Location
    Helsinki
    Posts
    3,571

    Default Re: Extracting sounds

    Where were the idx.exe and the bat files when you packed them?

  6. #6
    Murakawa
    Join Date
    May 2006
    Posts
    3

    Default Re: Extracting sounds

    in the data/sounds folder .... should they be in the data/sounds/data/sounds folder?...

  7. #7
    Arakorn's Avatar Jukutatsu shita
    Join Date
    May 2005
    Location
    Helsinki
    Posts
    3,571

    Default Re: Extracting sounds

    Hmm...

    We've been told that it is possible to pass the packing with the mod's, ie make a mod folder in data and add some thing in the preference. Now you just put the folder there (with the right structure), and it should overwrite the vanilla music. (Haven't tried this yet, but in theory it should work).

  8. #8
    Murakawa
    Join Date
    Nov 2006
    Posts
    2

    Default Re: Extracting sounds

    good, thanks ...
    Last edited by mikehood; November 22, 2006 at 02:07 AM.

  9. #9
    Beiss's Avatar Nemo nascitur...
    Join Date
    Jan 2006
    Location
    Sweden
    Posts
    3,409

    Default Re: Extracting sounds

    I've run into the same problem. I've talked to Vercingetorix, too, and he says it's possible the tool isn't compatible with M2TW.

    In addition, when I did this with the Voice1 idx, upon starting the game, the idx and dat files were reduced to 24 bytes each. Good thing I had backups...
    Under the patronage of Halie Satanus, Emperor of Ice Cream, in the house of wilpuri

  10. #10
    Yoshihara
    Join Date
    Aug 2006
    Posts
    61

    Default Re: Extracting sounds

    download is broken. can someone host the file else where?

  11. #11
    The Strategy-Player's Avatar Shashu
    Join Date
    Dec 2004
    Posts
    196

    Default Re: Extracting sounds

    It worked perfectly well for me.

  12. #12
    Beiss's Avatar Nemo nascitur...
    Join Date
    Jan 2006
    Location
    Sweden
    Posts
    3,409

    Default Re: Extracting sounds

    Quote Originally Posted by The Strategy-Player View Post
    It worked perfectly well for me.
    Then tell me exactly how you did it, because the above instructions didn't work for me.
    Under the patronage of Halie Satanus, Emperor of Ice Cream, in the house of wilpuri

  13. #13
    Master Nikolaos's Avatar Taihō no heishi
    Join Date
    Feb 2004
    Location
    Melbourne,FL,U.S.
    Posts
    565

    Default Re: Extracting sounds

    I'm trying to get Vercingetorix's tools, but the download link is bad. Anyone have it who can give it to me?

  14. #14
    plasticfigurine's Avatar Kihei
    Join Date
    Aug 2004
    Location
    Harrisonburg, VA, US
    Posts
    905

    Default Re: Extracting sounds

    Here's an alternate link to the IDX tool
    http://www.mizus.com/files/files/RTW/Tools/

    Scroll down and it's the second to last link.

    EDIT: Oh, and I'm running into the same problem that Beiss and RedDevil are getting. Music.dat and music.idx are 1KB each and no music plays when I start up the game.
    Last edited by plasticfigurine; November 27, 2006 at 02:09 AM.

  15. #15
    Murakawa
    Join Date
    May 2006
    Posts
    3

    Default Re: Extracting sounds

    glad to know im not the only one with these problems. Guess we will have to wait until the patch /w modding tools before we get to play our campaigns with custom music.

  16. #16
    Master Nikolaos's Avatar Taihō no heishi
    Join Date
    Feb 2004
    Location
    Melbourne,FL,U.S.
    Posts
    565

    Default Re: Extracting sounds

    Thanks a bunch plasticfigurine

  17. #17
    Arakorn's Avatar Jukutatsu shita
    Join Date
    May 2005
    Location
    Helsinki
    Posts
    3,571

    Default Re: Extracting sounds

    Where were the bat and exe files when you repacked them? I've run into the same probs with RTW before.

  18. #18
    plasticfigurine's Avatar Kihei
    Join Date
    Aug 2004
    Location
    Harrisonburg, VA, US
    Posts
    905

    Default Re: Extracting sounds

    Quote Originally Posted by Arakorn-eir View Post
    Where were the bat and exe files when you repacked them? I've run into the same probs with RTW before.
    Still in the main sound directory (M2TW/data/sounds). Should they be in data/sounds/data/sounds?

  19. #19
    Mr._Chuckles's Avatar Wimmer
    Join Date
    Jan 2005
    Location
    Vancouver
    Posts
    170

    Default Re: Extracting sounds

    Hey, I'm getting a fatal error when I go to download the XIDX extractor, I can't find another mirror anywhere, and it's not on the .org

    Anyway anyone can email it to me?



    wups.... missed the alternate download post...

    my bad! Thanx








  20. #20
    Methoz's Avatar Sōkō no yari
    Join Date
    Jul 2005
    Location
    Bohemia (Czech: Čechy; German: Böhmen) (CZE)
    Posts
    1,215

    Default Re: Extracting sounds


    We need map-maker(s) for our mod

Page 1 of 3 123 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •