![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
![]() |
#1 |
Grey Wolf
![]() Join Date: May 2008
Location: DB85
Posts: 804
Downloads: 166
Uploads: 0
|
Font question
Does anybody know which file (or maybe it is hardcoded) describes what font is used on what screen?
Let's say that I would like to change font used on radio messages? Before we get into the entire "font discussion" I am aware that the "fonts" in game are not actual fonts (but rather combination of TGA and DDS files) but I am curious if there is a way of changing which ones the game uses... Thanks!
__________________
![]() |
![]() |
![]() |
![]() |
#2 |
Helmsman
![]() Join Date: Oct 2008
Posts: 103
Downloads: 349
Uploads: 0
|
![]()
In SH3 the menu.ini file in the Menu folder. I think it's the same in SH4.
|
![]() |
![]() |
![]() |
#3 |
Watch
![]() Join Date: Nov 2013
Location: Türkiye
Posts: 15
Downloads: 0
Uploads: 0
|
![]()
The menu_1024_768.ini file in the Menu folder provides font usage. In "Font=X" reference number is X. In "ToolTipText=Y" reference characters are Y in the menu.txt file.
|
![]() |
![]() |
![]() |
#4 |
Grey Wolf
![]() Join Date: May 2008
Location: DB85
Posts: 804
Downloads: 166
Uploads: 0
|
![]()
I understand menu_1024_768.ini file to certain extent. There are entries like "Font=1", "Font=18" etc... But how do I find out what particular font the number refers to?
__________________
![]() |
![]() |
![]() |
![]() |
#5 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
![]()
It's listed at the top of the menu_1024_768.ini file itself.
[Fonts] Fonts=24 Font0=DATA/Menu/Fonts/FPHunt26.tga Font1=DATA/Menu/Fonts/FPCond14.tga Font3=DATA/Menu/Fonts/FPHunt38.tga Font4=DATA/Menu/Fonts/FPHunt12.tga Font5=DATA/Menu/Fonts/FPHunt15.tga Font6=DATA/Menu/Fonts/FPSmall.tga Font7=DATA/Menu/Fonts/FPPencil12.tga Font10=DATA/Menu/Fonts/FPArhi24.tga Font11=DATA/Menu/Fonts/ShellsNr.tga Font13=DATA/Menu/Fonts/FPCond18.tga Font14=DATA/Menu/Fonts/FPCond12.tga Font15=DATA/Menu/Fonts/FPCond9.tga Font16=DATA/Menu/Fonts/FPBro20.tga Font17=DATA/Menu/Fonts/FPBro100.tga Font18=DATA/Menu/Fonts/Agency_12.tga Font19=DATA/Menu/Fonts/Agency_16.tga Font20=DATA/Menu/Fonts/Agency_20.tga Font21=DATA/Menu/Fonts/Agency_24.tga Font22=DATA/Menu/Fonts/Agency_28.tga Font23=DATA/Menu/Fonts/Chalk.dds |
![]() |
![]() |
#6 |
Grey Wolf
![]() Join Date: May 2008
Location: DB85
Posts: 804
Downloads: 166
Uploads: 0
|
![]()
Ahhhh, nice. Thanks privateer!
__________________
![]() |
![]() |
![]() |
![]() |
#7 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
![]()
I used 010 editor to scan all the files in SH4.
That's how I found it. ![]() |
![]() |
![]() |
#8 |
Grey Wolf
![]() Join Date: May 2008
Location: DB85
Posts: 804
Downloads: 166
Uploads: 0
|
![]()
Sounds like a handy program, have to look it up. You wouldn't know, by chance, how to find specific things inside of files? Sorry if this sounds like dumb question, I am good graphic designer not programmer, but here is an example:
I need to change, for now, font in the body of Radio Messages (the ones which are on the little notepad on Captain's Log). As of now it uses one of the "Agency" fonts and I need it to be written in one of the FPHunt font (courier style "typewriter font") and I need the same change done for the Ranks page (in Captain's Room). There has to be a way of finding this info somewhere... I would really appreciate little walkthrough if you have time. Thanks! -LJ
__________________
![]() |
![]() |
![]() |
![]() |
#9 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
![]()
010 by Sweetscape is a hex editor but has a crap load of great features.
I paid around $50.00 for it as I use the heck out of it! It can search in all types of files to find a phrase or other type searches such as hex numbers and so on. So I can tell it to search the SH4 folder and all sub folders for nearly anything. I'll search Agency and see what turns up. ![]() Captains Log is listed in the menu_1024 blah blah as useing Font 21 which is an agency font. So search that area. So if you use notepad? Search for Name=Captain'sLogTitle That puts you in the right area. I do plug and suggest 010 alot but it's a very good program for so much more then just SH type stuff. I have bought a second upgrade as the first license ran out. The second license is cheaper then the first of course. They also listen to requests for future improvments and have told me 2 that I requested will be in the next upgrades! Great program in SO many ways! Last edited by Madox58; 11-05-13 at 04:13 PM. |
![]() |
![]() |
#10 |
Weps
![]() Join Date: Sep 2005
Posts: 359
Downloads: 43
Uploads: 0
|
![]()
Am sure if you need a hex editor then privateers recommendation sounds good.
If you want really fast search for free, I use Agent Ransack for all my SH4 modding searches. |
![]() |
![]() |
![]() |
#11 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
![]()
That's a good text searcher and I did have that at one time.
![]() And it is free. 010 isn't free but as what I search for is usually in many different type files? It's a good investment for me. It's all in what you want to do and how programmable of a program do you want/need. 010 was the major tool used to assist TDW doing the GR2 Editor also. ![]() |
![]() |
![]() |
#12 |
Grey Wolf
![]() Join Date: May 2008
Location: DB85
Posts: 804
Downloads: 166
Uploads: 0
|
![]()
I have been playing with menu_1024_768.ini trying to change fonts around. I was, to certain, extent succesfull but even if I combed the file for "Font=" there are still few I cannot change. Are there any other files which handle font assignments?
__________________
![]() |
![]() |
![]() |
![]() |
#13 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
![]()
I'll run another scan and see what pops up.
Currently scanning the SH3 files so it will be a few minutes before I can scan the SH4 folders. ![]() I'll scan useing Captain first as you were wanting to change the log text right? |
![]() |
![]() |
#14 |
Grey Wolf
![]() Join Date: May 2008
Location: DB85
Posts: 804
Downloads: 166
Uploads: 0
|
![]()
Thanks for your help.
I can snap a few pics of the problem. From the top of my head: font used in description of saved games, the scrolling bar of events, body of the radio messages, names of the sailors... There's more. Makes me believe that it not might be inside the menu_1024_768.ini.
__________________
![]() |
![]() |
![]() |
![]() |
#15 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
![]()
One way you could do a quick test is to set all fonts to the same font in menu 1024 etc.ini
![]() I'd make a copy and JSGME it in. Something like this below. [Fonts] Fonts=24 Font0=DATA/Menu/Fonts/FPHunt26.tga Font1=DATA/Menu/Fonts/FPHunt26.tga Font3=DATA/Menu/Fonts/FPHunt26.tga Font4=DATA/Menu/Fonts/FPHunt26.tga Font5=DATA/Menu/Fonts/FPHunt26.tga Font6=DATA/Menu/Fonts/FPHunt26.tga Font7=DATA/Menu/Fonts/FPHunt26.tga Font10=DATA/Menu/Fonts/FPHunt26.tga Font11=DATA/Menu/Fonts/FPHunt26.tga Font13=DATA/Menu/Fonts/FPHunt26.tga Font14=DATA/Menu/Fonts/FPHunt26.tga Font15=DATA/Menu/Fonts/FPHunt26.tga Font16=DATA/Menu/Fonts/FPHunt26.tga Font17=DATA/Menu/Fonts/FPHunt26.tga Font18=DATA/Menu/Fonts/FPHunt26.tga Font19=DATA/Menu/Fonts/FPHunt26.tga Font20=DATA/Menu/Fonts/FPHunt26.tga Font21=DATA/Menu/Fonts/FPHunt26.tga Font22=DATA/Menu/Fonts/FPHunt26.tga Font23=DATA/Menu/Fonts/FPHunt26.tga |
![]() |
![]() |
|
|