Closed RoyvanEmpel closed 3 years ago
It seems like you might have installed the development version of Protontricks at one point. Try removing the ~/.cache/protontricks
directory and check if it works again.
1.4.4 only generates the scripts inside ~/.cache/protontricks
once, but later versions regenerate them every time because their content is now subject to change.
That seems to have fixed something but it still isn't working. Still telling me that wine is out of date
roy@pop-os:~$ protontricks 244210 --gui dotnet472
winetricks GUI enabled, using zenity 3.32.0
Executing mkdir -p /home/roy/.steam/steam/steamapps/compatdata/244210
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Using winetricks 20210206-next - sha256sum: 9f64e526c35d661c50db78f2ca1a8e7ec44f112e514cf3d9e71c40490276a8d0 with wine-5.13-789-gc14054e6923 and WINEARCH=win64
Executing w_do_call dotnet472
Executing mkdir -p /home/roy/.steam/steam/steamapps/compatdata/244210
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Executing load_dotnet472
------------------------------------------------------
warning: This package (dotnet472) is broken in wine-5.13-789-gc14054e6923. Broken since 5.12. Upgrade to >=5.18. See https://bugs.winehq.org/show_bug.cgi?id=49532 for more info. Use --force to try anyway.
------------------------------------------------------
roy@pop-os:~$ wine --version
wine-6.4 (Staging)
Protontricks is working as intended and using Proton 5.13 as configured in Steam.
You can either try using the --force
flag as suggested by Winetricks (though it's not likely to work), a different Proton version (select game in Steam library -> Properties -> Compatibility -> Force the use of a specific Steam Play compatibility tool), or skip Protontricks and run the system Wine against the game's prefix directly.
The latter can be done like this:
# First, find the prefix path
$ protontricks -c "env | grep WINEPREFIX" 244210
WINEPREFIX=<prefix_path>
# Now, use the prefix path to run Winetricks using system binaries
$ WINEPREFIX=<prefix_path> winetricks dotnet472
Oke I tried that and winetricks is giving me the the same error about wine. Do you know of a way to fix this?
roy@pop-os:~$ WINEPREFIX=WINEPREFIX=/home/roy/.steam/steam/steamapps/compatdata/244210/pfx winetricks dotnet472
------------------------------------------------------
warning: Your version of wine is no longer supported upstream. You should upgrade to 5.x
------------------------------------------------------
Executing mkdir -p WINEPREFIX=/home/roy/.steam/steam/steamapps/compatdata/244210
ls: cannot access 'WINEPREFIX=/home/roy/.steam/steam/steamapps/compatdata/244210/pfx/drive_c': No such file or directory
grep: WINEPREFIX=/home/roy/.steam/steam/steamapps/compatdata/244210/pfx/*.reg: No such file or directory
------------------------------------------------------
WINEPREFIX INFO:
Drive C:
Registry info:
WINEPREFIX=/home/roy/.steam/steam/steamapps/compatdata/244210/pfx/*.reg:
------------------------------------------------------
------------------------------------------------------
warning: wine cmd.exe /c echo '%AppData%' returned empty string, error message "wine: invalid directory WINEPREFIX=/home/roy/.steam/steam/steamapps/compatdata/244210/pfx in WINEPREFIX: not an absolute path"
------------------------------------------------------
roy@pop-os:~$ wine --version
wine-6.4 (Staging)
It looks like you typed WINEPREFIX=WINEPREFIX=<path>
instead of just WINEPREFIX=<path>
.
WINEPREFIX=/home/roy/.steam/steam/steamapps/compatdata/244210/pfx winetricks dotnet472
should do the trick.
Whoops... haha Thanks I will try this
Closing due to inactivity.
Describe the bug Error when trying to install/uninstall/use protontricks
To Reproduce Have had protontricks for a while on my pc and for some reason it stopped working after trying to install
protontricks 244210 dotnet472
System Distro: Pop!_OS 20.10 kernel 5.8.0 Protontricks version: 1.4.4 Steam version: 1613176728 (no beta)
Additional context Wine: wine-6.4 (Staging) Pipx: 0.16.1.0 Python: 3.9.0
Error log: https://pastebin.com/raw/AXyZRZD1