Page 1 of 1

Resident Evil Revelations 2 GFD font

Posted: Fri Nov 06, 2020 11:38 pm
by gameside
Hi i want to translate this game to my native language
there is no problem with text, but sadly i cant edit font, this game use some custom bitmap font (GFD and TEX file)
i upload some example, hope someone take a look at them and help me
thanks
https://anonfiles.com/75Adv4nbp6/font_rar

Re: Resident Evil Revelations 2 GFD font

Posted: Sat Nov 07, 2020 10:46 am
by ikskoks
GFD is file storing character definitions and probably coordinates.
TEX is compressed texture file.

Check those links for reference
https://residentevilmodding.boards.net/ ... -tutorials
https://residentevilmodding.boards.net/ ... re-editing
https://residentevilmodding.boards.net/ ... ompression

After converting TEX to DDS you can view them with IrfanView https://imgur.com/a/eZuV8mI
and edit with GIMP + DDS Plugin.

You can see some image in TEX file in texture cooker https://imgur.com/a/9MAQM5f

Re: Resident Evil Revelations 2 GFD font

Posted: Sat Nov 07, 2020 1:55 pm
by gameside
ikskoks wrote:
Sat Nov 07, 2020 10:46 am
GFD is file storing character definitions and probably coordinates.
TEX is compressed texture file.

Check those links for reference
https://residentevilmodding.boards.net/ ... -tutorials
https://residentevilmodding.boards.net/ ... re-editing
https://residentevilmodding.boards.net/ ... ompression

After converting TEX to DDS you can view them with IrfanView https://imgur.com/a/eZuV8mI
and edit with GIMP + DDS Plugin.

You can see some image in TEX file in texture cooker https://imgur.com/a/9MAQM5f
Thanks for reply
I Know how to edit and recreate Tex file
But my problem is I need to add like 100 new char to game font, so I can't just replace some existing char with new one, I need to create new font, i found some useful information about gfd file in this site https://sigyn.tistory.com/6 - with google translate to english. its explain gfd file format

Character (red box)
Character position (green box)
Character size (blue box)
Offset-character size deviation (orange box)
Image

but becuse i dont have much experiment with these stuff, i cant create a tool by myself
i think its possible to create a new bitmap font with BMFont, then somehow convert BMfont char mapping (xml file) to GFD but i dont know how
can anyone help?
thanks