ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Mon Aug 21, 2017 7:33 pm

All times are UTC




Post new topic  Reply to topic  [ 10 posts ] 
Author Message
PostPosted: Thu Jul 20, 2017 2:52 pm 

Joined: Tue May 19, 2015 8:20 pm
Posts: 11
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.


Attachments:
MGSV_Ftex_and_fnt_Fontfiles.rar [973.09 KiB]
Downloaded 12 times


Last edited by SLaYeR983 on Thu Jul 20, 2017 6:50 pm, edited 1 time in total.
Top
   
PostPosted: Thu Jul 20, 2017 4:48 pm 

Joined: Wed Jul 19, 2017 5:04 am
Posts: 12
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


Top
   
PostPosted: Thu Jul 20, 2017 6:47 pm 

Joined: Tue May 19, 2015 8:20 pm
Posts: 11
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


Top
   
PostPosted: Fri Jul 21, 2017 4:40 am 

Joined: Wed Jul 19, 2017 5:04 am
Posts: 12
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})


Top
   
PostPosted: Fri Jul 21, 2017 4:43 am 

Joined: Wed Jul 19, 2017 5:04 am
Posts: 12
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


Attachments:
Metal Gear Solid V font fixer.7z [409.42 KiB]
Downloaded 16 times
Top
   
PostPosted: Fri Jul 21, 2017 8:32 am 

Joined: Tue May 19, 2015 8:20 pm
Posts: 11
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.


Top
   
PostPosted: Mon Jul 24, 2017 6:45 am 

Joined: Wed Jul 19, 2017 5:04 am
Posts: 12
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


Top
   
PostPosted: Mon Jul 24, 2017 8:48 am 

Joined: Tue May 19, 2015 8:20 pm
Posts: 11
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.


Top
   
PostPosted: Mon Jul 24, 2017 6:35 pm 

Joined: Wed Jul 19, 2017 5:04 am
Posts: 12
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


Top
   
PostPosted: Tue Jul 25, 2017 7:14 am 

Joined: Tue May 19, 2015 8:20 pm
Posts: 11
GHOST DEAD wrote:
i will create a video tutorial for you


Thanks a lot for it. I hope resolves that problem. I still waiting for it.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 10 posts ] 

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
Powered by phpBB® Forum Software © phpBB Limited