• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Warcraft 3 does not loop after changing the background music

Status
Not open for further replies.
Level 1
Joined
Mar 14, 2023
Messages
8
I did not modify the trigger but the internal file to make the game play the music I changed, but they only played once after the match started and then stopped playing. What went wrong?
 
Level 34
Joined
May 14, 2021
Messages
1,602
First off all, are you using the Reforged or Classic Warcraft 3 World Editor? There's a workaround for this issue:

Basically, you just replace all default Warcraft 3 musics with the custom one. A very simple way would be to use the Local files, then create the following path: "Sound/Music/mp3Music". After that, rename the file name to Warcraft III-related (Eg: UndeadX1.mp3).
The problem is Reforged now uses the FLAC format to recognize all sound files instead of the usual MP3, which might be a bad news because I heard that with this new format, you can't longer use the OGG sounds.
Or, try this (if you want changing the music for specific maps). If you still encounter this problem, please reply me.
 
Level 1
Joined
Mar 14, 2023
Messages
8
首先,您使用的是 Reforged 还是 Classic Warcraft 3 World Editor?这个问题有一个解决方法:

基本上,您只需将所有默认的魔兽争霸 3 音乐替换为自定义音乐即可。一种非常简单的方法是使用本地文件,然后创建以下路径:“Sound/Music/mp3Music”。之后,将文件名重命名为魔兽争霸III相关(例如:UndeadX1.mp3)。
问题是 Reforged 现在使用 FLAC 格式来识别所有声音文件,而不是通常的 MP3,这可能是个坏消息,因为我听说使用这种新格式,您不能再使用 OGG 声音。
或者,试试这个(如果你想改变特定地图的音乐)。如果您仍然遇到这个问题,请回复我。
Hello, I am using this method via local files, my version of Warcraft is the classic 1.24 version and not the remastered version, the name of the music has been changed and it plays normally in-game, now the problem is that after playing one it doesn't play anymore
 
Level 34
Joined
May 14, 2021
Messages
1,602
Hello, I am using this method via local files, my version of Warcraft is the classic 1.24 version and not the remastered version, the name of the music has been changed and it plays normally in-game, now the problem is that after playing one it doesn't play anymore
You mean custom music doesn't play anymore and become silent or it just reverts back to default Warcraft 3 music after the custom music ends?
Also, I see that your game version is extremely old. I think the thread that I posted on the very end of my post seems to be compatible with the most recent Warcraft 3 patches (even before Reforged, which was around 1.29-1.31).
Last, but not least, is your music file made from MP3/WAV or OGG? I think, OGG is recommended for music looping, but it was deprecated in Reforged due to the FLAC.
 
Level 1
Joined
Mar 14, 2023
Messages
8
You mean custom music doesn't play anymore and become silent or it just reverts back to default Warcraft 3 music after the custom music ends?
Also, I see that your game version is extremely old. I think the thread that I posted on the very end of my post seems to be compatible with the most recent Warcraft 3 patches (even before Reforged, which was around 1.29-1.31).
Last, but not least, is your music file made from MP3/WAV or OGG? I think, OGG is recommended for music looping, but it was deprecated in Reforged due to the FLAC.
In my case, the first is that there is no more music after playing once, and the second is that the music is in MP3 format
 
Level 34
Joined
May 14, 2021
Messages
1,602
In my case, the first is that there is no more music after playing once, and the second is that the music is in MP3 format
You should not double-post. It might risk you of getting banned by Hive.
Based on this thread below:

I heard that there was a limitations when you attempt to play the custom music by using the internal file:
1."There is no more music after playing once": It's obvious because every races only has its own playlists, and each playlists can only have 4 songs (3 from ROC and 1 from TFT; TFT-exclusive songs can be identified by having a filename with "X1" suffixes). Also, the original music can't be played in the map and that will be reset if you attempt to exit Warcraft III.
You'll probably need a trigger (SetMapMusic or PlayMusic) if you want to be applicable on single map for more than 4 songs to be played.
2."The music is in MP3 format": MP3 songs seem to be unplayable on Warcraft III because of invalid argument, which intentionally skipped the specific playlist. This is due to the fact some MP3 songs have their different bitrates and audio channels, which Warcraft III doesn't recognize such a specific requirements:
After some testing with current WEX: I still do not know why Warcraft 3 does not like these 3 Songs.
3 Songs from another game, the ProtectorsMod, are working. All of those 6 Files are Mp3.
Warcraft 3 can play each of the win7 music files as single argument, but not as pack. :confused:.
I even reduced Win7 Music Names to One Word-Files without Spaces and not beeing in SubFolders.
The Music from Protectors Mod can be play as pack, loops and can be set to be the playlist. Each is in an subfolder. :O
I realized now that warcraft 3 does not even loop this Win7-music files even if set as MapMusic being an Single Argument.
Current conclusion it has to do something with the files itself, but the problem is not the filesize.
Did check the infos in war 3 Sound Editor also compared them with VLC's MediaInfo. For some reason Warcraft 3 does dump down the imported Music to 22.5 khz and 56 kbps. While in VLC they have 44.1 khz and 192 kbps. the Protector music also has 44.1 khz and 192 kbps (VLC) but is a valid music but also is dumped down, wtf.

