Results 1 to 20 of 20

Get your own music in DoW mods! Idiot-proof tutorial not possible? Challenge accepted

  1. #1
    Member PsykoTenshi's Avatar
    Join Date
    Jun 2011
    Location
    non-Steam game Dawn of War: Nounstorm

    Get your own music in DoW mods! Idiot-proof tutorial not possible? Challenge accepted

    Ok. Here I will do my best to explain, step by step, how to put any audio file into DoW mods as background music, in a way either you understand or you understand.

    Part 1 First, you will need Cagecrawler's Relic Audio Converter.
    Relicnews thread link
    -Note: To download the Relic Audio Converter, right click the link and select "Save Link As..." (using Firefox, the option will likely be named differently on other browsers).
    -Once you got RAC-0.9.0.7z from Cagecrawler's thread, you'll need to unzip it.
    You will need an archiver software to do so.
    7-zip does the trick and it's freeware (no 40 day trial period ).
    -Once you got an archiver software installed right-click on RAC-0.9.0.7z and select (if using 7-zip, first select the 7-zip menu) "Extract here".
    -Open the folder named RAC-0.9.0 that you just extracted and double click on RAC.exe (the only one with a different icon).
    -Then click the "MP3 to FDA (files)" button and on the window that pops up, browse to wherever your mp3 files to be heard as DoW background music are located.
    -Then select them and click "Open". As soon as you do this a cmd (the dreaded system console) window will appear and display the status of the conversion process.
    IMPORTANT NOTE: I am not sure of this, but I have the hypothesis that pressing keys during the conversion process (that is, while the cmd windows are being displayed) can corrupt the converted files, causing the game to crash upon loading them. But, as I said, that is mere hypothesis based on my experience. This can be easily avoided by not pressing any keys during the conversion process.
    -After the conversion is done (it may take a while, depending on the amount of files and your processor) the converted files can be found in the same place as the original mp3 files.

    > Now, if any of the audio files you want in DoW isn't mp3, open this spoiler.

    Converting any audio (or video) file to mp3


    Part 2 To get those fda files as background music for a DoW mod, follow this instructions:
    I will take a random mod for Soulstorm as example, but this can be done with nearly any mod on all DoW "Classic", Winter Assault, Dark Crusade and Soulstorm.

    -First, go to your Dawn of War - Soulstorm directory. Typically located in (note: I don't have the steam version, the location may be slightly off):
    (32 bit OS') C:\Program Files\THQ\Dawn of War - Soulstorm
    (64 bit OS') C:\Program Files (x86)\THQ\Dawn of War - Soulstorm
    (32 bit OS', Steam version) C:\Program Files\Steam\steamapps\common\dawn of war - soulstorm
    (64 bit OS', Steam version) C:\Program Files (x86)\Steam\steamapps\common\dawn of war - soulstorm

    -Then, open the folder from the mod you want it's background music modified.
    Now it's the time to see if this mod is between the few that can't have its background music changed (easily). If there are rather large .sga files, like those in CornCobMan's Fun Mod, or Inquisition Daemonhunters, then you're out of luck. Those manage their files differently, and editing them is not something I can explain in less than a ubergigantic ridiculously big post.
    -If there are no .sga files, then you got yourself an easy to edit mod! Go open the folder named "Data" (inside the mod folder).
    -Now, open the folder named "Sound". If it's not there, make a new folder and name it "Sound".
    -Repeat the previous step but instead of "Sound" use "Music".
    -Inside the "Music" folder you just got to, put all the .fda files you converted with the Relic Audio Converter
    -Now go back to "Data".
    -Open Notepad (or a code editor like Notepad++ in case you have one).
    -Open the file named "soundplaylistmusic.lua" located in the "Data" folder with Notepad/your code editor. If it's not there, follow the steps in the spoiler below. If it's there, open the 2nd spoiler.

    creating your own soundplaylistmusic.lua


    Editing a soundplaylistmusic.lua file


    -Save the file.

    That should do it. I've spent quite some of my time on this out of charity, now go listen some metal/dubstep/whatever you music like while you obliterate your enemies in Dawn of War.

    Some final notes:
    -If you change the music in Ultimate Apocalypse it will also change it on New Races.
    -This DOES NOT BREAK MULTIPLAYER COMPATIBILITY!
    -If I wasn't clear enough before (I probably wasn't. English isn't my native language after all): You won't be able to change the background music in CornCobMan's Fun Mod, or Inquisition Daemonhunters using this. It IS possible to change the background music but as far as I understand that other method breaks multiplayer sync and most importantly it is even longer to explain.
    -Constructive criticism and feedback will be highly appreciated.



    Edit/P.S.: Re-reading this, it's quite of a bummer to go through. I may reformat this to a quicker reading/less tiring format... if at least someone shows interest that is xP
    Last edited by PsykoTenshi; 22nd Mar 13 at 6:47 AM.

  2. #2
    Member Jaguar-Lord's Avatar
    Join Date
    Feb 2007
    Location
    france
    good tutorial, very clear and useful :
    i have already asked this but it was some stime ago and some knowledge may be now available :

    +how to make sure a specific .fda file will be played during the loading process of a specific map afer you hit the "start game" button.

    example : i want the "fear_the_inquisition.fda" music to always playing during the loading step of "fear the inquisition" map in skirmish games. no other music should be playing , ever !

    JL

  3. #3
    Member PsykoTenshi's Avatar
    Join Date
    Jun 2011
    Location
    non-Steam game Dawn of War: Nounstorm
    The Ultimate Apocalypse mod once featured custom loading music files which I also changed to my liking. But those were selected at random :/
    What you want sounds like something that should(?) be approached by scar code, but that's all I can figure out with my limited knowledge on the matter.

  4. #4
    JL, SCAR bro.

    Clear the music play list, then play the music you want. Want the specific code line? I'm not sure what it is called by heart, I don't have any mod or scar with me, but look in the stronghold scar files, SetupMusicPlaylist().
    Mods In Progress: Ultimate Apocalypse | Daemons Mod

    Beware, my Ultimate Apocalypticinator!

  5. #5
    Member
    Join Date
    Mar 2010
    Location
    West Midlands, UK
    But does that actually work on the loading screens, or only during the mission itself?

  6. #6
    Member jONES1979's Avatar
    Join Date
    Dec 2008
    Location
    Нижний Тагил
    Quote Originally Posted by Kasrkin84 View Post
    But does that actually work on the loading screens, or only during the mission itself?
    only during the mission itself

  7. Modding Senior Member  #7
    Always Tired Argonaut's Avatar
    Join Date
    Dec 2004
    Location
    Fareham, south UK.
    there is a bank of loading music, in the same way as there is a bank of loading screens. To get only one track to play during loading, you need to copy the track and rename it for each of the bank of tracks.

    e.g

    loading_music_1.fda
    loading_music_2.fda

    are both the same track. The engine will still play randomly named tracks, the player HEARS the same track.

    ----------

    edit - having re-read JL's post, there is no way in multiplayer of ensuring a specific piece of music accompanies a specific map. so, No voiceover intro's a la Winter Assault. :P
    "Dad, I don't want to get married when I grow up."
    "Why not son?"
    "well... I think I'd rather run my own life."
    O.o
    "Thanks for that son."
    -My son age 6.

  8. #8
    Member Jaguar-Lord's Avatar
    Join Date
    Feb 2007
    Location
    france
    No voiceover intro's a la Winter Assault. :P
    so the way to go is understand how it was done in winter Assault and reproduce it or find a way around what is blocking us. it is not the first time we do this. this is coded somehow and somewhere.

  9. Modding Senior Member  #9
    Always Tired Argonaut's Avatar
    Join Date
    Dec 2004
    Location
    Fareham, south UK.
    It is the campaign menu for WA that needs disecting then - I think I'e looked into this before and as a result of the DC/SS campaign style menu it is impossible to activate the WA menu.

  10. #10
    Member Jaguar-Lord's Avatar
    Join Date
    Feb 2007
    Location
    france
    to armmmmmsSSSS brothers !! we are forging a Legend !!!

  11. #11
    Member
    Join Date
    Mar 2010
    Location
    West Midlands, UK
    Well, the DC and SS stronghold maps have mission-specific audio on the loading screens.

    Not sure if you'd be able to replicate it for what you need it for though (I'm assuming you want it for Darkness Within), since I'm fairly sure the audio is tied to the .ter files, which are only used in the metamap campaigns.

  12. #12
    A while ago, I tried adding songs (the DoW2 soundtrack) to my mod, which is basically a husk that calls a bunch of other mods. It worked but it somehow killed the game performance. While the game was still smooth, units would freeze their movement and stutter around. Does anyone have an explanation for this?

  13. #13
    Member aziz_hafla's Avatar
    Join Date
    Apr 2010
    Location
    Sweden
    Great tutorial mate, although I'm having issues regarding doing this correctly. I'm trying to edit the standard DC module without success, is there anything I should know concerning adding custom music if you are mod-less?

    I only hear a beep then it's silent
    Last edited by aziz_hafla; 1st Jun 12 at 6:55 PM.
    "Attack" is the only order worth remembering.

    -Khârn the Betrayer

  14. #14
    Member PsykoTenshi's Avatar
    Join Date
    Jun 2011
    Location
    non-Steam game Dawn of War: Nounstorm
    I've never played DoW without any mod at all for years now, so I didn't even try changing the unmodded game's background music.
    My guess is that because the base game uses .sga files (like CornCobMan's Fun Mod or Inquisition Daemonhunters) it won't load custom music for the same reason.

    My advice would be for you to get the Dawn of Skirmish AI mod and add your music to it, that way you'll have both better AI and nice custom music. If you are playing unmodded DoW precisely for the original AI, try the following (warning: crude, brutish tutorial incoming)

    -Get a mod for DC. Any mod will do (Dawn of Skirmish for example. It's tiny on size. But any will do as long as it doesn't use .sga files).
    -Then empty its folder (named usually like the .module file) and place ONLY the necessary stuff for your music to play in it.
    -Then play the "mod".
    That way you should (?) have your music working, with DC's unmodded AI and units.

    You can edit the data in the .module file with notepad so it says "aziz_hafla epic music mod" in the mod manager and such.

    2nd warning: I'm not completely sure if this works, theoretically it should but one can never be 100% sure. I never tried exactly that so it's up to you to see if that works

  15. #15
    How do you make an .SGA file anyways, does it require masters like Corsix to get it to work? (If you know by any chance, or anyone who is willing to answer my question, shoot!)

  16. #16
    The flying one corncobman's Avatar
    Join Date
    Dec 2006
    Location
    Norn Iron
    There's a tutorial somewhere, let me see if I can find it.

    Found it:

    http://dow.finaldeath.co.uk/rdnwiki/...r%26v=iem.html
    -It's not the fall that kills you, it's the sudden stop at the end (Douglas Adams)-
    -Make something idiot proof and nature will create a better idiot.-
    -Me fail English? That's unpossible!-

  17. #17
    Member aziz_hafla's Avatar
    Join Date
    Apr 2010
    Location
    Sweden
    Hey mate

    I downloaded the AI skirmish mod but didn't edit anything, I only added my custom music but it doens't work
    When am I supose to hear my music? At the main menu? In game?

    What am I doing wrong?
    I put the music files in this folder: C:\Program Files (x86)\THQ\Dawn of War - Dark Crusade\Dowai_mod\Data\Sound\Music
    And yes, I activated the mod in the game manager.
    Code:
    playlist = 
    {
    	tracks = 
    	{
    		"08 Instruments Of War",
    		"09 Sons of War",
    		"14 War Of Angels",
    		"35 Dawn Of War",
    		"09 Crusaders (Choir)",
    		"22 Heart of Courage (Choir)",
    		"15 Undying Love (Choir)",
    		"20 To Glory",
    		"19 Fill My Heart (Choir)",
    		"22 Freedom Fighters",
    		"13 Protectors of the Earth (Choir)",
    	},
    	
    	silence_min = 20.0,
    	silence_max = 70.0,
    	
    	order = false,
    }
    Thanks in advance

  18. #18
    Member PsykoTenshi's Avatar
    Join Date
    Jun 2011
    Location
    non-Steam game Dawn of War: Nounstorm
    Mmmhhh... Ok, let's recap and make sure we're not missing anything here:

    - You get the beep and then silence on the Dawn of Skirmish mod as well?
    If yes, then I am next to clueless on what is going on . Try retracing your steps and making sure nothing is off-place but as far as my knowledge gets that should be working.
    If no, (and you get plain, boring silence) then the most likely is that there is something wrong in your setup somewhere, that is causing all tracks to be omitted. But your soundplaylistmusic.lua looks good, I don't think this is the case.
    If no, (and you get the default music) that never happened to me as far as I remember. But my memory tend to be unstable and volatile so I wouldn't trust it if I were you.
    -Firstly, I assume the code you posted is your soundplaylistmusic.lua, which must be placed in the (exact location varies, but in your case) "C:\Program Files (x86)\THQ\Dawn of War - Dark Crusade\Dowai_mod\Data" directory.
    -That, in addition to having the .fda files in \Dowai_mod\Data\Sound\Music with names matching those in the .lua "playlist" should do it.

    If that doesn't work, (of the top of my head, honestly I have no idea if this makes any difference at all for DoW) I'd try removing all spaces from the .fda's and in the .lua.
    If it still doesn't work... I'd ask an experienced modder (that wouldn't be me lol).

    P.S.: To answer your question: The music set in soundplaylistmusic.lua is heard during the battles, the menu music is set with other, independent .lua files.
    P.S.2: I rarely use the mod manager anymore. I find shortcuts to the game that launch the mod directly much more convenient.
    To make one, simply make a new shortcut to your DoW/WA/DC/SS executable and add this to the 'Target' field
    Code:
     -nomovies -modname (mod name as shown on the .module here)
    "-nomovies" makes the game automagically skip the intro movies, making your escape key lifespan longer

  19. #19
    Member aziz_hafla's Avatar
    Join Date
    Apr 2010
    Location
    Sweden
    Thanks for taking your time to help me

    It took some time but I solved it, I had to extract the sound folder including all its files from the .sga and it worked.

    Thanks mate, now I can enjoy my epic music while I kill people

    Kind Regards
    Govava

  20. #20
    Member PsykoTenshi's Avatar
    Join Date
    Jun 2011
    Location
    non-Steam game Dawn of War: Nounstorm
    Quote Originally Posted by aziz_hafla
    Thanks for taking your time to help me
    You're welcome
    Quote Originally Posted by aziz_hafla
    I had to extract the sound folder including all its files from the .sga and it worked.
    I'm curious about what could be different on our computers, as I got custom music to work numerous times without never having to extract any .sga file... Maybe DC is more quirky than SS on this matter?
    Quote Originally Posted by aziz_hafla
    now I can enjoy my epic music while I kill people
    Always an awesome thing to do.

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
  •