Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

Font bfnt - FE Awakening

Featured Replies

  • Author
  • Localization

DKH6789, posted Sun May 08, 2022 3:34 pm (71460)


Hi.

The attached file contains:
- bfnt.lz: The packed font of Fire Emblem Awakening
- bfnt and png: Detail font extracted from the avbove .lz
- The tool I used to extract is FEAT

Could you please help/guide me the way to add more Unicode character to the font? For example D (U 00D0)

Thanks so very much in advance!
  • Author
  • Localization

DKH6789, posted Mon May 09, 2022 2:10 am (71467)


Can anyone lend me a hand?
  • Author
  • Localization

LinkOFF, posted Tue May 10, 2022 2:27 pm (71489)


DKH6789 wrote:
Could you please help/guide me the way to add more Unicode character to the font? For example D (U 00D0)

This char is already in the font.
Character count is 0x22. Font table entry structure (16 bytes length):
Code:
2bytes - character
2bytes - texture number (1 or 0)
2bytes - posX
2bytes - posY
1byte - width
1byte - height
1byte - zero
1byte - ?
1byte - ? (same value as width)
3bytes - padding
  • Author
  • Localization

DKH6789, posted Wed May 11, 2022 8:58 am (71502)


LinkOFF wrote:
DKH6789 wrote:
Could you please help/guide me the way to add more Unicode character to the font? For example D (U 00D0)

This char is already in the font.
Character count is 0x22. Font table entry structure (16 bytes length):
Code:
2bytes - character
2bytes - texture number (1 or 0)
2bytes - posX
2bytes - posY
1byte - width
1byte - height
1byte - zero
1byte - ?
1byte - ? (same value as width)
3bytes - padding

Thank you, very clear!

I'll try right away and respond after that :D
  • Author
  • Localization

DKH6789, posted Thu May 12, 2022 9:02 am (71511)


LinkOFF wrote:
DKH6789 wrote:
Could you please help/guide me the way to add more Unicode character to the font? For example D (U 00D0)

This char is already in the font.
Character count is 0x22. Font table entry structure (16 bytes length):
Code:
2bytes - character
2bytes - texture number (1 or 0)
2bytes - posX
2bytes - posY
1byte - width
1byte - height
1byte - zero
1byte - ?
1byte - ? (same value as width)
3bytes - padding

I tried two days with the structure you provided. And those are results:

- The "texture number" is actually the page. Because this font has 2 pages, so 0 and 1 is the 1st and 2nd page :D
- The game used reversed code for Unicode characters. i.e: "C" is 43 00 insteads of 00 43 in Unicode.
- The image files are extracted from .bfnt file inside the packed .lz file. So the bfnt is the key target.
- For the hex, I studied and can easily edit/modify. But I don't know how to add/draw more characters to the bfnt.
- For example, as you know, for some fonts, we can copy-paste from hex to new font files > edit/draw/add more characters > import hex back to the origin font files > edit hex to match number of characters > done. I think the logic here is the same: So the key point is how to add (draw) characters to the bfnt.

Hope you can help me create a tool to export/import image to bfnt, thank you so very much!!
  • Author
  • Localization

DKH6789, posted Mon May 23, 2022 2:44 am (71643)


Close the case, I got the font modified.

Thanks anyway!
  • Author
  • Localization

maxRNG, posted Tue Jun 21, 2022 8:25 pm (72222)


DKH6789 wrote:
Close the case, I got the font modified.

Thanks anyway!


Care to share how? I'd like to make some changes to the font myself and have managed to make changes to System_0.png and System_1.png, but don't know how to repack them into System.bfnt (and System.bfnt.lz, but FEAT can handle the .lz part so that's not the issue).
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.