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 |

FABC Slider integration in HT 147 help (Rubini,TimeTraveler)

 
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
JonZ



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

PostPosted: Thu Feb 16, 2006 10:50 pm    Post subject: FABC Slider integration in HT 147 help (Rubini,TimeTraveler) Reply with quote

Ok, I have this problem with trying to incorporate the FABC Slider in IuB and HT147 mod (slider released originaly released by TimeTraveler or Vierkant II I think...)

I Use the menu_1024_768.ini file that was located in the Chomu's_HT147_RUB folder provided with the HT147 pack, the chrono only on NAVI version. The problem is even if I try to insert the G3F ixxx code in the menu_1024x768.ini, the slider wont work/appear at all. ([G3f i330]-[G3f i335]).

[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


;;;;;;;;;;;;;;;;;;;;;;Levels gauges slideout;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[G3F I330]
Name=FBAC levels slideout
Type=1026;Menu group
ItemID=0x3F420000
ParentID=0x3F000000
Pos=1,280,512,140
;Pos=1,280,512,180
Color=0xFFFFFFFF
HorizSlide=-513

[G3F I331]
Name=CO2 Level
Type=1031;Stat bmp array
ItemID=0x3F420001
ParentID=0x3F420000
Pos=330,-18,16,105
Color=0xFE
Materials=1
Display=5;Linear&rotation
Mat 0=data/menu/gui/layout/indicators.tga
Crop 0=0,0,0.5,0.472656
MatFlags=0x29
TexFmt=0x9
Drag=false
BmpState=1
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G3F I332]
Name=Compr.air level
Type=1031;Stat bmp array
ItemID=0x3F420002
ParentID=0x3F420000
Pos=194,-18,16,105
Color=0xFE
Materials=1
Display=5;Linear&rotation
Mat 0=data/menu/gui/layout/indicators.tga
Crop 0=0,0,0.5,0.472656
MatFlags=0x29
TexFmt=0x9
Drag=false
BmpState=1
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G3F I333]
Name=Battery level
Type=1031;Stat bmp array
ItemID=0x3F420003
ParentID=0x3F420000
Pos=59,-18,16,105
Color=0xFE
Materials=1
Display=5;Linear&rotation
Mat 0=data/menu/gui/layout/indicators.tga
Crop 0=0,0,0.5,0.472656
MatFlags=0x29
TexFmt=0x9
Drag=false
BmpState=1
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G3F I334]
Name=Fuel level
Type=1031;Stat bmp array
ItemID=0x3F420004
ParentID=0x3F420000
Pos=439,-5,9,11
;Pos=439,-5,9,20
Color=0x643200C8
Materials=1
Display=0;No stretch
Mat 0=data/menu/gui/layout/indicators.tga
Crop 0=0.09375,0.269531,0.8125,-0.34375
MatFlags=0x29
TexFmt=0x9
Drag=false
BmpState=1
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G3F I335]
Name=Bkgr
Type=1031;Stat bmp array
ItemID=0x3F420005
ParentID=0x3F420000
Pos=0,0,512,140

;Pos=0,30,512,180
Materials=1
Display=0;No stretch
Mat 0=data/menu/gui/layout/dials1b.tga
MatFlags=0x1
TexFmt=0x9
Drag=false
BmpState=1
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[G3F I287]
Name=&Rudder right
Type=1032;Button
ItemID=0x3F450013
ParentID=0x3F450000
Pos=38,-525,30,30
Materials=4
Display=2;No stretch
Mat 0=data/menu/gui/layout/orders1.tga
Crop 0=0.46875,0,-0.234375,0.117188
Mat 1=data/menu/gui/layout/orders1.tga
Crop 1=0.46875,0,-0.234375,0.117188
Mat 2=data/menu/gui/layout/orders1.tga
Crop 2=0.46875,0,-0.234375,0.117188
Mat 3=data/menu/gui/layout/orders1.tga
Crop 3=0.46875,0,-0.234375,0.117188
MatFlags=0x1
TexFmt=0x9
Font=1
TextFlags=0x0
StatesColors=0xB0B0B0FF, 0xFF, 0xFFFFFFFF, 0xFFFFFFFF
ToolTipText=2834



