Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
The way the game implements characters is that it has some sort of lookup table that tells where in the font g1t texture each character is. If the font doesn't have accents in it already, you'll have to find this table and add your character to it. Alternately, you could reuse one of the Japanese characters, but it will probably not be the right width.
Unfortunately, if you actually look into the font image itself, you'll find that i's, !'s, and / characters are packed smaller than M, K, D, and Z. That means the font is not aligned on any sort of grid. The grid data is not in the g1t file.
Fortunately, the g1t you want to work with isn't encoded in any way that requires changes to the g1t header, so you can just split the header from the image data, edit the raw image data, then copy the header+image data and it should be valid.
On Windows, splitting a file probably requires a hex editor. The magic offset is 0x2C in this file. Before this offset, is the g1t header. Don't change anything in the header.
After this offset, is the RGBA image data. You'll want to extract both parts to something like font.hdr and font.img
Then, you'll need to get an image editing program that edits raw files; I remember Paint Shop Pro had a pretty useful one. I've already given the image format and dimensions above, so if you open font.img, you should be able to open it.
Lastly, once you're done editing the image, you need to save it back to font.img and do a
I haven't written a g1t repacker because no one has requested it, and a fully functional g1t repacker is more work than I'd like to do at this time. Since you're interested in romhacking, I think it would be good for you to attempt to write a very minimalistic g1t repacker yourself first.
The code that was used to extract the g1t files is in HyoutaTools. https://github.com/AdmiralCurtiss/HyoutaTools/blob/master/Gust/g1t/g1t.cs
Also, Paint Shop Pro doesn't support RGBA properly (it opens it as CYMK), so you'll have to find another image editor; I'm sure some good ones exist.
Y bueno, el traductor no se va a perder y siempre ha tenido interés en traducir el juego, solo que nos falta un hacker.