Banner
Views: 932,819,099
Time:
5 users online: bhenry18, Evernn, Fryinb, SethOsDotEXE, tcdw - Guests: 94 - Bots: 223 Users: 52,067 (2,105 active)
Latest: Graul
Tip: Make sure that ALL exit-enabled pipes, doors, etc. have a screen exit defined, or they'll take you to Level 0, the "endless" bonus game. Unless Start+Select is enabled, the only way out of it is to reset the game.
Not logged in.
Details for b4vwf - BG4 Variable-Width-Font Text Boxes
SMW Patches - b4vwf - BG4 Variable-Width-Font Text Boxes Link - Show random
File Name: b4vwf - BG4 Variable-Width-Font Text Boxes
Added:
Authors: Katrina
Tool: Asar
Requires Free Space: Yes
Bug Fix: No
Featured: No
Description: This patch replaces SMW's text box system with a fancier one with that displays text on BG4.

The default text boxes work with common types of HDMA (like color gradients and parallax), and any layer 3 background that doesn't use the graphics file in slot LG3, which includes every vanilla layer 3 background except tides.

The patch optionally supports using variable-width text for level names on the overworld, so it can replace long level name patches as well.

The text boxes have some formatting options so you can customize their look on a global or per-text-box basis.
Tags: level names, message box, overworld, overworld border, vwf
Download: Download - 36.09 KiB
184 downloads
Screenshots
Previous 
 Next
Vitor Vilela
Moderation comments - an excellent and well-written patch. The readme and instructions made the process easier to understand and this patch is one that you don't need to be afraid to use if you are looking to a more flexible text box system with different kind of fonts.

It's hard to test with all combinations, but I believe the critical sections of the patch have been verified and it should be safe to use.

Keeping in mind naturally given the complexity and scope of the patch, it may not compatible with the following patches due of hijack conflicts found:
- Inline Layer 3 Messages v1.0.1
- Automatic Intro Message Dismiss
- Extended "Extended OW Level Names" (if using the overworld hijack option)
- Yoshi Player Patch v1.13 (if using the overworld hijack option)

Posted by:  Vitor Vilela - | Link
Vitor Vilela
Interesting patch, very creative way to use BG4
Posted by:  Vitor Vilela - | Link
Hayashi Neru
If I put more than 9 font files in this patch, I get the following error:

error message:
Code
/b4vwf/font.asm:311: error: (E5032): A bank border was crossed, SNES address $5010800. [incbin "gfx/Uni4100.bin"]



If using Japanese, Chinese, or Korean fonts, there are need to use a lot of glyphs. Of course, Japanese can only use hiragana and katakana, but Chinese and Korean do not.

How can I solve this problem?


Solved
Posted by: Hayashi Neru - | Link
Rykon-V73
I see. Thanks and as for that error, I think my emulator is bugged in a weird way.
Posted by: Rykon-V73 - | Link
Katrina
Rykon,

I'm not getting disappearing layer 3. If you found a bug I missed, I will need more information to find out what is causing it. Submission comments aren't great for this, so I would appreciate if you could send me a PM or contact me on Discord with some information about your setup.

As for level names: the patch is set up for two-line level names by default. If you look in levelnames.asm, you will see that all of SMW's level names have an empty line on top to put them on the second line:
Code
name104:
	db "", $0a
	db "YOSHI'S HOUSE", $00


To recreate the text in the upload screenshots, you can replace that with:
Code
name104:
	db "This isn't a house, Yoshi.", $0a
	db "These are trees.", $00
Posted by: Katrina - | Link
Rykon-V73
Great patch. I did find a bug. Even if you trigger the layer 4 message box, layer 3 still vanishes.
Also, how do you add longer level names on the OW. A screenshot told me you can insert 2 lines of text there.
Posted by: Rykon-V73 - | Link
Black Goku
Forgot Sa-1 tag
Posted by: Black Goku - | Link
Darkbloom
This is so cool and so useful. I'm glad it exists, I was waiting for it for over a year.
Posted by: Darkbloom - | Link

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

Copyright © 2005 - 2021 - 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