RE-UE4SS icon indicating copy to clipboard operation
RE-UE4SS copied to clipboard

[BUG - Release] Steam Deck crashes on startup

Open diesel64 opened this issue 1 year ago • 13 comments

Branch or Release 3.0.0

Game and Engine Version Persona 3 Reload UE4 4.27

Describe the bug Game crashes on startup, no errors seem to be listed in the log.

To Reproduce Steps to reproduce the behavior:

  1. Launch game

Expected behavior An error popup stating "Unable to load library steamclient64.dll"

Screenshots and UE4SS Log UE4SS.log

Desktop (please complete the following information):

  • OS: SteamOS

diesel64 avatar Feb 06 '24 17:02 diesel64

Steam deck is not officially supported by UE4SS.

However, have you tried following this instruction? https://www.reddit.com/r/HarryPotterGame/comments/11h4v1c/comment/jiom3hs/?utm_source=share&utm_medium=web2x&context=3

Buckminsterfullerene02 avatar Feb 07 '24 11:02 Buckminsterfullerene02

I'm getting the same exact error on Debian. Seems like UE4SS doesn't play well with P3R. I've followed the instructions on reddit (they typo'd the dll file tho) but to no avail.

bunkbail avatar Feb 20 '24 03:02 bunkbail

Native linux support isn't quite here yet, so you need to do some messing about with wine.

Buckminsterfullerene02 avatar Feb 20 '24 13:02 Buckminsterfullerene02

Native linux support

Is completely irrelevant as there is no Linux build of the game

trumank avatar Feb 20 '24 16:02 trumank

Steam deck is not officially supported by UE4SS.

However, have you tried following this instruction? https://www.reddit.com/r/HarryPotterGame/comments/11h4v1c/comment/jiom3hs/?utm_source=share&utm_medium=web2x&context=3

I have tried this without much luck at all, I've also tried using Ultimate ASI Loader and renaming the UE4SS.dll to have an .asi extension so it would load it (in case it was an issue with how the library hooked the DLL into the process), I've tried WINEDLLOVERRIDES, and yet, nothing fixes the problem for me. Something's up with how UE4SS functions that prevents it from even running on Proton.

KingKrouch avatar Mar 20 '24 17:03 KingKrouch

Steam deck is not officially supported by UE4SS. However, have you tried following this instruction? https://www.reddit.com/r/HarryPotterGame/comments/11h4v1c/comment/jiom3hs/?utm_source=share&utm_medium=web2x&context=3

I have tried this without much luck at all, I've also tried using Ultimate ASI Loader and renaming the UE4SS.dll to have an .asi extension so it would load it (in case it was an issue with how the library hooked the DLL into the process), I've tried WINEDLLOVERRIDES, and yet, nothing fixes the problem for me. Something's up with how UE4SS functions that prevents it from even running on Proton.

While I can't comment on whether UE4SS works on the steam deck (I have no idea), I can say that it definitely works with proton, and in fact, that's I use it most of the time.

UE4SS avatar Mar 20 '24 17:03 UE4SS

Oh and ever since 3.0, I haven't needed to use WINEDLLOVERRIDES, it just works out of the box if dwmapi.dll exists in the directory.

UE4SS avatar Mar 20 '24 17:03 UE4SS

Yeah, I'm using it on Proton, and even without the WINEDLLOVERRIDES, it looks like the same error regarding the steamclient64.dll happens. I've tried this with Hogwarts Legacy, Persona 3 Reload, and a few other games without any luck.

KingKrouch avatar Mar 20 '24 17:03 KingKrouch

IIRC this had something to do with UE4SS touching the DLL search path to load cpp mods and had to comment these lines out to get a particular game to work through WINE: https://github.com/UE4SS-RE/RE-UE4SS/blob/332eea5711d036edd428b733f27214e8128e3d96/UE4SS/src/UE4SSProgram.cpp#L394-L397

trumank avatar Mar 20 '24 20:03 trumank

IIRC this had something to do with UE4SS touching the DLL search path to load cpp mods and had to comment these lines out to get a particular game to work through WINE: https://github.com/UE4SS-RE/RE-UE4SS/blob/332eea5711d036edd428b733f27214e8128e3d96/UE4SS/src/UE4SSProgram.cpp#L394-L397

Do you happen to have a test build compiled so I can test this?

KingKrouch avatar Apr 12 '24 16:04 KingKrouch

IIRC this had something to do with UE4SS touching the DLL search path to load cpp mods and had to comment these lines out to get a particular game to work through WINE: https://github.com/UE4SS-RE/RE-UE4SS/blob/332eea5711d036edd428b733f27214e8128e3d96/UE4SS/src/UE4SSProgram.cpp#L394-L397

Do you happen to have a test build compiled so I can test this?

You can try this one: https://github.com/UE4SS-RE/RE-UE4SS/releases/download/experimental/UE4SS_v3.0.1-52-g7d6f790.zip In that one, we don't use SetDefaultDllDirectories.

UE4SS avatar Apr 13 '24 01:04 UE4SS

IIRC this had something to do with UE4SS touching the DLL search path to load cpp mods and had to comment these lines out to get a particular game to work through WINE: https://github.com/UE4SS-RE/RE-UE4SS/blob/332eea5711d036edd428b733f27214e8128e3d96/UE4SS/src/UE4SSProgram.cpp#L394-L397

Do you happen to have a test build compiled so I can test this?

You can try this one: https://github.com/UE4SS-RE/RE-UE4SS/releases/download/experimental/UE4SS_v3.0.1-52-g7d6f790.zip In that one, we don't use SetDefaultDllDirectories.

Sweet, this seems to work without issues with Persona 3 Reload on Proton at least. Thanks!

KingKrouch avatar Apr 13 '24 02:04 KingKrouch

Hi

Can confirm both the error with the normal build and the experimental build fixing it in latest SteamOS 3 stable (Steam Deck) with the videogame Video Horror Society running on Proton 9.

Thanks for this terribly incredible tool btw.

LuisMayo avatar May 09 '24 17:05 LuisMayo