Emulator-dependant bug
Moderator: BigEvilCorporation
Emulator-dependant bug
Hello,
I try to implement a Variable Width (Proportionnal) Font in the game "Phantasy Star III", and I bump into something quite frightening for me that I describe :
sometimes, some letters are garbled, but :
* it occurs on some NPCs' dialogues, but not on others.
* it doesn't occur everytime on a given NPC
* length of the dialogues, or particular letters, don't seem relevant
* it doesn't occur on the same NPCs if I use Regen or Fusion
* it doesn't occur at all if I use Gens
I have no idea if it occurs on a real Megadrive. I have no idea if Regen or Fusion are more likely to tell the truth than Gens. And if it's a bug from Regen and Fusion, I don't know how to avoid it.
To be true, I have no idea if I am doing something wrong, or if the emulators do. I thought someone more experimented could know this kind of problem.
If you want, I can post the code of the text rendering routine, and screenshots. I can also provide the entire ROM, or just a patch if forum rules forbid it.
Basically, it build patterns by shifting 2bpp images and gluing them, and write in RAM the list of tiles attributes values for the plane.
I try to implement a Variable Width (Proportionnal) Font in the game "Phantasy Star III", and I bump into something quite frightening for me that I describe :
sometimes, some letters are garbled, but :
* it occurs on some NPCs' dialogues, but not on others.
* it doesn't occur everytime on a given NPC
* length of the dialogues, or particular letters, don't seem relevant
* it doesn't occur on the same NPCs if I use Regen or Fusion
* it doesn't occur at all if I use Gens
I have no idea if it occurs on a real Megadrive. I have no idea if Regen or Fusion are more likely to tell the truth than Gens. And if it's a bug from Regen and Fusion, I don't know how to avoid it.
To be true, I have no idea if I am doing something wrong, or if the emulators do. I thought someone more experimented could know this kind of problem.
If you want, I can post the code of the text rendering routine, and screenshots. I can also provide the entire ROM, or just a patch if forum rules forbid it.
Basically, it build patterns by shifting 2bpp images and gluing them, and write in RAM the list of tiles attributes values for the plane.
-
- Very interested
- Posts: 710
- Joined: Sat Feb 18, 2012 2:44 am
After investigation, the pattern pointed is right, but the pattern info is wrong.
Here are some screenshots from the same scene, but with different emulators :
With Gens :
Here are some screenshots from the same scene, but with different emulators :
With Gens :
Last edited by tryphon on Wed Aug 06, 2014 4:31 pm, edited 1 time in total.