Log in

View Full Version : ARBWideGUI1920x1080 Mod Nav Map Issue: Angle Tool Cropped!


SeniorChiefChef
08-05-23, 10:36 PM
https://www.subsim.com/radioroom/showpost.php?p=2704230&postcount=3

Three years ago I got my Navigation Map (Group/Page [G31 I20]) all nice and pretty and of course I saved back-ups of my assets, especially the menu_1024_768.ini.

Recently I had to reinstall everything . . . . and I come to find after re-installing the ARBWideGUI1920x1080 mod, instead of this:

https://i.ibb.co/S5hgsLr/sh3-my-nav-map-layout.png

I'm getting this:

https://i.ibb.co/FKb6cwJ/ARBWide-GUI-mod-nav-map-angle-tool-cropped.png (https://ibb.co/t4MBnsc)

My main concern is not the bunching up of the Tools (I can fix that), but the cropping of the Angle tool, instead of the full image:

https://i.ibb.co/sg6Pw09/ARBWide-GUI-mod-nav-map-angle-tool-full.png


Here are is the complete code in the menu_1024_768.ini. for the Angle Tool: I have tried different values for Crop, but I cannot get the image to show fully.


[G31 I27]
Name=Angle
Type=1032;Button
ItemID=0x311A0007
ParentID=0x311A0000


Pos=920,-712,222,213


Materials=4
Display=0;No stretch
Mat 0=data/menu/gui/Maptools/Angle.tga
Mat 1=data/menu/gui/Maptools/Angle_d.tga
Mat 2=data/menu/gui/Maptools/Angle.tga
Mat 3=data/menu/gui/Maptools/Angle.tga

Crop 3=0.01,0,1,1

MatFlags=0x29
TexFmt=0x9
Font=1
TextFlags=0x0
StatesColors=0xB0B0B0FF, 0xFF, 0xFFFFFFFF, 0xFFFFFFFF
ToolTipText=2255


I would appreciate it very much if someone else who is running the the ARBWideGUI1920x1080 mod take a look at their copy of menu_1024_768.ini. for G31 I27 and share with me their Crop values.

stork100
08-06-23, 04:22 AM
Hi mate, I'm running ARB and here's what I've got for G31 I27, only it's not called Angle but Ruler:

[G31 I27]
Name=Ruler
Type=1032;Button
ItemID=0x311A0004
ParentID=0x311A0000
Pos=1050,-602,201,406
Materials=4
Display=0;No stretch
Mat 0=data/menu/gui/maptools/ruler.tga
Mat 1=data/menu/gui/maptools/ruler_d.tga
Mat 2=data/menu/gui/maptools/ruler.tga
Mat 3=data/menu/gui/maptools/ruler.tga
Crop 3=0.01,0,1,1
MatFlags=0x29
TexFmt=0x9
Font=1
TextFlags=0x0
StatesColors=0xB0B0B0FF, 0xFF, 0xFFFFFFFF, 0xFFFFFFFF
ToolTipText=2249Here's what I have for Angle:

[G31 I24]
Name=Angle
Type=1032;Button
ItemID=0x311A0007
ParentID=0x311A0000
Pos=1170,-512,56,382
Materials=4
Display=0;No stretch
Mat 0=data/menu/gui/Maptools/Angle.tga
Mat 1=data/menu/gui/Maptools/Angle_d.tga
Mat 2=data/menu/gui/Maptools/Angle.tga
Mat 3=data/menu/gui/Maptools/Angle.tga
Crop 3=0.02,0,1,1
MatFlags=0x29
TexFmt=0x9
Font=1
TextFlags=0x0
StatesColors=0xB0B0B0FF, 0xFF, 0xFFFFFFFF, 0xFFFFFFFF
ToolTipText=2255Not sure the reason for the discrepancy, maybe because I'm running an older version of ARB. Hope that helps some.

SeniorChiefChef
08-06-23, 10:49 AM
Not sure the reason for the discrepancy, maybe because I'm running an older version of ARB. Hope that helps some.

Turns out it wasn't a cropping issue, just the Pos values got borked: everything was too far to the right, and the dimension values were the culprits for the cropping, not the Crop parameter!

I had to re-learn what took me about a week to learn about the format of the Pos parameter.

All nice and pretty now.

Thanks for the quick reply though, Stork!

If anyone is interested in seeing what values I used, here's my copy of menu_1024x768.ini.

https://tinyurl.com/2cy9zvhz

https://i.ibb.co/S5hgsLr/Silent-Hunter-3-My-Navigation-Map-Layout.png (https://ibb.co/rFCh7Ws)