The sliding chronometer will appear and nudge if my cursor go near it, but not the FABC slider. It refuse to show to any screens.

I also tried to insert more dials in the dials.cfg, but I get popup error message like Can't find menu ID 0x3f420001 ... 2... 3... 4



I'm out of ideas to make it work Surprised

Rubini, Timetraveler, Teddy... you are all welcome to answer Very Happy

thanks Argh
Back to top
View user's profile Send private message
HEMISENT



Joined: 01 Feb 2003
Posts: 766
Location: Northern Illinois

PostPosted: Fri Feb 17, 2006 7:24 am    Post subject: Reply with quote

I loved the FABC slideout mod but after numerous mods and changes
I too had problems with it. The slideout feature worked fine but the guages were all inoperative-totally inert. Finally gave up.
Back to top
View user's profile Send private message
JonZ



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

PostPosted: Fri Feb 17, 2006 10:19 am    Post subject: Reply with quote

HEMISENT wrote:
I loved the FABC slideout mod but after numerous mods and changes
I too had problems with it. The slideout feature worked fine but the guages were all inoperative-totally inert. Finally gave up.


hmm after searching for an hour I couldn't find posts with similar scenarios.

Maybe it impossible to have more than ONE additionnal slideout?
Back to top
View user's profile Send private message
timetraveller



Joined: 23 Dec 2004
Posts: 967
Location: Atlantic Shipping Lanes

PostPosted: Fri Feb 17, 2006 11:43 am    Post subject: Reply with quote

Guys,

My only suggestions would be to make sure the [G3F I330]-[G3F I335] items for FABC are unique and in sequence with other menu_1024x768.ini mods. If you have to, put them down at the end of G3F and renumber them. Don't leave any number gaps in G3F and make sure the FABC G3F numbers don't change order place if you renumber them.

Remember too, that Dials.cfg has 4 new dials for FABC, and reference the item numbers of the FABC items in menu_1024x768.ini.

Last, make sure that the item ID numbers (like ItemID=0x3F420000, etc.) used in the FABC G3F section are not accidentally also used by other mods. These item ID numbers are also cross referenced in the Dials.cfg file. Dials.cfg has 4 new dials for FABC, and reference the item numbers of the FABC items in menu_1024x768.ini.

Hope this helps.

TT
Back to top
View user's profile Send private message Send e-mail Visit poster's website
JonZ



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

PostPosted: Fri Feb 17, 2006 11:52 am    Post subject: Reply with quote

timetraveller wrote:
Guys,

My only suggestions would be to make sure the [G3F I330]-[G3F I335] items for FABC are unique and in sequence with other menu_1024x768.ini mods. If you have to, put them down at the end of G3F and renumber them. Don't leave any number gaps in G3F and make sure the FABC G3F numbers don't change order place if you renumber them.

Remember too, that Dials.cfg has 4 new dials for FABC, and reference the item numbers of the FABC items in menu_1024x768.ini.

Last, make sure that the item ID numbers (like ItemID=0x3F420000, etc.) used in the FABC G3F section are not accidentally also used by other mods. These item ID numbers are also cross referenced in the Dials.cfg file. Dials.cfg has 4 new dials for FABC, and reference the item numbers of the FABC items in menu_1024x768.ini.

Hope this helps.

TT


Thanks for your reply TT Smile

I will make those verifications you are requesting me to do when I'll get home (at work ftm).

I can certify however that the G3F i330- i335 are unique and made searches (Ctrl-f) to make sure it wasn't elsewhere. I've made that sequence to the last i329. I moved the [G3F I330]-[G3F I335] items inbetween i286-i287 to make sure if the issue was related to the orders those calls are made.

