Banner
Views: 1,003,358,654
Time:
14 users online: AntiDuck, Children's Digest 1950-2009, codfish1002, Cote de Boeuf, Knucklesfan, MANGOMILK, Matt,  NopeContest,  patcdr,  PermaBan,  quietmason, SF - The Dark Warrior, ShadowBoxer_Sandshrew, solgaleo35 - Guests: 63 - Bots: 178 Users: 54,839 (2,035 active)
Tip: Try sketching out ideas for overworlds and levels. Even if they don't manage to fit into Lunar Magic completely, at least you have a base to work from, instead of doing it all from scratch.
Not logged in.
Problem with Overworld Background Color/ HDMA / Lagging when changing the submap
Forum Index - SMW Hacking - SMW Hacking Help - Problem with Overworld Background Color/ HDMA / Lagging when changing the submap
Pages: « 1 » Link
Hello :)
I got a Problem with my Overworld HDMA disappear after reentering a Submap where the HDMA is on.
Furthermore: I tried it withouht any HDMA and I notice that when I'm on a subworld the BG is (light blue/white) and when I reenter it automaticly switches to black.

Here without HDMA:

https://youtu.be/V4EXX3JNtSc

Here with HDMA ( I disabled the border in the emulator so you can see the problem better):

https://youtu.be/XaTxvQfl_mo

I tried to do the whole Pallet black to check which color is the (light blue/white) but it seems that the (light blue/white) is not in the pallet but in the code somewhere.

https://imgur.com/a/9vTM9RW

For testing reasons I unpatched every patch I have in the game but none of my Problems got fixed.

As you can see in the video there is also a lag between changing the Subworld (seen by mario stop moving in the top left). No idea where this problem comes from. I tried using a clean rom with no patches but the lag comes as soon I edit the Overworld so I think my color Issue has something to do with this Issue too. not sure though.

I would love if someone could help me, thank you very much <3 <3 <3


In regards to the lagging on submap change, that's most likely due to custom music from AMK. Whenever you switch to a (non-global) song, AMK has to upload that song and all its samples to the SPC chip. That takes a while, hence the pause. If all your songs use the exact same sample set, AMK has ways to skip uploading those (which will dramatically reduce the load time), but I'd say don't worry too much about it.

As for why the HDMA disappears, I'm not completely certain, but I have a hunch. If you have the UberASM code only running in init, it's possible that UberASM's init routine only runs on the first overworld load and not when switching submaps (as that doesn't actually perform a hard reload of the overworld). Try having it run in main instead and see if that fixes it.

Professional frame-by-frame time wizard. YouTube - Twitter - SMW Glitch List - SMW Randomizer
Originally posted by Thomas
In regards to the lagging on submap change, that's most likely due to custom music from AMK. Whenever you switch to a (non-global) song, AMK has to upload that song and all its samples to the SPC chip. That takes a while, hence the pause. If all your songs use the exact same sample set, AMK has ways to skip uploading those (which will dramatically reduce the load time), but I'd say don't worry too much about it.

As for why the HDMA disappears, I'm not completely certain, but I have a hunch. If you have the UberASM code only running in init, it's possible that UberASM's init routine only runs on the first overworld load and not when switching submaps (as that doesn't actually perform a hard reload of the overworld). Try having it run in main instead and see if that fixes it.


@Thomas Omg thank you sir ! You are a true wizzard :o
I put it as main and now it works just fine. And yeah I think the lag is caused by AddMusic but I dont think its a big Problem. I just want to know what cuases this problem. Thank you very much my friend ! <3
Pages: « 1 » Link
Forum Index - SMW Hacking - SMW Hacking Help - Problem with Overworld Background Color/ HDMA / Lagging when changing the submap

The purpose of this site is not to distribute copyrighted material, but to honor one of our favourite games.

Copyright © 2005 - 2022 - SMW Central
Legal Information - Privacy Policy - Link To Us


Menu

Follow Us On

  • YouTube
  • Twitch
  • Twitter

Affiliates

  • Super Mario Bros. X Community
  • ROMhacking.net
  • Mario Fan Games Galaxy
  • sm64romhacks