Page 4 of 16 FirstFirst 1234567891011121314 ... LastLast
Results 61 to 80 of 309

Thread: How To Add In Your Own Music To M2TW

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Trajan's Avatar Capodecina
    Join Date
    Oct 2004
    Location
    USA
    Posts
    10,934

    Default Re: Tutorial: How To Add In Your Own Music To M2TW

    You can make it extract specific files in the sounds folder. Now it's been awhile since I used that tool to extract specific files so I'm not exactly sure. After you put the extract_sounds.bat and xidx.exe files in your sounds folder, right click extract_sounds.bat and click on edit. A text file will come up with this in it:

    Code:
    .\xidx.exe -x music voice1 voice2 voice3 sfx
    pause
    Delete everything to the right of music. So it should look like this afterwards:

    Code:
    .\xidx.exe -x music
    pause
    Save the text file and run extract_sounds.bat. Again, it's been awhile so I'm not sure.

  2. #2

    Default Re: Tutorial: How To Add In Your Own Music To M2TW

    trying now

    EDIT- no error this time, good news. Yet no file has shown up, an extra data/sounds file, there should be one correct?

  3. #3
    Trajan's Avatar Capodecina
    Join Date
    Oct 2004
    Location
    USA
    Posts
    10,934

    Default Re: Tutorial: How To Add In Your Own Music To M2TW

    Yes, there will be an extra data/sounds folder. Inside will be the music folder with all the tracks in the game. Move the music folder to the main sounds folder and delete the extra data/sounds folder. Just follow the rest of tutorial and hope everything goes well.

  4. #4

    Default Re: Tutorial: How To Add In Your Own Music To M2TW

    humm... thats the problem, no file showed up. I may try installing xp on one of my extra HD's and get the files that way.

    EDIT- ill work on it more later, up early for work tommorow. Thanks for your help Trajan
    Last edited by Enduran; March 29, 2007 at 10:17 PM.

  5. #5

    Default Re: Tutorial: How To Add In Your Own Music To M2TW

    Awesome tutorial I got my mix going now of Kingdom of Heaven, King Arthur, 300, Gladiator, Troy and Braveheart music

    anyone try separating northern_european and eastern_european in the file to have different music for those two? Mine doesn't work yet but since it involves a lot of file modding might be my file is messed up.
    ETW ship combat with pirate rap:
    http://www.youtube.com/watch?v=4SyN0QdEZyA

  6. #6

    Default Re: Tutorial: How To Add In Your Own Music To M2TW

    Think its vista, i'm going back to XP for the time being because its less buggy.

  7. #7

    Default Re: Tutorial: How To Add In Your Own Music To M2TW

    I'm using Vista x86, and I've had no issues using the music unpacker.

    Anyway--I've a question. Can battle speeches and campaign speaking be replaced in a similar fashion?

    I've got it in mind to replace as much of the Byzantine "Mediterranean" stuff with the Roman voices from RTW, but I wouldn't know where to begin.

  8. #8

    Default Re: Tutorial: How To Add In Your Own Music To M2TW

    I have a problem, the extractor only gets me the voice file, and not the music.

  9. #9

    Default Re: Tutorial: How To Add In Your Own Music To M2TW

    Well... I've tried to adapt the instructions to voice files as much as possible. I've renamed all the Roman_* files to Mediterranean_* files and converted the files to mp3. That way, they're just replacements.

    The thing is though, when I load the game, the game isn't rebuilding the voice.dat files. They're just originals--they aren't packing in my new files. I have the sound text files in the data folder and everything, and my shortcuts all have filefirst on them. Grr.

    Does anyone have any ideas?
    Last edited by Iaius Statius Laurentius; April 07, 2007 at 02:40 AM.

  10. #10
    Hans Kloss's Avatar J-23
    Join Date
    Oct 2004
    Location
    Richmond upon Thames
    Posts
    1,616

    Default Re: Tutorial: How To Add In Your Own Music To M2TW

    if you have deleted events dat and idx, game should rebuilt them when is started.

  11. #11

    Default Re: Tutorial: How To Add In Your Own Music To M2TW

    Yeah, I did that and now the stratmap sounds work. The speeches and inbattle sounds might be more difficult to do because there are just so many of them, and the speeches aren't even labeled. Grr.

  12. #12
    Indefinitely Banned
    Join Date
    Jun 2006
    Location
    Calgary, Canada
    Posts
    13,967

    Default Re: Tutorial: How To Add In Your Own Music To M2TW

    How will this work for mods? Do you have to extract the existing sounds? Can't you just place the new ones into the data/sounds or does it need all the sounds?

  13. #13
    Ralendil's Avatar Semisalis
    Join Date
    Oct 2005
    Location
    France
    Posts
    426

    Default Re: Tutorial: How To Add In Your Own Music To M2TW

    Quote Originally Posted by Iaius Statius Laurentius View Post
    Well... I've tried to adapt the instructions to voice files as much as possible. I've renamed all the Roman_* files to Mediterranean_* files and converted the files to mp3. That way, they're just replacements.

    The thing is though, when I load the game, the game isn't rebuilding the voice.dat files. They're just originals--they aren't packing in my new files. I have the sound text files in the data folder and everything, and my shortcuts all have filefirst on them. Grr.

    Does anyone have any ideas?

    If you want to repack the voices and even the SFX (what I did) there are several things you must know:

    - first one, that is surely not common... if you had introduced sounds to a new mount that you have added, put your descr_mount.txt file in your main data folder (or you will get a crash before the files are generated)
    - Second tip, use a bat file with the command "medieval2.exe --io.file_first". adding the command to the cfg file is not really effective (the game delete the line before launching the game)
    - To generate again the sounds files you would need to delete several files (after saved them). It depends what you want to add:
    • want to add voices? delete the voices files (Voice1.dat, Voice2.dat, Voice3.dat, Voice1.idx, Voice2.idx, Voice3.idx)
    • want to add sounds? delete the SFX files (SFX.idx, SFX.dat)
    Don't forget also to delete events.dat and events.idx... or you will get the old sounds... or a crash.

    - 4th tip: if you want to change a lot of things in the sounds (like voices + music + SFX), put all the sound files in your main data folder, delete all the sounds files (don't forget to save them... or if you have problems you will have to reinstall^^) and generate all of them at the same time by launching the game with the io file first command.
    Last edited by Ralendil; April 16, 2007 at 02:30 AM.
    Kill one man, and you are a murderer. Kill millions of men, and you are a conqueror. Kill them all, and you are a god.
    Jean Rostand

    Current Mod for S2TW: Sengoku Unit Cards

  14. #14

    Default Re: Tutorial: How To Add In Your Own Music To M2TW

    wat do u use to open DAT files?

  15. #15
    Trajan's Avatar Capodecina
    Join Date
    Oct 2004
    Location
    USA
    Posts
    10,934

    Default Re: Tutorial: How To Add In Your Own Music To M2TW

    Quote Originally Posted by Zkickin View Post
    I have a problem, the extractor only gets me the voice file, and not the music.
    That's strange. The idx extractor is programmed to automatically extract all the sound files. You must be using Vista because the other guys were reporting the same problem.


    Quote Originally Posted by mirage41
    How will this work for mods? Do you have to extract the existing sounds? Can't you just place the new ones into the data/sounds or does it need all the sounds?
    Not sure if you can make it work for mods right now. As far as I know, you can't because it has to be done through the main data/sounds folder. I heard that the 1.2 patch will allow us to do so, along with texture changes and so forth.

    You need to extract all the existing M2 music tracks (music folder), add your tracks to the music folder, and have the game compress it.

  16. #16

    Default Re: Tutorial: How To Add In Your Own Music To M2TW

    Has anyone had any luck putting MTW original music in? All I got was some crackling, then I lost all music.

  17. #17
    Spartan II's Avatar Foederatus
    Join Date
    Oct 2006
    Location
    Wherever the Sparta's army is...
    Posts
    34

    Default Re: Tutorial: How To Add In Your Own Music To M2TW

    I believe I've found the problem. The same thing happened when I tried to unpack using the 1.1 unpacker (no files showed up), and I remembered that the entire C:/Program Files is Read Only. I'm currently changing that, so I'll see if it works.

    EDIT: For those of you that don't read previous posts, or simply don't remember (and don't want to look back), I run Vista, so things are different (along with Enduran, who has the same problem).

    EDIT 2: It still doesn't work. I'm bummed.

    EDIT 3: Well, apparently whenever I tell something not to be Read Only in C:/Program Files, nothing happens. It just sets itself back. I'm going to try to install outside of that folder, and try everything again. *groan*

    EDIT 4: It worked! Hooray. Apparently, you'll need to install M2 out of the program files on Vista if you want to mod. I just closed the .bat file once it got done with the music, though, so I haven't tried for all the voice files yet. I'll try that tomorrow.
    Last edited by Spartan II; April 12, 2007 at 12:22 AM.

  18. #18
    Trajan's Avatar Capodecina
    Join Date
    Oct 2004
    Location
    USA
    Posts
    10,934

    Default Re: Tutorial: How To Add In Your Own Music To M2TW

    Fantastic man, I'm really glad you got it working. Tomorrow, I'll put up your instructions for Vista in the first post.

  19. #19
    Spartan II's Avatar Foederatus
    Join Date
    Oct 2006
    Location
    Wherever the Sparta's army is...
    Posts
    34

    Default Re: Tutorial: How To Add In Your Own Music To M2TW

    I've found a better way. Right click on the Medieval II - Total War folder (usually in C:/Program Files/SEGA) and go to properties, then the security tab, and click the big "edit" button. Then go to Administrators and check "full control." Then it will work. However, there will be a problem when you try to extract voice3.idx. It will say there was a problem with xidx.exe, and it will close. It says in the actual command prompt that it paused, or something. I still don't know why that happens with Vista, but for now, the music's fine.

  20. #20
    Trajan's Avatar Capodecina
    Join Date
    Oct 2004
    Location
    USA
    Posts
    10,934

    Default Re: Tutorial: How To Add In Your Own Music To M2TW

    Thanks Spartan, first post was just updated with your instructions.

Posting Permissions

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