I found something slightly unpleasant about gsKit: It doesn't support SHIFT-JIS characters, and the font that the Japanese consoles use to display Japanese characters in their OSDs is rom0:FONTM.
So I embarked on a journey to rewrite the fontm font support of gsKit and to implement a totally new version of my KROM support for gsKit.
For those who don't know:
1. rom0:FONTM is the font file that your PS2 uses for everything (Usually the OSD).
2. rom0:KROM is a 1bpp, headerless FONTX2 font file. I don't know where it's used, but it's now accessible for those who want to use it.
It's nearly completed. However, I found that I cannot seem to use 16-bit palettes with gsKit for some reason.
I'm weak with mathematics for some reason (I easily get lost while working on equations), so I've been spending a lot of time being lost and confused with pointer arithmethic - something that I was and am still not thrilled with at all.
I think that support for the Russian script in the FONTM support module might be broken, as I rushed to fix the SHIFT-JIS to JIS X 0208 conversion table for it... since I was a little fustrated after spending the entire day on this thing.
(Confession: I wasted a couple of hours getting that table right via trial-and-error)
Right now, both font loaders use 32-bit palettes (From gsKit's fontm source files)... but I'm aiming to use 16-bit palettes to save space. Unfortunately, the fonts all turn out yellow and the alpha channels don't seem to work right.
Another thing that would be nice is if someone could answer the questions I have left in the files. I still cannot figure out why certain formulas I've been using to calculate pointer values work in one place but need some hackery to work elsewhere....
Providing a complete dump of all FONTM's characters in a bitmap or any other suitable format would be wonderful in helping towards adding support for the PS2-only characters.
If anyone could help me to complete this properly and to integrate this with gsKit, I'll appreciate it greately.
Of course, there might be (probably many) bugs, so please feel free to help me with and criticize my work.
If there is something that I didn't explain in the included files, please feel free to let me know, so that I can update the supporting documents accordingly.
Downloads/Links
gsKit font project: [120420]gsKit_FONT_project.7z
Thanks!


1Likes
LinkBack URL
About LinkBacks










.
