PredatorCZ / XenoLib

Xenoblade format library
GNU General Public License v3.0
42 stars 37 forks source link

Any way to open .fnt files in Xenoblade X? #17

Open marcobura39 opened 1 year ago

marcobura39 commented 1 year ago

Hi, I would like to mod font size in xenoblade X becuase it is very small. Sadly I have zero experience in this but I managed to open some cpk files and in menu.cpk I found .fnt files. Now I'm stuck because I don't know how to open them and after hours of googling I found you. If you know anything about font size in xenoblade X let me know please. Have a nice day!

PredatorCZ commented 1 year ago

At the first glance, fnt seems simple format. It contains uv data and texture. You should be able to convert fnt to dds with tex_to_dds tool (without uv data).

As for modding, how do you want to modify it? I don't think changing texture dimensions will help much. I assume font size is gonna be set somewhere else (bmn maybe?)

marcobura39 commented 1 year ago

I'm a newbie so maybe what I'm going to write next doesn't make any sense. I wanted to check if there is a parameter for font size that I can modify, just like in any text editor where you can set font size at your will, so that I can make the text a little bit bigger. So i was wondering if there is any way to open such configuration file (if it exist...). I assumed font size was in .fnt files, my bad.

PredatorCZ commented 1 year ago

I tried to poke around with font mods and such, haven't been able to increase font with font files. I wonder why you want to do this in a first place? I thought UI may be too small for 4k, because the game runs natively only in 720p. But after using 4k mod UI scale stayed the same (although I don't have 4k hw)