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 07-13-07, 10:45 AM   #1
mercury_marauder
Seaman
 
Join Date: Jul 2007
Location: Massachusetts
Posts: 33
Downloads: 0
Uploads: 0
Default Mini Chrono not mini anymore

Does anyone know how to make the chrono small again because the mod for it dosn't work with 1.3 without error warnings of things missing?
mercury_marauder is offline   Reply With Quote
Old 07-13-07, 11:10 AM   #2
CaptainCox
Sea Lord
 
Join Date: Feb 2007
Location: A Swede in Frankfurt am Main
Posts: 1,897
Downloads: 4
Uploads: 0
Default

Here is the code you need to render the clock 75% smaller. Plug this in to the
Quote:
menu_1024_768.ini
Found here
Quote:
C:\Program Files\Ubisoft\Silent Hunter 4 Wolves of the Pacific\Data\Menu
Open with Notepad and find

Quote:
[G29 I2]- [G29 I18]

DONT FORGET TO BACK UP THE ORIGINAL "menu_1024_768.ini" before you do this!!!

Quote:
[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.23 0 0x29020000 -1 0 -300 0
Color=0xFFFFFFFF
[G29 I3]
Name=Center
Type=1030;Static bmp
ItemID=0x29020006
ParentID=0x29020000
Pos=154,-172,4,4
Zone= 566 596 3 3 0 1 0x2902000C 0.5 -0.5 0x29020006 -0.5 0.5 0 0
Materials=1
Display=0;No stretch
Mat 0=data/menu/gui/Chrono.tga
Crop 0=0.0625,0.960938,1,0.984375
MatFlags=0x29
TexFmt=0x0
[G29 I4]
Name=Chronometer Second
Type=1031;Stat bmp array
ItemID=0x2902000E
ParentID=0x29020000
Pos=150,-82,12,184
Zone= 562 686 9 138 0 1 0x2902000C 0.5 -0.5 0x2902000E -0.5 0.5 0 0
Color=0x80FE
Materials=1
Display=5;Linear&rotation
Mat 0=data/menu/gui/clock.tga
Crop 0=0.84375,0.03125,0.0234375,0.71875
MatFlags=0x9
TexFmt=0x0
Drag=false
BmpState=1
NeedFocus=false
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF
[G29 I5]
Name=Estimated Second
Type=1031;Stat bmp array
ItemID=0x29020010
ParentID=0x29020000
Pos=150,-82,12,184
Zone= 562 686 9 138 0 1 0x2902000C 0.5 -0.5 0x29020010 -0.5 0.5 0 0
Color=0x800000FE
Materials=1
Display=5;Linear&rotation
Mat 0=data/menu/gui/clock.tga
Crop 0=0.84375,0.03125,0.0234375,0.71875
MatFlags=0x9
TexFmt=0x0
Drag=false
BmpState=1
NeedFocus=false
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF
[G29 I6]
Name=TimeOfDay Hour
Type=1031;Stat bmp array
ItemID=0x29020008
ParentID=0x29020000
Pos=145,-87,22,174
Zone= 557 681 16.5 130.5 0 1 0x2902000C 0.5 -0.5 0x29020008 -0.5 0.5 0 0
Materials=1
Display=5;Linear&rotation
Mat 0=data/menu/gui/clock.tga
Crop 0=0.699219,0.21875,0.0429688,0.679688
MatFlags=0x9
TexFmt=0x0
Drag=false
BmpState=1
NeedFocus=false
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF
[G29 I7]
Name=TimeOfDay Minute
Type=1031;Stat bmp array
ItemID=0x29020009
ParentID=0x29020000
Pos=148,-76,16,196
Zone= 560 692 12 147 0 1 0x2902000C 0.5 -0.5 0x29020009 -0.5 0.5 0 0
Materials=1
Display=5;Linear&rotation
Mat 0=data/menu/gui/clock.tga
Crop 0=0.771484,0.1875,0.03125,0.765625
MatFlags=0x9
TexFmt=0x0
Drag=false
BmpState=1
NeedFocus=false
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF
[G29 I8]
Name=TimeOfDay Second
Type=1031;Stat bmp array
ItemID=0x29020011
ParentID=0x29020000
Pos=151,-201,8,60
Zone= 563 567 6 45 0 1 0x2902000C 0.5 -1 0x29020011 -0.5 1 -1 11
Color=0xFF
Materials=1
Display=5;Linear&rotation
Mat 0=data/menu/gui/clock.tga
Crop 0=0.972656,0.40625,0.015625,0.234375
MatFlags=0x9
TexFmt=0x0
Drag=false
BmpState=1
NeedFocus=false
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF
[G29 I9]
Name=Chronometer Minute
Type=1031;Stat bmp array
ItemID=0x2902000F
ParentID=0x29020000
Pos=152,-94,8,52
Zone= 564 674 6 39 0 1 0x2902000C 0.5 -0.09 0x2902000F -0.5 0 0 0
Color=0x80FE
Materials=1
Display=5;Linear&rotation
Mat 0=data/menu/gui/clock.tga
Crop 0=0.910156,0.410156,0.015625,0.203125
MatFlags=0x9
TexFmt=0x0
Drag=false
BmpState=1
NeedFocus=false
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF
[G29 I10]
Name=Torpedo Sec
Type=1031;Stat bmp array
ItemID=0x29020002
ParentID=0x29020000
Pos=152,-201,10,62
Zone= 564 567 7.5 46.5 0 1 0x29020007 0.5 -0.5 0x29020002 -0.5 0.5 0 -7
Color=0x0
Materials=1
Display=5;Linear&rotation
Mat 0=data/menu/gui/clock.tga
Crop 0=0.972656,0.40625,0.0195313,0.242188
MatFlags=0x9
TexFmt=0x0
Drag=false
BmpState=1
NeedFocus=false
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF
[G29 I11]
Name=Torpedo Min
Type=1031;Stat bmp array
ItemID=0x29020003
ParentID=0x29020000
Pos=153,-185,8,80
Zone= 565 583 6 60 0 1 0x29020007 0.5 -0.5 0x29020003 -0.5 0.5 0 0
Color=0xFFFFFF00
Materials=1
Display=5;Linear&rotation
Mat 0=data/menu/gui/clock.tga
Crop 0=0.888672,0.253906,0.015625,0.3125
MatFlags=0x9
TexFmt=0x0
Drag=false
BmpState=1
NeedFocus=false
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF
[G29 I12]
Name=Estim Sec
Type=1031;Stat bmp array
ItemID=0x29020004
ParentID=0x29020000
Pos=152,-195,10,60
Zone= 564 573 7.5 45 0 1 0x29020007 0.5 -0.5 0x29020004 -0.5 0.5 0 0
Color=0xFFFFFF00
Materials=1
Display=5;Linear&rotation
Mat 0=data/menu/gui/Chrono.tga
Crop 0=0.6875,0,0.3125,0.9375
MatFlags=0x29
TexFmt=0x0
Drag=false
BmpState=1
NeedFocus=false
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF
[G29 I13]
Name=Estim Min
Type=1031;Stat bmp array
ItemID=0x29020005
ParentID=0x29020000
Pos=152,-94,8,52
Zone= 564 674 6 39 0 1 0x2902000F 0.5 -0.5 0x29020005 -0.5 0.5 0 0
Color=0x800000FE
Materials=1
Display=5;Linear&rotation
Mat 0=data/menu/gui/clock.tga
Crop 0=0.910156,0.410156,0.015625,0.203125
MatFlags=0x9
TexFmt=0x0
Drag=false
BmpState=1
NeedFocus=false
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF
[G29 I14]
Name=Small Dial
Type=1031;Stat bmp array
ItemID=0x29020007
ParentID=0x29020000
Pos=117,-185,80,80
Zone= 529 583 60 60 0 1 0x2902000C 0.5 -0.965 0x29020007 -0.5 1 1 0
Materials=1
Display=2;Linear
Mat 0=data/menu/gui/clock.tga
Crop 0=0.154297,0.554688,0.15625,0.3125
MatFlags=0x9
TexFmt=0x0
Drag=false
BmpState=1
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF
[G29 I15]
Name=Close button
Type=1032;Button
ItemID=0x2902000D
ParentID=0x29020000
Pos=146,-48,20,18
Zone= 558 720 15 14 0 1 0x29020000 0.5 -0.16 0x2902000D -0.5 0 0 0
Materials=4
Display=2;Linear
Mat 0=data/menu/gui/clock.tga
Crop 0=0.521484,0.21875,0.0390625,0.0703125
Mat 1=data/menu/gui/clock.tga
Crop 1=0.521484,0.21875,0.0390625,0.0703125
Mat 2=data/menu/gui/clock.tga
Crop 2=0.640625,0.21875,0.0390625,0.0703125
Mat 3=data/menu/gui/clock.tga
Crop 3=0.638672,0.214844,0.0390625,0.0703125
MatFlags=0x9
TexFmt=0x0
Font=1
TextFlags=0x0
StatesColors=0xB0B0B0FF, 0xFF, 0xFFFFFFFF, 0xFFFFFFFF
ToolTipText=78
[G29 I16]
Name=Big Dial
Type=1031;Stat bmp array
ItemID=0x2902000C
ParentID=0x29020000
Pos=58,-76,196,196
Zone= 470 692 147 147 0 1 0x29020001 0.5 -0.505 0x2902000C -0.5 0.5 0 0
Materials=1
Display=2;Linear
Mat 0=data/menu/gui/clock.tga
Crop 0=0.0390625,0.128906,0.382813,0.765625
MatFlags=0x9
TexFmt=0x0
Drag=false
BmpState=1
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF
[G29 I17]
Name=Handle Circular Outside
Type=1031;Stat bmp array
ItemID=0x2902000B
ParentID=0x29020000
Pos=38,-66,236,234
Zone= 450 702 177 176 0 1 0x29020001 0.5 -1 0x2902000B -0.5 1 0 0
Materials=1
Display=2;Linear
Mat 0=data/menu/gui/clock.tga
Crop 0=0,0.0898438,0.460938,0.914063
MatFlags=0x9
TexFmt=0x0
Drag=false
BmpState=1
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF
[G29 I18]
Name=Big picture
Type=1031;Stat bmp array
ItemID=0x29020001
ParentID=0x29020000
Pos=38,-46,236,254
Zone= 450 722 177 191 0 1 0x29020000 0.5 -1 0x29020001 -0.5 1 0 0
Materials=1
Display=2;Linear
Mat 0=data/menu/gui/clock.tga
Crop 0=0,0.0078125,0.460938,0.992188
MatFlags=0x9
TexFmt=0x0
Drag=false
BmpState=1
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF
[G29 I19]
Name=Chronometer Checkbox
Type=1033;Check box
ItemID=0x2902000A
ParentID=0x29020000
Pos=132,-10,48,36
Zone= 544 758 36 27 0 1 0x29020001 0.5 0 0x2902000A -0.5 1 0 0
Materials=8
Display=2;Linear
Mat 0=data/menu/gui/clock.tga
Crop 0=0.494141,0.03125,0.09375,0.140625
Mat 1=data/menu/gui/clock.tga
Crop 1=0.494141,0,0.09375,0.140625
Mat 2=data/menu/gui/clock.tga
Crop 2=0.494141,0.03125,0.09375,0.140625
Mat 3=data/menu/gui/clock.tga
Crop 3=0.494141,0,0.09375,0.140625
Mat 4=data/menu/gui/clock.tga
Crop 4=0.613281,0.03125,0.09375,0.140625
Mat 5=data/menu/gui/clock.tga
Crop 5=0.613281,0,0.09375,0.140625
Mat 6=data/menu/gui/clock.tga
Crop 6=0.613281,0.03125,0.09375,0.140625
Mat 7=data/menu/gui/clock.tga
Crop 7=0.613281,0,0.09375,0.140625
MatFlags=0x9
TexFmt=0x0
Font=1
TextFlags=0x0
CheckBoxWidth=0
StatesColors=0xB0B0B0FF, 0xFF, 0xFFFFFFFF, 0xFFFFFFFF
ToolTipText=2202
__________________
CaptainCox is offline   Reply With Quote
Old 07-13-07, 11:47 AM   #3
mercury_marauder
Seaman
 
Join Date: Jul 2007
Location: Massachusetts
Posts: 33
Downloads: 0
Uploads: 0
Default holy **** man that was a lot to figure out

DDDDDDAAAAAAAMMMM you did that fast!

Thanks for the help and quick reply CC. And I am sure others will be glad for the info as well!
mercury_marauder is offline   Reply With Quote
Old 07-13-07, 12:20 PM   #4
CaptainCox
Sea Lord
 
Join Date: Feb 2007
Location: A Swede in Frankfurt am Main
Posts: 1,897
Downloads: 4
Uploads: 0
Default

Cheers. actually did it some days ago
__________________
CaptainCox is offline   Reply With Quote
Old 07-13-07, 01:16 PM   #5
the_belgian
Commander
 
Join Date: May 2007
Location: a mile behind the sign"end of civilisation"
Posts: 444
Downloads: 24
Uploads: 0
Default

The 75pct. one gives me no time untill impact,so for me;back to big ben...
the_belgian is offline   Reply With Quote
Old 07-13-07, 01:31 PM   #6
CaptainCox
Sea Lord
 
Join Date: Feb 2007
Location: A Swede in Frankfurt am Main
Posts: 1,897
Downloads: 4
Uploads: 0
Default

Hm, thats strange as I only changed the size of things.
If you want to try yourself look at this line from in the "menu_1024_768.ini"
found here
Quote:
C:\Program Files\Ubisoft\Silent Hunter 4 Wolves of the Pacific\Data\Menu
Open with "NOTEPAD"

[G29 I2] to [G29 I19]

Check out the ZONE LINE
Quote:
[G29 I2]
Name=Chrono
Type=1026;Menu group
ItemID=0x29020000
ParentID=0x29000000
Pos=412,0,312,300
Zone= 412 768 312 300 0 1 0x29000000 1 0 0x29020000 -1 0 -300 0
Color=0xFFFFFFFF
if you want to set it to lets say 60% you just do the calc
Like this
312/100X60=187.2
300/100x60=180

etc etc
If you want to set it to 70%
312/100x70=218,4
300/100x70=210

etc etc

You have to do this to the 3rd and 4th value in all the zone lines from
[G29 I2] to [G29 I19] and you can set the size to what ever you want.
__________________
CaptainCox is offline   Reply With Quote
Reply


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 12:39 AM.


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.