SheffeyG / CheatDeck

Launch games with cheat or trainer and manage launch options for steamdeck
GNU General Public License v3.0
46 stars 5 forks source link

Some games run without trainer #19

Open stimulusprime opened 5 months ago

stimulusprime commented 5 months ago

Hey! Maybe this question was already solved, though I can’t find a solution. It seems like some games do not allow to run something parallel. Like Elden Ring or Hollow Knight. They just run without trainers. I’ve tried everything, can’t get, what’s the problem.

Mte90 commented 5 months ago

I have similar issue with Ghostrunner. Maybe adding a notification when the trainer is executed so the user knows when is started can be something.

Mte90 commented 5 months ago

Reading the plugin code just set some variable inside steam doesn't execute the trainer itself like Steam Tinker Launch. The variables PROTON_REMOTE_DEBUG_CMD and PRESSURE_VESSEL_FILESYSTEMS_RW so it isn't possible that this plugin shows an alert.

Reading on https://github.com/SheffeyG/CheatDeck/blob/a5804031a543dcf851e2a426a4fa19295da4fc89/src/views/Normal.tsx#L51 those parameters should be configured inside steam.

Trying to understanding how works I see that a similar plugin use the same method but check if the parameters are really saved https://github.com/Tormak9970/bash-shortcuts/blob/cf7ee7831bbd076272ec593703c34ca19a961ddb/src/lib/controllers/SteamController.ts#L235 Basically wait a bit and does a check https://github.com/Tormak9970/bash-shortcuts/blob/cf7ee7831bbd076272ec593703c34ca19a961ddb/src/lib/controllers/SteamController.ts#L91

So the only thing is to check if steam saves those parameters, I have to see in the game setting next time on my steam deck.

SheffeyG commented 5 months ago

Please make sure the the developer mode and cef debugger is enabled, and there is always some compatibility issues for some games,but in my case,the hollow knight trainer v2021.06.13 works fine

Mte90 commented 5 months ago

I will do that check but there isn't a way to do an alert about those if they are enabled?

SheffeyG commented 5 months ago

@Mte90 Yes, we can do the check when we click save buttom, but I don't think the reason trainer does not run with the game is the options are not saved.

Mte90 commented 5 months ago

@Mte90 Yes, we can do the check when we click save buttom, but I don't think the reason trainer does not run with the game is the options are not saved.

So the only way is to check the proton log for that game and see what says, there is a variable for that PROTON_LOG?

I don't know where to find a window executables that run everywhere and just open a messagebox that says "Yes I am working".

Mte90 commented 5 months ago

I tried and CEF is enabled on system and on Decky and dev options are enabled in decky and steam deck too.

Adravil commented 4 months ago

Bumping up the topic, because facing the same problem.

So the problem seem to be game-related 🤔

Richm246 commented 3 months ago

I am trying it with Retro City Rampage DX and it won't launch Aurora, but Sleeping Dogs: Definite Edition is fine

SheffeyG commented 3 months ago

Whether a trainer could work are compatible depends greatly on the games and compatibility layer. You can leave games that can run normally or relevant troubleshooting methods in this post. https://github.com/SheffeyG/CheatDeck/discussions/23