SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH4 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 05-10-09, 06:21 PM   #1
XonE:32
Bosun
 
Join Date: Feb 2003
Location: Shadowing you until dark
Posts: 62
Downloads: 54
Uploads: 0
Default Rec Manual- Changing text color?

Can someone more familiar with the bloddy menu_1024_768.ini possibly provide some illumination... literally.

My sig contains my current mods so you can see I'm running the latest RFB 1.52 and a darker Rec Manual for night attacks. the default rec manual that comes with RFB is not set up to be darker at night so it's virtually impossible to spot anything while it's open. The .jpg below shows the current Rec manual background I'm using.

http://i5.photobucket.com/albums/y18...inesweeper.jpg

All I'd like to do is brighten the text. At night the darker background works well, but conversely it's so dark that in the day I can't bloddy well see the text values, descriptions etc.

I assumed (bad idea) it was just a color change in the menu_1024_768.ini in the following areas and lines (see orange text):

Quote:
[G25 I36]
Name=Unit info
Type=1026;Menu group
ItemID=0x25070000
ParentID=0x25060000
Pos=186,-29,530,44
Zone= 186 327 530 44 5 1 0x25060005 0 0 0x25070000 -1 0 0 0
Color=0xFFFFFFFF

[G25 I37]
Name=Mast Val
Type=1029;Static text
ItemID=0x25070006
ParentID=0x25070000
Pos=479,-22,50,22
Zone= 665 305 50 22 0 1 0x25070007 1 -0.5 0x25070006 0.1 0.5 0 0
Color=0xFE
Font=19
Text=955
TextFlags=0x4

[G25 I38]
Name=Mast
Type=1029;Static text
ItemID=0x25070007
ParentID=0x25070000
Pos=314,-22,160,22
Zone= 500 305 160 22 0 1 0x25070005 0.4 -0.5 0x25070007 0.1 0.5 0 0
Color=0xFE
Font=19
Text=2022
TextFlags=0x6

[G25 I39]
Name=Draft val
Type=1029;Static text
ItemID=0x25070005
ParentID=0x25070000
Pos=278,-22,50,22
Zone= 464 305 50 22 0 1 0x25070015 1 -0.5 0x25070005 0.1 0.5 0 0
Color=0xFE
Font=19
Text=955
TextFlags=0x4

[G25 I40]
Name=Draft
Type=1029;Static text
ItemID=0x25070015
ParentID=0x25070000
Pos=208,-22,65,22
Zone= 394 305 65 22 0 1 0x25070004 0.4 -0.5 0x25070015 0.1 0.5 0 0
Color=0xFE
Font=19
Text=2021
TextFlags=0x6

[G25 I41]
Name=Speed val
Type=1029;Static text
ItemID=0x25070004
ParentID=0x25070000
Pos=174,-22,68,22
Zone= 360 305 68 22 0 1 0x25070014 1 -0.5 0x25070004 0.1 0.5 0 0
Color=0xFE
Font=19
Text=955
TextFlags=0x4

[G25 I42]
Name=Speed
Type=1029;Static text
ItemID=0x25070014
ParentID=0x25070000
Pos=102,-22,65,22
Zone= 288 305 65 22 0 1 0x25070003 0.4 -0.5 0x25070014 0.1 0.5 0 0
Color=0xFE
Font=19
Text=2019
TextFlags=0x6

[G25 I43]
Name=Tonnage val
Type=1029;Static text
ItemID=0x25070003
ParentID=0x25070000
Pos=71,-22,60,22
Zone= 257 305 60 22 0 1 0x25070013 1 -0.5 0x25070003 0.1 0.5 0 0
Color=0xFE
Font=19
Text=955
TextFlags=0x4

[G25 I44]
Name=Tonnage
Type=1029;Static text
ItemID=0x25070013
ParentID=0x25070000
Pos=0,-22,65,22
Zone= 186 305 65 22 0 1 0x25070000 0 -1 0x25070013 0 1 0 0
Color=0xFE
Font=19
Text=2018
TextFlags=0x6

[G25 I45]
Name=Class val
Type=1029;Static text
ItemID=0x25070008
ParentID=0x25070000
Pos=357,0,165,22
Zone= 543 327 165 22 0 1 0x25070002 1 -0.5 0x25070008 0.02 0.5 0 0
Color=0xFE
Font=19
Text=955
TextFlags=0x4

[G25 I46]
Name=Class
Type=1029;Static text
ItemID=0x25070002
ParentID=0x25070000
Pos=264,0,90,22
Zone= 450 327 90 22 0 1 0x25070001 1 -0.5 0x25070002 0 0.5 0 0
Color=0xFE
Font=19
Text=1431
TextFlags=0x6

[G25 I47]
Name=Name
Type=1029;Static text
ItemID=0x25070001
ParentID=0x25070000
Pos=24,0,240,22
Zone= 210 327 240 22 0 1 0x25070000 0 0 0x25070001 0.1 0 0 0
Color=0xFF
Font=19
Text=955
TextFlags=0x8
Am I least on the right track or is there some other weirdness I must do to make this happen? i.e. do I need to make changes elsewhere?

I've seen pics where people have yellow or orange text for their ship info & values in their Rec Manual. That's all I'm tryin to accomplish here, but when I change the color I get nothin' in game. It still remains black and hard as hell to see during the day. Just as an FYI; I am making these changes while in port.

Any assistance would be GREATLY appreciated. Thanks in advance.

Regards,

XonE:32
__________________
Dogs can now be trained to detect Covid in their owners. Cats can too
...they just won't.
XonE:32 is offline   Reply With Quote
Old 05-10-09, 07:03 PM   #2
Webster
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

