![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
![]() |
#1 | |
Bosun
![]() Join Date: Sep 2021
Posts: 69
Downloads: 112
Uploads: 2
|
![]() Quote:
|
|
![]() |
![]() |
![]() |
#2 |
GLOBAL MODDING TERRORIST
|
![]()
X, Y, Width, and Height only need to be scaled as long as they match the scale of the TGA or DDS file.
So if you scale say Chalk.dds up to 200%? A script that scales the off file up should work. No need to translate off to text file. |
![]() |
![]() |
![]() |
#3 |
Bosun
![]() Join Date: Sep 2021
Posts: 69
Downloads: 112
Uploads: 2
|
![]()
but most Font in the game don't have a txt file, only off . So it's still needed. Say FPHunt38 eg. I wonder is there a way to transfer normal Font file like TTF、EOT into off. That would bring much more possiblities .
|
![]() |
![]() |
![]() |
#4 |
CTD - it's not just a job
|
![]()
Just remember that the way the fonts were built for SH4 was an attempt to save on the RAM footprint (2005 programming). Some fonts do not have certain characters due to their use in the game that do not require all of the characters for varying applications. This is similar to indexed color use in tga or dds files. You choose the palette you work with.
__________________
"...and bollocks to the naysayers" - Jimbuna |
![]() |
![]() |
![]() |
#5 | |
Bosun
![]() Join Date: Sep 2021
Posts: 69
Downloads: 112
Uploads: 2
|
![]() Quote:
|
|
![]() |
![]() |
![]() |
#6 |
GLOBAL MODDING TERRORIST
|
![]()
The fonts in Game only use the dds or tga file to render.
The off file only tells the Game the positions to read for each letter/symbol to render. The txt file is only for checking out what the off file says to the Game. As long as the new dds or tga follows how the originals are done? Should be no problems as long as the off file is done correctly. It's all explained in the linked thread somewhere above. As for off files that have no txt that goes with them? I'll just translate those and provide a link to DownLoad. I highly doubt anyone will use a script for 010 anyways. ![]() |
![]() |
![]() |
![]() |
#7 |
GLOBAL MODDING TERRORIST
|
![]()
Almost done with the script to translate the off files to text files.
Just need to format the output to look like the text files that already exist. ![]() The reason I'm copying the original format is the translate txt to off file script will read the needed areas properly. Last edited by Jeff-Groves; 07-28-23 at 01:29 PM. |
![]() |
![]() |
![]() |
|
|