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 03-03-08, 01:46 PM   #1
ustahl
Watch Officer
 
Join Date: Apr 2005
Location: Oulu, Finland
Posts: 339
Downloads: 156
Uploads: 0
Default

Thanks for making this "clear". You surely made me realize the complexity of the matter. Those icons I want relocated are indeed small parts of "data/menu/Skins/American/gui/layout/hud.tga" and no independent graphic files in their own right. No wonder I didn't find any single graphic files for each appliccable info icon.

I also started trying to find relevant differences/clues by comparing menu_1024_768.ini versions 1.4 and 1.5 in Winmerge, but that proved a hopeless chore for my humble abilities. It's simply too overwhelming.

I throw in the towel - for the time being I'll play moving those info icons each time manually, and hope that somebody more skillful than myself will come up with a solution, eventually. That is, if it's worth the effort.:hmm:
__________________
Cheers
Uffe
ustahl is offline   Reply With Quote
Old 03-03-08, 03:01 PM   #2
jimbob
Ensign
 
Join Date: May 2005
Location: Suomi Finland
Posts: 225
Downloads: 365
Uploads: 6
Default

My hunch was right.

Here it is:

Code:
[G3F I115]
Name=Group warnings
Type=1026;Menu group
ItemID=0x3F0C0000
ParentID=0x3F000000
Pos=873,-15,100,32
;Zone= 873 753 100 32 0 1 0x3F000000 0.95 -0.04 0x3F0C0000 -1 0.5 0 0
; location is them 2 last values, vertical , horizontal
Zone= 873 753 100 32 0 1 0x3F000000 0.95 -0.04 0x3F0C0000 -1 0.5 -110 -800
Color=0xFFFFFFFF
Red drops it down.
Olive moves sideways.

Pics or it didn't happen?

Those popup texts go somewhat right:


..dials get larger:


...but it's not that bad modification:


I haven't seen it yet what happens if theres lotsa buttons poppin up.
So, this is probably not the final placement for me.

Also, I got 1280x1024 resolution so you need to adjust the values
where you want the box to be since I cannot test them.

Have fun.

jimbob is offline   Reply With Quote
Old 03-14-08, 07:40 AM   #3
longam
Admiral
 
Join Date: Jun 2005
Posts: 2,014
Downloads: 26
Uploads: 0
Default

Quote:
Originally Posted by jimbob
My hunch was right.

Here it is:

Code:
[G3F I115]
Name=Group warnings
Type=1026;Menu group
ItemID=0x3F0C0000
ParentID=0x3F000000
Pos=873,-15,100,32
;Zone= 873 753 100 32 0 1 0x3F000000 0.95 -0.04 0x3F0C0000 -1 0.5 0 0
; location is them 2 last values, vertical , horizontal
Zone= 873 753 100 32 0 1 0x3F000000 0.95 -0.04 0x3F0C0000 -1 0.5 -110 -800
Color=0xFFFFFFFF
Red drops it down.
Olive moves sideways.

:
Those are the offset numbers, a good tut here explaining the zone line
longam is offline   Reply With Quote
Old 03-14-08, 08:42 AM   #4
ustahl
Watch Officer
 
Join Date: Apr 2005
Location: Oulu, Finland
Posts: 339
Downloads: 156
Uploads: 0
Default

Yeah, zAmboni, the mother or rather great granpa of all menu.ini doctors!

As for jimbob's question: those are beyond me and call for a higher degree in menu.ini surgery skills.
__________________
Cheers
Uffe
ustahl is offline   Reply With Quote
Old 03-03-08, 03:47 PM   #5
ustahl
Watch Officer
 
Join Date: Apr 2005
Location: Oulu, Finland
Posts: 339
Downloads: 156
Uploads: 0
Default Some menu_1024_768.ini visual fixes for 22" widescreen

Thought I'd share some fixes for 1680x1050 widescreen resolution I'm using with v1.5(Addon), as this resolution seems quite common with 22" LCDs nowadays. I use them mainly in order to have various screen items obscure as little of the screen as possible, making them show up closer to the corners/edges. I think these fixes make the screen "cleaner" and look better.

Additionally, I like to have the Target Position Keeper available from start on, hence that fix.

For other resolutions the positional values of course vary, but maybe these fixes are of interest to some 22" LCD people.

Edit relevant sections in data\menu\menu_1024_768.ini:

