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 > Silent Hunter 4: Wolves of the Pacific
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 03-01-21, 05:35 PM   #1
Ship Hunter
A-ganger
 
Join Date: Sep 2002
Location: Germany, Niedersachsen
Posts: 72
Downloads: 70
Uploads: 0
Default 21:9 fix for career start?

Hello Community, back after a long time I've tried to play Silent Hunter 3 but I give up on that until their is no ultrawide GUI available.


So I went back to SH5 but as the years before we are not getting real friends.


I decided to give SH4 a chance again and it works so far withou issues even in 3440x1440. The only problem I have is that I'm not able to start a new carrer as the "Start" and "Back" buttons are missing (out of the screen). As far as I understand I theory I can move those items up down or wherever I want.


Now my question is can some one help me how to identify those buttons or maybe have a solution how to get access? Sure I can change resolution, start carrer, save, end game, change resolution restart and so on but that is not what I really want.


So does someone have a fix for this?


Thanks!
__________________
Ship Hunter is offline   Reply With Quote
Old 03-01-21, 06:31 PM   #2
VDraculaV
Seaman
 
Join Date: Feb 2021
Location: Germany
Posts: 38
Downloads: 44
Uploads: 1
Default

i guess we are in the same boat.

my 32:9 problems

the idea with moving the buttons is interesting, and i guess it's doable when you edit "menu_1024_768.ini" (wich is located in "Data/Menu/" folder), don't ask me wich lines exactly though. But it will not solve the issue with cut off top and bottom parts of the picture ingame.

Wish you luck anyway. Hope you will find a solution
VDraculaV is offline   Reply With Quote
Old 03-03-21, 10:50 PM   #3
themrwho
Torpedoman
 
Join Date: Jul 2010
Posts: 119
Downloads: 140
Uploads: 0


Default

Quote:
Originally Posted by Ship Hunter View Post
Hello Community, back after a long time I've tried to play Silent Hunter 3 but I give up on that until their is no ultrawide GUI available.


So I went back to SH5 but as the years before we are not getting real friends.


I decided to give SH4 a chance again and it works so far withou issues even in 3440x1440. The only problem I have is that I'm not able to start a new carrer as the "Start" and "Back" buttons are missing (out of the screen). As far as I understand I theory I can move those items up down or wherever I want.


Now my question is can some one help me how to identify those buttons or maybe have a solution how to get access? Sure I can change resolution, start carrer, save, end game, change resolution restart and so on but that is not what I really want.


So does someone have a fix for this?


Thanks!
Quote:
Originally Posted by VDraculaV View Post
i guess we are in the same boat.

my 32:9 problems

the idea with moving the buttons is interesting, and i guess it's doable when you edit "menu_1024_768.ini" (wich is located in "Data/Menu/" folder), don't ask me wich lines exactly though. But it will not solve the issue with cut off top and bottom parts of the picture ingame.

Wish you luck anyway. Hope you will find a solution
Does this help?
https://www.wsgf.org/phpBB3/viewtopi...=30590#p163494
themrwho is offline   Reply With Quote
Old 03-04-21, 04:19 AM   #4
VDraculaV
Seaman
 
Join Date: Feb 2021
Location: Germany
Posts: 38
Downloads: 44
Uploads: 1
Default

Quote:
Originally Posted by themrwho View Post
Thanks! Worked for me, sort of. Picture is still shifted to the left in 5120x1440 but in 3840x1080 the picture has no big issues so far.
VDraculaV is offline   Reply With Quote
Old 03-04-21, 04:28 AM   #5
themrwho
Torpedoman
 
Join Date: Jul 2010
Posts: 119
Downloads: 140
Uploads: 0


Default

Quote:
Originally Posted by VDraculaV View Post
Thanks! Worked for me, sort of. Picture is still shifted to the left in 5120x1440 but in 3840x1080 the picture has no big issues so far.
Awesome, thanks for confirming.
themrwho is offline   Reply With Quote
Old 03-04-21, 04:43 AM   #6
VDraculaV
Seaman
 
Join Date: Feb 2021
Location: Germany
Posts: 38
Downloads: 44
Uploads: 1
Default

Quote:
The only problem I have is that I'm not able to start a new carrer as the "Start" and "Back" buttons are missing (out of the screen)
now, that is the only problem for me too. Will try to move this buttons up.
Will report back if i manage to do so

[UPDATE] after some fiddleing with "menu_1024_768.ini" i've been able to move the "Apply changes" button in Graphics Options and "Start" button in New Career/Quick Mission menu.

Graphics Options screen

Career Start screen

but there is an issue with "QuickMission" menu. The button seems to be overlayed by the mission description window and don't get active when hovering the mouse over it.

QuickMission Screen

here is an example of what i changed for "Apply Changes" button

Original lines:

[G1D I12]
Name=ApplyChanges
Type=1032;Button
ItemID=0x1D000023
ParentID=0x1D000000
Pos=744,-560,150,42
Zone= 744 208 150 42 0 1 0x1D000009 0.8 -1 0x1D000023 -0.5 1 0 0
Color=0xE1BF6CFF
Materials=4
Display=0;No stretch
Font=22
Text=958
TextFlags=0x5
StatesColors=0x8B8989FF, 0xEBCF99FF, 0xDD5800FF, 0xDD5800FF

