SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   Silent Hunter 4: Wolves of the Pacific (https://www.subsim.com/radioroom/forumdisplay.php?f=202)
-   -   Lost My Stop Watch???? (https://www.subsim.com/radioroom/showthread.php?t=223580)

cdrsubron7 12-29-15 08:14 PM

Lost My Stop Watch????
 
Well I'm happy to say that I've now got SH4 running at 2560x1080 and an aspect ratio of 21.9. But in the process of doing this I lost the stop watch when the screen size changed. I'm wondering if there is a possibility that I could change the coordinates of where the stop watch appears on the screen so it would appear in the center of game screen.

Where is the settings for the stop watch located and how I do I change the settings as to where it appears on the screen? If this is possible, of course.

ColonelSandersLite 12-29-15 09:27 PM

Yes, it's possible. The file you need to edit is menu_1024_768.ini. Make a backup first!

The values you need to edit:
Search for
Name=Page Clock

The group you're interested in should be directly below and should start with
Name=Chrono

Be careful, there is more than one group named Chrono.

The values you need to edit belong to the zone parameter.


As an example:
[G29 I1]
Name=Page Clock
Type=1027;Menu page
ItemID=0x29000000
ParentID=0x0
Pos=0,0,1024,768
Zone= 0 768 1024 768 2 1 0x0 0.5 -0.5 0x29000000 -0.5 0.5 0 0
LoadingMode=1

[G29 I2]
Name=Chrono
Type=1026;Menu group
ItemID=0x29020000
ParentID=0x29000000
Pos=412,0,312,300
;the line below is the one you want!
Zone= 412 768 234 225 0 1 0x29000000 1.23 0 0x29020000 -1 0 -300 0
Color=0xFFFFFFFF



Be warned, changing these values to get the exact placement you want is super tedious. I would suggest that you just try the zone line that I'm using first (it's not stock). If that doesn't work and you need to use custom values, or you just want to set it up so that the stopwatch location defaults to exactly where you want it, the following link will probably help you understand what's going on there.

http://www.subsim.com/radioroom/showthread.php?t=111832

cdrsubron7 12-29-15 10:01 PM

Quote:

Originally Posted by ColonelSandersLite (Post 2369635)
Yes, it's possible. The file you need to edit is menu_1024_768.ini. Make a backup first!

The values you need to edit:
Search for
Name=Page Clock

The group you're interested in should be directly below and should start with
Name=Chrono

Be careful, there is more than one group named Chrono.

The values you need to edit belong to the zone parameter.


As an example:
[G29 I1]
Name=Page Clock
Type=1027;Menu page
ItemID=0x29000000
ParentID=0x0
Pos=0,0,1024,768
Zone= 0 768 1024 768 2 1 0x0 0.5 -0.5 0x29000000 -0.5 0.5 0 0
LoadingMode=1

[G29 I2]
Name=Chrono
Type=1026;Menu group
ItemID=0x29020000
ParentID=0x29000000
Pos=412,0,312,300
;the line below is the one you want!
Zone= 412 768 234 225 0 1 0x29000000 1.23 0 0x29020000 -1 0 -300 0
Color=0xFFFFFFFF



Be warned, changing these values to get the exact placement you want is super tedious. I would suggest that you just try the zone line that I'm using first (it's not stock). If that doesn't work and you need to use custom values, or you just want to set it up so that the stopwatch location defaults to exactly where you want it, the following link will probably help you understand what's going on there.

http://www.subsim.com/radioroom/showthread.php?t=111832


Thanks for the help, you gave the clue I needed to get the stop watch back. The Zone selection you listed in your example was the same as I had in my game. I just went back into the original game and used the Zone position from v1.0, That worked just fine.

Thanks very much for your help, Colonel. :D :salute:


http://i68.tinypic.com/24zkk0l.jpg


All times are GMT -5. The time now is 04:00 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.