Forum Index
SUBSIM Forum Search

The Web's #1 BBS for all submarine and naval simulations!
[ SUBSIM Review ] [ SUBSIM STORE ]
Current Forum | Archives 2002-2003 |

Jonz Draggable chronometer - problem - Help!

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> SH3 Mods Workshop
View previous topic :: View next topic  
Author Message
Reece



Joined: 08 Sep 2003
Posts: 467
Location: Australia

PostPosted: Mon Mar 20, 2006 11:18 pm    Post subject: Jonz Draggable chronometer - problem - Help! Reply with quote

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. Crying or Very sad
Many thanks,
Reece.
Back to top
View user's profile Send private message Send e-mail
JonZ



Joined: 06 Feb 2006
Posts: 702
Location: Montreal, Canada

PostPosted: Mon Mar 20, 2006 11:25 pm    Post subject: Re: Jonz Draggable chronometer - problem - Help! Reply with quote

Reece wrote:
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. Crying or Very sad
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
Back to top
View user's profile Send private message
Reece



Joined: 08 Sep 2003
Posts: 467
Location: Australia

PostPosted: Mon Mar 20, 2006 11:53 pm    Post subject: Reply with quote

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. :doh:

Reece.
Back to top
View user's profile Send private message Send e-mail
Samwolf



Joined: 23 Jan 2006
Posts: 89
Location: Oregon, soon to be North Carolina

PostPosted: Mon Mar 20, 2006 11:57 pm    Post subject: Re: Jonz Draggable chronometer - problem - Help! Reply with quote

Reece wrote:
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. Crying or Very sad
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.
Back to top
View user's profile Send private message
JonZ



Joined: 06 Feb 2006
Posts: 702
Location: Montreal, Canada

PostPosted: Tue Mar 21, 2006 12:01 am    Post subject: Reply with quote

Reece wrote:
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. :doh:

Reece.


hey I'm not in bed yet Razz

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).
Back to top
View user's profile Send private message
Reece



Joined: 08 Sep 2003
Posts: 467
Location: Australia

PostPosted: Tue Mar 21, 2006 12:54 am    Post subject: Reply with quote

My glasses, I need my glasses! Confused
Sheesh! how did I miss that! :8Cool
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! Very Happy
Thanks again.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> SH3 Mods Workshop All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group