Instal Steam
login
|
bahasa
简体中文 (Tionghoa Sederhana)
繁體中文 (Tionghoa Tradisional)
日本語 (Bahasa Jepang)
한국어 (Bahasa Korea)
ไทย (Bahasa Thai)
Български (Bahasa Bulgaria)
Čeština (Bahasa Ceko)
Dansk (Bahasa Denmark)
Deutsch (Bahasa Jerman)
English (Bahasa Inggris)
Español - España (Bahasa Spanyol - Spanyol)
Español - Latinoamérica (Bahasa Spanyol - Amerika Latin)
Ελληνικά (Bahasa Yunani)
Français (Bahasa Prancis)
Italiano (Bahasa Italia)
Magyar (Bahasa Hungaria)
Nederlands (Bahasa Belanda)
Norsk (Bahasa Norwegia)
Polski (Bahasa Polandia)
Português (Portugis - Portugal)
Português-Brasil (Bahasa Portugis-Brasil)
Română (Bahasa Rumania)
Русский (Bahasa Rusia)
Suomi (Bahasa Finlandia)
Svenska (Bahasa Swedia)
Türkçe (Bahasa Turki)
Tiếng Việt (Bahasa Vietnam)
Українська (Bahasa Ukraina)
Laporkan kesalahan penerjemahan
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.