Language…
11 users online: creatine0079,  Fernap, hipoleto, Humpersbmx1, Luiz Vieira Santiago Maia,  NinCollin, Spicy Jalapeno, Suru48, TCgamerboy2002, Teaser, WONIU - Guests: 56 - Bots: 238
Users: 65,857 (2,177 active)
Latest user: King Paiden 64

MessageBox in Minimalist Status Bar + Goal Customizer

Waiting SMW Patches → MessageBox in Minimalist Status Bar + Goal Customizer

Submission Details

Name: MessageBox in Minimalist Status Bar + Goal Customizer
Authors: Isikoro, Ladida
Submitted: by Isikoro
Obsoletes: MessageBox in Minimalist Status Bar + Goal Customizer
Tool: Asar
Requires Free Space: Yes
Bug Fix: No
Featured: No
Description: Combine the message box with the Minimalist Status Bar to allow Layer 3 effects and messages to coexist.
It can coexist with Layer 3 HDMA effects (Parallax, etc ...).
It also disables goal messages and post-goal fades. (Fade in Mode7 boss battles.) (The zooming circle effect is not disabled.)
Of course, the flow of water in layer 3 does not stop either.
No sprite tiles are used in the message field.
It also has a selection function, a numerical input function, and a name label function.
The status is also displayed in Mode7 boss battles. You can see the ending correctly.
The HDMA effect will not be canceled even during the key goal and zooming circle.
Compatible with Star coin and custom power-ups and Retry system.

First of all, please play with the sample hack.
Feel free to use the sample files.
Ladida has given permission to publish this patch.

I'm not good at explaining.

Before applying the patch, edit any of the levels and enable the standard Layer 3 tile map bypass for any level.

To use with the latest SA-1, open remap/dma.asm and replace !window_hdma_channel = 1 with 7 before applying.
Otherwise, problems will occur with Overworld etc. This also same to the original Minimalist status bars.


The infobox in the sample hack uses this.
However, the 76th and subsequent lines are rewritten as follows.

Code
	BEQ .default
	STA $13BF|!Base2
	LDA #$03
	STA !15AC,x
.default
	LDA !E4,x	; Load X position..
	LSR		; ..
	LSR		; ..
	LSR		; ..
	LSR		; ..
	AND #$01	; And make the sprite..
	INC		; Display its message..


to

Code
	STA $0F40|!Base2
	LDA #$00 ; !extra_byte_2,x
	STA $0F41|!Base2
	LDA #$04


-Update-
- Fixed a bug in %Load_TextTile(id1,id2) where tile attributes could not be set for each character even if "id2" was set to 1.
- The traditional message window can now be used.
- Added pause menu function to the message bar (also has a counter display function for Exits, etc.). (You will not be able to pause during Mode 7 boss fights).(There was a bug that caused a crash when pausing at the same time a message command was generated, but this has been fixed.)
- Added the ability to add choices from name groups.
- Custom counters are now supported (by default, one is provided for 8-bit and one for 24-bit).
- Decimal flag can be used for scores. (It is now as if this patch was applied and scores can be displayed up to 8 digits).
- If !bonus is set to the same value as !lives, the number of bonus stars will be displayed only at the finish line and during pause (or while pressing one of the ABXY buttons during pause if the pause menu is disabled).
- Added 8 bytes of RAM that is reset each time the message bar is pulled out.
- Added RAM for message speed settings, allowing the user to change the message speed during the game. (Default is "$1F2B". It can also be disabled.)
- Added a setting to blink when the time is less than 100.
- Message bar disturbance when using brightness control and screen configuration changes together has been reduced.
- Some item icons have been changed.
- A sample palette of item icons has been added (editing this does not affect the ROM).
Tags: bonus stars coins counter counters custom powerups dash timer goal hdma layer 3 lorom menu message message box minimal mode 7 pause retry sa-1 star coin status bar timer
Comments: 38 (jump to comments)
Download 1.69 MiB | 691 downloads

Screenshots

View all

Comments (38)

Josuke Yoshikage Link
If I edit the defines to disable the timer, my rom crashes after I insert the patch.
Isikoro Author From older version: MessageBox in Minimalist Status Bar + Goal Customizer Link
Originally posted by Weird_Val
how do i fix the problem with the overworld colours if the SA-1 patch is applied?

To use with the latest SA-1, open remap/dma.asm and replace !window_hdma_channel = 1 with 7 before applying.

SA1-Pack-140/remap/dma.asm
Line12
!window_hdma_channel = 7
Isikoro Author Link
Originally posted by Weird_Val
how do i fix the problem with the overworld colours if the SA-1 patch is applied?

