DeckCheatz / wemod-launcher

Tool made to launch the popular Game Trainer / Cheat tool WeMod along with your game (made for steam-runtime version in Linux).
MIT License
186 stars 10 forks source link

[BUG]: WeMod shorcuts under SteamOS gaming mode freeze the device #119

Closed believeinyuna closed 1 month ago

believeinyuna commented 1 month ago

Describe the bug

using the latest version of wemod-launcher, got everything working on game mode (doesn’t work on desktop mode), able to switch between wemod and the game. i changed the hotkey of a cheat to the button 8, and switched back to the game, enabled steam deck keyboard, pressed 8, and everything freezes with an audio glitch, sometimes it black screens and sometimes it just freezes the game, i have to press the power button for 3 seconds to turn it off. the game is fields of mistria, using ge-proton 9.11 (latest).

Steps to reproduce the behavior

  1. use wemod-launcher with fields of mistria in game mode
  2. set a custom keybind to enable chest that steam deck keyboard can do (like a number)
  3. switch to game and open the steam deck keyboard
  4. press the button you set. you will hear wemod activating it
  5. the game will freeze and crash

Expected behavior

it doesn’t crash

Logs

n/a

Screenshots

No response

System Information

steamOS GE-proton 9.11

Additional context

No response

believeinyuna commented 1 month ago

i have tried setting the hotkeys to something i can use in wemod (in this case r5 on the deck which comes up as ‘left’ in wemod) and enabled it. the mod enables and i get a privacy agreement pop up on wemod. after a few seconds it freezes. enabling this agreement, or switching back to fields of mistria, doesn’t change anything, it always freezes on enable.

marvin1099 commented 1 month ago

This is a wemod issue (it may also be a issue of steam os), not a issue by wemod-launcher. All you can try is to activate the cheat by clicking on it instead of using the hotkey, you can also try to make it work in desktop mode, there hotkeys have worked for other users in the past. If you want help setting that up, then i can probably help. You can also just check out the wemod-launcher wiki it has guides you can follow. For a simple setup there is the wiki quick guide and there also is a very detailed guide here

believeinyuna commented 1 month ago

