![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
![]() |
#1 |
Ensign
![]() Join Date: May 2005
Location: Suomi Finland
Posts: 225
Downloads: 365
Uploads: 6
|
[REL] SH4 1.5 Crew Message Box v.1.1 (menu_1024_768.ini edit)
Ahoy Skippers und Kapitäns!
SH4 1.5 Crew Message Box v.1.1 Use Jonesoft Generic Mod Enabler (JSGME) http://www.users.on.net/~jscones/software/products.html or backup the file ...\\Data\Menu\menu_1024_768.ini manually and swap it yourself. And this is how it looks: ![]() Code:
FAQ: Version history? 1.1 has 3 lines of text and is raised a little to make room for the Walther's H2O2 button. Check the pic Walther.jpg. lol wut? This little mod is for Silent Hunter 4 - Wolves of the Pacific Uboat Missions hat is stock versions patched up to 1.5 Im using resolution 1280x1024 atm. This will not work on other resolutions per se, but its really easy to mod the values by yourself for your resolution. Why? Looks better IMO. When? 2. March 2008 Where? My filefront place: http://hosted.filefront.com/jimboblolwut/2183515/ DOWNLOAD Have fun. Last edited by jimbob; 03-02-08 at 09:13 PM. |
![]() |
![]() |
![]() |
#2 |
Seasoned Skipper
![]() Join Date: Jan 2002
Location: Oslo, Norway
Posts: 654
Downloads: 163
Uploads: 0
|
![]()
Nice, Now i dont have to move that box everytime i start a mission
![]()
__________________
Intel I7-7800x CPU. 16Gb G.skill DDR4 3600MHz. Asrock Taichi X299 mb Palit RTX 2080Ti. Fortron 1000W PSU. BenQ XR3501R LCD. |
![]() |
![]() |
![]() |
#3 |
Watch Officer
![]() Join Date: Apr 2005
Location: Oulu, Finland
Posts: 339
Downloads: 156
Uploads: 0
|
![]()
Hi,
I want to relocate those little Information Icons that since 1.5 appear in the upper right screen corner. I want them to appear down right above the fuel/battery/air/CO2 indicator, to the left of the Speed Indicator. I running the game in 1680x1050 widescreen, so there is plenty space for relocated items. In the past (pre 1.5) I've changed several items by editing menu_1024_768.ini guided by Panthercules, but I don't know what parts to edit now in 1.5, as the Info Icons are new items.
__________________
Cheers Uffe |
![]() |
![]() |
![]() |
#4 |
Ensign
![]() Join Date: May 2005
Location: Suomi Finland
Posts: 225
Downloads: 365
Uploads: 6
|
![]()
Those icons are in hud files allrite,
and there's American and German hud files now what with the 1.5. It'll be lotsa work to figure out the right ItemID's for all those buttons, which Im not even sure if I've seen them all. Just did a little search and it appears that menu_1024_768.ini has quite a few calls for hudfiles. I wonder if they could be those "warnings": Code:
[G3F I115]
Name=Group warnings
Type=1026;Menu group
ItemID=0x3F0C0000
ParentID=0x3F000000
Code:
[G3F I124] Name=Warning_NewObjective Type=1032;Button ItemID=0x3F0C001B ParentID=0x3F0C0000 /snip Mat 0=data/menu/Skins/American/gui/layout/hud.tga /snip ToolTipText=4309 Code:
4309=New objective but one was about "objectives", Maybe they're not about "Group warnings" , maybe they're somewhere else, im just thinking'a'loud now. Anyhoo... one just have to hassle with the values and go see what happens ingame. Add some, take some, and start the game to see if the buttons are moving. If not, change it back and try another item/group. Gotta look for those popup texts since those phrases comes from menu.txt which gives it a number and that number should be found in menu_1024_768.ini file. Sooner or later one hits teh jackpot. So, when the ItemID's are known, then its just a matter of moving them around, that'll be some math to figure it out for different resolutions etc. but im willing to bet the principle is the same as for the crewmessagebox. IMO using ItemID's are better than the [G3F I115] label, since they stay the same. think about all the possible changes to menu_1024_768.ini file in the future. Well, I'll test some values and see if I find any ItemID's for those buttons. If I find one, I guess they all should have the same ParentID. Or maybe not. Heh, it's "go figure" most of the time. This could take some time, thought. ![]() |
![]() |
![]() |
![]() |
#5 |
Watch Officer
![]() Join Date: Apr 2005
Location: Oulu, Finland
Posts: 339
Downloads: 156
Uploads: 0
|
![]()
Thanks for making this "clear".
![]() ![]() I also started trying to find relevant differences/clues by comparing menu_1024_768.ini versions 1.4 and 1.5 in Winmerge, but that proved a hopeless chore for my humble abilities. It's simply too overwhelming. ![]() I throw in the towel - for the time being I'll play moving those info icons each time manually, and hope that somebody more skillful than myself will come up with a solution, eventually. That is, if it's worth the effort.:hmm: ![]()
__________________
Cheers Uffe |
![]() |
![]() |
![]() |
#6 |
Ensign
![]() Join Date: May 2005
Location: Suomi Finland
Posts: 225
Downloads: 365
Uploads: 6
|
![]()
My hunch was right.
Here it is: Code:
[G3F I115]
Name=Group warnings
Type=1026;Menu group
ItemID=0x3F0C0000
ParentID=0x3F000000
Pos=873,-15,100,32
;Zone= 873 753 100 32 0 1 0x3F000000 0.95 -0.04 0x3F0C0000 -1 0.5 0 0
; location is them 2 last values, vertical , horizontal
Zone= 873 753 100 32 0 1 0x3F000000 0.95 -0.04 0x3F0C0000 -1 0.5 -110 -800
Color=0xFFFFFFFF
Olive moves sideways. Pics or it didn't happen? Those popup texts go somewhat right: ..dials get larger: ...but it's not that bad modification: I haven't seen it yet what happens if theres lotsa buttons poppin up. So, this is probably not the final placement for me. Also, I got 1280x1024 resolution so you need to adjust the values where you want the box to be since I cannot test them. Have fun. ![]() |
![]() |
![]() |
![]() |
#7 |
Watch Officer
![]() Join Date: Apr 2005
Location: Oulu, Finland
Posts: 339
Downloads: 156
Uploads: 0
|
![]()
Thought I'd share some fixes for 1680x1050 widescreen resolution I'm using with v1.5(Addon), as this resolution seems quite common with 22" LCDs nowadays. I use them mainly in order to have various screen items obscure as little of the screen as possible, making them show up closer to the corners/edges. I think these fixes make the screen "cleaner" and look better.
Additionally, I like to have the Target Position Keeper available from start on, hence that fix. For other resolutions the positional values of course vary, but maybe these fixes are of interest to some 22" LCD people. Edit relevant sections in data\menu\menu_1024_768.ini: 1. Message Box position (similar to Jimbob's posting #1 above) 2. Message Box Transparency (message box made transparent) 3. Position Keeper pulled out from start (position keeper not hidden from start) 4. Chronometer position (upper right screen corner) 5. Event Camera position (lower left corner above toolbar) 1. Message Box position: [G3F I248] Name=Group messages 2 Type=1026;Menu group ItemID=0x3F2A0000 ParentID=0x3F000000 Pos=256,-4,350,94 Zone= 256 764 350 94 0 1 0x3F000000 0.25 0 0x3F2A0000 0 0 100 -900 ;Zone= 256 764 350 94 0 1 0x3F000000 0.25 0 0x3F2A0000 0 0 0 -4 Color=0xFFFFFFFF 2. Message Box Transparency: [G3F I249] Name=Bkgr capture Type=1031;Stat bmp array ItemID=0x3F2A00FF ParentID=0x3F2A0000 Pos=0,0,350,94 Zone= 256 764 350 94 0 1 0x3F2A0000 0.5 -1 0x3F2A00FF -0.5 1 0 0 Color=0xFFFFFF00 ;Color=0xFFFFFF80 Materials=1 Display=2;Linear Mat 0=data/menu/data/black.tga Crop 0=0,0,0.5,0.5 MatFlags=0x1 TexFmt=0x0 Drag=false BmpState=1 NeedFocus=true SelOne=false IdGroup=0 StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF 3. Position Keeper pulled out from start: [G42 I1] Name=Page PositionKeeper Type=1027;Menu page ItemID=0x42000000 ParentID=0x0 Pos=0,0,1024,768 Zone= 0 768 1024 768 2 1 0x0 0.5 -0.5 0x42000000 -0.5 0.5 255 0 ;Zone= 0 768 1024 768 2 1 0x0 0.5 -0.5 0x42000000 -0.5 0.5 0 0 LoadingMode=1 4. Chronometer position: [G29 I2] Name=Chrono Type=1026;Menu group ItemID=0x29020000 ParentID=0x29000000 Pos=412,0,312,300 Zone= 412 768 234 225 0 1 0x29000000 1.195 0 0x29020000 -1 0 -300 0 ;Zone= 412 768 234 225 0 1 0x29000000 1.23 0 0x29020000 -1 0 -300 0 Color=0xFFFFFFFF 5. Event Camera position: [G23 I1] Name=Page event camera Type=1027;Menu page ItemID=0x23000000 ParentID=0x0 Pos=0,0,1024,768 Zone= 0 768 1024 768 0 0 0x0 0 0 0x23000000 0 0 0 0 ;Zone= 0 768 1024 768 0 1 0x0 0 0 0x23000000 0 0 0 0 LoadingMode=2 Credit goes to Panthercules for helping me out last year in v1.4. I have forgotten how make & post screenshots, so I'm limited to discribe the fixes in writing. ![]() ![]()
__________________
Cheers Uffe |
![]() |
![]() |
![]() |
#8 |
Watch Officer
![]() Join Date: Apr 2005
Location: Oulu, Finland
Posts: 339
Downloads: 156
Uploads: 0
|
![]()
Jimbob, you seem to be a genious!
![]() I thought I'd stop messing with the files etc. and play the game for a change, and then you come along with a solution I thought impossible, and naturally a have to give it a try for my 1680x1050 resolution. ![]() Thanks for "spoiling" my intended gaming session. ![]()
__________________
Cheers Uffe |
![]() |
![]() |
![]() |
#9 |
Ensign
![]() Join Date: May 2005
Location: Suomi Finland
Posts: 225
Downloads: 365
Uploads: 6
|
Thanks.
I'll be off to find my values for with the chrono, eventcamerabox and positionkeeper. ![]() |
![]() |
![]() |
![]() |
#10 |
Watch Officer
![]() Join Date: Apr 2005
Location: Oulu, Finland
Posts: 339
Downloads: 156
Uploads: 0
|
Heureka! Matter solved!
![]() The correct values in menu_1024_768.ini to make the little info icons (Group warnings) appear snug left of the Speed Telegraph and above the Fuel, Battery, Compressed Air, CO2 Indicator on a 1680x1050 resolution screen are as follows: [G3F I115] Name=Group warnings Type=1026;Menu group ItemID=0x3F0C0000 ParentID=0x3F000000 Pos=873,-15,100,32 Zone= 873 753 100 32 0 1 0x3F000000 0.95 -0.04 0x3F0C0000 -1 0.5 -300 -915 ;Zone= 873 753 100 32 0 1 0x3F000000 0.95 -0.04 0x3F0C0000 -1 0.5 0 0 Color=0xFFFFFFFF Thanks a ton Jimbob for finding the basic solution! I merely made the resolution adjustement for the 22" widescreen. Now I have exactly what I was looking for. ![]()
__________________
Cheers Uffe |
![]() |
![]() |
![]() |
#11 |
Watch Officer
![]() Join Date: Apr 2005
Location: Oulu, Finland
Posts: 339
Downloads: 156
Uploads: 0
|
![]()
Here's a screenshot of my modifications to menu_1024_768.ini as described further above for 1680x1050 resolution:
![]() ![]()
__________________
Cheers Uffe Last edited by ustahl; 03-03-08 at 06:42 PM. |
![]() |
![]() |
![]() |
#12 |
Ensign
![]() Join Date: May 2005
Location: Suomi Finland
Posts: 225
Downloads: 365
Uploads: 6
|
Niice lookin.
![]() Im testing some stuff, porting them to 1.5. and working on those JTxE-ini files to use with jimimadrid's JTxE.exe, get it from here. Amazing tool. ottos did a nice pack of ini files before Xmas for it. Just collecting some info, making the files to uses with that tool and maybe later releasing cuz i think some folks would like to use them too. It's very hard to find for whom the €redits should go, thought, them really original topics about menu.ini editing. ![]() |
![]() |
![]() |
![]() |
#13 |
Silent Hunter
![]() Join Date: Apr 2005
Location: Riverside, California
Posts: 3,610
Downloads: 41
Uploads: 5
|
![]()
Nice hints, thank you!
Now, does anyone know in 1.5 what lines control the placement of the clipboard?
__________________
![]() ROW Sound Effects Contributor RFB Team Leader |
![]() |
![]() |
![]() |
#14 |
Watch Officer
![]() Join Date: Apr 2005
Location: Oulu, Finland
Posts: 339
Downloads: 156
Uploads: 0
|
![]()
Sorry, but what clipboard do you mean? In game screenshots?:hmm:
__________________
Cheers Uffe |
![]() |
![]() |
![]() |
#15 |
Ensign
![]() Join Date: May 2005
Location: Suomi Finland
Posts: 225
Downloads: 365
Uploads: 6
|
![]()
Yeah, pics or it didn't happen, hehe..
Anyhoo, im wondering what's the entry in menu.ini file for that box that pops up and tells teh date: ![]() Any ideas? ![]() |
![]() |
![]() |
![]() |
|
|