SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH5 Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=249)
-   -   [REL] Old Style SH Controls (familiar 3 dials) for UI v1.3.1 (https://www.subsim.com/radioroom/showthread.php?t=163208)

TheDarkWraith 03-04-10 08:59 PM

Quote:

Originally Posted by UrPeaceKeeper (Post 1294334)
Took it directly from my SH4 folder. Ubisoft is stupid... for MOST of the old .dds files they just changed them to an transparent color (so the game registers it as transparant). The Page layout.ini file calls up these files still but being as they are invisible they dont display. So whoever it was that was wondering if it's killing their frames, it IS. I imagine this type of mass removal of files could be done to streamline the game being as it still has the American folder for all of the .dds files but they are all transparant... Bleh... same with the German UI. If I had time to sift through the page layout .ini we could find out what lines we can remove to remove unnecessary code and we may be able to find what controllers are controlling the old UI layout stuff. It would require lots of cross referencing between the SH4 v1.5 UI file (menu_1024_768.ini) and the SH5 page layout.ini.

And who the heck hired these idiots to name their config files... NO SPACES... grr...........

I tried copying over the SH5 menu file renamed as page layout... crashed to desktop with no error... back to the drawing board.

thanks for the info. I might be up all night curtailing those page .ini files now so there's only stuff there that we need! :rock:

UrPeaceKeeper 03-04-10 09:03 PM

Quote:

Originally Posted by TheDarkWraith (Post 1294348)
thanks for the info. I might be up all night curtailing those page .ini files now so there's only stuff there that we need! :rock:

I just started disecting the menu_1024_768 file and comparing it to the page layout file and there are similarities but obviously there are differences. I'm spending more time trying to understand why there is something labeled "Knots" and then "Knots val" Obviously the later is the value of the knots, and the knots is the phrase "Knots" I guess... Somewhere in the [G3F I#] file divisions is the info we need to make the old UI work... There is a lot of crud to go threw and some need removed or "updated" if you will... Like for instance, I dont think that the Crew Management system has the same name or same layout as the old...

We also need someone who worked in one of the Supermods from SH4 to help with the menu buttons. Obviously we dont need the menu buttons from the old UI to be quite the same as we obviously can't jump to stations, but we do need to assign some of them to certain commands we want (depth under keel, etc).

UrPeaceKeeper 03-04-10 09:21 PM

Just glancing through the file I'm not sure how much of the menu_1024_768 file is going to be usefull to us. There has to be more then what is there. A lot of the code dividers (the stuff in the brackets) dont match up exactly... Looking for other files and stuff in the file that is of use, but I'm not holding my breath. It definetly deals with where things are located and what is used, but I'm having a hard time matching up files to locations and dividers to their respective functions....

TheDarkWraith 03-04-10 09:23 PM

Quote:

Originally Posted by UrPeaceKeeper (Post 1294390)
Just glancing through the file I'm not sure how much of the menu_1024_768 file is going to be usefull to us. There has to be more then what is there. A lot of the code dividers (the stuff in the brackets) dont match up exactly... Looking for other files and stuff in the file that is of use, but I'm not holding my breath. It definetly deals with where things are located and what is used, but I'm having a hard time matching up files to locations and dividers to their respective functions....


you are looking for \data\Menu\Pages. In there contains the rest of the menu_1024_768.ini file. They broke it up into pages.

UrPeaceKeeper 03-04-10 09:25 PM

Quote:

Originally Posted by TheDarkWraith (Post 1294394)
you are looking for \data\Menu\Pages. In there contains the rest of the menu_1024_768.ini file. They broke it up into pages.

You rock, that may have been what I'm looking for :P

Vikinger 03-04-10 09:29 PM

Keep up the good work man.

I know u can make it :D

TheDarkWraith 03-04-10 09:40 PM

http://i228.photobucket.com/albums/e...ider/NewUI.jpg

well I got an SH4 UI working......all the top tabs work, not all of the functions associated with a tab work though (some cause CTD). I'll keep working on it :cool: In this screenshot I order the crew to man the deck gun by pressing the button. I also went under the navigator tab and was able to click on depth under keel and get the reading!! It's about 75% functional.

Vikinger 03-04-10 09:44 PM

Try to remove the new huds. And work from there. I think if you have both you will get problems. They are flanking you :D

terrabit 03-04-10 09:45 PM

Quote:

Originally Posted by TheDarkWraith (Post 1294435)

well I got an SH4 UI working......all the top tabs work,


You have potentially saved this game for me.
Great work!!!!

Vikinger 03-04-10 09:47 PM

And WELCOME terrabit to the forum. Good to have u aboard :salute:

UrPeaceKeeper 03-04-10 09:49 PM

Quote:

Originally Posted by TheDarkWraith (Post 1294435)
http://i228.photobucket.com/albums/e...ider/NewUI.jpg

well I got an SH4 UI working......all the top tabs work, not all of the functions associated with a tab work though (some cause CTD). I'll keep working on it :cool: In this screenshot I order the crew to man the deck gun by pressing the button. I also went under the navigator tab and was able to click on depth under keel and get the reading!! It's about 75% functional.

You beat me to it brother, I just was figuring this out... now we need the Fuel guages and what not still though! I'll go on a file search for them while I'm scowering through the menu_1024_768 from SH4 1.5

Good work! Now get rid of the old UI and we are DANG CLOSE!

UrPeaceKeeper 03-04-10 09:52 PM

Found them in the SH4 file:
[G3F I365]
Name=CE Report dials
Type=1026;Menu group
ItemID=0x3F2F0000
ParentID=0x3F0B0000
Pos=0,-45,436,560
Zone= 284 701 436 560 0 1 0x3F0B0000 0 -0.075 0x3F2F0000 0 0 0 0
Color=0xFFFFFFFF
[G3F I366]
Name=CO2 tooltip
Type=1031;Stat bmp array
ItemID=0x3F2F0003
ParentID=0x3F2F0000
Pos=337,-360,135,200
Zone= 621 341 135 200 0 1 0x3F2F0000 0.772936 -0.642857 0x3F2F0003 0 0 0 0
Color=0xFFFFFF00
Materials=1
Display=2;Linear
Mat 0=data/menu/gui/layout/bkgr.tga
Crop 0=0,0,4,4
MatFlags=0x1
TexFmt=0x0
Drag=false
BmpState=1
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF
ToolTipText=2821
[G3F I367]
Name=Compr.air tooltip
Type=1031;Stat bmp array
ItemID=0x3F2F0004
ParentID=0x3F2F0000
Pos=202,-360,135,200
Zone= 486 341 135 200 0 1 0x3F2F0000 0.463303 -0.642857 0x3F2F0004 0 0 0 0
Color=0xFFFFFF00
Materials=1
Display=2;Linear
Mat 0=data/menu/gui/layout/bkgr.tga
Crop 0=0,0,4,4
MatFlags=0x1
TexFmt=0x0
Drag=false
BmpState=1
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF
ToolTipText=2822
[G3F I368]
Name=Battery tooltip
Type=1031;Stat bmp array
ItemID=0x3F2F0002
ParentID=0x3F2F0000
Pos=68,-360,135,200
Zone= 352 341 135 200 0 1 0x3F2F0000 0.155963 -0.642857 0x3F2F0002 0 0 0 0
Color=0xFFFFFF00
Materials=1
Display=2;Linear
Mat 0=data/menu/gui/layout/bkgr.tga
Crop 0=0,0,4,4
MatFlags=0x1
TexFmt=0x0
Drag=false
BmpState=1
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF
ToolTipText=2820
[G3F I369]
Name=Fuel tooltip
Type=1031;Stat bmp array
ItemID=0x3F2F0001
ParentID=0x3F2F0000
Pos=-40,-360,108,200
Zone= 244 341 108 200 0 1 0x3F2F0000 -0.0917431 -0.642857 0x3F2F0001 0 0 0 0
Color=0xFFFFFF00
Materials=1
Display=2;Linear
Mat 0=data/menu/gui/layout/bkgr.tga
Crop 0=0,0,4,4
MatFlags=0x1
TexFmt=0x0
Drag=false
BmpState=1
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF
ToolTipText=2819
[G3F I370]
Name=FBAC levels
Type=1026;Menu group
ItemID=0x3F300000
ParentID=0x3F2F0000
Pos=-40,-360,512,200
Zone= 244 341 512 200 0 1 0x3F2F0000 -0.0917431 -0.642857 0x3F300000 0 0 0 0
Color=0xFFFFFFFF
[G3F I371]
Name=CO2 Level
Type=1031;Stat bmp array
ItemID=0x3F300004
ParentID=0x3F300000
Pos=437,-45,16,105
Zone= 681 296 16 105 0 1 0x3F300000 0.853516 -0.225 0x3F300004 0 0 0 0
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=0x0
Drag=false
BmpState=1
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF
[G3F I372]
Name=Compr.air level
Type=1031;Stat bmp array
ItemID=0x3F300003
ParentID=0x3F300000
Pos=301,-45,16,105
Zone= 545 296 16 105 0 1 0x3F300000 0.587891 -0.225 0x3F300003 0 0 0 0
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=0x0
Drag=false
BmpState=1
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF
[G3F I373]
Name=Battery level
Type=1031;Stat bmp array
ItemID=0x3F300002
ParentID=0x3F300000
Pos=166,-45,16,105
Zone= 410 296 16 105 0 1 0x3F300000 0.324219 -0.225 0x3F300002 0 0 0 0
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=0x0
Drag=false
BmpState=1
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF
[G3F I374]
Name=Fuel level
Type=1031;Stat bmp array
ItemID=0x3F300001
ParentID=0x3F300000
Pos=35,-6,9,11
Zone= 279 335 9 11 0 1 0x3F300000 0.0683594 -0.03 0x3F300001 0 0 0 0
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=0x0
Drag=false
BmpState=1
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

UrPeaceKeeper 03-04-10 09:53 PM

Sorry for multiple posts, it's easier then editing... they are under the same name in the page layout.ini file... Testing to see if they copy over

EDIT: CORRECTION: Not the same headers, same "Name" identifier though

TheDarkWraith 03-04-10 09:58 PM

http://i228.photobucket.com/albums/e...der/NewUI2.jpg

fuel gauges, CO2, etc. work. I click on the captain's log on the far left to see if the buttons work and they do!

Now to remove the 'new' digital UI stuff and move some of the SH5 UI stuff around.

UrPeaceKeeper 03-04-10 10:02 PM

Hehe, looks like you didnt need my help afterall :yeah:

Looks good... none of my modifications worked... guess thats what I get for not being a dedicated modder :D

mookiemookie 03-04-10 10:02 PM

Go go go! You guys are so close to jumping the biggest hurdle here! :yeah: Bless you!

gutted 03-04-10 10:03 PM

HOLY SH$T... you guys work fast!!

this is insane LOL.

kiwi_2005 03-04-10 10:04 PM

:yeah:

Vikinger 03-04-10 10:05 PM

Regardless who do this mod you both have contributed a lot for it. And i think you have inspired each other to what files to look for.

But that its just what we modders are for, to help each other to get a good result. :)

gutted 03-04-10 10:05 PM

wonder what the devs would think.. all that effort on a new UI, to have us bring back the old one just 2 days after release. :rotfl2:


All times are GMT -5. The time now is 02:07 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.