Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Guide] Steam Deck Guide and Unofficial Support #505

Open
umbrellacorp53 opened this issue Apr 6, 2022 · 362 comments
Open

[Guide] Steam Deck Guide and Unofficial Support #505

umbrellacorp53 opened this issue Apr 6, 2022 · 362 comments

Comments

@umbrellacorp53
Copy link

umbrellacorp53 commented Apr 6, 2022

See here in the below thread for the SHS2EE Guide for the Steam Deck.


Hey everyone. I checked all the issues, open and closed, and I didn't see any mention of the possibility of SH2EE working on the Steam Deck. I'd love to hear whether or not you have any plans in this regard. Not sure if any of the devs have a Steam Deck or plan on getting one, but I'd be thrilled to play SH2EE on the Deck without having to sacrifice the OS and try and dual boot Windows.

I was a Q1 week 2 recipient of the SD and I've really been enjoying it so far. I was curious whether this would "just work" as a lot of games have. I have Silent Hill 2 on the Deck and installed your enhancements just to see how things go. The good news is that Silent Hill 2 - using your exe - works out of the box using "Proton Experimental", but no enhancements are active. I am able to play and use the built in controller (I believe it's emulating keyboard/mouse), but it is in a completely pre-EE state, including the audio loop bug and 4:3 aspect ratio.

When I use any other version of Proton, I've tried all of them, I either get an unresponsive white screen that hangs until I force close the game, or an instant CTD or crash to SteamOS depending on which mode I'm in. Performance is the same in desktop and SteamOS.

I'm curious if anyone has any insights as to how the project interacts with the exe and why it might not be having the intended effect.

I know my best hope is that someone in charge has a great deal of interest in the Deck or is planning on getting one themselves. That being said, I am willing to do any testing, share files, explain what's happening, post videos, screenshots, or anything else that might be helpful. This might not be something totally necessary for SH2EE, but having it run on the Deck would be a dream.

@elishacloud
Copy link
Owner

I was curious whether this would "just work" as a lot of games have. I have Silent Hill 2 on the Deck and installed your enhancements just to see how things go. The good news is that Silent Hill 2 - using your exe - works out of the box using "Proton Experimental", but no enhancements are active.

I guess what is happening is that the OS is loading the system version of the d3d8.dll files rather than ours. One easy way around this is to hack the sh2pc.exe file to have it load a modified file name, like d3dx.dll. Then rename the SH2EE d3d8.dll to d3dx.dll. This should force the game to load the SH2EE project.

@elishacloud
Copy link
Owner

I quickly hacked the sh2pc.exe binary to make it load d3dx.dll rather than d3d8.dll. I also included the latest build already renamed. Try using this binary rather than the other to see if it will now load the SH2EE project and all the updates.

Here is the hacked version: sh2pc.zip

@umbrellacorp53
Copy link
Author

That was incredibly fast. I'll run this as soon as I'm home. I'll report back with the results. If it works I'll upload a gameplay video. Another issue I am anticipating, I'm not sure what the supported resolutions are, but the SD is 16:10 1280x800.

As long as the resolution doesn't default over that resolution then it should work, but if there's a way I can manually set it before launch that would be cool. Or could it be edited as a default resolution? Regardless, 1280x720 is great too. As long as it displays I know I can change it to something that will work

@elishacloud
Copy link
Owner

Another issue I am anticipating, I'm not sure what the supported resolutions are, but the SD is 16:10 1280x800.

With the latest update we detect the current screen resolution and use that. 1280x800 should work fine. I have tested other 16:10 resolutions without issue.

@Polymega
Copy link
Collaborator

Polymega commented Apr 6, 2022

I actually don't talk about this much but 16:10 is probably the best aspect ratio you can use for the game. When played in 4:3 you'll see letterboxes for the full screen images. At 16:10 these images fill the screen virtually perfectly without any cropping or letterboxes. 16:9 will crop the images some when set to fill.

I always welcome playing the game at 16:10 over 4:3, if given the choice.

@umbrellacorp53
Copy link
Author