Whatever I converted the invalid (for warcraft 3) mp3 - Win 7 Example-Music - using VLC Player to match Orc1.mp3 data beeing 44.1 khz and 112 kbps MPEG1, Layer 3.
Also tested 128 kbps which is used by other Warcraft 3 Musics like Arthas Theme, Bloodelf Theme or HumanX1.

Both ways it works.

Thanks for that hint.
 
Level 1
Joined
Mar 14, 2023
Messages
8
You should not double-post. It might risk you of getting banned by Hive.
Based on this thread below:

I heard that there was a limitations when you attempt to play the custom music by using the internal file:
1."There is no more music after playing once": It's obvious because every races only has its own playlists, and each playlists can only have 4 songs (3 from ROC and 1 from TFT; TFT-exclusive songs can be identified by having a filename with "X1" suffixes). Also, the original music can't be played in the map and that will be reset if you attempt to exit Warcraft III.
You should not double-post. It might risk you of getting banned by Hive.
Based on this thread below:

I heard that there was a limitations when you attempt to play the custom music by using the internal file:
1."There is no more music after playing once": It's obvious because every races only has its own playlists, and each playlists can only have 4 songs (3 from ROC and 1 from TFT; TFT-exclusive songs can be identified by having a filename with "X1" suffixes). Also, the original music can't be played in the map and that will be reset if you attempt to exit Warcraft III.
You'll probably need a trigger (SetMapMusic or PlayMusic) if you want to be applicable on single map for more than 4 songs to be played.
2."The music is in MP3 format": MP3 songs seem to be unplayable on Warcraft III because of invalid argument, which intentionally skipped the specific playlist. This is due to the fact some MP3 songs have their different bitrates and audio channels, which Warcraft III doesn't recognize such a specific requirements:

You'll probably need a trigger (SetMapMusic or PlayMusic) if you want to be applicable on single map for more than 4 songs to be played.
2."The music is in MP3 format": MP3 songs seem to be unplayable on Warcraft III because of invalid argument, which intentionally skipped the specific playlist. This is due to the fact some MP3 songs have their different bitrates and audio channels, which Warcraft III doesn't recognize such a specific requirements:
I'm new to the community specs, I'll take care of that later. The first question is that all four of my music modifications follow the original format and they all play in the game. The second question should be the main point, I exported the original Warcraft music in mp3 format, if this format is not supported then what format should I use?
 
Level 34
Joined
May 14, 2021
Messages
1,602
I'm new to the community specs, I'll take care of that later. The first question is that all four of my music modifications follow the original format and they all play in the game. The second question should be the main point, I exported the original Warcraft music in mp3 format, if this format is not supported then what format should I use?
MP3 songs seem to be supported, but there is a problem here. When you attempt to play it with loop, especially the short one, there was a short silence at the edges (no matter how and with what settings do you encode it).
WAV and OGG songs don't have a problem with the looping, but definitely I would recommend OGG because WAV songs are huge file size. The problem was the OGG songs were deprecated in Reforged and Blizzard replaced it with the shitty FLAC, which only recognized MP3/WAV songs.
Maybe see this thread for detailed information:
 
Level 1
Joined
Mar 14, 2023
Messages
8
MP3 songs seem to be supported, but there is a problem here. When you attempt to play it with loop, especially the short one, there was a short silence at the edges (no matter how and with what settings do you encode it).
WAV and OGG songs don't have a problem with the looping, but definitely I would recommend OGG because WAV songs are huge file size. The problem was the OGG songs were deprecated in Reforged and Blizzard replaced it with the shitty FLAC, which only recognized MP3/WAV songs.
Maybe see this thread for detailed information:
First of all I have Warcraft version 1.24e and after entering the game the first music played I waited for 50 minutes and the next music did not play. Then I used format factory to change the format of the music from mp3 to wav and ogg, both of which I have tried but they both have the same result and do not loop
 
Status
Not open for further replies.
Top