Matoking / protontricks

A wrapper that does winetricks things for Proton enabled games, requires Winetricks.
GNU General Public License v3.0
1.56k stars 35 forks source link

Protontricks wont open up .exe files anymore on steam deck #234

Closed SCKitkat closed 1 year ago

SCKitkat commented 1 year ago

Describe the bug When playing Sonic Adventure 2 with mods on steam deck with the sonic adventure 2 mod loader.exe, protontricks will show the icon in the bottem for 4 seconds then disappear, not showing the protontricks menu to choose a game. Before yesterday the mod loader would always show up after selecting sonic adventure 2. I am using proton tricks via the discover store on steam deck.

To Reproduce I have looked on reddit and on the github if anyone else has run into the issue, but i could not find anyone who had the same issue I had, furthermore any other exe. files will refuse to load with protontricks too. I am sorry since I am new to Linux and have only used it when using the steam deck. I also tried uninstalling and reinstalling proton tricks many times and restarted and shutdown the steam deck too.

Matoking commented 1 year ago

Can you open Konsole in desktop mode and run the following command:

flatpak run com.github.Matoking.protontricks -v --gui

This will generate a lot of output. You can copy the output, upload it using gist.github.com and post the link here. Since neither the "select game" or error dialog is appearing, this might provide an explanation for why it's not happening.

SCKitkat commented 1 year ago

https://gist.github.com/SCKitkat/2379cb36a86f917ad40677da1c49120c

Matoking commented 1 year ago

The output looks normal, and Protontricks itself reports that the game selection dialog was closed by the user (No game was selected. Quitting...), although this isn't the case here. Very weird.

Did this start happening after you added a shortcut to Steam? What if you try temporarily removing that shortcut and starting Protontricks again?

SCKitkat commented 1 year ago

Hello, do you know how to locate and delete a shortcut? I'm new to Linux, sorry. I also deleted it via home>.local>share>applications but still the proton tricks doesn't work

SCKitkat commented 1 year ago

I finally got proton tricks to work by deleting the com.github.matoking.protontricks-launcher.desktop.desktop in~/.local/share/applications then under system settings go to file associations then look up .exe and add /var/lib/flatpak/app/com.github.Matoking.protontricks/current/active/export/share/applications/com.github.Matoking.protontricks-launch.desktop

Then go to home>.local>share>applications and in the new com.github.matoking.protontricks-launcher.desktop.desktop under Kate replace the code and add the following under ~/.local/share/applications


Exec=/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=protontricks-launch --file-forwarding com.github.Matoking.protontricks --no-term @@ %f @@
Name=Protontricks Launcher
Type=Application
Terminal=false
NoDisplay=true
Categories=Utility
Icon=com.github.Matoking.protontricks
MimeType=application/x-ms-dos-executable;application/x-msi;application/x-ms-shortcut;
X-Flatpak=com.github.Matoking.protontricks