I actually don't talk about this much but 16:10 is probably the best aspect ratio you can use for the game. When played in 4:3 you'll see letterboxes for the full screen images. At 16:10 these images fill the screen virtually perfectly without any cropping or letterboxes. 16:9 will crop the images some when set to fill.

I always welcome playing the game at 16:10 over 4:3, if given the choice.

That's actually really cool to hear. Seems like a good balance for a game designed with 4:3 in mind. So, potentially down the road the Deck could be a great way to play... one other benefit is consistent hardware. If it's working on one it's working on all of them.

I digress. So I tested the hacked exe, and it didn't quite work. It definitely changed behavior. So you were right that it was probably bypassing your d3d8 file, but now when launched it displays a black screen, sometimes flickers white, but ultimately crashes.

I tried it with multiple Proton versions and it was consistent on all modern versions from 6.0 to Experimental, including the Glorious Eggroll (GE) community update 7-10.

I removed the d3dx files and tried the standard EE again and it actually wouldn't launch in desktop mode, would instantly crash. I had to launch in SteamOS and then it worked again. (non enhanced and only Proton Experimental, so the same as before.)

I noticed one more thing though. When I launch the hacked EE exe in SteamOS it generates a d3dx.log which I will share here.
d3dx.log

@umbrellacorp53
Copy link
Author

As long as you're game I'm willing to test whatever, and I have all the time in the world. I'm currently home sick with covid. Would love to see official SD support on your next update. That would be an exciting add. I've been eager to find some minor contribution, so if I can be a tester that would be great. Oh, and the SD has official OBS support so I could screen capture and upload.

One final note. Something that popped into my head. I had the performance overlay pulled up when the modified EE crashed, and the FPS, CPU, and GPU usage were all locked up, but I noticed that all cores were active. Not sure if that indicates an issue with setting single core affinity or if SteamOS itself was using those cores. I could definitely see that being a weak point though. Not sure how far down the pipe multicore support is.

Sorry for rambling!

@Polymega
Copy link
Collaborator

Polymega commented Apr 7, 2022

What if you remove the DSOAL files?
http://enhanced.townofsilenthill.com/SH2/troubleshoot.htm#directoryTree

@umbrellacorp53
Copy link
Author

d3dx.log
Here's the log with basically all options set to 0, and with DSOAL files deleted.

d3dx2.log
Here's the log with a brand new d3dx.ini at default settings, and with DSOAL files deleted.

They both crashed after a white screen. I'm running this in desktop mode. Also, I figured out that it was generating the log file in desktop mode, I'm just used to Windows 10 which updates files in realtime. Apparently in this flavor of Arch you need to refresh the folder to see newly generated files.

@umbrellacorp53
Copy link
Author

umbrellacorp53 commented Apr 7, 2022

I'm not sure if this is common knowledge, but SteamOS is an immutable OS, so it's protected from tampering. It can be disabled, but as soon as it updates it will overwrite any modified system files.

Also the file structure is different from a Windows PC. The file structure shown in the log files is emulated, I think. The path to the Silent Hill 2 game folder is '/run/media/mmcblk0p1/steamapps/common/Silent Hill 2/'. Linux, Wine, and Proton are all fairly new to me, but I think the Steam Deck emulates a Windows file structure while running Proton. So referencing file paths can be tricky.

Oh and "mmcblk0p1" is my microSD card.

@umbrellacorp53
Copy link
Author

Ok. I saw another open issue where you guys mentioned a debug version of your d3d8 files. Presuming the only thing you changed in the exe is a reference to d3dx, I downloaded your latest debug files and renamed them to d3dx.

Here's the resulting log.
d3dx.log

@elishacloud
Copy link
Owner

Some of the settings cannot be disabled. And there are hidden settings. Try using the below build. This should disable pretty much everything that can be disabled.

Testing update: d3dx.zip

@umbrellacorp53
Copy link
Author

It launches and works. I tried changing a couple of basic settings though and it no longer worked, then I changed them back to the way they were and it still wouldn't work. Then I noticed it's actually kind of a crapshoot whether it will launch. I thought this correlated with me changing ingame settings, changing ini settings, or something else, but I kept launching it over and over and the behavior was unpredictable.

