Matoking / protontricks

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

Protontricks was closed due to the following error, #334

Closed EliteAMDGamer closed 1 month ago

EliteAMDGamer commented 1 month ago

Protontricks was closed due to the following error:

Just trying to open any games proton tricks results in this error, this also occurs with the non flatpak arch version but trying with the flatpak currently. The game I tested this with was no man sky. it is on my home dir. also tried with palwold. Both games run normally in steam.

Traceback (most recent call last):
  File "/app/lib/python3.11/site-packages/protontricks/cli/util.py", line 159, in wrapper
    return cli_func(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/lib/python3.11/site-packages/protontricks/cli/main.py", line 277, in main
    proton_app = find_proton_app(
                 ^^^^^^^^^^^^^^^^
  File "/app/lib/python3.11/site-packages/protontricks/steam.py", line 848, in find_proton_app
    tool_app = find_steam_compat_tool_app(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/lib/python3.11/site-packages/protontricks/steam.py", line 609, in find_steam_compat_tool_app
    appinfo_sections = [
                       ^
  File "/app/lib/python3.11/site-packages/protontricks/steam.py", line 609, in <listcomp>
    appinfo_sections = [
                       ^
  File "/app/lib/python3.11/site-packages/protontricks/steam.py", line 531, in iter_appinfo_sections
    raise SyntaxError(
SyntaxError: Invalid file magic number. The appinfo.vdf version might not be supported by the current version of Protontricks - please check for updates.

=============

Please include this entire error message when making a bug report.
Log messages:

Running inside Flatpak sandbox, version 1.15.10.
Found Steam directory at /home/elite/.local/share/Steam
Using default Steam Runtime at /home/elite/.local/share/Steam/ubuntu12_32/steam-runtime
WINETRICKS environment variable is not available. Searching from $PATH.
Found 6 Steam library folders
Unknown Flatpak file system permission 'home:ro', ignoring.
Steam library folder /mnt/nvme1n1p2/Program Files (x86)/Steam not found. Protontricks might not have access to the directory.
Steam library folder /mnt/SteamLinux/SteamLibrary not found. Protontricks might not have access to the directory.
Steam library folder /mnt/Game-Other/Games/SteamLibrary not found. Protontricks might not have access to the directory.
Steam library folder /mnt/9a4ea80f-2738-4a94-8ff3-da6301e49b58/SteamLibrary not found. Protontricks might not have access to the directory.
Steam library folder /mnt/267902CE03956932/SteamLibrary not found. Protontricks might not have access to the directory.
Currently logged-in Steam user: *********
Shortcut CYGNI - All Guns Blazing (4181347921) does not have a prefix. It's either not a Proton app or it hasn't been launched yet.
Found 0 Steam shortcuts running using Steam compatibility tools
Using 'yad' as GUI provider
Operating System: Garuda Linux 
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.10.7-1-cachyos (64-bit)
Graphics Platform: Wayland

To Reproduce Steps to reproduce the behavior:

  1. Open proton tricks via your app launcher
  2. Open any working steam game that uses proton
  3. Error message shows up. Expected behavior Proton tricks menu for the game should open after a short time.

System (please complete the following information):