1. Message Box position (similar to Jimbob's posting #1 above)
2. Message Box Transparency (message box made transparent)
3. Position Keeper pulled out from start (position keeper not hidden from start)
4. Chronometer position (upper right screen corner)
5. Event Camera position (lower left corner above toolbar)

1. Message Box position:
[G3F I248]
Name=Group messages 2
Type=1026;Menu group
ItemID=0x3F2A0000
ParentID=0x3F000000
Pos=256,-4,350,94
Zone= 256 764 350 94 0 1 0x3F000000 0.25 0 0x3F2A0000 0 0 100 -900
;Zone= 256 764 350 94 0 1 0x3F000000 0.25 0 0x3F2A0000 0 0 0 -4
Color=0xFFFFFFFF

2. Message Box Transparency:
[G3F I249]
Name=Bkgr capture
Type=1031;Stat bmp array
ItemID=0x3F2A00FF
ParentID=0x3F2A0000
Pos=0,0,350,94
Zone= 256 764 350 94 0 1 0x3F2A0000 0.5 -1 0x3F2A00FF -0.5 1 0 0
Color=0xFFFFFF00
;Color=0xFFFFFF80
Materials=1
Display=2;Linear
Mat 0=data/menu/data/black.tga
Crop 0=0,0,0.5,0.5
MatFlags=0x1
TexFmt=0x0
Drag=false
BmpState=1
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

3. Position Keeper pulled out from start:
[G42 I1]
Name=Page PositionKeeper
Type=1027;Menu page
ItemID=0x42000000
ParentID=0x0
Pos=0,0,1024,768
Zone= 0 768 1024 768 2 1 0x0 0.5 -0.5 0x42000000 -0.5 0.5 255 0
;Zone= 0 768 1024 768 2 1 0x0 0.5 -0.5 0x42000000 -0.5 0.5 0 0
LoadingMode=1

4. Chronometer position:
[G29 I2]
Name=Chrono
Type=1026;Menu group
ItemID=0x29020000
ParentID=0x29000000
Pos=412,0,312,300
Zone= 412 768 234 225 0 1 0x29000000 1.195 0 0x29020000 -1 0 -300 0
;Zone= 412 768 234 225 0 1 0x29000000 1.23 0 0x29020000 -1 0 -300 0
Color=0xFFFFFFFF

5. Event Camera position:
[G23 I1]
Name=Page event camera
Type=1027;Menu page
ItemID=0x23000000
ParentID=0x0
Pos=0,0,1024,768
Zone= 0 768 1024 768 0 0 0x0 0 0 0x23000000 0 0 0 0
;Zone= 0 768 1024 768 0 1 0x0 0 0 0x23000000 0 0 0 0
LoadingMode=2


Credit goes to Panthercules for helping me out last year in v1.4.

I have forgotten how make & post screenshots, so I'm limited to discribe the fixes in writing. I know a screenshot would be more descriptive....
__________________
Cheers
Uffe
ustahl is offline   Reply With Quote
Old 03-03-08, 03:59 PM   #6
ustahl
Watch Officer
 
Join Date: Apr 2005
Location: Oulu, Finland
Posts: 339
Downloads: 156
Uploads: 0
Default

Jimbob, you seem to be a genious!
I thought I'd stop messing with the files etc. and play the game for a change, and then you come along with a solution I thought impossible, and naturally a have to give it a try for my 1680x1050 resolution.
Thanks for "spoiling" my intended gaming session.
__________________
Cheers
Uffe
ustahl is offline   Reply With Quote
Old 03-03-08, 04:03 PM   #7
jimbob
Ensign
 
Join Date: May 2005
Location: Suomi Finland
Posts: 225
Downloads: 365
Uploads: 6
Thanks.

I'll be off to find my values for with the chrono, eventcamerabox and positionkeeper.

jimbob is offline   Reply With Quote
Old 03-03-08, 05:05 PM   #8
ustahl
Watch Officer
 
Join Date: Apr 2005
Location: Oulu, Finland
Posts: 339
Downloads: 156
Uploads: 0
Heureka! Matter solved!
The correct values in menu_1024_768.ini to make the little info icons (Group warnings) appear snug left of the Speed Telegraph and above the Fuel, Battery, Compressed Air, CO2 Indicator on a 1680x1050 resolution screen are as follows:

[G3F I115]
Name=Group warnings
Type=1026;Menu group
ItemID=0x3F0C0000
ParentID=0x3F000000
Pos=873,-15,100,32
Zone= 873 753 100 32 0 1 0x3F000000 0.95 -0.04 0x3F0C0000 -1 0.5 -300 -915
;Zone= 873 753 100 32 0 1 0x3F000000 0.95 -0.04 0x3F0C0000 -1 0.5 0 0
Color=0xFFFFFFFF

Thanks a ton Jimbob for finding the basic solution! I merely made the resolution adjustement for the 22" widescreen. Now I have exactly what I was looking for.
__________________
Cheers
Uffe
ustahl is offline   Reply With Quote
Old 03-03-08, 06:29 PM   #9
ustahl
Watch Officer
 
Join Date: Apr 2005
Location: Oulu, Finland
Posts: 339
Downloads: 156
Uploads: 0
Default Trying to post a screenshot

Here's a screenshot of my modifications to menu_1024_768.ini as described further above for 1680x1050 resolution:




__________________
Cheers
Uffe

Last edited by ustahl; 03-03-08 at 06:42 PM.
ustahl is offline   Reply With Quote
Old 03-03-08, 07:16 PM   #10
jimbob
Ensign
 
Join Date: May 2005
Location: Suomi Finland
Posts: 225
Downloads: 365
Uploads: 6
Niice lookin.


Im testing some stuff, porting them to 1.5.
and working on those JTxE-ini files to use with jimimadrid's JTxE.exe,
get it from here.

Amazing tool.

ottos did a nice pack of ini files before Xmas for it.

Just collecting some info, making the files to uses with that tool and maybe later
releasing cuz i think some folks would like to use them too.

It's very hard to find for whom the €redits should go, thought,
them really original topics about menu.ini editing.

jimbob is offline   Reply With Quote
Old 03-14-08, 12:34 AM   #11
LukeFF
Silent Hunter
 
Join Date: Apr 2005
Location: Riverside, California
Posts: 3,610
Downloads: 41
Uploads: 5
Default

Nice hints, thank you!

Now, does anyone know in 1.5 what lines control the placement of the clipboard?
__________________


ROW Sound Effects Contributor
RFB Team Leader
LukeFF 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:56 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.