To use with the latest SA-1, open remap/dma.asm and replace !window_hdma_channel = 1 with 7 before applying.

SA1-Pack-140/remap/dma.asm
Line12
!window_hdma_channel = 7
Weird_Val From older version: MessageBox in Minimalist Status Bar + Goal Customizer Link
how do i fix the problem with the overworld colours if the SA-1 patch is applied?
Isikoro Author Link
Originally posted by Neito
Can someone post the color palette for all the powerup icons. That would be a real help.

A sample palette of item icons has been added (editing this does not affect the ROM).
Neito From older version: MessageBox in Minimalist Status Bar + Goal Customizer Link
Can someone post the color palette for all the powerup icons. That would be a real help.
Isikoro Author From older version: MessageBox in Minimalist Status Bar + Goal Customizer Link
Originally posted by Raychu2021
Hey so I installed the pefered patches into my hack and it worked perfectly however when it loads the overworld the color palettes are off. is there any way to fix that?

Do you use SA-1 for ROM?
Amomario123w Link
sadly it isn't compatible with the Overworld inventory but that patch is kind a old anyway, it really needs to get updated, i'm in a big dilema, in sacrificing the ow inventory which I love too much against that or your much better custumizable statubar whic fixes lots of problems with layer 3, and HDMA.
Anas Link
I am curious about one thing if I plan to use it in the future: is there a way to keep the whole vanilla course clear? I have heard that currently it’s not possible even though you can keep the vanilla message boxes. Just a suggestion for the future! Thanks for reading this!
Amomario123w Link
so cool now support custom power ups, the smw and smb3 minimalistic status bar
Raychu2021 From older version: MessageBox in Minimalist Status Bar + Goal Customizer Link
Hey so I installed the pefered patches into my hack and it worked perfectly however when it loads the overworld the color palettes are off. is there any way to fix that?
Isikoro Author From older version: MessageBox in Minimalist Status Bar + Goal Customizer Link
Originally posted by HammerBrother
Isikoro
Originally posted by Isikoro
Originally posted by HammerBrother
Isikoro Was thinking, are you planning to add a custom pause menu on layer 3 in the style as message boxes? Would be useful to add a status screen.


Like SMAS?


Yes, but a lot like the layer 3 message. This would be very useful since due to the status bar being very small, and if you have a lot of counters, you may not be able to fit them all in there. Plus, you don't want unneeded information to be displayed all the time on the HUD, such as how much game progress you made.


You can do this with the latest version.
See screenshot 10.

Or would you prefer an original message box?
HammerBrother From older version: MessageBox in Minimalist Status Bar + Goal Customizer Link
Awsome!

Originally posted by Isikoro
Or would you prefer an original message box?


I would say both, and have them optional set by a define.
HammerBrother From older version: MessageBox in Minimalist Status Bar + Goal Customizer Link
Isikoro
Originally posted by Isikoro
Originally posted by HammerBrother
Isikoro Was thinking, are you planning to add a custom pause menu on layer 3 in the style as message boxes? Would be useful to add a status screen.


Like SMAS?


Yes, but a lot like the layer 3 message. This would be very useful since due to the status bar being very small, and if you have a lot of counters, you may not be able to fit them all in there. Plus, you don't want unneeded information to be displayed all the time on the HUD, such as how much game progress you made.
Isikoro Author From older version: MessageBox in Minimalist Status Bar + Goal Customizer Link
Originally posted by HammerBrother
Isikoro Was thinking, are you planning to add a custom pause menu on layer 3 in the style as message boxes? Would be useful to add a status screen.


Like SMAS?
HammerBrother From older version: MessageBox in Minimalist Status Bar + Goal Customizer Link
Isikoro Was thinking, are you planning to add a custom pause menu on layer 3 in the style as message boxes? Would be useful to add a status screen.
Isikoro Author From older version: MessageBox in Minimalist Status Bar + Goal Customizer Link
skill level ?
Neito From older version: MessageBox in Minimalist Status Bar + Goal Customizer Link
Where are custom counters gonna go?
Chasin Jason From older version: MessageBox in Minimalist Status Bar + Goal Customizer Link
So uhhh the P speed sound thing kinda sounds annoying. How would I get rid of that lol
Isikoro Author From older version: MessageBox in Minimalist Status Bar + Goal Customizer Link
Originally posted by Space Sandwich
Originally posted by Isikoro
World map color..
Refer to sa-1-pack-140 > remap > dma.asm and set window_hdma_channel to 7 to fix it.


I think I did just what you said here and the colour glitch still happened

Edit: The sample hack doesn't have this problem so in theory I could take it and continue from there..?

