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 > SHIII Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 03-20-06, 11:18 PM   #1
Reece
CINC Pacific Fleet
 
Reece's Avatar
 
Join Date: Sep 2003
Location: Down Under
Posts: 34,706
Downloads: 171
Uploads: 0
Default Jonz Draggable chronometer - problem - Help!

Hi, when starting Silent Hunter I get a few errors "menu item not found" I think this is to do with the "menu_1024_768.ini" file.
I have updated the Dials.cfg & menu_1024_768.ini with the appropriate lines and made sure the line titles are numbered correctly, also placed the Chronometer.tga, Reflex.tga files in their correct places, I have only at this stage installed the Chronometer.
Could you please advise.
Many thanks,
Reece.
Reece is offline   Reply With Quote
Old 03-20-06, 11:25 PM   #2
JonZ
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default Re: Jonz Draggable chronometer - problem - Help!

Quote:
Originally Posted by Reece
Hi, when starting Silent Hunter I get a few errors "menu item not found" I think this is to do with the "menu_1024_768.ini" file.
I have updated the Dials.cfg & menu_1024_768.ini with the appropriate lines and made sure the line titles are numbered correctly, also placed the Chronometer.tga, Reflex.tga files in their correct places, I have only at this stage installed the Chronometer.
Could you please advise.
Many thanks,
Reece.

Sounds to me that an Item ID doesn't Match a ParentID either in your menu.ini file or in the Dials.cfg.

Can you post the Dials and menu parts you are trying to mod?

JonZ

Edit: I can't be helpful tonight, I had a swarmy day at work and must... sleep .....now. to...,morrow...zzzz z....m
  Reply With Quote
Old 03-20-06, 11:53 PM   #3
Reece
CINC Pacific Fleet
 
Reece's Avatar
 
Join Date: Sep 2003
Location: Down Under
Posts: 34,706
Downloads: 171
Uploads: 0
Default

The following includes the menu item before the new sections.

Dials.cfg:

[DIALS]
DialsNo=48


[Dial43]
Name=CO2 level
Type=39; DIAL_CO2
Dial=0x0
CrtVal=0x3F300004
NewVal=0x0
DialVal=-90,90
RealVal=0,1; normalized
Circular=Yes

[Dial44]
Name=Add_ChronoSec
Type=13; DIAL_CHRONO_SEC
Dial=0x0
CrtVal=0x3FF00002
NewVal=0x0
DialVal=0,360
RealVal=0,60; seconds
Circular=Yes

[Dial45]
Name=Add_ChronoMin
Type=14; DIAL_CHRONO_MIN
Dial=0x0
CrtVal=0x3FF00003
NewVal=0x0
DialVal=0,360
RealVal=0,60; minutes
Circular=Yes

[Dial46]
Name=Add_ChronoEstSec
Type=40; DIAL_TORP_ESTIM_SEC
Dial=0x0
CrtVal=0x3FF00004
NewVal=0x0
DialVal=0,360
RealVal=0,60; seconds
Circular=Yes

[Dial47]
Name=Add_ChronoEstMin
Type=41; DIAL_TORP_ESTIM_MIN
Dial=0x0
CrtVal=0x3FF00005
NewVal=0x0
DialVal=0,360
RealVal=0,60; minutes
Circular=Yes

menu_1024_768.ini:

[G3F I285]
Name=Group RClick back
Type=1026;Menu group
ItemID=0x3F160000
ParentID=0x3F000000
Pos=411,467,200,200
Color=0xFFFFFFFF

[G3F I286]
Name=Capture mouse
Type=1030;Static bmp
ItemID=0x3F000001
ParentID=0x3F000000
Pos=76,754,902,607
Color=0xFFFFFF64
Materials=1
Display=2;Linear
Mat 0=data/menu/gui/layout/bkgr.tga
MatFlags=0x1
TexFmt=0x9
[G3F Ixxx]
Name=Dial
Type=1031;Stat bmp array
ItemID=0x3FF00000
ParentID=0x3F000000
Pos=100,970,194,230
Materials=1
Display=0;No stretch
Mat 0=data/menu/gui/Chronometer.tga
Crop 0=0,0.1015625,0.2421875,0.8984375
MatFlags=0x29
TexFmt=0x9
Drag=true
BmpState=1
NeedFocus=true
SelOne=true
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G3F I287]
Name=Reflection
Type=1030;Static bmp
ItemID=0x3FF00006
ParentID=0x3FF00000
Pos=0,26,256,256
Materials=1
Display=0;No stretch
Mat 0=data/menu/gui/Reflex.tga
MatFlags=0x29
TexFmt=0x9
MatFlags=0x29
[G3F Ixxx]
Name=Center
Type=1030;Static bmp
ItemID=0x3FF00001
ParentID=0x3FF00000
Pos=99,-108,4,4
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=0x9

