Matoking / protontricks

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

Unbale to find proton GE on NixOS #325

Open DockterTeagle opened 4 months ago

DockterTeagle commented 4 months ago

Describe the bug ProtonTricks seems unable to find proton GE on nixos, despite detecting it

To Reproduce Steps to reproduce the behavior:

  1. use this nixos Config https://github.com/DockterTeagle/myNixOS (only the gaming.nix is requried but Ithought it would be better to show the whole config)
  2. run protontricks --gui and click on any installed steam game
  3. problem appears

Expected behavior for proton tricks to detect protonGE

System (please complete the following information):

Additional context

If the error happens when trying to run a Protontricks command, run the command again using the -vv flag and copy the output! run protontricks --gui -vv and this is the output

protontricks (DEBUG): Stream log handler added
protontricks (INFO): Found Steam directory at /home/cdockter/.local/share/Steam
protontricks (INFO): Steam Runtime disabled.
protontricks (INFO): WINETRICKS environment variable is not available. Searching from $PATH.
protontricks (DEBUG): Found Steam library folder /home/cdockter/.local/share/Steam. Is Flatpak path: False, Is XDG Steam path: True.
protontricks (INFO): Found 1 Steam library folders
protontricks (DEBUG): Following inaccessible paths were found: set()
protontricks (DEBUG): Following paths have been ignored: set()
protontricks (DEBUG): Creating SteamApp from manifest file in /home/cdockter/.local/share/Steam/steamapps/appmanifest_230410.acf
protontricks (DEBUG): Found compatdata directories for app 230410: [PosixPath('/home/cdockter/.local/share/Steam/steamapps/compatdata/230410/pfx')]
protontricks (DEBUG): Creating SteamApp from manifest file in /home/cdockter/.local/share/Steam/steamapps/appmanifest_1628350.acf
protontricks (DEBUG): Found compatdata directories for app 1628350: []
protontricks (DEBUG): Creating SteamApp from manifest file in /home/cdockter/.local/share/Steam/steamapps/appmanifest_582010.acf
protontricks (DEBUG): Found compatdata directories for app 582010: [PosixPath('/home/cdockter/.local/share/Steam/steamapps/compatdata/582010/pfx')]
protontricks (DEBUG): Found Steam user entries: [{'steamid3': 1097569527, 'account_name': 'dr_teagle', 'timestamp': '1722434360'}]
protontricks (INFO): Currently logged-in Steam user: dr_teagle
protontricks (INFO): Couldn't find custom shortcuts. Maybe none have been created yet?
protontricks (INFO): Using 'yad' as GUI provider
protontricks (DEBUG): Finding Steam compat tool name for appid 230410
protontricks (DEBUG): Loading appinfo.vdf in /home/cdockter/.local/share/Steam/appcache/appinfo.vdf
protontricks (DEBUG): appinfo.vdf has magic number b'(DV\x07'
protontricks (DEBUG): Found CompatToolMapping entry
protontricks (INFO): User has configured app Proton version (CompatToolMapping): GE-Proton9-10
protontricks (INFO): User has configured default Proton version (CompatToolMapping): GE-Proton9-10
protontricks (DEBUG): proton_experimental has compat tool aliases ['proton_experimental', 'proton-experimental']
protontricks (DEBUG): proton_9 has compat tool aliases ['proton_9', 'proton-9', 'proton-9.0-1RC', 'proton-stable', 'proton-next', 'proton_next', 'proton-7.0-1', 'proton-7.0-2', 'proton-7.0-3', 'proton-7.0-4', 'proton-7.0-5', 'proton-7.0-6', 'proton-8.0-1', 'proton-8.0-2', 'proton-8.0-3', 'proton-8.0-4', 'proton-8.0-5', 'proton-8.0RC', 'proton-9.0-2RC']
protontricks (DEBUG): proton_8 has compat tool aliases ['proton_8', 'proton-8.0-5pin']
protontricks (DEBUG): proton_7 has compat tool aliases ['proton_7', 'proton-7.0-6pin']
protontricks (DEBUG): proton_63 has compat tool aliases ['proton_63', 'proton-6.3-8']
protontricks (DEBUG): proton_513 has compat tool aliases ['proton_513', 'proton-5.13-6']
protontricks (DEBUG): proton_5 has compat tool aliases ['proton_5', 'proton-5.0-10']
protontricks (DEBUG): proton_411 has compat tool aliases ['proton_411', 'proton-4.11-13']
protontricks (DEBUG): proton_42 has compat tool aliases ['proton_42', 'proton-4.2-9']
protontricks (DEBUG): proton_316 has compat tool aliases ['proton_316', 'proton_316_beta', 'proton-3.16-9']
protontricks (DEBUG): proton_37 has compat tool aliases ['proton_37', 'proton_37_beta', 'proton-3.7-8']
protontricks (DEBUG): proton_hotfix has compat tool aliases ['proton_hotfix', 'proton-hotfix']
protontricks (DEBUG): steamlinuxruntime_sniper has compat tool aliases ['steamlinuxruntime_sniper']
protontricks (DEBUG): steamlinuxruntime_soldier has compat tool aliases ['steamlinuxruntime_soldier']
protontricks (DEBUG): steamlinuxruntime has compat tool aliases ['steamlinuxruntime', 'native']
protontricks (ERROR): Could not find configured Proton installation!
protontricks (ERROR): Active Proton installation could not be found automatically.
Proton installation could not be found!

The reason I am filing it here is because this seems to detect protonGE but doesnt seem to use it, also because this didnt occur until after I reinstalled everything

diniamo commented 2 months ago

@DockterTeagle use programs.steam.protontricks.enable to install protontricks. As a rule of thumb, you want to use the option to install a program, if one exists.