YuriSizuku / GalgameReverse

Reverse Projects for Galgame
253 stars 18 forks source link

9-nine- switch .fnt (Entergram's engine) #7

Closed imKota closed 9 months ago

imKota commented 1 year ago

Hello, @YuriSizuku!

Can you help with this font ? 111

game: https://vndb.org/r83944 font: font_00.fnt.zip

https://github.com/DCNick3/shin/blob/master/shin-core/src/format/font.rs https://github.com/andOlga/kaleido/tree/saku/fnt

YuriSizuku commented 1 year ago

The font seems to be encrypted or compressed. Have you try to decrypt or decompress at first ?

Cosetto commented 1 year ago

@imKota For switch version, you can seek help from this. He made tools for 9-nine switch version, so I think he can help.

imKota commented 1 year ago

@YuriSizuku any news?

YuriSizuku commented 1 year ago

@YuriSizuku any news?

It seems that this font was compressed by lz77. Later I will check it.

YuriSizuku commented 9 months ago

Sorry for the late reply. I made a script for parsing this kind of font. You can use command to extract glphys. Then modify and append the data to the end of font.

see 9nine_switch_fnt.py

I just tested append origin glyph in the end of the fnt file. I did't test the details of the result, you can edit and test the glphy parameter as well.

python 9nine_fnt.py e font_00.fnt font_00.zip
python 9nine_fnt.py a font_00.fnt font_00.zip font_rebuild.fnt

Here are the glphys in fnt font_00.zip