[G3F I288]
Name=Sec
Type=1031;Stat bmp array
ItemID=0x3FF00002
ParentID=0x3FF00000
Pos=96,-50,10,120
Materials=1
Display=5;Linear&rotation
Mat 0=data/menu/gui/Chrono.tga
Crop 0=0.3125,0,0.3125,0.9375
MatFlags=0x29
TexFmt=0x9
Drag=false
BmpState=1
NeedFocus=false
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G3F I289]
Name=Min
Type=1031;Stat bmp array
ItemID=0x3FF00003
ParentID=0x3FF00000
Pos=97,-63,8,40
Materials=1
Display=5;Linear&rotation
Mat 0=data/menu/gui/Chrono.tga
Crop 0=0,0,0.25,0.3125
MatFlags=0x29
TexFmt=0x9
Drag=false
BmpState=1
NeedFocus=false
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G3F I290]
Name=Estim Sec
Type=1031;Stat bmp array
ItemID=0x3FF00004
ParentID=0x3FF00000
Pos=96,-50,10,120
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=0x9
Drag=false
BmpState=1
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G3F I291]
Name=Estim Min
Type=1031;Stat bmp array
ItemID=0x3FF00005
ParentID=0x3FF00000
Pos=97,-63,8,40
Materials=1
Display=5;Linear&rotation
Mat 0=data/menu/gui/Chrono.tga
Crop 0=0,0.492188,0.25,0.3125
MatFlags=0x29
TexFmt=0x9
Drag=false
BmpState=1
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

Could be a clash with other entries (Mods) prior to the Chronometer.

Reece.
Reece is offline   Reply With Quote
Old 03-20-06, 11:57 PM   #4
Samwolf
Seasoned Skipper
 
Join Date: Jan 2006
Location: South Carolina, CSA
Posts: 684
Downloads: 37
Uploads: 0
Default Re: Jonz Draggable chronometer - problem - Help!

Quote:
Originally Posted by Reece
Hi, when starting Silent Hunter I get a few errors "menu item not found" I think this is to do with the "menu_1024_768.ini" file.
I have updated the Dials.cfg & menu_1024_768.ini with the appropriate lines and made sure the line titles are numbered correctly, also placed the Chronometer.tga, Reflex.tga files in their correct places, I have only at this stage installed the Chronometer.
Could you please advise.
Many thanks,
Reece.
One problem that was encountered when editing files is a space at the end of lines. Check your entries to make sure there are no spaces at the end of any line.
__________________


GWX 3, JSGME 2.3, Sh3 Commander 3.2 SH3 Gen 8.1, Water Stream for U-boats, LRT LITE 2.0, Lifeboats for SH3

Samwolf is offline   Reply With Quote
Old 03-21-06, 12:01 AM   #5
JonZ
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by Reece
The following includes the menu item before the new sections.

Dials.cfg:

[DIALS]
DialsNo=48


[Dial43]
Name=CO2 level
Type=39; DIAL_CO2
Dial=0x0
CrtVal=0x3F300004
NewVal=0x0
DialVal=-90,90
RealVal=0,1; normalized
Circular=Yes

[Dial44]
Name=Add_ChronoSec
Type=13; DIAL_CHRONO_SEC
Dial=0x0
CrtVal=0x3FF00002
NewVal=0x0
DialVal=0,360
RealVal=0,60; seconds
Circular=Yes

[Dial45]
Name=Add_ChronoMin
Type=14; DIAL_CHRONO_MIN
Dial=0x0
CrtVal=0x3FF00003
NewVal=0x0
DialVal=0,360
RealVal=0,60; minutes
Circular=Yes

[Dial46]
Name=Add_ChronoEstSec
Type=40; DIAL_TORP_ESTIM_SEC
Dial=0x0
CrtVal=0x3FF00004
NewVal=0x0
DialVal=0,360
RealVal=0,60; seconds
Circular=Yes

[Dial47]
Name=Add_ChronoEstMin
Type=41; DIAL_TORP_ESTIM_MIN
Dial=0x0
CrtVal=0x3FF00005
NewVal=0x0
DialVal=0,360
RealVal=0,60; minutes
Circular=Yes