I changed these values:
ScreenMode = 3
DynamicResolution = 1
WidescreenFix = 1
d3d8to9 = 1

While these were set exactly this way I opened the game about 10-20 times without making any changes and about 1 in 4 times it would open and play fine. I had access to higher resolutions and the game was in widescreen and fullscreen, so I believe it was applying the settings from the ini.

And now, strangely I've tried opening it another 20 times or so and it freezes every time.
Here's the latest log file.
d3dx.log

All of this testing has been done in desktop mode with an external monitor and kb/m. Using Proton Experimental.

@umbrellacorp53
Copy link
Author

umbrellacorp53 commented Apr 7, 2022

And now, without changing a thing, it's launching every time. Not sure if it was giving the machine a few minutes to recover or what, but it has launched 5 more times without issue. Each time I force closed it. The first time I properly exited the game it froze on startup the next time. I tried to replicate this and it wasn't possible. Now it appears to be about 50/50.

@umbrellacorp53
Copy link
Author

Ok, very very interesting. I just went through the ini and enabled a ton of settings. On the 4th attempt it actually opened!
High resolution, adjusted toilet geometry, zoomed in cutscene, blur working. That's what I noticed. Here is the d3dx.log:
d3dx.log

@umbrellacorp53
Copy link
Author

umbrellacorp53 commented Apr 7, 2022

Here's the game running on the Deck with the ini settings listed in the d3dx.log above Gameplay

It runs really well! I have only been able to get it working in Desktop mode though.

Here is a video of me closing the game, which is working, and reopening it only for it to hang on a white screen. White Screen

@Polymega
Copy link
Collaborator

Polymega commented Apr 7, 2022

Maybe message this person to see how they got it running? Perhaps he's found a way to have it consistently run?
https://www.youtube.com/watch?v=RLriROG890Q

@umbrellacorp53
Copy link
Author

It looks like he's installed Windows, which is an option, but you sacrifice a lot of the benefits of the device when you switch to Windows. Suspend function no longer works, no overlay, and quite a bit of optimized features like Shader pre-caching.

I got it running in SteamOS gaming mode and took screenshots while I played. Got to the apartments and everything seems to be in order. It's just the inconsistent startup.

@elishacloud
Copy link
Owner

Intermittent issues like that are most likely related to a bug in the OS. But it is possible that it does not like what we do with the D3D8 wrapper. I added a new update. Try this one and see if this is reliable. It still has things disabled but if it works reliably then you can start to re-enable things one-by-one.

Here is the update: d3dx.zip

@umbrellacorp53
Copy link
Author

Not sure where to go from here. I'll try and pick up some more Proton knowledge. It's just weird that it will randomly work flawlessly.

@elishacloud
Copy link
Owner

BTW: I forgot to mention: make sure that you delete any file called d3d8.dll from the game's folder. Files with that name could interfere with the functioning of this update.

@umbrellacorp53
Copy link
Author

Ah I was wondering if that would matter. I'll give this a shot.

@umbrellacorp53
Copy link
Author

I deleted the d3d8 files and tried the new d3dx files and no change.

@umbrellacorp53
Copy link
Author

20220407212519_1
20220407191522_1
20220407161218_1
20220407160659_1
20220407160625_1
20220407160204_1
20220407155619_1
20220407155040_1
20220407155609_1

Various screenshots to verify what is working. This is from earlier when I enabled mostly everything.

@umbrellacorp53
Copy link
Author

So, yeah the project works extremely well, when it works. Even the haptics provide simulated rumble. I couldn't ask for more. I noticed a funny visual artifact though. In the screenshot where you see newspapers on the floor, there is a dark texture of some kind that is cut off near the bottom of the screen. Could that be a 16:10 issue?

@umbrellacorp53
Copy link
Author

I believe that proton can be made to generate log files. Tomorrow I'll see if I can get it to log what's happening when it succeeds and fails.

@umbrellacorp53
Copy link
Author

umbrellacorp53 commented Apr 8, 2022

