The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 895 - File: showthread.php PHP 7.3.33 (Linux)
File Line Function
/showthread.php 895 errorHandler->error




Users browsing this thread: 1 Guest(s)
Multiple Fonts

#1
Posts: 3,969
Threads: 279
Thanks Received: 236
Thanks Given: 57
Joined: Oct 2011
Reputation: 65
Status
Tissue-aware
Multiple Fonts
version 1.4.1
released on 03/17/2017
apply to FF3us 1.0
wiki entry
Download

[Image: fetch.php?media=ff3:ff3us:patches:madsiu...:fonta.png] [Image: fetch.php?media=ff3:ff3us:patches:madsiu...:fontb.png]


This patch implement a selectable GBA Font in Config menu. The only free space it use is less than $D0 bytes at end of bank $C3 for actual menu work. Otherwise, functions have been optimized or at least shortened in order to fit in the new code, especially in bank $C0. There are other code changes but they are smaller and always within the function they originally are from. See the asm files for all details. Some code still need comments but the uncommented stuff is long vanilla code with little changes.

There are 2 hacks or implementations. The Original hack and the one made for expanded ROMs (EXP).

In the Original hack, both fonts fits where the original font was, using the free space before and after in bank $C4. The free space used before the FWF to draw black menu backgrounds has been simulated by loading blank tiles in VRAM. This mean this version of the patch does not work with icon expansion s or other hack adding characters in the FWF before index 0x80. Since original font is moved, this patch break FF3usME dialogue viewing but not dialogue editing. You can always open a second editor instance to find caption, see changes, etc.

In the Expanded Hack (EXP files), Normal font is keep where it is in original ROM while Advance (GBA) Font is moved to $F20800. Note that the $F20000-$F207FF range is reserved and filled
with 00 to copy like in bank $C4 the empty space before the Normal FWF. With this version of the hack, you can see dialogues edits made in FF3usME and you can expand FWF characters before index 0x80.

A new dialogue control code have been added. Writing $17 at the beginning of a line now center automatically the line given it ends by new line ($01), end parameter ($11, $12) or end page ($13). This is still experimental but instance of the control code have not been added to dialogue. You must do it yourself. In FF3usME, use [OP$17]. (see here)

For other modifications I included the ASM files. You can assemble the code by typing the command xkas main.asm romname.smc or xkas main_EXP.asm romname.smc with xkas 0.06. If you use the header option in the ASM files you must enable it in all files.

Thanks to seibaby for his GBA fonts!
  Find
Quote  
[-] The following 6 users say Thank You to madsiur for this post:
  • B-Run (12-21-2016), Gi Nattak (12-08-2016), JWhiteLXXXIX (12-08-2016), seibaby (12-08-2016), SilentEnigma (03-14-2020), SSJ Rick (12-09-2016)



Messages In This Thread
Multiple Fonts - by madsiur - 12-08-2016, 01:52 PM
RE: Multiple Fonts Patch (Beta) - by seibaby - 12-08-2016, 02:09 PM
RE: Multiple Fonts Patch (Beta) - by madsiur - 12-08-2016, 02:36 PM
RE: Multiple Fonts Patch (Beta) - by madsiur - 12-08-2016, 08:36 PM
RE: Multiple Fonts Patch (Beta) - by madsiur - 12-15-2016, 10:55 PM
RE: Multiple Fonts Patch 1.1 - by madsiur - 12-16-2016, 06:43 AM
RE: Multiple Fonts Patch 1.3 - by madsiur - 12-17-2016, 03:22 PM
RE: Multiple Fonts Patch 1.4 - by madsiur - 12-21-2016, 01:51 AM
RE: Multiple Fonts Patch 1.4 - by seibaby - 12-21-2016, 08:28 AM
RE: Multiple Fonts Patch 1.4 - by B-Run - 12-21-2016, 09:02 AM
RE: Multiple Fonts Patch 1.4 - by madsiur - 12-21-2016, 11:16 AM
RE: Multiple Fonts Patch 1.4 - by madsiur - 03-17-2017, 04:20 PM
RE: Multiple Fonts Patch 1.4.1 - by Tenkarider - 03-18-2017, 12:17 PM
RE: Multiple Fonts Patch 1.4.1 - by madsiur - 03-18-2017, 12:46 PM
RE: Multiple Fonts Patch 1.4.1 - by Tenkarider - 03-19-2017, 12:52 PM
RE: Multiple Fonts Patch 1.4.1 - by Gi Nattak - 03-18-2017, 02:07 PM
RE: Multiple Fonts - by Lightning - 04-14-2019, 10:51 PM
RE: Multiple Fonts - by madsiur - 04-15-2019, 12:27 PM
RE: Multiple Fonts - by Lightning - 04-15-2019, 09:46 PM
RE: Multiple Fonts - by Lightning - 04-18-2019, 01:11 AM

Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite