Language…
9 users online: Cappaque, Hans, Kimota, Koll5, MorrieTheMagpie, Pinkman95, RZ1, SethOsDotEXE, StarWolf3000 - Guests: 71 - Bots: 184
Users: 55,629 (2,424 active)
Latest user: esmith13

Multiple Songs on Main Map

SMW Patches → Multiple Songs on Main Map

Submission Details

Name: Multiple Songs on Main Map
Author: smkdan
Added:
Version History: View
Tool: Asar
Requires Free Space: Yes
Bug Fix: No
Featured: No
Description: This patch has been floating around since the creation of An SMW Central Production, and I feel that now is a great time to add it to the database proper for the convenience of anyone wishing to use it.

What this patch does is, as the name implies, allow you to have multiple music tracks playing on the main Overworld map. This can be very useful if multiple world themes are present, since one track may not fit them all. To set songs, scroll to the bottom of the .asm file and edit the table. Each entry ($XX) represents the song for that particular 32x32 box on the map.
Tags: lorom music overworld sa-1
Comments: 17 (jump to comments)
Download 2.54 KiB | 591 downloads

Comments (17)

Francium Link
Originally posted by xamexer
for some reason sometimes when going from a submap onto the mainmap via red path, the graphics glitch alot. Here short video:

https://youtu.be/Edp8oesHYIA

I don't know why that happens though :L I have "faster mario on OW" and "widescreen overworld" Patch.


That is probably due to the fact that you are moving on a map that uses ExGFX without using star roads or pipes. I don't think the patch has much to do with it.
Francium Link
https://www.smwcentral.net/?p=section&a=details&id=14070
It seems to be strange when used with the patch in the link above. Can anyone please tell me the solution?
I tried rewriting asm myself, but it didn't work.
xamexer Link
for some reason sometimes when going from a submap onto the mainmap via red path, the graphics glitch alot. Here short video:

https://youtu.be/Edp8oesHYIA

I dont know why that happens though :L I have "faster mario on OW" and "widescreen overworld" Patch.
Knight of Time Link
Originally posted by SuperAgentAlex
So what would I do to add custom music to Choc. Island?


Here, you can use this diagram to help you find the coordinates for Chocolate Island (in fact, if anyone here is on the fence about using this patch, this diagram should help you understand the coordinates better).
SuperAgentAlex Link
So what would I do to add custom music to Choc. Island?
 MarioFanGamer Link
Moderated with:
  • SNES9x 1.60
  • Asar 1.71
  • Lunar Magic 3.03
  • SA-1 Pack 1.32
  • AddmusicK 1.06

It's definitively a useful patch if you want not just graphical variety in the main map (and also because not every music is fitting if you have multiple themes on the main map).
The usage is a bit difficult, though, but that's the side effect from the lack of an overworld editor which supports this. Just remember to read the position in the bottom left corner in Lunar Magic to get the correct position (it has to be a multiple of four i.e. the last digit is either 0, 4, 8 or C so round the value down if it isn't the correct digit).

It's dangerous to go alone. Take this. (But never use it when teamed up.)
El Cuh Fermin Link
It works fine with Overworld Speed compatible
 Stivi Link
Thank you.
 Erik Link
Remoderated.
Tested with: Asar v1.71; SA-1 v1.32; Lunar Magic 3.04; snes9x 1.60
Moved the hijack so it's compatible with the OW Speed Changer and made the free RAM a define.
hash From older version: Multiple Songs on Main Map Link
Is there anyway to prevent the couple frame pause when the song switches on the overworld?
King Boo From older version: Multiple Songs on Main Map Link
JP32's tutorial is ridiculous. Just set tile grid view to 'on' in the overworld editor and take a screenshot. Then, put the screenshot in paint and draw a black line (holding the shift key) over every 4th line of the grid. You should end up with a 16 x 16 grid which you can label if you need to.
NGB From older version: Multiple Songs on Main Map Link
complains about unmentioned freeram
doesn't mention the adress in his comment

It's $13E6 btw
randomdude999 From older version: Multiple Songs on Main Map Link
>uses freeram
>doesn't make it a define, doesn't mention it in readme or patch description
literally worst guy
JP32 From older version: Multiple Songs on Main Map Link
Heres tutorial how to use this, it sound ridiculous but it actually works:

First you need paint.net(and basic knowledge how to use it), take screenshot of OW editor(1x zoom), open it up and crop so that it only shows main map. Now open OWmusic.asm, scroll down and take screenshot of the musicTBL table and crop it so that it only shows Lines 117 to 134(;x0 x4... to last line with db $XX..).

Then do following:
1. Switch back to tab with cropped OW, copy it
2. Switch back to tab with cropped OWmusic.asm
3. Make new layer, paste cropped OW there
4. It asks if you want to make picture larger(or something like that), chose no
5. Select resize tool, now resize the cropped OW picture to fit to the cropped pic of OWmusic.asm
6. Open layer properties on layer with the cropped OW, change mode to multiply and opacity to your liking(you want to see both OW and the OWmusic.asm pictures at same time).

End results should look like something like this(Im using stock OW as an example):
http://puu.sh/wE911/72bdaaf704.png

Now the table on OWmusic.asm should make a lot more sense.

Now say for example, you want to change chocolate island to play different music from the rest of the OW? now you just look at this picture:
http://puu.sh/wE9h6/009c67645a.png

I highlighted the chocolate island, you need to change all of the "db $XX"'s in OWmusic.asm(asm file, not picture) that are highlighted in red to the song you want it to change to(and the outside regions db's should be the main OW song), make the changes and save&insert the asm file.

Now test it and the music now should change when you are in the chocolate island. This method might not be 100% accurate, but it worked for me and should be easier than pure trial&error.
TheOrangeToad From older version: Multiple Songs on Main Map Link
Can you give a thread in the Tutorials section How to use the Multiple Songs on Main Map patch with Image.
h.carrell From older version: Multiple Songs on Main Map Link
Addmusic 4.05 is not around anymore
DiscoTheBat From older version: Multiple Songs on Main Map Link
Well, I did a small mistake while converting the patch that it would break the ROM in case you didn't used SA-1. I fixed that issue. I also optimized a few things by throwing indexes on the code so it makes branches not necessary, thus increasing effectiveness without increasing size.

Also, for the users that have issues with the patch, I worked on a table and a readme so people can know exactly what to do and where to do, so it is a great addition to people who want to use this patch.