20220407234742_1
Fullscreen images and hd text on menus. Replaced cursor.

20220407234925_1
HD fullscreen maps.

20220407234947_1
Inventory items and hd menu

20220407235030_1
Enhanced videos, nearly fits perfectly on 16:10 as @Polymega said.

20220407235104_1
Geometry corrections applied. Effects restored, and I think the camera is adjusted appropriately? Also, film grain is working. Although on the small screen I kinda liked the oversized grain.

20220407235200_1
Fog looks thick. Occasionally seems to spawn in small white clusters, then disperses. Not sure if that's expected. This is not a good screenshot to demonstrate that. Think of an almost rectangular white cloud popping into existence then whisping in all directions.

20220407235310_1
Large HDD info correctly displayed.

20220407235524_1
20220407235540_1
Two images showing the weird line at the bottom of the screen where it seems some overlayed textures are clipping or a sceenspace effect is not reaching the bottom of the screen.

I tried putting DSOAL files back into the game folder and messing with "HookDirectSound" which was turned off for testing. I was unable to get the game to launch with the DSOAL files in the directory. I also no longer have sound. Not sure how I can fix that. Standard audio is working, just no DSOAL unfortunately.

Just thought I would drop by and share what I've been able to enable that doesn't seem to affect the probability of the game launching.

@Polymega
Copy link
Collaborator

Polymega commented Apr 8, 2022

Occasionally seems to spawn in small white clusters, then disperses. Not sure if that's expected.

At the beginning trek, particularly near the save well, this is to be expected. It behaves like that on all versions.

Enhanced videos, nearly fits perfectly on 16:10 as @Polymega said.

With the next FMV Pack update the videos should fill basically perfectly in 16:10 without cropping.

Two images showing the weird line at the bottom of the screen where it seems some overlayed textures are clipping or a sceenspace effect is not reaching the bottom of the screen.

I don't have this issue on my Nvidia setup. It looks to be some form of Z-fighting with the rendering. It might be an AMD issue?

Screenshot 2022-04-08 13-04-28

@umbrellacorp53
Copy link
Author

umbrellacorp53 commented Apr 8, 2022

I don't have this issue on my Nvidia setup. It looks to be some form of Z-fighting with the rendering. It might be an AMD issue?

This is probably an AMD / Van Gogh issue. It's not particularly troubling. I noticed something very similar but haven't taken a screenshot - the blood pool under dead monsters seems to be hovering off the ground. It is clipping through the body from a distance, covering the legs but not quite reaching above the torso, but as I approach the body the blood pool appears to get closer to the floor. This is not a significant issue.

I just launched the game with the DSOAL files in the game folder after adding launch parameters to the game.
WINEDLLOVERRIDES="dsound=n,b" && WINEDLLOVERRIDES="dsoal-aldrv=n,b" %command%
(The '&&' might not be necessary or the right format now that I think about it)

I do not know if this is the reason it launched properly, or if -again- it's all down to chance.
I'm not sure the easiest way to check that DSOAL is working properly, but in the parking lot on the pier at the start of the game it sounded as though my footsteps were louder as I approached the camera. It still seemed as though stepping onto the sidewalk cuts the footsteps out instead of fading them sometimes though.

I also ran the game in Proton 7.0.1, which is the current build, instead of the experimental build. That means that it actually will work on multiple versions of Proton... but it is still a game of chance. I haven't found very many people describing this type of issue on the Proton Github but I will create an issue there and link to this post.

