Author Topic: How to add your own music?  (Read 12635 times)

Offline Hesh

  • Peon
  • **
  • Posts: 23
    • View Profile
How to add your own music?
« on: February 06, 2016, 02:50:33 PM »
Is it possible for me to add my own music to the game? Replace the original soundtracks with my own?

Offline Delete mine too

  • Death Knight
  • *********
  • Posts: 2652
  • http://meatspin.com
    • View Profile
    • http://meatspin.com
Re: How to add your own music?
« Reply #1 on: February 06, 2016, 03:00:14 PM »
My information has been incorrect. You can add units sounds, etc. The music location comes from this path
install.exe + "/Music/Hum1.wav*" This is why sounds and music work with the install.exe pasted in the war2 folder.

I've been able to hack the name of the file and directory but not at the root just from "/Music/+". Lets make this thread a work in progress thread. [WIP] I've been working on this for a month or so and consider this a project.

Offline iL

  • Administrator
  • Ogre Mage
  • *****
  • Posts: 1653
    • View Profile
Re: How to add your own music?
« Reply #2 on: February 07, 2016, 05:18:37 PM »
Hm, you can just remove the required music (install.exe + "/Music/Hum1.wav*") from install.exe using mpq editor and then to add your custom wav-file as the same name to the same install.exe.
Just make sure your wav-file have proper bitrate/mono (i don't remember exact parameters, just look into original bitrate parameters)...
Need help to translate War2Combat to German, French, Italian, Polish or another language: http://forum.war2.ru/index.php/topic,4728.0.html
Please, contact me if you are interested in that.

Offline Delete mine too

  • Death Knight
  • *********
  • Posts: 2652
  • http://meatspin.com
    • View Profile
    • http://meatspin.com
Re: How to add your own music?
« Reply #3 on: February 21, 2016, 03:15:11 PM »
Hm, you can just remove the required music (install.exe + "/Music/Hum1.wav*") from install.exe using mpq editor and then to add your custom wav-file as the same name to the same install.exe.
Just make sure your wav-file have proper bitrate/mono (i don't remember exact parameters, just look into original bitrate parameters)...

Yes this does work. Get a MPQ editor open the "Install.exe" then add your filelist then boom you see music folder... export and import your wav files.

Offline Hesh

  • Peon
  • **
  • Posts: 23
    • View Profile
Re: How to add your own music?
« Reply #4 on: March 18, 2017, 07:24:57 PM »
I know this is late but I just recently got back to War2. I have tried what iL suggested, replacing the .wav files, I checked for bitrate/mono (22Hz) and everything but it just freezes my game. I even renamed HUMAN2.wav to ORC2.wav and replaced it and they both have the same parametres, my game just freezes and I have to ctrl + alt + delete and log off.

Offline shesycompany

  • Death Knight
  • *********
  • Posts: 3587
  • retired, be in music section
    • View Profile
Re: How to add your own music?
« Reply #5 on: March 18, 2017, 10:10:34 PM »
no idea man  :-\ i used the install exe 22khz also..worked for me.

u can try downloading il's midi2wav and see if it will play then.

Offline Hesh

  • Peon
  • **
  • Posts: 23
    • View Profile
Re: How to add your own music?
« Reply #6 on: March 19, 2017, 09:13:59 AM »
no idea man  :-\ i used the install exe 22khz also..worked for me.

u can try downloading il's midi2wav and see if it will play then.
midi2wav? Where can I find that?

Offline shesycompany

  • Death Knight
  • *********
  • Posts: 3587
  • retired, be in music section
    • View Profile
Re: How to add your own music?
« Reply #7 on: March 19, 2017, 11:50:23 AM »

Offline Hesh

  • Peon
  • **
  • Posts: 23
    • View Profile
Re: How to add your own music?
« Reply #8 on: March 19, 2017, 03:27:12 PM »
ftp://ftp.war2.ru/war2/War2Music.exe
I downloaded that.... I used it and I have music on my game. But I don't want those soundtracks, I want others. I edited install.exe with an mpq editor but it just freezes my game when I start with the race I put the sound on.

Offline shesycompany

  • Death Knight
  • *********
  • Posts: 3587
  • retired, be in music section
    • View Profile
Re: How to add your own music?
« Reply #9 on: March 19, 2017, 08:28:40 PM »
u using winmpq or another mpq editor?il is smart, i believe blizzard did the same when making the music...i dont think they had the money for a orchestra back then.
« Last Edit: March 19, 2017, 08:30:17 PM by easycompany »

Offline Hesh

  • Peon
  • **
  • Posts: 23
    • View Profile
Re: How to add your own music?
« Reply #10 on: March 19, 2017, 08:44:18 PM »
u using winmpq or another mpq editor?il is smart, i believe blizzard did the same when making the music...i dont think they had the money for a orchestra back then.

I tried winmqp but it gives me an error. So I used this one http://www.zezula.net/en/mpq/download.html

Offline shesycompany

  • Death Knight
  • *********
  • Posts: 3587
  • retired, be in music section
    • View Profile
Re: How to add your own music?
« Reply #11 on: March 19, 2017, 08:49:05 PM »
i use winmpq.ok the problem is somewhere in the mpq make sure they are named right etc.

Offline Hesh

  • Peon
  • **
  • Posts: 23
    • View Profile
Re: How to add your own music?
« Reply #12 on: March 19, 2017, 08:50:40 PM »
i use winmpq.ok the problem is somewhere in the mpq make sure they are named right etc.
Can you give me a link to winmpq? I'll download it again and see what I can do later.

Offline shesycompany

  • Death Knight
  • *********
  • Posts: 3587
  • retired, be in music section
    • View Profile

Offline Hesh

  • Peon
  • **
  • Posts: 23
    • View Profile
Re: How to add your own music?
« Reply #14 on: March 20, 2017, 04:46:20 PM »
http://sfsrealm.hopto.org/downloads/WinMPQ.html
omg it worked, thank you so much dude. I love you! haha I guess the other mpq editor I had was crap lol