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 04-11-08, 04:00 AM   #1
ichso
Ace of the Deep
 
Join Date: Jul 2005
Location: Germany's oldest city alive
Posts: 1,066
Downloads: 57
Uploads: 0
Default Advice(s) on menu_1024x768.ini please

Hi,

I was about to write a PM to OLC but thought it might be good to ask that in general so somebody who might need this too comes across this question.

At first a little problem:
At the nav map (F5) I don't get the speed conversion charts, which is strange as no other mod fiddled with the menu_1024...ini so far and the SpeedTable.tga is also there. I currently played in 1280x1024 resolution but set it back to 1024x768 as I thought a higher resolution interferes with the absolut pixel-related positions of the items in menu_1024...ini.

Now the other thing:
I just started playing SH3 again and found out about the OLC GUI (1.2.3). I really love it and use it. But a few month ago, I also loved the 6 Dials Sim Feeling mod.
I now want to integrate this two into one mod.
I know that there's already a kombi mod out there for sliding dials and the OLC GUI, but I like it more if 1. the dials are bigger and 2. there slide in from the right (or at least the bottom more to the right).
Don't know why, but I have my gripes with using dials on the left.

The "6 Dials ..." mod has a great manual of how to setup up the mod piece by piece. So I followed the instructions and wanted to start out with the big compass on the
right (as it is already in GWX 2.0 too, but not anymore with OLC GUI).
I added the according sections into the menu_1024...ini as described in the readme.exe of the "6 Dials..." mod.

I added it right behind the whole OLC-stuff section, gave it it's unique number etc.
I didn't change any position values for this dial item but it appears on the bottom to the left is only seen halfway and doesn't slide out either.

Now my question is: what exactly controls WHERE you have to point the cursor to make any item slide out.
And where is the point of ordinates in SH3 (0,0) ? In the upper left corner of the screen ? And if you use any screen resolution, does that interfere with those absolute pixel values in the menu_1024...ini ?

Thanks in advance, i.
ichso is offline   Reply With Quote
Old 04-11-08, 04:22 AM   #2
danlisa
Navy Seal
 
danlisa's Avatar
 
Join Date: Oct 2005
Location: Cornwall, UK
Posts: 5,499
Downloads: 45
Uploads: 1
Default

Quote:
Originally Posted by ichso
Now my question is: what exactly controls WHERE you have to point the cursor to make any item slide out.
And where is the point of ordinates in SH3 (0,0) ? In the upper left corner of the screen ? And if you use any screen resolution, does that interfere with those absolute pixel values in the menu_1024...ini ?

Thanks in advance, i.
It's just a rollover state so you only need to be in the general area of the menu item to have it appear. If you have the popout compass, the slideout area you mouse needs to be in is anywhere along the height on the item/tga. If you are experiencing trouble with menu items, you have cross pollination from other mods/menu.ini's & possible menu groups sharing the same group/item name.

Top left is 0,0 so all other co-ordinates stem from this point. You can even go into minus numbers, like the draggable flaggen sheet.

Resolution has no effect on the menu.ini. All co-ordinates are still in a 1024x768 configuration.
__________________
danlisa is offline   Reply With Quote
Old 04-11-08, 04:39 AM   #3
onelifecrisis
Maverick Modder
 
Join Date: Aug 2007
Location: England
Posts: 3,895
Downloads: 65
Uploads: 3
Default

Quote:
Originally Posted by danlisa
Resolution has no effect on the menu.ini. All co-ordinates are still in a 1024x768 configuration.
The second part is correct.
SH3 doesn't "translate" higher resolutions down to 1024x768 very well when it comes to the menu file. If your menu ini relies on pixel-perfect positioning (e.g. OLC GUI) then rounding errors at higher resolutions can result in malfunctioning slide-outs.
__________________
Freedom of speech - priceless. For everything else there's Mastercard.
onelifecrisis is offline   Reply With Quote
Old 04-11-08, 06:19 AM   #4
bert8for3
Ace of the Deep
 
Join Date: Dec 2005
Location: Canada
Posts: 1,124
Downloads: 110
Uploads: 0
Default

Quote:
Originally Posted by ichso
...
I just started playing SH3 again and found out about the OLC GUI (1.2.3). I really love it and use it. But a few month ago, I also loved the 6 Dials Sim Feeling mod.
I now want to integrate this two into one mod.
I know that there's already a kombi mod out there for sliding dials and the OLC GUI, but I like it more if 1. the dials are bigger and 2. there slide in from the right (or at least the bottom more to the right).
Don't know why, but I have my gripes with using dials on the left.
...
Ichso, have you used the MyFavoriteDials mod (MFD)? It was a combo of 6Dials and some other stuff.

The reason I ask is that I would also love to have the bigger (and slideout) dials but also a few of the other elements of MFD such as the transparent text and command stuff at the bottom. OLC's GUI is terrific, but there are some aspects I prefer from MFD (this is absolutely not a criticism of OLC's GUI, just to be clear, merely personal preference).

Anyway, all to say that if you need a hand I'd be happy to help. I have no modding experience or ability (just some very limited idea about how the file structure works), but could eg test or whatever. Even if you just wanted to merge in 6Dials, I could maybe learn enough to figure out how to merge MFD.
__________________
bert8for3 is offline   Reply With Quote
Old 04-11-08, 09:04 AM   #5
ichso
Ace of the Deep
 
Join Date: Jul 2005
Location: Germany's oldest city alive
Posts: 1,066
Downloads: 57
Uploads: 0
Default

