Log in

View Full Version : SH3 with NYGM on Steam Deck


millnate
11-28-24, 10:54 AM
SH3 Install Instructions

Hello!

First let me say that if I could get Fifi’s NYGM or OneAlex working on my Steam Deck, I would have done that. I could never figure out how to get widescreen versions of the game to run on my Steam Deck. Not smart enough to work with Wine much… Either I always got the “Failure to initialize 3d engine” CTD, or the screen would be cut off (could only see top left of the screen).

So this is how I got NYGM3 with Hsie’s hardcode fix and Stiebler’s add on to work. So far I am very happy with this.

Credit to Cain77 for his tutorial installing Flatseal & Bottles (from the Discover store) which he used for GWX (https://www.subsim.com/radioroom/showthread.php?p=2909497). The applicable steps have been copied from him below (specifically steps 4-8).

Special thanks to @th3eaglenest on YouTube for posting his video on patching the Steam version of SH3. https://youtu.be/doXyLwJq9-s?si=CfZ7V-aY9wpoTPWq

1. Install SH3 from Steam.
2. Restart the Steam Deck.
3. Run SH3 to check version number (1.4) and start an Academy mission to see if it runs.
4. Install Bottles and Flatseal from Discover in desktop mode. These are needed to run exes (specifically JSGME & the patches).
5. 5. Start Flatseal, select Bottles. Scroll down and select "All user files".
6. If you have a MicroSD, enter into the box right below "All user files": /run/media/mmcblk0p1.
7. 6. Start Bottles, go to Preferences, scroll down to Integrations and select "Steam Proton Prefixes".
8. 7. After restarting Bottles, your installed games should show up as Bottles on the "Your Bottles" page in a "Steam Proton" section.
9. Copy jsgme_setup.exe into SH3’s folder, and run with Bottles
10. Run jsgme.exe with Bottles to set up the MOD folder.
11. Extract HSie’s patch, and copy all 11-12 items to SH3’s folder
12. Run HSie’s Patch_SH3.bat in Bottles. Strangely, it won’t finish until you close Bottles. There is no dialog box. The only way to know if it ran is to check if SH3.exe was modified, and there will be a SH3.old created.
13. Run SH3 to check the version number, which should now be 1.6b1, but then exit out.
14. Extract Stebler’s patch, and copy all 11 files to SH3, and over write any duplicates/conflicts.
15. Run Stebler’s Patch_SH3.bat in Bottles. Once again, it won’t complete until bottles is closed. Same as before, check to see when the files were modified to ensure it ran.
16. Run HsieOptionsSelector_V16B.exe and pick mods, but DO NOT select diesel fix. If activated it causes CTD-no idea why yet.
17. Extract Suppliment to V16B1 (JSGME) and place in MODS folder
18. Place Stiebler4C_Addon_for_V16B1 in MODS folder.
19. Activate Suppliment to V16B1 (JSGME), then Stiebler4C_Addon_for_V16B1 in JSGME.
20. Run SH3 and start an Academy mission to see if it’s stable.
21. Add the essential mods for NYGM
22. Start an academy mission to test patches. If the periscope vibrates at flank speed and submerged and the oxygen messages come in (per Hsie and Stiebler’s guides), things are looking good.
23. Then run the Wolfpack mission (per Hsie and Stiebler’s guides) to see if it’s working correctly.
24. Once stable, I was able to add the mods I desired with Supplement to V16B1 (JSGME), then Stiebler4C_Addon_for_V16B1 added last.

Notes:
1. I believe another CTD was caused by trying to add EnvSimAct_10, so I will have to just use Hsie’s weather fix instead. Not sure if was supposed to go after Stiebler4C_Addon_for_V16B1 or before but… tried to follow the guide but was a bit confused.
2. I believe Hitman_GUI_NYGM3_1.0 is the best balance, although there were two things I don’t like. First, the slide out Attack Disk was too easily activated with the Steam Deck controls. I couldn’t figure out how to delete it without having problems with the menu file, so I just moved it off screen (changed its location to off screen in the menu file). Second, I wish the TDC could be locked/unlocked with “ctrl+t” as the guide says it should be, but it doesn’t. I have no idea why. I attempted to modify the menu file but had no success. If anyone could help with that, that would be amazing.

Thank you Stiebler, Hsie, Hitman and Raptor for these amazing mods. Don’t know where y’all are these days as you did this stuff a decade ago, but at least one person is discovering your great work and this great game for the first time.

Thanks to everyone who responded to my posts asking for help! It’s a great community.

-Mod List-
NYGM Tonnage War V2.5 - Stand alone version
NYGM3_New
NYGM3_6F
NYGM_2017A
IABLShipsforNYGM_New_Thomsen
3rd Flotilla Mod
Harbor Traffic Add-In
Single Merchant Contact Mod
Hitman_GUI_NYGM3_1.0
CaptainAmericaOfficerIcons
1500 meter bearing overlay
Restore Gods Eye View
Black Contacts in Map-4-NYGM
Enhanced Nap Map Plotting Tools
Rapt0r’s Uniforms
Rapt0r’s Uniforms (Only Watch)
NYGM_HiRes_Submarines_3_6F
Supplement to V16B1 (JSGME)
Stiebler4C_Addon_for_V16B1

Hooston
11-30-24, 03:55 AM
Well done. You have achieved something difficult to do on a PC blindfolded and wearing mittens! Could you post this on the steam forum as I think that's where most people will look for it.
I am terrible at writing scripts but I think I might have a go at automating the patching process for Linux on a PC, it's incredibly fiddly. I might take a look at how JSGME works while I'm at it as it is a task that could be done more flexibly with a script.
The problem with widescreen is that the Steam Deck has an odd native resolution of 1280 x 800. Although it can be set up to automatically scale applications to fit it seems that the directX wrappers in most widescreen mods are sneaking in under this scaling layer. I have a 1400 x 900 monitor that has a similar problem and it has so far resisted all my attempts to get it to run a 1366 x 768 GUI. I still have a go at it every now and then, but to be honest I would be better off just buying a less outdated monitor!

millnate
11-30-24, 07:15 PM
Thanks Hooston! Thanks for all your help.

I’ll post it in the Steam area, that’s a good idea.

I’d like to play widescreen but… this way is working and so far stable. Still on first patrol though so… we’ll see.

JSGME runs great through bottles. Bottles has been very helpful throughout the process. Just not sure why the hardcode fixes run the way they do but… they seemed to get through. The random diesel fix CTD makes me a little worried I’ll find instability down the road.

millnate
12-02-24, 02:25 PM
Well done. You have achieved something difficult to do on a PC blindfolded and wearing mittens! Could you post this on the steam forum as I think that's where most people will look for it.
I am terrible at writing scripts but I think I might have a go at automating the patching process for Linux on a PC, it's incredibly fiddly. I might take a look at how JSGME works while I'm at it as it is a task that could be done more flexibly with a script.
The problem with widescreen is that the Steam Deck has an odd native resolution of 1280 x 800. Although it can be set up to automatically scale applications to fit it seems that the directX wrappers in most widescreen mods are sneaking in under this scaling layer. I have a 1400 x 900 monitor that has a similar problem and it has so far resisted all my attempts to get it to run a 1366 x 768 GUI. I still have a go at it every now and then, but to be honest I would be better off just buying a less outdated monitor!

I may remove my post. I’m having doubts as to whether the hardcode fix is actually applied. The diesel damage mod causes CTD for unknown reasons, and I just experienced another odd thing…

Was attacking a convoy when I was spotted by a destroyer. He went right over the top dropping depth charges and… no damage. The next pass we collided and… no damage. When I surfaced I get shot to pieces.

I’ve tested a few more times with the convoy academy mission and… no damage taken with depth charges dropped right overhead (periscope depth) or when colliding with destroyer. 😭