https://github.com/Atvaark/TPP.FileFormats
This is amazing for MGSV modding but I have a problem. .fnt file is graphic font characters mapping. FfntTool good working for .ffnt font file, but .fnt can't open, edit and repack. There is one option with HEX Editor for now, but it is very difficult for add many new characters. Please help, how to modding that file? We want to translate MGSV and we could modding all the files we need except .fnt...
Exam: Font for iDroid's text cannot modding.
atvaark send it to me, but I don't know what to do with that...
Code: Select all
//------------------------------------------------
//--- 010 Editor v7.0.2 Binary Template
//
// File: fnt.bt
// Authors: atvaark
// Version:
// Purpose:
// Category:
// File Mask:
// ID Bytes:
// History:
//------------------------------------------------
LittleEndian();
typedef struct {
wchar_t character;
short unknown1;
ushort y_offset;
ushort x_offset;
short unknown2;
short unknown3;
short unknown_padding1;
short unknown_padding2;
} FntGlyph;
typedef struct {
ushort unknown1;
ushort glyph_width1;
ushort glyph_width2;
ushort glyph_height1;
ushort glyph_height2;
ushort glyph_count;
FntGlyph glyphs[glyph_count];
} FntFile;
FntFile file;
Everyone could benefit if there is a converter for .fnt (.fnt to .xml and reverse). Files is at attached. I waiting for helps.