its best not to mess with the menu_1024 if you dont have to

you can change any game font if you open data/ menu/ fonts

then experiment to find which file is used for the rec manual print theres a bunch of files and certain files are used for some of the fonts depending on the font size or what its for so you have to figure out which is yours.

change a few letters to red or pink or something till you find which file it is, then all you do is go through that entire file with photo shop or other editor and change all the charactors to a color you find works best.
  Reply With Quote
Old 05-10-09, 07:36 PM   #3
XonE:32
Bosun
 
Join Date: Feb 2003
Location: Shadowing you until dark
Posts: 62
Downloads: 54
Uploads: 0
Default

Quote:
Originally Posted by WEBSTER View Post
its best not to mess with the menu_1024 if you dont have to

you can change any game font if you open data/ menu/ fonts

then experiment to find which file is used for the rec manual print theres a bunch of files and certain files are used for some of the fonts depending on the font size or what its for so you have to figure out which is yours.

change a few letters to red or pink or something till you find which file it is, then all you do is go through that entire file with photo shop or other editor and change all the charactors to a color you find works best.
I was thinking that route too Webster, but there's a crapload o' stuff in the game that uses Font 19 (the Rec Manual font). I thought; well I could copy & change Font 19 then rename it to a new font and reference the new font number in the 1024_768.ini Rec Manual lines, but I don't understand the "color" lines in the .ini file.

For Instance:
Even if I change the font color with Photoshop isn't the .ini still gonna tell it to show up as black? I'm not familiar with Hex colors so I don't know what "0xFE" is, but I assumed it was black. Or am I way off here?

BTW, Thanks for the response. All the other stuff I read about this bloody .ini is for movin' stuff around the screen.
__________________
Dogs can now be trained to detect Covid in their owners. Cats can too
...they just won't.
XonE:32 is offline   Reply With Quote
Old 05-12-09, 11:39 PM   #4
XonE:32
Bosun
 
Join Date: Feb 2003
Location: Shadowing you until dark
Posts: 62
Downloads: 54
Uploads: 0
Default

I was able to mitigate the unreadability of the black text slightly (i.e. I can see it a bit better) by changing the font lines above to 13. It's a bit bigger.
and I only changed it for the values as opposed to using it for both the names AND the values.

But I'm a little surprised no one in the mod workshop knows how to change the text color from black to something more readable for the Recognition Manual in the Menu_1024_768.ini file? Who woulda thunk I'd stumble on to such a crazy mystery.
__________________
Dogs can now be trained to detect Covid in their owners. Cats can too
...they just won't.
XonE:32 is offline   Reply With Quote
Old 05-13-09, 03:19 AM   #5
danlisa
Navy Seal
 
danlisa's Avatar
 
Join Date: Oct 2005
Location: Cornwall, UK
Posts: 5,499
Downloads: 45
Uploads: 1
Default

White = 0xFFFFFFFF
Tan = 0xEBCF99FF
Black = 0xFF
Orange1 = 0xD26400FE
Orange2 = 0xDD5800FF
Orange3 = 0xE26522FF
Light Brown = 0x9F8671FF
Brown = 0x593A20FF
Grey = 0x8B8989FF
Black = 0x111111FF
Green = 0x329632FE
Light Grey = 0xB0B0B0FF
Light Tan = 0xCDB59EFF
Light Green = 0x00FF99FF

__________________
danlisa is offline   Reply With Quote
Old 05-14-09, 06:02 PM   #6
XonE:32
Bosun
 
Join Date: Feb 2003
Location: Shadowing you until dark
Posts: 62
Downloads: 54
Uploads: 0
Default

Quote:
Originally Posted by danlisa View Post
White = 0xFFFFFFFF
Tan = 0xEBCF99FF
Black = 0xFF
Orange1 = 0xD26400FE
Orange2 = 0xDD5800FF
Orange3 = 0xE26522FF
Light Brown = 0x9F8671FF
Brown = 0x593A20FF
Grey = 0x8B8989FF
Black = 0x111111FF
Green = 0x329632FE
Light Grey = 0xB0B0B0FF
Light Tan = 0xCDB59EFF
Light Green = 0x00FF99FF

Praise... Jupiter? no wait, praise danlisa,

I've tried several hexadecimal variations (not the ones above, but others I've seen in the .ini file) to no effect. I assumed the ones I tried previously were other colors as I found them on the color lines for other items in the .ini.

But, as they had no effect... who knows what they were. Many many thank-you's for this list above!

I spent frickin' hours online trying to find a list like this or a converter to no avail. I thought I'd find like a color-to-hex or hex-to-color converter relatively easily, but I guess my search skills blow.

Now to test: I will plug in an orange and hope to... Neptune?
That it changes the text form the default black. if it doesn't then I have to assume I need to change something else somewhere else in the .ini.

But at least I now have known hex values for certain colors.

Again, many thank-you's.

XonE:32

EDIT:

BLAST!: no success. Just changing the color lines has no effect. At least I got some Hex color data so thanks again danlisa.

I will now attempt Webster's suggestion of changing Font 19 (i.e. Agency_16) and hope it doesn't mess up other stuff in the process. It's used about 48 times and I only need to change about 6 values lol.

BLAST!: no success. I didn't think changing the .tga would work as I think the color is controlled from the .ini. I must be editing the wrong lines.
__________________
Dogs can now be trained to detect Covid in their owners. Cats can too
...they just won't.

Last edited by XonE:32; 05-14-09 at 11:06 PM.
XonE:32 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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