News: 11 March 2016 - Forum Rules
Current Moderators - DarkSol, KingMike, MathOnNapkins, Azkadellia, Danke

Author Topic: About that Beyond Oasis font  (Read 785 times)

lastdual

  • Jr. Member
  • **
  • Posts: 90
    • View Profile
About that Beyond Oasis font
« on: October 23, 2020, 08:14:22 am »
Is there any way to get at the font for Beyond Oasis/Story of Thor? It's always bothered me how it seems as if the font is too large for the space it's written into, thus giving the appearance of the black outlines getting cut off here and there.

Normally I would just replace the font with a tile editor, but seeing as I can't find it, I'm guessing there's some compression going on :(


Anime_World

  • RHDN Patreon Supporter!
  • Jr. Member
  • *****
  • Posts: 31
    • View Profile
Re: About that Beyond Oasis font
« Reply #1 on: October 24, 2020, 02:40:10 am »
Yeah, you are right! Font graphics are compressed at 0x16943C 2bpp linear mode.
Data are decompressed into RAM, converted to 4bpp at 0x6F00 and copied via DMA to VRAM at 0xF4E0.


lastdual

  • Jr. Member
  • **
  • Posts: 90
    • View Profile
Re: About that Beyond Oasis font
« Reply #2 on: October 24, 2020, 01:19:39 pm »
Is there a tool I could use to decompress & recompress the rom? I'm afraid actual coding is a bit beyond my skill.

Anime_World

  • RHDN Patreon Supporter!
  • Jr. Member
  • *****
  • Posts: 31
    • View Profile
Re: About that Beyond Oasis font
« Reply #3 on: October 26, 2020, 12:00:18 am »
First, you need to learn how to debug the decompression routines to understand how it works. After this, you are able to create the tools.
Other solution is dump the original font from VRAM, insert at free space and change routines to load uncompressed graphics instead compressed graphics.
Do not give up!
« Last Edit: October 26, 2020, 12:05:38 am by Anime_World »