![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
![]() |
#1 |
Electrician's Mate
![]() Join Date: Nov 2007
Location: Landlocked inside M25, U.K.
Posts: 135
Downloads: 211
Uploads: 0
|
![]()
Hi everyone,
I've installed GWX 2.0 along with OLC GUI and all is fine, but I do miss the big sliding compass that was included in GWX 2.0. Does anyone know if it's available as a standalone download somewhere or, if failing that, is there anyway I can retrieve it from some dark hidden data folder? Many Thanks & a merry christmas to you all. Herr Trigger. |
![]() |
![]() |
![]() |
#2 |
Ocean Warrior
![]() Join Date: May 2007
Posts: 2,689
Downloads: 34
Uploads: 0
|
![]()
To do it yourself:
1. BAck up your OLCGUI mod (or make sure you still have the original download file somehwere. 2. Go to GWX2.0/data/menu/menu_1024_768 and do a search for [G3F I300] Copy the entire section from that line to the end. It should look like this: [G3F I300] Name=FLB Sale`s 6 Anzeigen, Kompass Type=1026;Menu group ItemID=0x3F0C0000 ParentID=0x3F000000 Pos=678,476,344,344 Color=0xFFFFFFFF HorizSlide=344 [G3F I301] Name=Group feedback Type=1026;Menu group ItemID=0x3F010020; 0x3F010000 ParentID=0x3F000000 Pos=678,476,344,344 Color=0xFFFFFFFF HorizSlide=344 [G3F I302] Name=Heading; FLB Sale`s 6 Anzeigen, Kompass Type=1026;Menu group ItemID=0x3F010021; 0x3F1D0000 ParentID=0x3F010020; 0x3F010000 Pos=0,0,344,344 Color=0xFFFFFFFF [G3F I303] Name=Dial Type=1031;Stat bmp array ItemID=0x3F010022; 0x3F1D0001 ParentID=0x3F010021; 0x3F1D0000 Pos=6,-6,332,332 Color=0xFFFFFF00 Materials=1 Display=0;No stretch Mat 0=data/menu/gui/layout/com_direction.tga Crop 0=0.002994011,0.002994011,0.9940119761,0.994011976 1 MatFlags=0x29 TexFmt=0x9 Drag=false BmpState=1 NeedFocus=true SelOne=false IdGroup=0 StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF [G3F I304] Name=Glas1 Type=1030;Static bmp ItemID=0x3F010023; 0x3F1D0005 ParentID=0x3F010021; 0x3F1D0000 Pos=0,0,344,344 Materials=1 Display=2;Linear Mat 0=data/menu/gui/Layout/Glas1.tga Crop 0=0,0,1,1 MatFlags=0x9 TexFmt=0x9 [G3F I305] Name=Center Type=1030;Static bmp ItemID=0x3F010024; 0x3F1D0004 ParentID=0x3F010021; 0x3F1D0000 Pos=44,-44,256,256 Materials=1 Display=2;Linear Mat 0=data/menu/gui/layout/Lage.tga Crop 0=0,0,1,1 MatFlags=0x29 TexFmt=0x9 Drag=false BmpState=1 NeedFocus=true SelOne=false IdGroup=0 StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF [G3F I306] Name=New val Type=1031;Stat bmp array ItemID=0x3F010025; 0x3F1D0003 ParentID=0x3F010021; 0x3F1D0000 Pos=162,-20,20,304 Color=0xFFFFFFFF Materials=1 Display=5;Linear&rotation Mat 0=data/menu/gui/layout/ZeigerKompass.tga Crop 0=0,0,1,1 MatFlags=0x29 TexFmt=0x9 Drag=false BmpState=1 NeedFocus=true SelOne=false IdGroup=0 StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF [G3F I307] Name=Crt val Type=1031;Stat bmp array ItemID=0x3F010026; 0x3F1D0002 ParentID=0x3F010021; 0x3F1D0000 Pos=8,-8,328,328 Materials=1 Display=5;Linear&rotation Mat 0=data/menu/gui/layout/Richtung.tga Crop 0=0.002994011,0.002994011,0.9940119761,0.994011976 1 MatFlags=0x29 TexFmt=0x9 Drag=false BmpState=1 NeedFocus=true SelOne=false IdGroup=0 StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF 3. Now go to the same file in the OLC mod folder. It should be in SH3GWX/mod/OLC_GUI/data/menu/menu_1024_768 Now scroll to the end and paste the copied section there 4. Now you need to renumber the entries. In the section that YOU HAVE JUST PASTED IN, look at the first line of each block of text. Where you see [G3F I300] renumber it [G3F I386] and the next line from [G3F I301] to [G3f I387] and so on until the end. 5. Now go back to the main GWX files and open sh3GWX2.0/data/menu/cfg/dials.cfg copy the last entry which should look like this [Dial52] Name=CompassFdbk Type=12; DIAL_GYROCOMPASS Cmd=Set_course,Crew Dial=0x3F010022 CrtVal=0x3F010026 NewVal=0x3F010025 DialVal=-180,180 RealVal=-180,180; degrees Circular=Yes Dynamic=Yes 6. Now go back to the OLCGUI mod file and open the same file, data/menu/cfg/dials.cfg Paste the copied section at the end of this file. 7.Renumber the first line of the section THAT YOU HAVE JUST PASTED so that [Dial52] now reads [Dial74] 8. Now scroll to the top of this file and change the first line from DialsNo=74 to DialsNo=75 9. Save both your newly modded files That should do it. I haven't actually tested it and it's possible this could have some negative effects elsewhere. If so post and tell me and i'll write down the necessary fix NOTE: edited to reflect Turm's observation below joe
__________________
"Enemy submarines are to be called U-Boats. The term submarine is to be reserved for Allied under water vessels. U-Boats are those dastardly villains who sink our ships, while submarines are those gallant and noble craft which sink theirs." Winston Churchill Last edited by joegrundman; 12-22-07 at 08:58 PM. |
![]() |
![]() |
![]() |
#3 |
Electrician's Mate
![]() Join Date: Nov 2007
Location: Landlocked inside M25, U.K.
Posts: 135
Downloads: 211
Uploads: 0
|
![]()
Many Thanks joegrundman,
I shall give that a go and with fingers crossed. Much obliged for your response. Herr Trigger |
![]() |
![]() |
![]() |
#4 |
Engineer
![]() Join Date: Mar 2007
Location: Midlands, UK
Posts: 210
Downloads: 17
Uploads: 0
|
![]()
Joe, I've just followed your method and found that the new numbers didn't quite match on my installation.
For example, I had to rename [G3F I300] to [G3F I386], and [Dial52] to [Dial74]. I am using v1.1.3 of OLC's GUI, not v1.1.4, so maybe that's why. (I think 1.1.4 only fixed a problem that some users had, but I never saw it so didn't get the update). I don't have any other GUI mods installed, just a fresh install of GWX 2.0. Just about to go and try it; fingers crossed, and thanks for the info! Seems like it should work. I rather like the regular, small GWX2.0 compass, in particular the static internal ring with the bearings on. It's much clearer to see than OLC's. But I see OLC uses separate texture files for each dial and they are larger than the GWX dials, so no way to easily swap those over. Still, if I have the large slide-out compass, I don't really need the little one! ![]() |
![]() |
![]() |
![]() |
#5 |
Ocean Warrior
![]() Join Date: May 2007
Posts: 2,689
Downloads: 34
Uploads: 0
|
![]()
Gruesse Turm,
you are right and thank you, i was looking in a very old OLC GUI file when i made my suggestion above. I'll edit my post above. Apart from that, it works fine, right?
__________________
"Enemy submarines are to be called U-Boats. The term submarine is to be reserved for Allied under water vessels. U-Boats are those dastardly villains who sink our ships, while submarines are those gallant and noble craft which sink theirs." Winston Churchill |
![]() |
![]() |
![]() |
#6 |
Electrician's Mate
![]() Join Date: Nov 2007
Location: Landlocked inside M25, U.K.
Posts: 135
Downloads: 211
Uploads: 0
|
![]()
Hi Joe,
Tried the changes you suggested, to no avail, Mr. Turm is correct about the renumbering but once I sorted that out and then run the program the biggest problem was the OLC conversion sheets that slide out from the right, as does the Big Compass. But no worries, I can live without the compass, I thought it was just kind of sexy. Many Thanks, Herr Trigger |
![]() |
![]() |
![]() |
#7 |
Ocean Warrior
![]() Join Date: May 2007
Posts: 2,689
Downloads: 34
Uploads: 0
|
![]()
Oh yes, forgot about those slideout conversion tables
![]() It's still solvable, but will take more time.
__________________
"Enemy submarines are to be called U-Boats. The term submarine is to be reserved for Allied under water vessels. U-Boats are those dastardly villains who sink our ships, while submarines are those gallant and noble craft which sink theirs." Winston Churchill |
![]() |
![]() |
![]() |
#8 |
Engineer
![]() Join Date: Mar 2007
Location: Midlands, UK
Posts: 210
Downloads: 17
Uploads: 0
|
![]()
Hi Joe. Yes, it works perfectly for me!
As mentioned, the slide-out speed conversion chart also appears if you are on the map screen and try to bring up the compass, but (for me) the compass appears on top and is still useable, so not a problem. In any other screen the conversion chart doesn't appear, so no problem to call up the compass. The only difference from standard GWX 2.0 is that the compass doesn't slide out; it appears instantly. A quick browse turned up these lines near the top of menu_1024_768.ini: [Settings] SlidingSpeed=999999;9060;2820;pixels per second The default is "SlidingSpeed=1200;", with no other numbers specified. OLC uses 3 different numbers. Not sure where they are used, but the first applies to the compass. I tried putting the original line of 1200 back in, but the new problem is then that the larger versions of the six dials in the vertical left-hand window slide down from the top when you mouse over the smaller dials, which renders them somewhat useless and annoying! So I'll live without the smooth, sliding motion, so long as I have that nice big compass. Thanks for the help in listing which lines to copy between the files ![]() The section on the speed chart is here: Code:
[G31 I20] Name=OLC Speed Table Type=1031;Stat bmp array ItemID=0x31000006 ParentID=0x31000007 Pos=-1023,0,1024,656 Color=0xFFFFFFFF Materials=1 Display=0;No stretch Mat 0=data/Menu/OLC/SpeedTable.tga MatFlags=0x29 TexFmt=0x9 BmpState=1 ![]() |
![]() |
![]() |
![]() |
#9 | ||
Lieutenant
![]() Join Date: Apr 2005
Location: Japan
Posts: 259
Downloads: 0
Uploads: 0
|
![]() Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#10 |
Ocean Warrior
![]() Join Date: May 2007
Posts: 2,689
Downloads: 34
Uploads: 0
|
![]()
Isn't it? What happens if you make the menu group smaller than the rest of the compass?
__________________
"Enemy submarines are to be called U-Boats. The term submarine is to be reserved for Allied under water vessels. U-Boats are those dastardly villains who sink our ships, while submarines are those gallant and noble craft which sink theirs." Winston Churchill |
![]() |
![]() |
![]() |
#11 | |
Lieutenant
![]() Join Date: Apr 2005
Location: Japan
Posts: 259
Downloads: 0
Uploads: 0
|
![]() Quote:
![]() (is there some thread which explains those property definitions? Like Display=[0|1|higher num], TGA scaling rules etc...) |
|
![]() |
![]() |
![]() |
#12 |
Electrician's Mate
![]() Join Date: Nov 2007
Location: Landlocked inside M25, U.K.
Posts: 135
Downloads: 211
Uploads: 0
|
![]()
Hello again,
Well done Joe and Mr Turm, Had a second attempt and bingo, the compass appears on top of the conversion tables in map view, I can live with that, and I prefer the instant appeareance rather than the slide out mode.Thanks very much for a job well done. Merry Christmas to you. Herr Trigger. |
![]() |
![]() |
![]() |
#13 |
Engineer
![]() Join Date: Jan 2008
Location: Lübeck
Posts: 211
Downloads: 0
Uploads: 0
|
![]()
Hm. Shouldnt it be possible to deactivate the conversion charts, so only the compass appears? Because I never use the charts anyway, I either use the nomograph or calculate it.
__________________
= CRY PTO = MITSH VBHIZ OSMWG OECEY MLZTO UMDFV TKORD B |
![]() |
![]() |
![]() |
|
|