Edited "Zone" line (red color values):

Zone= 744 208 150 42 0 1 0x1D000009 0.7 -0.7 0x1D000023 -0.5 1 0 0

first red value (0.7) is the X position from left, the second red value (-0.7) is the Y position from the top.

i used the same values for the "Start" button, have to figure out how to move it in front of the mission description window now (and change mission selection/mission description windows size)

[UPDATE 2] finally i was able to fix the "Single Mission" screen. Will keep fixing all the other menu pages and report back with all the lines that need to be changed to get them work for 21:9/32:9 resolutions.

here is the screenshot of fixed Single Mission page in 32:9 resolution
Single Mission 32:9 fixed

Last edited by VDraculaV; 03-04-21 at 08:08 AM.
VDraculaV is offline   Reply With Quote
Old 03-05-21, 08:36 AM   #7
VDraculaV
Seaman
 
Join Date: Feb 2021
Location: Germany
Posts: 38
Downloads: 44
Uploads: 1
Default

have fixed so far all menu pages for ultrawide, but run into one problem.
I can't fint the "NEXT" button from the results page (when exiting a mission).
It's not a big deal though, as you can proceed this page by pressing ESC.
VDraculaV is offline   Reply With Quote
Old 03-05-21, 09:04 AM   #8
themrwho
Torpedoman
 
Join Date: Jul 2010
Posts: 119
Downloads: 140
Uploads: 0


Default

Quote:
Originally Posted by VDraculaV View Post
have fixed so far all menu pages for ultrawide, but run into one problem.
I can't fint the "NEXT" button from the results page (when exiting a mission).
It's not a big deal though, as you can proceed this page by pressing ESC.
Well done, fixing the issue and thanks for sharing the fruits of your labour with the community. Have you considered putting all the modified files in a directory structure matching the game directory structure and then releasing this as a JGSME mod?

Note: if you haven't used it before, here is some info on JGSME https://www.subsim.com/radioroom/sho...d.php?t=204594
themrwho is offline   Reply With Quote
Old 03-05-21, 09:29 AM   #9
VDraculaV
Seaman
 
Join Date: Feb 2021
Location: Germany
Posts: 38
Downloads: 44
Uploads: 1
Default

Of course i will release the file. Working atm on including comments in all the changed lines with ";VDraculaV ultrawide fix"

for example:

Code:
Name=StartButton;Career NEXT button
Type=1032;Button
ItemID=0x3000003
ParentID=0x3000000
Pos=719,-640,200,36
Zone= 719 128 200 36 0 1 0x3000006 0.7 -0.7 0x3000003 -0.5 0 0 0;(VDraculaV ultrawide fix)
Color=0xFFFFFFFF
Materials=4
Display=0;No stretch
Font=22
Text=4022
TextFlags=0x5
StatesColors=0x898989FF, 0xEBCF99FF, 0xDD5800FF, 0xDD5800FF
since some mods are changing "menu_1024_768.ini" too, this comments are necessery, so the folks can see wich lines they have to paste&copy into their "menu_1024_768.ini". Will release the file after i added this comments to all changed lines

[UPDATE] I came across the programm "WinMerge" wich makes it easy to change not matching lines between multiple files. Now i would like to release different versions for mods that modify "menu_1024_768.ini" too. My question is, do i have to get permission for that from the modder/mod team of those mods?

Last edited by VDraculaV; 03-05-21 at 10:25 AM.
VDraculaV is offline   Reply With Quote
Old 03-05-21, 06:03 PM   #10
themrwho
Torpedoman
 
Join Date: Jul 2010
Posts: 119
Downloads: 140
Uploads: 0


Default

Wiki says the first version of these tools were released 45+ years ago so WinMerge is one of the latest on long line of similar software. https://en.wikipedia.org/wiki/Diff#Unified_format
WinMerge is a good & free software one, and there are many other options too (Kdiff3 for example, is good for 3-way comparison and also free software).
BeyondCompare, SmartSynchronise are commercial but have extra features if one is doing this work in a large scale it may be worth it.

RE re-releasing: Personally, I wouldn't worry about it as this is just explaining how to make it work so that people can actually use the darn thing on their highres monitors (rather that re-releasing others work for monetary or other profit). Also who's going to sue you really, this is not Apple or Oracle to litigate every issue - this is just our cute but small scale subsim game!

If you are super worried about it and going to lose sleep, you could always release a patch file rather than the full thing; with this approach, rather than taking and modifying other's files you are just releasing the information that is a list of machine instructions such as:
go to line #7, delete first 2 characters, insert the following characters
go to line #847, delete 4 lines, add the following lines, and so on.
This is so that others (who have the original file like you AND who also have access to a software that can understand and apply a patch file in unified diff format) can easily fix their files based on your written instructions.
If I were you though, I'd just release it.

My suggestion, release away. If anyone complains about you showing people how to add highres screen support, you can take it down...
themrwho is offline   Reply With Quote
Old 03-06-21, 07:34 AM   #11
VDraculaV
Seaman
 
Join Date: Feb 2021
Location: Germany
Posts: 38
Downloads: 44
Uploads: 1
Default

first version of the fix released.

Release Topic
VDraculaV is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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 04:02 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 1995- 2024 Subsim®
"Subsim" is a registered trademark, all rights reserved.