Matoking / protontricks

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

protontricks crash after selecting a game #101

Closed tino242424 closed 3 years ago

tino242424 commented 3 years ago

Describe the bug Protontricks crash after selecting a game

To Reproduce Steps to reproduce the behavior:

  1. Run command protontricks -v --gui, select the game (Port Royal 4)
  2. Command fails and error is displayed

Host version: 5.11.0-7614-generic" ' from markup due to error parsing markup: Error on line 50 char 18: “=” is not a valid character following a “<” character; it may not begin an element name

protontricks PortRoyal4.txt

Expected behavior Protontricks open winetricks

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 -v flag and copy the output!

Matoking commented 3 years ago

Are you able to launch the game as normal through Steam? The error log suggests Wine is trying to call the unimplemented function shell32.dll.SHGetFolderPathW, which can apparently happen if you have added an override for shell32; this shouldn't be done.

You could try removing the prefix directory at /home/tino/.steam/steam/steamapps/compatdata/1024650, relaunching the game and then trying to run Protontricks again, and see if that fixes the issue. Note that removing the prefix directory may remove your save files, settings and other game files aside from the game installation itself. Ensure they're backed up first if you need them.

tino242424 commented 3 years ago

Thank you very munch :-) removing the folder called "pfx" and relauching the game fixed the issue