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

Author Topic: I Need help modifying the pixel separation between letters (GBC)  (Read 386 times)


  • Jr. Member
  • **
  • Posts: 14
    • View Profile
I Need help modifying the pixel separation between letters. I am in the early stages of an english rom hack for Sakura Taisen GB. After I created a custom english font(4x8) that was twice as small as the Japanese font(8x16) (This was done have more words per line) I noticed that custom font that I had put into the game had a sizable 4 pixel gap between letters. Is there any way to modify the game to that the gap is one pixel wide instead of 4 pixels wide?


  • Hero Member
  • *****
  • Posts: 3167
    • View Profile
Re: I Need help modifying the pixel separation between letters (GBC)
« Reply #1 on: June 16, 2021, 07:10:58 am »
Generally most would be told to make the letters fatter but I suppose that is not the goal here.

Short version. Probably not.
The GB/GBC setup makes this harder than some later systems as things are more geared towards being 8 pixel aligned than later things where BG tile placement and size is almost arbitrary. Depending upon how much text you have (big RPG is harder, puzzle game probably easier, don't know if that is a visual novel which can go either way) some go for letter pairs (or letter and a half). Other times people instead opt for maybe using the sprite options instead where you can stuff up to 10 sprites per scan line, though that still means difficulty in getting characters on screen.

Anyway if the game does not have an internal width value, or maybe spacing value (rare for Japanese games even today, never mind on the GB/GBC), then you get to play with the text handler in the game to do it. If you already edited the font to have the thing accept it then it would usually have been around that in the game. Otherwise a tracing session that follows the game's text being fetched, the corresponding tiles being fetched (doubt they are all in VRAM all the time for a GB/GBC game, especially not an originally Japanese one) and then placed on the screen being what you want to look at.