unfortunately i cannot access wemod in desktop mode (i can’t make wemod be on top of the game window, or tab out of the game, or switch windows) and i don’t have wemod pro to be able to click on the options themselves so i assume i’m out of options :(

marvin1099 commented 1 month ago

Why cant you tab out exactly? Tabbing out may work better if you use borderless fullscreen mode. Usually you can tab out using alt + tab or you should be able to press the meta key (windows key) to open the application menu, from there you can use alt + tab. Also in if you still want gaming mode you can switch between all opened windows / progamms using the steam button if you have developer mode enabled.

believeinyuna commented 1 month ago

the game doesn’t let you switch between full screen, borderless or windowed. it has no options like that. i’ve tried alt tab and it doesn’t do anything. in fact when the game launches nothing works, just the in game buttons, all shortcuts and commands stop working. i assume it’s just something to do with how fields of mistria is.

and that’s what i was doing, i had developer mode on in game mode and that’s how i switched to wemod and back. but again that caused my deck to crash when enabling any trainer options.

marvin1099 commented 1 month ago

If the game has no borderless fullscreen mode (this is of couse only usefull for destkop mode), you can use windowed mode and then use the kde desktop shorcut to make it a borderless window.

marvin1099 commented 1 month ago

the game doesn’t let you switch between full screen, borderless or windowed. it has no options like that. i’ve tried alt tab and it doesn’t do anything. in fact when the game launches nothing works, just the in game buttons, all shortcuts and commands stop working. i assume it’s just something to do with how fields of mistria is.

and that’s what i was doing, i had developer mode on in game mode and that’s how i switched to wemod and back. but again that caused my deck to crash when enabling any trainer options.

So it crashed if you clicked on the option then?

marvin1099 commented 1 month ago

If the game has no borderless fullscreen mode (this is of couse only usefull for destkop mode), you can use windowed mode and then use the kde desktop shorcut to make it a borderless window.

Well dose mistria have a window mode?

believeinyuna commented 1 month ago

i can’t test clicking on it, as i said before i don’t have pro. i can only do the hotkeys.

no, i said before, no option for windowed.

the game doesn’t let you switch between full screen, borderless or windowed. it has no options like that. i’ve tried alt tab and it doesn’t do anything. in fact when the game launches nothing works, just the in game buttons, all shortcuts and commands stop working. i assume it’s just something to do with how fields of mistria is.

marvin1099 commented 1 month ago

Thats what confused me, you can click to enable mods just fine in wemod without having pro, you need pro to use the mobile app, then you can do it on a other device

believeinyuna commented 1 month ago

nope. when i try to click them it says it requires pro. you can only use the hotkeys. i looked into it, and it is a paid for feature to click on them.

believeinyuna commented 1 month ago

https://community.wemod.com/t/every-cheat-for-every-game-is-for-pro/78015

discussion about it on wemods own forums.

marvin1099 commented 1 month ago

would you upload a screenshot of the mods section and also you clicking on the mod?

marvin1099 commented 1 month ago

for me it looks like this:

Before I clicked image (click to show) ![Screenshot_20240824_235935](https://github.com/user-attachments/assets/e8ab7bd9-8d46-4037-9f65-ceb960b94ee5)

then i clicked on it

After I clicked image (click to show) ![Screenshot_20240824_235949](https://github.com/user-attachments/assets/e3b44a34-01c9-4dad-a672-e6d81d863fbe)
marvin1099 commented 1 month ago

https://community.wemod.com/t/every-cheat-for-every-game-is-for-pro/78015: I see i think i have a old version then??? I can send you my files if you like to try them.

believeinyuna commented 1 month ago

IMG_6089 i can’t send my own screenshot. i got this from google. it looks like this when you try to click.

when i use git pull it says i have the latest version. i installed it only today, so i doubt wemod-launcher gave me an old version of wemod?

marvin1099 commented 1 month ago

Got it so some stuff can be used with mouse, in your screenshot Unlimited potions are free (can be used with mouse, that's what it looks like for me most of the time). Have you tried using a external keyboard? That may work.

marvin1099 commented 1 month ago

Here are also some other ways you may be able to tab out in destop mode: Use Alt + Space to open KRunner. Set a shortcut for minimizing all windows like Ctrl + Alt + D and press it. Set a shortcut for switching to another desktop, like Ctrl + Alt + → or Ctrl + Alt + ←, and press it to move to a different desktop. Set a shortcut for focusing the next or previous window, like Meta + Tab, and use it to change focus. Use Ctrl + Alt + F4 to switch to a TTY, then return with Ctrl + Alt + F2. Press Ctrl + Esc to open System Activity and select a different window.

believeinyuna commented 1 month ago

i don’t have a physical keyboard so i can’t try these, sorry. i tried putting several combos on the controller setting already but they didn’t do anything.

marvin1099 commented 1 month ago

Here are also some other ways you may be able to tab out in destop mode: Use Alt + Space to open KRunner. Set a shortcut for minimizing all windows like Ctrl + Alt + D and press it. Set a shortcut for switching to another desktop, like Ctrl + Alt + → or Ctrl + Alt + ←, and press it to move to a different desktop. Set a shortcut for focusing the next or previous window, like Meta + Tab, and use it to change focus. Use Ctrl + Alt + F4 to switch to a TTY, then return with Ctrl + Alt + F2. Press Ctrl + Esc to open System Activity and select a different window.

You can of course change the shortcuts to something a steamdeck can use (you and also try to change the shortcut for regular tabbing out).

believeinyuna commented 1 month ago

yes i tried to do it through steam deck controller settings and changing keybinds to do different combos. they work fine until i open the game, then they stop working.

marvin1099 commented 1 month ago

yes i tried to do it through steam deck controller settings and changing keybinds to do different combos. they work fine until i open the game, then they stop working.

did any of the other shortcuts work that i have suggested? like space +alt for KRunner. What i also forgot was you might be able to use alt + enter to go to window mode or f11. And you can also try the application launcher (windows key / meta key by default) and try to change that shortcut as well. Also i just remembered you might be able to use the overview shortcut, I'm going to try this game and see if i can get into windowed mode.

marvin1099 commented 1 month ago

What exactly is the game name, i only game found on steam was Fields of Mistria and that game has a window mode, you dont mean that one, do you? Here a image of that with the shortcut setting to make the window into a fullscreen window. If you do it like that then alt + tab works for shure. Fields of Mistria Windowed

marvin1099 commented 1 month ago

There is a way to make any game run in window mode you can use gamescope to run the game in a window. You can set the steam command to (install gamescope for that of course):

/home/$USER/wemod-launcher/wemod gamescope -w 1920 -h 1080 --fullscreen -r 60 -- %command%

where you have full control over the game-window, by adding --fullscreen you enable fullscreen (so you may need to remove it actually) -w and -h set the window size -r sets the framerate you can remove or add these as you need.

marvin1099 commented 1 month ago

I assume this has solved the issue, please say if not, for now i will close this issue.