Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

Metal Gear Solid V .fnt File

Featured Replies

  • Author
  • Localization

SLaYeR983, posted Thu Jul 20, 2017 2:52 pm (24834)


Hi everybody.

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:
//------------------------------------------------
//--- 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.
  • Author
  • Localization

GHOST DEAD, posted Thu Jul 20, 2017 4:48 pm (24851)


actully this is not a bitmap texture... this is a binary texture (without contrast mode) and i edited bitmap font generator for metal gear solid v... if i found my edited version... i share to you
  • Author
  • Localization

SLaYeR983, posted Thu Jul 20, 2017 6:47 pm (24860)


GHOST DEAD wrote:
actully this is not a bitmap texture... this is a binary texture (without contrast mode) and i edited bitmap font generator for metal gear solid v... if i found my edited version... i share to you


I do not have much prevail on Technical details, but I just know that: ftex is dds graphic file and fnt is character mapping data of these dds files, so I mean character, coodinates and other things...

if I edit and repack or convert that file so I going to mapping to location of any character in the dds picture and I will add new ones. it is enough to me if there is a mapping xml like in ffnt.

Something like that would work:
Image
  • Author
  • Localization

GHOST DEAD, posted Fri Jul 21, 2017 4:40 am (24880)


as i said my friend... this in not a other texture... in hex this is a binary map
i fix bitmap font generator to that font...
how to use Metal Gear Solid V font fixer (fix and edit by GHOST DEAD {ME})
  • Author
  • Localization

GHOST DEAD, posted Fri Jul 21, 2017 4:43 am (24881)


as i said my friend... this in not a other texture... in hex this is a binary map
i fix bitmap font generator to that font...
Metal Gear Solid V font fixer (fix and edit by GHOST DEAD {ME})
this tool will help you... dont delete or rename data_mg.dll

Metal Gear Solid V font fixer.7z

  • Author
  • Localization

SLaYeR983, posted Fri Jul 21, 2017 8:32 am (24901)


Thanks for help, but I dont understand how to use this

Edit: I got it. But this for .ffnt file. fnt file is different. I can't open edit and repack that file with any tool that made by atvaark.


Image

I do not know where it is used that name is Font_KJP_CUTIE_80p_alp

Image

This is iDroid font and name is Font_KJP_PROG_REG_32p_mb_alp


these fonts consists of seperated two files: .ftex and .fnt. and these font files not in FFNT archive. Ftex is OK, but other need a fix.
  • Author
  • Localization

GHOST DEAD, posted Mon Jul 24, 2017 6:45 am (24997)


just listen dude... i know all of this problem... dont blown yourself... all of this scripts and tools have many problemse
dont worry dude, thos ffnt is a else method... ffnt tool always damaged texture font
this guy (who made that tool) cant see png is not a good format for a common texture in a game with lua scripts
i am a lua progelrammer and i know that
this fonts works with a binary texture and font table and font fixer
this tool dont have fixer
  • Author
  • Localization

SLaYeR983, posted Mon Jul 24, 2017 8:48 am (24998)


so how would I use that for .fnt file? There is not any tutorial about use with fnt file. I'm not a programmer, but just humble a user.
  • Author
  • Localization

GHOST DEAD, posted Mon Jul 24, 2017 6:35 pm (25003)


SLaYeR983 wrote:
so how would I use that for .fnt file? There is not any tutorial about use with fnt file. I'm not a programmer, but just humble a user.

i will creat a video tutorial for you
  • Author
  • Localization

SLaYeR983, posted Tue Jul 25, 2017 7:14 am (25006)


GHOST DEAD wrote:
i will create a video tutorial for you


Thanks a lot for it. I hope resolves that problem.
  • Author
  • Localization

SLaYeR983, posted Sun May 27, 2018 11:40 am (35313)


I still waiting for it. I must edit to them. Please guys convert or fix them. I can't add a new characters.

"Aluigi" and "Atvaark" help please...
  • Author
  • Localization

GHOST DEAD, posted Sun May 27, 2018 2:34 pm (35325)


SLaYeR983 wrote:
I still waiting for it. I must edit to them. Please guys convert or fix them. I can't add a new characters.

"Aluigi" and "Atvaark" help please...


add a new unicode chaeacte? hmm?
answer: dude... game based on lua and custom unicode... just replace your character to another character...
as i know, this game can't support universal uncode mode in latin languages
this xml files are unicode, that's right... but you can't make new character in english files ( just like none_unicode files)
, i still cant edit weapon fonts and andvance fonts, but i know they are Ftex (as a direct map in zlib) and when i changed them, i could not see any different in main weapon fonts... :|
  • Author
  • Localization

SLaYeR983, posted Sun May 27, 2018 3:08 pm (35329)


GHOST DEAD wrote:
SLaYeR983 wrote:
I still waiting for it. I must edit to them. Please guys convert or fix them. I can't add a new characters.

"Aluigi" and "Atvaark" help please...


add a new unicode chaeacte? hmm?
answer: dude... game based on lua and custom unicode... just replace your character to another character...
as i know, this game can't support universal uncode mode in latin languages
this xml files are unicode, that's right... but you can't make new character in english files ( just like none_unicode files)
, i still cant edit weapon fonts and andvance fonts, but i know they are Ftex (as a direct map in zlib) and when i changed them, i could not see any different in main weapon fonts... :|



some languages coding with UTF-8 and I imported strings to that langs., and also some ftex font files supported some unicode characters, ex: C - O - U... maybe modify current characters. I dont know what to do with that :)
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.