I am using the FULL EE project, the original d3dx files that @elishacloud shared with me (sorry for the pings, I just don't like to mention people without mentioning them).

The only things I have disabled are what seems unnecessary or irrelevant to the Deck.
That being:
CheckCompatibilityMode = 0
CheckForAdminAccess = 0
DisableScreenSaver = 0

I could always zip and share my folder though just in case I got something mixed up at some point. I've done a lot of testing and like I said, I'm home sick with covid so I'm not as sharp as usual.

So, after all this I'm pretty sure it's confirmed that most of my troubleshooting was in vain. The project works almost in its entirety as-is. It just needs to hook into the appropriate DLL files. So, with the modified exe pointing to the provided d3dx files, it will launch intermittently. DSOAL is probably working because I added wine overrides as launch options, but again - I will double check if it will load without these launch options by launching it another 20 times or so. If these launch options are actually having a positive effect then I will also try a fresh, standard EE install and will only use the WINEDLLOVERRIDE parameter to include your modified DLL files (I'm referring to the d3d8.dll and related files that are bundled with EE).

If that works, then we know the project "just works" (intermittently) as long as Proton is told to use your DLL files instead of its own. So all that would be left to troubleshoot is the dicey launch.That's a lot of ifs, and it would be easier to test if there was no probability involved.

@elishacloud
Copy link
Owner

elishacloud commented Apr 8, 2022

DSOAL is probably working because I added wine overrides as launch options

Ok, let's try and start fresh and troubleshoot things one-by-one.

  1. Can you verify that the game launches every time without SH2EE? This is important to know if the problem is with something related to EE or not.
  2. Try removing all parts of EE except the "sh2e" folder. This includes DSOAL, XInput and all other parts. Basically you want a fresh version of SH2 without EE. But you can keep the "sh2e" folder if you like.
  3. Try adding the update below and see if the game can launch every time. This update hard codes most settings disabled. If this works we can try and figure out what causes the intermittent launch issues.

Testing build: sh2pc.zip

@Volantex
Copy link

Volantex commented Mar 2, 2023

Thank you for the replying, so I restarted the game today changed nothing from yesterda, just to see what would happen. Now I have no issues at all, saving works without crashing. Game looks and runs great (I'm playing it in the PC as well, my intention was transfer save file to and from PC and Dec).

I'll play more tomorrow, try and finished the game within the next week.

Just wanted to say thank you, to you and the team. You guys have done an incredible job.

@JaceyRiley
Copy link

@elishacloud Thanks for all the hard work Elisha!

It still isn't working for me unfortunately. Just to make sure I have the correct steps:

  1. I start with a fresh install of SH 2, sans EE
  2. I run the SH2EEsetup.exe via Steam as a non-steam game (this runs with no issues)
  3. I jump back into the folder I pointed the SH2EEsetup tool to and replace the dinput8.dll in that folder with the one you created

Been trying all other solutions on this thread and still coming up short :(

@Matt1412
Copy link

Matt1412 commented Mar 5, 2023

@JaceyRiley
#740 (comment)
I did the same step as yours but only difference is I'm using the zip from another comment.

I am able to start a new game.

@JaceyRiley
Copy link

@JaceyRiley #740 (comment) I did the same step as yours but only difference is I'm using the zip from another comment.

I am able to start a new game.

@Matt1412 Okay cool, will check this out shortly and report back. Thanks for the link!

@Matt1412
Copy link

Matt1412 commented Mar 5, 2023

i did a fresh install of Silent Hill in Windows and copied the files into the Steam Deck.
i selected SH2EEsetup.exe, mouse right-click and then Add to Steam.
i set the TARGET to SH2EEsetup.exe but it cannot launch.

Previously I copied from Windows the Silent Hill 2 directory after running SH2EEsetup.exe.

Cannot launch SH2EEsetup.exe:
Fresh install Silent Hill 2 in Windows.

Can launch SH2EEsetup.exe:
Copy and paste Silent Hill 2 folder after run SH2EEsetup.exe

@ZazaLeNounours
Copy link

@Matt1412 don't forget to force a compatibility mode in Steam, for me it worked just fine with Proton Experimental.

@Matt1412
Copy link

Matt1412 commented Mar 5, 2023

@ZazaLeNounours
There might be an issue with the Steam client. I cannot enable the checkbox,
Force the use of a specific Steam Play compatibility tool

@Matt1412
Copy link

Matt1412 commented Mar 5, 2023

@JaceyRiley
The issue could be solved by Steam Client Properties... and then enabling
Force the use of a specific Steam Play compatibility tool

If you cannot enable the checkbox, remove the game from Steam client and Add to Steam
but you will need to immediately open Properties to enable
Force the use of a specific Steam Play compatibility tool. i think the Steam client
cannot enable the checkbox, Force the use of a specific Steam Play compatibility tool
if you don't set it before launching SH2EEsetup.exe

i select SH2EEsetup.exe to Add to Steam.
Then i enable the checkbox, Force the use of a specific Steam Play compatibility tool
and select an available Proton version. Mine is GE-Proton7-49.
My SH2EEsetup.exe is inside my Silent Hill folder

@JaceyRiley
Copy link

@Matt1412

So following the above steps (and after using the new dinput8.dll file), this is how the game is loading for me:

SH_Process

This is after I've run the SH2EE Setup tool.

@Matt1412
Copy link

Matt1412 commented Mar 5, 2023

@JaceyRiley
Could you install ProtonUp-Qt? I installed using Discover.
Purpose is to use ProtonUp-Qt to install latest GE-Proton. GE-Proton is a fork of Proton.
https://github.com/GloriousEggroll/proton-ge-custom/releases

@ZazaLeNounours
Copy link

I personally didn't have to use ProtonGe to make it work. Did you try, after the install with EEsetup.exe, to replace the shortcut of EEsetup.exe in Steam by sh2pc.exe, instead of adding a new one ?

@JaceyRiley
Copy link

@Matt1412 So I installed GE-Proton GE-Proton7-49 and tried using that as the compatibility layer, no luck there either.

@ZazaLeNounours , you mean like this right?

SH2_Error

This is actually how I originally installed and ran SH2EE. But it looks like it doesn't even open the program when I take this route. It was working perfectly fine before the last update, but I'm not sure why it seems to be working for some and not others.

I do have Visual C++ installed on my Deck (needed to run another fan project that was made using the Unreal engine), but I don't think this should interfere with the operation of other programs? Could be wrong, but I just assumed. All my other programs seem to be running okay.

@ZazaLeNounours
Copy link

@JaceyRiley yeah, it seems to be okay. But I was having the same problem before I added the .dll provided by Elisha (https://github.com/elishacloud/Silent-Hill-2-Enhancements/files/10864688/dinput8.zip) to the game's folder, which completely fixed the issue for me.

Maybe you should start again : remove everything EE related (EEsetup.exe can do that), restart a complete installation of EE (including Xidi) and then add the .dll. If it's still not working after that, well I'm out of ideas, sorry :(

@Matt1412
Copy link

Matt1412 commented Mar 6, 2023

@ZazaLeNounours
My clean installation after running SH2EEsetup.exe doesn't have issue to launch and see the menu of the game.

@JaceyRiley
I'm out of ideas. Do you have other non Steam Windows or Steam Windows only game to test? I can launch a non Steam Windows game, Devotion just fine using the Steam client + Proton. If another Windows game can't launch, you probably broke Proton.

@Volantex
Copy link

Volantex commented Mar 6, 2023

@JaceyRiley

Don't know if this makes a difference or not but I was having issues launching the game, until I used DLL dinput8.zip (provided Elisha).

I also have this written in to the launch options box, as per the guide instructions, link at the bottom.

LAUCH OPTIONS

STEAM_COMPAT_MOUNTS=/run/media/mmcblk0p1/ %comman%

I found that restarting the deck after adding the new dll, helped.

https://youtu.be/vHWg6iI_yPs

@JaceyRiley
Copy link

@Volantex @Matt1412

Oh my god, FINALLY.

I finally got it up and running! The only step I revised was restarting my Deck. Thank you SO much for that suggestion @Volantex. Thanks everyone who helped me troubleshoot this bad boy!

Also, @Volantex , that line that you cited:

STEAM_COMPAT_MOUNTS=/run/media/mmcblk0p1/ %command%

May only applicable when you're running the game from an SD card. I'm just running it straight from my SSD to be safe.

Thanks again!

@akrylysov
Copy link

akrylysov commented Jul 20, 2023

If anyone is having troubles launching the game after install, try removing spaces from the game directory name. Renaming Silent Hill 2 to SilentHill2 and updating the target in Steam fixed the launch issue for me.

The game launches, but I can't make the controller work properly. The bindings are wrong, select and start buttons don't trigger any actions, I would expect them to trigger pause/inventory. L1 and R1 work, they are assigned to left/right strafe. I tried XInput and DirectInput, but it didn't make any difference. The dll from the comment above didn't make a difference. In the gaming mode the game is setup to use the default "Gamepad with Joystick Trackpad" layout.

@akrylysov
Copy link

I managed to fix the controller issues by adding a library override for dinput8.dll in winecfg and selecting DirectInput.

@PRN-oss
Copy link

PRN-oss commented Aug 10, 2023

Hoping to get some help and followed steps of @JaceyRiley and @ZazaLeNounours

  1. Fresh install of SH2 extracted version, and EE setup
  2. EE setup added to steam, proton compatibility on, installed, then switched target to sh2pc.exe

The EE setup works without issue, but SH2 doesn’t launch from steam either by desktop or gaming mode. Only way it works is by clicking on the exe itself in folder which prompts protontricks to ask for a wine prefix, then launching when I select the steam entry.

When it does launch then custom steam input profiles don’t work, and game pad is not properly detected. I followed all of @akrylysov advice changing folder name, dinput8 library override even though it comes default at this point, and selecting Dinput in config file

So, now issues are

  1. launching from steam itself (preferably gaming mode) without terminating the process unless I launch exe directly and choose a wine prefix
  2. Fixing controller bindings which are completely off

Hoping anyone can help walk me through it since it’s been a couple months since last update and something might have changed/broken

PS I tried this with and without the most recent dll update here

@JaceyRiley
Copy link

@PRN-oss so sorry for the late reply on this. Did you end up getting it to work?

@Bobba4352
Copy link

Hi. So I got it up and running on my steam deck, but I have 2 major problems:

  1. The game has been set to safe graphics mode, so now I can't go above 1024x768. I do not know how to turn it off.
  2. The game consumes WAY too much resources on my steam deck. To the point where the fan blows loudly like I'm playing a AAA game. Is there a way to make it use less resources?

@ZazaLeNounours
Copy link

Not sure about your first point, but for the second one, you can safely cap the TDP at 5 or 6W and it will run just fine, even at 60 FPS.

@Bobba4352
Copy link

Not sure about your first point, but for the second one, you can safely cap the TDP at 5 or 6W and it will run just fine, even at 60 FPS.

Kk, thanks. Hoping to find a way to turn off safe graphics mode.

@elishacloud
Copy link
Owner

Safe graphics mode likely means that you are not running the Enhanced Edition at all. Can you check the log file and see if a log file is being created or updated on launch?

@raravan
Copy link

raravan commented Dec 11, 2023

OK, that's what worked out for me.
I've installed SH2 and EE on my windows PC first. Did some configuration via "SH2EEconfig.exe", but not necessary.
Copied the game folder to my Steam Deck (desktop mode). Added "sh2pc.exe" as a non-steam game.
I've set compatibility mode to GE-Proton8-24 and this single LAUNCH option: WINEDLLOVERRIDES="d3d8=n,b" %command%
Game works like a charm now.

@borduere
Copy link

borduere commented Jan 15, 2024

Edit: @raravan 's solution is working. Thanks a lot!


My issue was:

I ran the setup on my windows laptop where starting the sh2pc.exe starts the enhanced version. On my Steam Deck unfortunately only the Directors Cut version starts. I replaced the dll, tried proton 8.25 and 7.06 (it only starts with 7.06) but it just starts the Directors Cut and completely ignores the EE version. My folder structure is definitely right. Anyone here able to help me? Trying for hours to troubleshoot this

@JMopt
Copy link

JMopt commented Mar 8, 2024

So I followed everything on here and now when the game boots up, it asks me if I want to update the game. I'm unable to select yes or no in game or desktop mode, and when I try to update it with the setup tool in my SH2 directory, it says my files are all up to date.

I've also booted up the config tool and disabled the auto update module, but the issue still persists. Any help would be greatly appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests