Page 1 of 1
Custom Music in 2.0 world editor
Posted: Mon Aug 23, 2021 6:12 pm
by Kitti and Minni
I'm currently getting myself accustomed to SMBX 2.0, and I'm attempting to make a small project to do so. However, I can't for the life of me figure out how to add custom music to the world map. I know it probably seems dumb but I'd appreciate help.
Re: Custom Music in 2.0 world editor
Posted: Mon Aug 23, 2021 6:17 pm
by Enjl
you need to override existing world map music, either by placing a music file with the same name in the episode folder, or using a music.ini file to remap the name of the song loaded.
Re: Custom Music in 2.0 world editor
Posted: Mon Aug 23, 2021 6:18 pm
by Kitti and Minni
Enjl wrote: ↑Mon Aug 23, 2021 6:17 pm
you need to override existing world map music, either by placing a music file with the same name in the episode folder, or using a music.ini file to remap the name of the song loaded.
Oh, thanks!
Though that seems kind of limiting if you only have so many slots to work with, doesn't it?
Or do I just misunderstand how it works
Either way, thanks again!
Re: Custom Music in 2.0 world editor
Posted: Mon Aug 23, 2021 6:29 pm
by Enjl
Kitti and Minni wrote: ↑Mon Aug 23, 2021 6:18 pm
Enjl wrote: ↑Mon Aug 23, 2021 6:17 pm
you need to override existing world map music, either by placing a music file with the same name in the episode folder, or using a music.ini file to remap the name of the song loaded.
Oh, thanks!
Though that seems kind of limiting if you only have so many slots to work with, doesn't it?
Or do I just misunderstand how it works
Either way, thanks again!
It is a little limiting, but SMBX inherently never had a custom music feature for world maps, which is where that limiting factor comes from. World map tech is also quite underdeveloped in basegame, so this was never addressed to this point. The editor has a custom music field for world maps cause it's not primarily for SMBX2, and this totally never leads to confusion :p
Re: Custom Music in 2.0 world editor
Posted: Mon Aug 23, 2021 6:34 pm
by Kitti and Minni
Enjl wrote: ↑Mon Aug 23, 2021 6:29 pm
Kitti and Minni wrote: ↑Mon Aug 23, 2021 6:18 pm
Enjl wrote: ↑Mon Aug 23, 2021 6:17 pm
you need to override existing world map music, either by placing a music file with the same name in the episode folder, or using a music.ini file to remap the name of the song loaded.
Oh, thanks!
Though that seems kind of limiting if you only have so many slots to work with, doesn't it?
Or do I just misunderstand how it works
Either way, thanks again!
It is a little limiting, but SMBX inherently never had a custom music feature for world maps, which is where that limiting factor comes from. World map tech is also quite underdeveloped in basegame, so this was never addressed to this point. The editor has a custom music field for world maps cause it's not primarily for SMBX2, and this totally never leads to confusion :p
fair enough, though now I'm wondering if I'm doing something wrong with the .ini file, because it isn't loading the custom music. Maybe I wrote it out wrong or maybe i didn't do something I should've?
(Sorry if this is wasting time I'm just really used to the old editor XP)

Re: Custom Music in 2.0 world editor
Posted: Mon Aug 23, 2021 6:36 pm
by Enjl
the load path is relative to the episode folder, so the way you arranged it, that requires there to be a "Project Dark" subfolder in the episode folder. That is what I suspect is not the case here.
Re: Custom Music in 2.0 world editor
Posted: Mon Aug 23, 2021 6:37 pm
by Kitti and Minni
Enjl wrote: ↑Mon Aug 23, 2021 6:36 pm
the load path is relative to the episode folder, so the way you arranged it, that requires there to be a "Project Dark" subfolder in the episode folder. That is what I suspect is not the case here.
Ironically, I have that already
Re: Custom Music in 2.0 world editor
Posted: Mon Aug 23, 2021 6:38 pm
by Enjl
Should work, then, assuming music.ini is located in the episode folder. If it still doesn't, try just renaming the song to fit the basegame song (ignoring file extension - that may differ).
Re: Custom Music in 2.0 world editor
Posted: Mon Aug 23, 2021 6:41 pm
by Kitti and Minni
Enjl wrote: ↑Mon Aug 23, 2021 6:38 pm
Should work, then, assuming music.ini is located in the episode folder. If it still doesn't, try just renaming the song to fit the basegame song (ignoring file extension - that may differ).
Alright, thanks again!
IT WORKS!
THANK YOU