Unfortunately, we need to create a new SA-1 patch that is set to DMAch7.
By the way, the same thing happens with the original Minimalist status bars.
Space Sandwich From older version: MessageBox in Minimalist Status Bar + Goal Customizer Link
Originally posted by Isikoro
World map color..
Refer to sa-1-pack-140 > remap > dma.asm and set window_hdma_channel to 7 to fix it.


I think I did just what you said here and the colour glitch still happened

Edit: The sample hack doesn't have this problem so in theory I could take it and continue from there..?
Dark Mario Bros From older version: MessageBox in Minimalist Status Bar + Goal Customizer Link
those look really cool tho
specially cuz you can use either star coins or yoshi coins with it
HammerBrother From older version: MessageBox in Minimalist Status Bar + Goal Customizer Link
Really liked how the status bar also shows how much a counter is added, showing +XX.
 MarioFanGamer From older version: MessageBox in Minimalist Status Bar + Goal Customizer Link
Moderated with:
  • Lunar Magic 3.31
  • SA-1 Pack v1.40
  • UberASM v1.32
  • Asar v1.81
  • Retry System (+ Multiple Checkpoints) v2.06c
  • BSNES v115
Fixed crash on the three parallax UberASM codes, removed some unnecessary files in the folder.

Hands on: This is truly one of the most complex patches out there (IMO, one of the most complex patches after SA-1 Pack). As a result, it's likely you'll get incompatibilities from some patches and certain HDMA effects from Effect Tool and similar generators, namely brightness, subscreen-mainscreen and layer 3 parallax, are incompatible with this patch. Chances also are, I might have missed some bugs but this is given for a patch with such a complexity.
Nonetheless, this patch does work and has got many useful advantages. The first example is that this version of Minimalist Status Bar is compatible with layer 3 HDMA, assuming you use the provided codes. Same spiel with FG gradients (though the gradients themselves are compatible, it's only the colour maths which is troublesome) while darkness requires some custom tables. It's also compatible with some other patches including star coins and custom powerups.
The message system is also very customisable if very complex (much more than VWF Dialogues, in fact, since you do have to add some code) so you should refer to the provided examples on how to use them.

My favourite part is how you have added Retry compatibilty by incoorperating it with this patch as well (see image number 9).

I really don't like to document all the hijacks, though. >_<
Isikoro Author From older version: MessageBox in Minimalist Status Bar + Goal Customizer Link
Originally posted by FedoraFriday
While its shown to be compatible with the retry patch, it doesn't seem to be compatible with the powerups patch already installed, and I can't get it to work. I inserted the retry patch, then the messages in status bar asm, then the messages asm as instructed. I go in a level, die, hit retry, and it crashes.

The way I got it to work, is, run the retry patch first, this patch next, then the powerups patch. Not sure if the same issues will crop up later if I decide to edit other patches, but this is what works for now. Would still be worth explaining in the readme.

A crash I discovered, and I'm not sure if any external patches are causing it to happen or if its this patch along with retry + powerups, but if you die to a pit in any level entering levels 1 to 24, you crash. If you die to anything in level 24 in particular, you crash as well. I don't know if thats from me patching in all 3 patches more than once (which, I would do to tweak settings, and then if I edit anything I have to repatch everything) - OR if its from an external patch. And to clarify, dying in any level entering from 101-13B works just fine as far as I can tell. Just something to keep in mind while moderating this.

Also seperately, I'm not a fan of having to press A instead of B in order to reset. IMHO, both buttons should work.


Fixed

Custom_Powerup => Retry_System => This_Patch

Also, I decided with A or B and made it possible to cancel with X or Y. (Same specifications as the original)
FedoraFriday From older version: MessageBox in Minimalist Status Bar + Goal Customizer Link
While its shown to be compatible with the retry patch, it doesn't seem to be compatible with the powerups patch already installed, and I can't get it to work. I inserted the retry patch, then the messages in status bar asm, then the messages asm as instructed. I go in a level, die, hit retry, and it crashes.

The way I got it to work, is, run the retry patch first, this patch next, then the powerups patch. Not sure if the same issues will crop up later if I decide to edit other patches, but this is what works for now. Would still be worth explaining in the readme.

A crash I discovered, and I'm not sure if any external patches are causing it to happen or if its this patch along with retry + powerups, but if you die to a pit in any level entering levels 1 to 24, you crash. If you die to anything in level 24 in particular, you crash as well. I don't know if thats from me patching in all 3 patches more than once (which, I would do to tweak settings, and then if I edit anything I have to repatch everything) - OR if its from an external patch. And to clarify, dying in any level entering from 101-13B works just fine as far as I can tell. Just something to keep in mind while moderating this.

Also seperately, I'm not a fan of having to press A instead of B in order to reset. IMHO, both buttons should work.
El Cuh Fermin From older version: MessageBox in Minimalist Status Bar + Goal Customizer Link
Originally posted by Isikoro
Originally posted by Fermín Acosta Jr.
How do I put the star coins on a status bar instead of yoshi coins.


You can configure with "setting.cfg".
!yicoins = 0
!starcoins = !status_tile+$xx


And then how do I put the star coins on a top status without yoshi coins because I was been confusing and I wanted like in the 4th picture
Isikoro Author From older version: MessageBox in Minimalist Status Bar + Goal Customizer Link
Originally posted by Fermín Acosta Jr.
How do I put the star coins on a status bar instead of yoshi coins.


You can configure with "setting.cfg".
!yicoins = 0
!starcoins = !status_tile+$xx
El Cuh Fermin From older version: MessageBox in Minimalist Status Bar + Goal Customizer Link
How do I put the star coins on a status bar instead of yoshi coins.
Isikoro Author From older version: MessageBox in Minimalist Status Bar + Goal Customizer Link
Originally posted by Murphmario
I actually managed to apply the patch without any help, however the backgrounds mess up when they scroll vertically. Rom does not use the SA-1 patch. Could someone tell me if I did anything wrong?

Edit: This bug is occurring with SA-1 as well. Not only that, but it messes up the World Map Colors as well. Again, is there something I'm doing wrong?


Edit the level once with Lunar magic, save it, and then apply it.

World map color..
Refer to sa-1-pack-140 > remap > dma.asm and set window_hdma_channel to 7 to fix it.
Murphmario From older version: MessageBox in Minimalist Status Bar + Goal Customizer Link
Originally posted by Isikoro

Edit the level once with Lunar magic, save it, and then apply it.
Unfortunately, Sa-1 v1.40 is not currently supported and will cause a bug in Overworld. The same is true for the regular Minimal status bar.

Do I have to do that with every single level? Also a fix for that would be nice, dunno if that's possible though.

Edit: Answered the first question myself, you only need to save one level for scrolling to work on others.
 Segment1Zone2 From older version: MessageBox in Minimalist Status Bar + Goal Customizer Link
Originally posted by Isikoro
Unfortunately, Sa-1 v1.40 is not currently supported and will cause a bug in Overworld.

Maybe mention that in the description of the submission, lol.
akidaban From older version: MessageBox in Minimalist Status Bar + Goal Customizer Link
Originally posted by Murphmario
Does this require the regular Minimal Status Bar patch to be applied as well?


this patch doesn't need the regular Minimal status bar
Murphmario From older version: MessageBox in Minimalist Status Bar + Goal Customizer Link
I actually managed to apply the patch without any help, however the backgrounds mess up when they scroll vertically. Rom does not use the SA-1 patch. Could someone tell me if I did anything wrong?

Edit: This bug is occurring with SA-1 as well. Not only that, but it messes up the World Map Colors as well. Again, is there something I'm doing wrong?
Murphmario From older version: MessageBox in Minimalist Status Bar + Goal Customizer Link
Does this require the regular Minimal Status Bar patch to be applied as well?
akidaban From older version: MessageBox in Minimalist Status Bar + Goal Customizer Link
hey bro, how i could apply this patch? I'm trying, but i can't understand. Could you or somebody help me please?
HammerBrother From older version: MessageBox in Minimalist Status Bar + Goal Customizer Link
For beginners, I provided tutorials on how to add custom counters and other UI (user interface) elements to it:

Looking at InsertGraphics, Statusbar_Tilemap.bin features graphical bar tiles, but using “static end tiles” that can be x-flipped for both ends. Here is the table to get it to work:
db $10

Code
	!Default_MiddleLength                = 7             ;>30 = screen-wide (30 + 2 end tiles = 32, all 8x8 tile row in the screen's width)
	!Default_LeftPieces                  = 0             ;\These will by default, set the RAM for the pieces for each section
	!Default_MiddlePieces                = 8             ;|
	!Default_RightPieces                 = 0             ;/

GraphicalBar_Middle8x8s_Lvl_L3:
db $10		;>Fill amount/index: $00
db $11		;>Fill amount/index: $01
db $12		;>Fill amount/index: $02
db $13		;>Fill amount/index: $03
db $14		;>Fill amount/index: $04
db $15		;>Fill amount/index: $05
db $16		;>Fill amount/index: $06
db $17		;>Fill amount/index: $07
db $18		;>Fill amount/index: $08