Skip to content

Commit

Permalink
UTF8 Support
Browse files Browse the repository at this point in the history
  • Loading branch information
Veslyquix committed Aug 9, 2023
1 parent ee0d51c commit 46599e8
Show file tree
Hide file tree
Showing 575 changed files with 10,351 additions and 22 deletions.
16 changes: 16 additions & 0 deletions EngineHacks/Config.event
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,22 @@
//If uncommented, Narrow Font will be implemented.
//This allows for setting narrower text in addition to standard text.
// #define NARROW_FONT
#ifdef NARROW_FONT
MESSAGE NARROW_FONT is being phased out for UTF-8 encoded Narrow Font.
MESSAGE If you have added custom characters, you will need to add them in Root\EngineHacks\ExternalHacks\Fonts.
MESSAGE Please see the README.md there or ask @Vesly for help.
#endif

//If uncommented, UTF-8 will be implemented.
//This allows for adding new fonts/characters and includes NarrowFont by default.
#define UTF8

// Do not define NARROW_FONT and UTF8 simultaneously.
#ifdef UTF8
#ifdef NARROW_FONT
#undef NARROW_FONT
#endif
#endif

// If uncommented, the fourth page of the stat screen will include personal information on the character.
// This information can be edited in the "Personal Data Editor.csv" file.
Expand Down
7 changes: 7 additions & 0 deletions EngineHacks/ExternalHacks/Fonts/CreateFont.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
@echo off


py MakeGlyphInstaller.py ..\..\..\fe8_clean.gba


pause
45 changes: 45 additions & 0 deletions EngineHacks/ExternalHacks/Fonts/FE8U-CN-Font-Installer.event
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@

PUSH

// #define __DEBUG__


// Start of font glyphes space
#ifndef FreeSpaceFont
#define FreeSpaceFont $EFB2E0 // End: $FE0000; size E4D20
#define FreeSpaceFontEnd 0xFE0000
#endif // FreeSpaceFont



ORG FreeSpaceFont
#include "FontInstaller/FontPatches.event"
#include "FontInstaller/FontTableDef.event"
#include "FontInstaller/InstallConfig.event"
#include "FontInstaller/FontInstaller.event"



#ifdef __DEBUG__

// replace Eirika's name as ""

#include "Tools/Tool Helpers.txt"
setText(0x212, NameMokha)

ALIGN 4
NameMokha:
#incbin "FontInstaller/Debug_Text.txt"
BYTE 0
ALIGN 4

#endif // __DEBUG__



#ifdef FreeSpaceFontEnd
ASSERT (FreeSpaceFontEnd - CURRENTOFFSET)
#endif // FreeSpaceFontEnd

POP

Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
悠木
Loading

0 comments on commit 46599e8

Please sign in to comment.