SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH4 ATO Mods (https://www.subsim.com/radioroom/forumdisplay.php?f=234)
-   -   [TEC] HOW TO MAKE NEW FONT IN SH GAME? (https://www.subsim.com/radioroom/showthread.php?t=255781)

Jeff-Groves 07-29-23 02:23 PM

We are talking about FONTS in this thread.
There is no Equipment to talk about.

Now if you mean adding characters? Yes. Once I do a reverse Script it will encode to the off format.
After that it's up to you to check and adjust as needed.

Jeff-Groves 08-01-23 11:51 AM

Working with the Devs of 010 We found a Bug.
Some characters don't print out. They are going to fix that Bug.
In the mean time I use NotePad++ to insert the missing characters.

Since there's only around 16 off files that need a txt file it's not a big deal.
Once I have all the text files done I'll post a link to down load them all.
:up:

Bartholomew Roberts 08-02-23 12:12 AM

Quote:

Originally Posted by Jeff-Groves (Post 2878870)
Working with the Devs of 010 We found a Bug.
Some characters don't print out. They are going to fix that Bug.
In the mean time I use NotePad++ to insert the missing characters.

Since there's only around 16 off files that need a txt file it's not a big deal.
Once I have all the text files done I'll post a link to down load them all.
:up:

Good job, that could be used by all mod maker in the future. Only the large font need to be converted. For small font stock could be used, Agency_12 could be replaced by Agency_24. So you could do some 4 times off file just in case. Like Hunt152, FPArhi96, FPCond72 or Agency_112.

Jeff-Groves 08-02-23 12:55 PM

Those Fonts don't exist so can not create a txt file.

Bartholomew Roberts 08-02-23 10:00 PM

Quote:

Originally Posted by Jeff-Groves (Post 2879028)
Those Fonts don't exist so can not create a txt file.

Just using the already enlarged txt and multiply their number by 2 again and rename accordingly. It is the OFF file that bother the most.

Jeff-Groves 08-03-23 12:07 PM

It took 4 lines of code to double the settings in the off file.
Not only does the Script change the original off file?
It outputs a text file also.
Would you like to see one?
:03:

Not only can the Script double sizes. It can change sizes by addition.
Say you want a font only 2 pixels larger. So from 3 pixels to 5.
It can do that also.
:up:

Here's your FPHunt152.0ff
https://www.mediafire.com/file/w0hyy...nt152.off/file

Bartholomew Roberts 08-04-23 01:40 PM

Quote:

Originally Posted by Jeff-Groves (Post 2879141)
It took 4 lines of code to double the settings in the off file.
Not only does the Script change the original off file?
It outputs a text file also.
Would you like to see one?
:03:

Not only can the Script double sizes. It can change sizes by addition.
Say you want a font only 2 pixels larger. So from 3 pixels to 5.
It can do that also.
:up:

Here's your FPHunt152.0ff
https://www.mediafire.com/file/w0hyy...nt152.off/file

But that won't fit the image file,the whole point is to use existed image file to make exact font larger. All numbers must be mutiplied uniformly. If you want to make more variation, better to make small font 4x in dimension, like Agency_16 to Agency_64.

Jeff-Groves 08-04-23 03:07 PM

You need to increase the dds or tga file.
It's not my intent to do the work for you!
Figure it all out.

Bartholomew Roberts 08-04-23 10:17 PM

Quote:

Originally Posted by Jeff-Groves (Post 2879293)
You need to increase the dds or tga file.
It's not my intent to do the work for you!
Figure it all out.

Sorry might be a misunderstanding there, I only mean there is no way to increase image size unevenly in math standard.

"Not only can the Script double sizes. It can change sizes by addition.
Say you want a font only 2 pixels larger. So from 3 pixels to 5.
It can do that also." That won't work.
As long as multiply the number of off with int, the image would fit, your FPHunt152.0ff would absolutely work in theory:Kaleun_Salute:

---------------------------------------
I'v checked your file, there seems a little trouble.
https://img1.imgtp.com/2023/08/05/Jrg8ywdz.jpg

FPHunt152 should be 4x the size of FPHunt38 right? But the actual size is smaller. I'v already enlarged the dds. That is our first test anyway.

This is how it should look

https://img1.imgtp.com/2023/08/05/6QC5kVDJ.jpg

Bartholomew Roberts 08-04-23 11:31 PM

And I found another astonishing fact, different version has different basic font

https://img1.imgtp.com/2023/08/05/AFbY0Xa8.jpg

The smaller on is from KSDII mod that's russian font I guess

So make sure to use the stock Font of english version's off file

Jeff-Groves 08-05-23 07:39 AM

The FPHunt152 is FPHunt15 doubled.
I can do FPHunt38 4X if you want.

Bartholomew Roberts 08-05-23 10:22 AM

Quote:

Originally Posted by Jeff-Groves (Post 2879391)
The FPHunt152 is FPHunt15 doubled.
I can do FPHunt38 4X if you want.

Ok, lets make the naming rule to be more clear, the number after Font(Name) is their zise number as the normal font. The double sized FPHunt15 is 30, smaller than the existed FPHunt 38, so no need to be doubled, Only final size over the existing Font need to be made, like either 38x2 or 15x4 is larger than the existing one. To make 4K UI, you need 2X of the largest stock font to match current display. But it might not be enough to the future need, so extra large font should be prepared in case.:Kaleun_Salute:

Jeff-Groves 08-05-23 10:41 AM

Names will be like this
FPHunt15x2.off
FPHunt15x4.off
and so on for all fonts.

And I'll do all the Stock English off files just incase.

Should anyone want a Non-Stock Non-English off changed they will need to be uploaded so I can get them.

Jeff-Groves 08-05-23 12:52 PM

How does one invert the alpha channel in PhotoShop?
Working on a new font but need to figure that out!
:hmmm:

Bartholomew Roberts 08-05-23 01:07 PM

Quote:

Originally Posted by Jeff-Groves (Post 2879435)
How does one invert the alpha channel in PhotoShop?
Working on a new font but need to figure that out!
:hmmm:

Click Alpha in channel pop up window, Ctrl+I


All times are GMT -5. The time now is 05:14 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 1995- 2024 Subsim®
"Subsim" is a registered trademark, all rights reserved.