Thanks for the hints.

I'm currently installing a second SH3 version, which I'm going to use without GWX and Patches to test my results. It just loads way faster than with GWX on top

I think I begin to understand how everything works in this file.

If the mod wants to create the switchable 25m-260m depth gauges, it first creates a group to put all needed graphics and controls together. An ItemID and ParentID allow you to reference specific items (menus, dials, ...).
So, for the depth gauge group, there is an item of type menu group, that works as the top level item for the whole depth gauge group.

Code:
G3F I347
Name=FLB Sale`s 6 Anzeigen, Tiefenmesser
Type=1026;Menu group
ItemID=0x3F0C0000
ParentID=0x3F000000
Pos=678,344,344,344
Color=0xFFFFFFFF
VertSlide=-343
So this is also the only item of the whole group that needs to get the absolut position on the screen and the slideout setting.
The other items (that refer to this one as their parent item) have position values only relative to this one's.

The following items (which still belong to this group) then load the needed graphics, like the dial graphic or backgrounds and pointers.

My problem now is, that I copied the whole section of the MyFavDial mod, which has something to do with the depth gauges, at the end of my G3F section in menu_1024_768.ini.
I renamed the numbers for the new items, so that they follow the numbering of the G3F section. (It ended at G3F I346 and I named them G3F I347, G3F I348,...).

But the dial doesn't get displayed correctly.
The only thing that gets displayed is a little digital number which gives my current depth and which slides in and out.
If I click somewhere near it I give a speed command, although I don't see the dial.
Don't know what is wrong or missing, just inserted the section as the mod does.
And I'm using stock SH3 now, so there is no other mod disturbing this.

Quote:
Originally Posted by bert8for3
Anyway, all to say that if you need a hand I'd be happy to help. I have no modding experience or ability (just some very limited idea about how the file structure works), but could eg test or whatever. Even if you just wanted to merge in 6Dials, I could maybe learn enough to figure out how to merge MFD.
Help is appreciated
As I see, we seem to have the same goals on this. I never did anything with this file before, too.

The thing I want to do, is to just integrate the depth gauges, speed dial and compass like it was with the original MFD.
As I use OLC GUI, I wanted to adjust the sliding settings, so that for example the speed dial slides further upwards than it did in the original MFD. Because the OLC GUI has this bar at the bottom which would otherwise be in the way of the sliding dial.



EDIT: Intelligent as I am, I forgot to include the needed graphics. No wonder that none got displayed if there weren't any...
I just forgot that in stock SH3, there where no such big dial graphics but with GWX there where.
Depth gauges now working as intended in original MFD.
ichso is offline   Reply With Quote
Old 04-11-08, 09:06 AM   #6
danlisa
Navy Seal
 
danlisa's Avatar
 
Join Date: Oct 2005
Location: Cornwall, UK
Posts: 5,499
Downloads: 45
Uploads: 1
Default

Have you installed the textures that are required for the larger dials?
__________________
danlisa is offline   Reply With Quote
Old 04-11-08, 09:21 AM   #7
ichso
Ace of the Deep
 
Join Date: Jul 2005
Location: Germany's oldest city alive
Posts: 1,066
Downloads: 57
Uploads: 0
Default

Now I have, and now the depth gauges work as they should.

I'm currently fiddling with the slide setting.
There are two sections:

Code:
(G3F I347)
Name=FLB Sale`s 6 Anzeigen, Tiefenmesser
Type=1026;Menu group
ItemID=0x3F0C0000
ParentID=0x3F000000
Pos=678,344,344,344
Color=0xFFFFFFFF
VertSlide=-100

(G3F I348)
Name=Group feedback
Type=1026;Menu group
ItemID=0x3F010000
ParentID=0x3F000000
Pos=678,344,344,344
Color=0xFFFFFFFF
VertSlide=-100
Where one seems to control how far the whole group slides upwards and the other how far it would slide downwards again when the cursor leaves the area.

My respect for the modders increases as it is pretty annoying to start a big application as sh3 everytime you want to test a little change you made
ichso is offline   Reply With Quote
Old 04-11-08, 09:33 AM   #8
bert8for3
Ace of the Deep
 
Join Date: Dec 2005
Location: Canada
Posts: 1,124
Downloads: 110
Uploads: 0
Default

Quote:
Originally Posted by ichso
My respect for the modders increases as it is pretty annoying to start a big application as sh3 everytime you want to test a little change you made
You might want to try an empty campaign files mod for that ... I put it up here http://hosted.filefront.com/bert8for3 ... from another post ... "You'll load faster for testing if you use a dummy or empty campaign folder (back up your existing campaign folder first). If you search the forum, you should find an empty_campaign mod. Enable it with JSGME, which will itself also backup your existing campaign folders (but make a separate backup first to be sure). That will let you start up faster, 'cause it won't have to load full campaign files." edit/add: Forgot to mention ... if you do that, start the game up directly via the sh3 game icon, and not via SH3Cmdr (if you use it). That way, you won't mess up SH3Cmdr's recognition of your saved campaign. After you're done testing, which best just in an academy mission or a created simple test mission for faster loading, disable the empty campaign mod, which will put you back where you were before, then you can start up via SH3Cmdr to resume your saved campaign.

edit/add: and let me know if I can help at all (which is already exaggerating my non-existent abilities :rotfl: ). I'll study the posts above on the weekend, RL work interfering now.
__________________
bert8for3 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 06:07 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.