![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
![]() |
#1 |
Gefallen Engel U-666
|
![]()
Xall!
![]()
__________________
"Only two things are infinite; The Universe and human squirrelyness?!! |
![]() |
![]() |
![]() |
#2 |
Mate
![]() Join Date: Oct 2012
Posts: 53
Downloads: 139
Uploads: 0
|
![]() |
![]() |
![]() |
![]() |
#3 |
Bosun
![]() Join Date: Jun 2009
Posts: 68
Downloads: 10
Uploads: 0
|
![]()
There is a way, but it's a bit complicated. I'm trying to get it working right now using a program called Cheat Engine. I have successfully used this program in the past to get Metal Gear V running in ultrawide. There is someone working on this but I don't think their native language is English so the translation is a bit hard to follow. I'll point you to the thread, the more people attempting this the better.
The process is a bit complicated however, you have to use Cheat Engine to actively intercept the games memory addresses and change the data for the specific parameter on the fly from what I understand. I'm no programmer, I know just enough to get myself in trouble. Still, these guys seem to have gotten it to work in SH5. On a side note, just from experience with Metal Gear, once you get it working the clicking for the buttons might be off a little bit or the filter overlays for the graphics might not extend all way to the left and right edges of the screen, in other words, the might be in a different aspect ratio then what you're trying to run. I don't think this will be a problem in SH5 because my resolution, 2560x1080 actually shows up in the graphics settings, though I think it's kind of crappy that while the game recognizes my systems current resolution it doesn't allow for FOV adjustment, which would have been super easy for the devs to include. The one problem we might encounter is the buttons being off graphically from where you actually have to click them. Both of the aforementioned problems were present in Metal Gear V but, if I remember correctly, Metal Gear V did not recognize the systems current resolution or support running in an ultrawide resolution, so that's probably why it exhibited the problems mentioned above. SH5 might not have those issues, but if it does there are fixes, though once again, a bit complicated. Sorry to be long winded, I really want to get this working on my system. Here's a link to the discussion I mentioned. Use Google Translate if you need to. https://www.subsim.com/radioroom/sho...17#post2706517 Last edited by rfxcasey; 11-14-20 at 02:22 AM. |
![]() |
![]() |
![]() |
#4 |
Bosun
![]() Join Date: Jun 2009
Posts: 68
Downloads: 10
Uploads: 0
|
![]()
YESSSSSSSSSSSSSSSSS!!!!!!!!!!!!!!!!!!!!!!!! I GOT IT WORKING!!!!!!!!!!!!!!!!!!!!! Though it's not working in automated script for me yet but I'll get that sorted, for now I have to do it manually. BUT IT WORKS! You need to download a program called Cheat Engine and then follow this procedure.
This is copied from the other thread I'll link to. https://www.subsim.com/radioroom/sho...56#post2706856 "Well, good news and bad news. Overall good news though, I got the FOV working but not through the script. I started Silent Hunter 5 and loaded my save game so I'm standing on the bridge of the sub. Then I alt tab out of the game and I loaded Cheat Engine with no script. I clicked on 'select process to open', found SH5.exe, selected it and then clicked open. Next under the scan settings on the right I set the 'value type' to 'Array of byte'. Then under 'value' I ticked the 'Hex' checkbox and pasted in under 'value' '5C420000AA420000003F0000C03F00'. Next I clicked 'New Scan' and 2 results came up on the left, address '30034C3E' and address '3048BCB6' both of which had values of '5C420000AA420000003F0000C03F00'. So I right clicked on them, one at a time, and changed the first 2 bytes of both to '40 43' from their original value of '5C 42'." Alt tabbed back into the game and like magic, the FOV is perfect, no stretching at all and all the button clicks line up with the buttons. It's BEAUTIFUL! Ah, I'm so happy I could kiss you guys. Something that might be of interest to the guys having the black screen problem. I noticed when I was playing with those 2 values located at those memory addresses, if I went too high or too low on the numbers the screen would go black. It appears that if FOV is set beyond a certain range it causes the screen to go black. I'm not 100 percent sure what the first and second numbers do exactly, the first number appears to be the FOV but the second seem like a zoom level or possibly....... aspect ratio??? I can't say 100 percent, maybe the guy from the other thread knows. Only remaining issue is why the script isn't working. I'm no programmer so I'll need some help probably. I don't understand the code enough to know how to fix it. I can play now with the proper FOV but a automating everything, the script launching and the game starting, under one icon would be really great. ![]() EDIT: I think once you make the changes in Cheat Engine you can have Cheat Engine generate a 'Trainer' file that you would then just double click on to start Cheat Engine with the setting that worked. This is very off the cuff right now, I don't have a lot of experience with Cheat Engine and I'm just making these posts as I go. I'm looking for the option now. P.S. Depending on what resolution ultrawide you're running those first two values of those addresses are going to be different, the default actual FOV of the game is 55 Float according to this guy from the other post, so you have to figure out what FOV you want, like mine is actually 48 degrees now down from 55 degrees (it's a float value in the program) so you have to do some number conversion, from float to hex I guess and that will give you the proper numbers to change the address values to. Once I get mine working in script form I'll post, then as we come up with scripts for everyone's resolutions we can just post them all so the next guy won't have to deal with all this. https://www.subsim.com/radioroom/sho...56#post2706856 Last edited by rfxcasey; 11-14-20 at 02:34 AM. |
![]() |
![]() |
![]() |
#5 |
Bosun
![]() Join Date: Jun 2009
Posts: 68
Downloads: 10
Uploads: 0
|
![]()
ALMOST FORGOT...........SCREENSHOTS!
![]() Original FOV on 2560x1080 ![]() NEW MO BETTER FOV!!!! ![]() Last edited by rfxcasey; 11-13-20 at 04:45 PM. |
![]() |
![]() |
![]() |
#6 |
Mate
![]() Join Date: Oct 2012
Posts: 53
Downloads: 139
Uploads: 0
|
![]()
rfxcasey
Excellent stuff! I actually managed to get it work now as well with a Resolution of 5120x1440 What I did is... 1. Get Cheat Engine 2. Open Silent Hunter 5 with Cheat Engine 3. Press "Memory View" 4. In the Memory Viewer Window Click Search & then "Find Memory" 5. Search For: 5C420000AA420000003F0000C03F00 & Tick (Array of) byte ON 6. Right Click on the First Value Top Left, by me it was 5C 7. After Right Clicking, Click "Add this address to the list" 8. Confirm the Pop Up Menu 9. Go Back to Cheat Engine, and Right Click the newly Added Address seen below & Click "Browse this memory region" 10. Repeat Step 5. 11. Now Right Click and "Add this address to the list" on the first two Values. 12. Go back to Cheat Engine and Edit the Values in the last two added memories. For me the first one I set to 85 The Second one to 95. FOV and Zoom seems fine but new problems arise, not game breaking though. Would be good to know why the Map turns so dark. |
![]() |
![]() |
![]() |
#7 |
Bosun
![]() Join Date: Jun 2009
Posts: 68
Downloads: 10
Uploads: 0
|
![]()
As for the map turning dark, I cannot say, but, I have a working script now from the nice gentlemen in another thread that basically makes it a one click operation. I'll post it if you want it. I'll even modify it for your resolution for you. It's working great for me and the game looks great in ultra wide.
I noticed yours look bit zoomed out while mine is more zoomed in. I had to do that to get rid of the edge distortion but I like it cause it makes the sub feel more, confined and well, sub like. That said, man those screenshots look great, how'd you get them to post like that, mine are crap in comparison. And the map thing, hum, are you running any mods in JSGME like the aspect ratio 'fix' or anything like that? I think I read somewhere that someone had a similar issue, might want to do a deep dive for it. Also, take note, if you haven't already figured out, those memory addresses will change with every new load of the game or save file. You either need to search for the array value each time manually or create an automated search in Cheat Engine. The script this guy made will do that, I tried to make my own, but I'm no Cheat Engine pro so you know how that goes. No use in reinventing the wheel anyways when I have a working script. Still, I'd like to learn how it was generated. Last edited by rfxcasey; 11-19-20 at 05:21 AM. |
![]() |
![]() |
![]() |
|
|