menu_1024_768.ini:

[G3F I285]
Name=Group RClick back
Type=1026;Menu group
ItemID=0x3F160000
ParentID=0x3F000000
Pos=411,467,200,200
Color=0xFFFFFFFF

[G3F I286]
Name=Capture mouse
Type=1030;Static bmp
ItemID=0x3F000001
ParentID=0x3F000000
Pos=76,754,902,607
Color=0xFFFFFF64
Materials=1
Display=2;Linear
Mat 0=data/menu/gui/layout/bkgr.tga
MatFlags=0x1
TexFmt=0x9
[G3F Ixxx]
Name=Dial
Type=1031;Stat bmp array
ItemID=0x3FF00000
ParentID=0x3F000000
Pos=100,970,194,230
Materials=1
Display=0;No stretch
Mat 0=data/menu/gui/Chronometer.tga
Crop 0=0,0.1015625,0.2421875,0.8984375
MatFlags=0x29
TexFmt=0x9
Drag=true
BmpState=1
NeedFocus=true
SelOne=true
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G3F I287]
Name=Reflection
Type=1030;Static bmp
ItemID=0x3FF00006
ParentID=0x3FF00000
Pos=0,26,256,256
Materials=1
Display=0;No stretch
Mat 0=data/menu/gui/Reflex.tga
MatFlags=0x29
TexFmt=0x9
MatFlags=0x29
[G3F Ixxx]
Name=Center
Type=1030;Static bmp
ItemID=0x3FF00001
ParentID=0x3FF00000

Pos=99,-108,4,4
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=0x9

[G3F I288]
Name=Sec
Type=1031;Stat bmp array
ItemID=0x3FF00002
ParentID=0x3FF00000
Pos=96,-50,10,120
Materials=1
Display=5;Linear&rotation
Mat 0=data/menu/gui/Chrono.tga
Crop 0=0.3125,0,0.3125,0.9375
MatFlags=0x29
TexFmt=0x9
Drag=false
BmpState=1
NeedFocus=false
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G3F I289]
Name=Min
Type=1031;Stat bmp array
ItemID=0x3FF00003
ParentID=0x3FF00000
Pos=97,-63,8,40
Materials=1
Display=5;Linear&rotation
Mat 0=data/menu/gui/Chrono.tga
Crop 0=0,0,0.25,0.3125
MatFlags=0x29
TexFmt=0x9
Drag=false
BmpState=1
NeedFocus=false
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G3F I290]
Name=Estim Sec
Type=1031;Stat bmp array
ItemID=0x3FF00004
ParentID=0x3FF00000
Pos=96,-50,10,120
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=0x9
Drag=false
BmpState=1
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G3F I291]
Name=Estim Min
Type=1031;Stat bmp array
ItemID=0x3FF00005
ParentID=0x3FF00000
Pos=97,-63,8,40
Materials=1
Display=5;Linear&rotation
Mat 0=data/menu/gui/Chrono.tga
Crop 0=0,0.492188,0.25,0.3125
MatFlags=0x29
TexFmt=0x9
Drag=false
BmpState=1
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

Could be a clash with other entries (Mods) prior to the Chronometer.

Reece.
hey I'm not in bed yet :P

I highlighted the bad part in orange.. your sequence is erronous there, probably badly pasted and you did not see the spacer. Put an enter before the [G3F, and continue the sequence without skipping it ( i288].... i289]...forth).
  Reply With Quote
Old 03-21-06, 12:54 AM   #6
Reece
CINC Pacific Fleet
 
Reece's Avatar
 
Join Date: Sep 2003
Location: Down Under
Posts: 34,706
Downloads: 171
Uploads: 0
Default

My glasses, I need my glasses!
Sheesh! how did I miss that!
Thanks Jonz!
Also thanks Samwolf, will watch that, although I didn't think that would make a difference.
Cheers.

Just found another error above:

[G3F I286]
Name=Capture mouse
Type=1030;Static bmp
ItemID=0x3F000001
ParentID=0x3F000000
Pos=76,754,902,607
Color=0xFFFFFF64
Materials=1
Display=2;Linear
Mat 0=data/menu/gui/layout/bkgr.tga
MatFlags=0x1
TexFmt=0x9
[G3F Ixxx]

I obviously missed these 2 entries as they have no line spacing like the others at the start of the menu item!
have edited & when I return to port will reinstall this mod!
Thanks again.
Reece 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 11:33 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.