Смердокрыл

4.3.4
Music replacement not working

Hey!

I had the simplest job possible: replace music in Undercity with, lets say, Stormwind music. So I copied the music into the right folder and renamed, supposing that it would replace the original Undercity music.

When I compiled the patch and opened the game, however, nothig changed and Undercity still had that creepy undead music.

Why?

Share this post


Link to post
Share on other sites

This music can be stored in multiple patches, see in the latest.

 

wow use a replacement in the file reading by patch number, if you add a file to for example patch-6, all simillar files(the same name&path) will be ignored in the favor of the latter

 

but if you add the same file to patch-7.

this file from 6 also will be ignored.

 

better to create own patch, and do not touch original MPQs

Share this post


Link to post
Share on other sites
1 hour ago, Vellear said:

better to create own patch, and do not touch original MPQs

Yes, I know, and that's what I did. The music is in my latest custom patch. By "replacement" I meant that music from this patch would be favoured over the previous patches

Share this post


Link to post
Share on other sites

WotLK: Zones have in AreaTable.dbc assigned IDs of zone music. Those IDs lead to SoundEntries.dbc, where paths and names to music files are stored. However, this does not apply to WMOs, which have a little bit different system. As far as I know, they have their own internal IDs which point somewhere...? and from there are correct SoundEntries taken...? You see those ?, I am not entirely sure how this works.

Something similiar will probably be in Cataclysm as well.

Share this post


Link to post
Share on other sites

Also check format of music --> are you sure wow can read it ? try to play that music manualy by Lua command


Example 

/run PlaySoundFile("Sound\\Creature\\Jaraxxus\\CR_Jaraxxus_Aggro01.wav")

Share this post


Link to post
Share on other sites

New versions of wow use .ogg as filenames, earlier was wav. I.e WotLK use .wav files for all forms ambient, music etc etc.Sharing some info about the versions and file lists.

Share this post


Link to post
Share on other sites

I replaced the undercity music with another music from wow, so it should be readable.

Also, why would the way music is set (dbc, wmo or whatever) have anything to do with it? I am replacing the actual file

Share this post


Link to post
Share on other sites

I did the same for my project by changing zone and city music from the Cataclysm. I didn't change any DBC file i had only to convert as i said since new files was ogg and vanilla uses wav and then i add them in the appropriate folder to work. Im working a under a separate patch file, avoid to edit the game files and work with your own mpq.

Share this post


Link to post
Share on other sites

Ah, as long as you have replaced only actual file, answer is fairly simple: You have most likely replaced incorrect one. It also depends which particular song you have changed. There are things like intro music which is always played when you enter the area, maybe you are expecting your song to be played earlier than it will be played and take it as unsuccesful attempt to edit original song, idk.

Share this post


Link to post
Share on other sites
6 hours ago, Amaroth said:

Ah, as long as you have replaced only actual file, answer is fairly simple: You have most likely replaced incorrect one. It also depends which particular song you have changed. There are things like intro music which is always played when you enter the area, maybe you are expecting your song to be played earlier than it will be played and take it as unsuccesful attempt to edit original song, idk.

I replaced all the music in citymusic/undercity

And, once again, I used MY OWN MPQ

Share this post


Link to post
Share on other sites

Undercity has 4 files, 1 is the intro like Amaroth says the others are the normal ones played during your time in the city. So the correct path is Music>CityMusic>Undercity>MUSIC-FILE, in our case you have 4 different, undercity01-zone.mp3 ,undercity02-zone.mp3, undercity03-zone.mp3 and UndercityIntro-moment.mp3 (which is obvious what it does). Order must be kept and of course the correct file type. I want to make a correction here that vanilla uses also mp3 along with the wav. Now if remember correct most are replaced by .ogg filetype.

Share this post


Link to post
Share on other sites
2 hours ago, Uthil said:

Undercity has 4 files, 1 is the intro like Amaroth says the others are the normal ones played during your time in the city. So the correct path is Music>CityMusic>Undercity>MUSIC-FILE, in our case you have 4 different, undercity01-zone.mp3 ,undercity02-zone.mp3, undercity03-zone.mp3 and UndercityIntro-moment.mp3 (which is obvious what it does). Order must be kept and of course the correct file type. I want to make a correction here that vanilla uses also mp3 along with the wav. Now if remember correct most are replaced by .ogg filetype.

These are exactly the files I replaced, with another music from wow (let's say, stormwind music)

Share this post


Link to post
Share on other sites

Ok, then i will suggest to test this, delete the files from your mpq. Then go and create the same folder structure under Data game folder, so it would look like this : Data>Sound>Music>CityMusic>Undercity>MUSIC-FILES. And load up the game. If music works here then something isn't going well with the mpq or file you picked or generally something else that you have to find it.

Share this post


Link to post
Share on other sites
9 hours ago, Uthil said:

Ok, then i will suggest to test this, delete the files from your mpq. Then go and create the same folder structure under Data game folder, so it would look like this : Data>Sound>Music>CityMusic>Undercity>MUSIC-FILES. And load up the game. If music works here then something isn't going well with the mpq or file you picked or generally something else that you have to find it.

Is that gonna work even if it's Cata?

Share this post


Link to post
Share on other sites

I guess you have to try first, i haven't test on cata tho for LK/TBC/Vanilla works like charm. Before i include my zone/city music files into the MPQ i had them like that. Since we talk for something that hasn't change folder location for 6 expansions i think it will work. If you check with the MPQ editor you will see that folder location remains same even if we reached WoD. Only new files was added and they DBC them to make them work/add. 

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now