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

Error when trying to launch protontricks #302

Open Vhaggx opened 1 month ago

Vhaggx commented 1 month ago

Describe the bug Im getting two errors when inputting protontricks --gui:

"warning: Your version of wine  is no longer supported upstream. You should upgrade to 8.x"
"warning: Unknown file arch of /home/vhagg/.cache/protontricks/proton/Proton Experimental/bin/wineserver."

To Reproduce Steps to reproduce the behavior:

  1. Run command protontricks --gui and select a steam game downloaded with proton
  2. Command fails and error is displayed

Expected behavior Idk honestly. Protontricks is needed for a game fix I found on the internet

System (please complete the following information):

Additional context

Output of protontricks --gui -vv after selecting a steam game:

protontricks (INFO): Found Steam directory at /home/vhagg/.steam/debian-installation
protontricks (INFO): Using default Steam Runtime at /home/vhagg/.steam/debian-installation/ubuntu12_32/steam-runtime
protontricks (INFO): WINETRICKS environment variable is not available. Searching from $PATH.
protontricks (INFO): Found 1 Steam library folders
protontricks (INFO): Currently logged-in Steam user: vhaggx
protontricks (INFO): Couldn't find custom shortcuts. Maybe none have been created yet?
protontricks (INFO): Using 'zenity' as GUI provider
protontricks (INFO): User has configured default Proton version (CompatToolMapping): proton_experimental
protontricks (INFO): Found active compatibility tool: Proton Experimental
protontricks (INFO): Active compatibility tool is a Proton installation
protontricks (INFO): Using 'bwrap = True' as default value
protontricks (INFO): Using separately installed Steam Runtime: Steam Linux Runtime 3.0 (sniper)
protontricks (INFO): Running Steam Runtime using bwrap containerization.
If any problems arise, please try running the command again using the `--no-bwrap` flag and make an issue report if the problem only occurs when bwrap is in use.
protontricks (WARNING): Current Steam Runtime not recognized by Protontricks.
protontricks (INFO): Created Steam Runtime Wine binary directory at /home/vhagg/.cache/protontricks/proton/Proton Experimental/bin
protontricks (INFO): WINE environment variable is not available. Setting WINE environment variable to Proton bundled version.
protontricks (INFO): WINESERVER environment variable is not available. Setting WINESERVER environment variable to Proton bundled version
protontricks (INFO): Starting bwrap launcher process: /home/vhagg/.cache/protontricks/proton/Proton Experimental/bin/bwrap-launcher
protontricks - bwrap-launcher 14342: Following directories will be mounted inside container: /bin.usr-is-merged /boot /cdrom /etc /home /lib.usr-is-merged /lost+found /media /mnt /opt /root /sbin /sbin.usr-is-merged /snap /srv /tmp
protontricks - bwrap-launcher 14342: Using temporary directory: /tmp/protontricks-lpsu1jep
pressure-vessel-wrap[14342]: E: Child process exited with code 1: bwrap: setting up uid map: Permission denied

protontricks (INFO): bwrap launcher started
protontricks (INFO): Attempting to run command ['/usr/bin/winetricks', '--gui']
Executing cd /usr/bin
winetricks GUI enabled, using zenity 4.0.1
------------------------------------------------------
warning: Your version of wine  is no longer supported upstream. You should upgrade to 8.x
------------------------------------------------------
------------------------------------------------------
warning: Unknown file arch of /home/vhagg/.cache/protontricks/proton/Proton Experimental/bin/wineserver.
------------------------------------------------------
protontricks (INFO): Terminating launcher process 14342
protontricks (INFO): Launcher process terminated

(Im sorry idk how gists work) 

It tells me that I need to upgrade to a newer version but I installed wine just now (using sudo apt install wine)

Here are also screenshots of the errors: Screenshot from 2024-06-04 01-26-12 Screenshot from 2024-06-04 01-26-01

I'm a huge Linux noob btw, so if you need any more information please also tell me how to get it. Thx in advance.

Matoking commented 1 month ago

The version of Protontricks shipped by Ubuntu is outdated. The easiest option would be to install the Flatpak version of Protontricks.

Note that if you need to use the protontricks command from the command-line, you'll need to set up an alias by running the following command:

echo "alias protontricks='flatpak run com.github.Matoking.protontricks'" >> ~/.bashrc

Alternatively, you can try installing the newest versions of Protontricks and Winetricks using the following instructions:

https://github.com/Matoking/protontricks?tab=readme-ov-file#pipx

https://github.com/Winetricks/winetricks?tab=readme-ov-file#manual-install