I am also sure that the ID used in the menu_1024.ini, 0x3F420000 (to ...20005), is not used anywhere else in the file and in the dials.cfg file (except for the new dials definitions).
Back to top
View user's profile Send private message
timetraveller



Joined: 23 Dec 2004
Posts: 967
Location: Atlantic Shipping Lanes

PostPosted: Fri Feb 17, 2006 12:40 pm    Post subject: Reply with quote

JonZ wrote:
timetraveller wrote:
Guys,

My only suggestions would be to make sure the [G3F I330]-[G3F I335] items for FABC are unique and in sequence with other menu_1024x768.ini mods. If you have to, put them down at the end of G3F and renumber them. Don't leave any number gaps in G3F and make sure the FABC G3F numbers don't change order place if you renumber them.

Remember too, that Dials.cfg has 4 new dials for FABC, and reference the item numbers of the FABC items in menu_1024x768.ini.

Last, make sure that the item ID numbers (like ItemID=0x3F420000, etc.) used in the FABC G3F section are not accidentally also used by other mods. These item ID numbers are also cross referenced in the Dials.cfg file. Dials.cfg has 4 new dials for FABC, and reference the item numbers of the FABC items in menu_1024x768.ini.

Hope this helps.

TT


Thanks for your reply TT Smile

I will make those verifications you are requesting me to do when I'll get home (at work ftm).

I can certify however that the G3F i330- i335 are unique and made searches (Ctrl-f) to make sure it wasn't elsewhere. I've made that sequence to the last i329. I moved the [G3F I330]-[G3F I335] items inbetween i286-i287 to make sure if the issue was related to the orders those calls are made.

I am also sure that the ID used in the menu_1024.ini, 0x3F420000 (to ...20005), is not used anywhere else in the file and in the dials.cfg file (except for the new dials definitions).


Sounds good Jonz. Yes, if you've moved [G3F I330]-[G3F I335] items inbetween i286-i287 make sure they are renumbered start at 287, and also ALL G3Fs below that point if there are any.

Good luck.

TT
Back to top
View user's profile Send private message Send e-mail Visit poster's website
JonZ



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

PostPosted: Fri Feb 17, 2006 2:01 pm    Post subject: Reply with quote

So you think the order of sequence have an impact?

Let me be clear first.


When I tried to implement your FBAC code in the menu_1024_768.ini, I copy pasted your codes after the end of the G3F sequence (sequence ended with [G3F i329] in the HT147 chrono only on NAVI file version).

Ran SH3 but the slider never showed (and got not found ID popup error even if the item ID was identical to the new dials in the dials.cfg file. I've compared the files).

After several comparisons of many files using the slider, I only moved up the new G3F sequence after i287 to give it a try (after the mouse definition), but still not working.

If the order of the code has an impact even if the G3F tags are uniques, then the only thing I didn't do was to renumber the G3F tags AFTER the insertion of your code.

I hope it that what you mean, if you do, I'm perhaps on something Smile

Thanks!
Back to top
View user's profile Send private message
JonZ



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

PostPosted: Fri Feb 17, 2006 7:50 pm    Post subject: Reply with quote

HOLY CRIKEY!

IT WORKED!!!

oh god thanks alot TT! ya rawk! Rock Rock Rock



I'm still wondering despite of my unique numbers why placed after i329 it wouldn't work but placed at i287 it would :dead:
Back to top
View user's profile Send private message
timetraveller



Joined: 23 Dec 2004
Posts: 967
Location: Atlantic Shipping Lanes

PostPosted: Sat Feb 18, 2006 9:21 am    Post subject: Reply with quote

Great! Yes, the sequence is everything, with no gaps. Great job Jonz.

Thumbs Up

TT
Back to top
View user's profile Send private message Send e-mail Visit poster's website
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