[Solved] Manual installing games not working anymore (error: invalid wine prefix path)

Hi,

I have always used this method to install my GOG games successfully.
Now it doesn’t work anymore and I can’t find a solution for this problem.
As soon as I press play to start the setup I get the error message: “invalid wine prefix path […], make sure to create the prefix before saving to a registry”.

I don’t know how else to create the prefix via Lutris.
I have tried with different GOG game setups, disks/partitions and Wine versions. Always the same result.
I couldn’t find related bug reports in the Github issues as well.
I found this thread here from someone with the same problem, it seems, but the user under which Lutris runs also owns all the directories and all disks are ext4 file systems.
So this solution does not help me.
I’m using Lutris v0.5.8.3.

System details:
[System]
OS:              Manjaro Linux 20.2.1 Nibia
Arch:            x86_64
Kernel:          5.10.15-1-MANJARO
Desktop:         KDE
Display Server:  x11

[CPU]
Vendor:          AuthenticAMD
Model:           AMD Ryzen 7 2700X Eight-Core Processor
Physical cores:  8
Logical cores:   16

[Memory]
RAM:             31.4 GB
Swap:            34.5 GB

[Graphics]
Vendor:          NVIDIA Corporation
OpenGL Renderer: GeForce GTX 1070/PCIe/SSE2
OpenGL Version:  4.6.0 NVIDIA 460.39
OpenGL Core:     4.6.0 NVIDIA 460.39
OpenGL ES:       OpenGL ES 3.2 NVIDIA 460.39
Vulkan:          Supported

Greetings

Edit:
Downloading and installing my GOG games directly via Lutris works, by the way (this has often caused problems for me in the past).
However, I’d prefer the manual method to work again, since I like to store my game setups on my NAS.

Edit2:

Screenshot "no internet for today":

Haha, this is one of the reasons why I prefer to save my game setups on a local storage (it’s a message from my german ISP and means more or less: “no internet for you today again, because we are slow as beep at fixing malfunctions”:

The manual install option still works with the exception that icons are not available.

1 Like

Ok, good to know, so the problem is on my side.
That’s what I was thinking.

I think so, the error message would indicate that. On the Game options tab have you specified either, at all, or the correct wine prefix?

Yes, I use always the mentioned method (from linked thread).

Add a new wine Windows game > set name > set the setup file as executable value, create an empty folder and set it as wine prefix, optional change runner or system options > press ok and then play > prefix should be created and setup should start - but instead the empty folder is deleted and nothing else happens.

I will start Lutris from console when I’m home again and check the logging, totally forgot about that.
I’m still a Linux noob. :grin:

Hello. I’m having the same issue. Using Manjaro as well. I have WINE staging from the official Manjaro repo.

Issue report here and error log here (game log is empty):

Error Log
(lutris:4998): Gtk-WARNING **: 11:39:28.154: Theme parsing error: gtk.css:68:35: The style property GtkButton:child-displacement-x is deprecated and shouldn't be used anymore. It will be removed in a future version

(lutris:4998): Gtk-WARNING **: 11:39:28.154: Theme parsing error: gtk.css:69:35: The style property GtkButton:child-displacement-y is deprecated and shouldn't be used anymore. It will be removed in a future version

(lutris:4998): Gtk-WARNING **: 11:39:28.155: Theme parsing error: gtk.css:73:46: The style property GtkScrolledWindow:scrollbars-within-bevel is deprecated and shouldn't be used anymore. It will be removed in a future version
2021-03-09 11:39:28,373: Your version of python-magic is too old.
2021-03-09 11:39:28,615: Initializing lutris
2021-03-09 11:39:30,480: Downloading DXVK releases to /home/USER/.local/share/lutris/runtime/dxvk/dxvk_versions.json
2021-03-09 11:39:30,481: Runtime updated. Initialization complete.
INFO     2021-03-09 11:39:30,481 [application.do_command_line:315]:Lutris 0.5.8.3
INFO     2021-03-09 11:39:30,482 [startup.check_driver:49]:Using NVIDIA drivers 460.56 for x86_64
INFO     2021-03-09 11:39:30,482 [startup.check_driver:53]:GPU: GeForce GTX 1060 with Max-Q Design
INFO     2021-03-09 11:39:30,482 [startup.check_driver:69]:GPU: 8086:3E9B 1028:0825 (i915 drivers)
INFO     2021-03-09 11:39:30,482 [startup.check_driver:69]:GPU: 10DE:1C20 1028:0825 (nvidia drivers)
MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0


(lutris:4998): Gtk-WARNING **: 11:39:30.569: Theme parsing error: gtk.css:68:35: The style property GtkButton:child-displacement-x is deprecated and shouldn't be used anymore. It will be removed in a future version

(lutris:4998): Gtk-WARNING **: 11:39:30.569: Theme parsing error: gtk.css:69:35: The style property GtkButton:child-displacement-y is deprecated and shouldn't be used anymore. It will be removed in a future version

(lutris:4998): Gtk-WARNING **: 11:39:30.569: Theme parsing error: gtk.css:70:34: The style property GtkCheckButton:indicator-size is deprecated and shouldn't be used anymore. It will be removed in a future version

(lutris:4998): Gtk-WARNING **: 11:39:30.569: Theme parsing error: gtk.css:71:36: The style property GtkCheckMenuItem:indicator-size is deprecated and shouldn't be used anymore. It will be removed in a future version

(lutris:4998): Gtk-WARNING **: 11:39:30.569: Theme parsing error: gtk.css:73:46: The style property GtkScrolledWindow:scrollbars-within-bevel is deprecated and shouldn't be used anymore. It will be removed in a future version

(lutris:4998): Gtk-WARNING **: 11:39:30.569: Theme parsing error: gtk.css:76:30: The style property GtkExpander:expander-size is deprecated and shouldn't be used anymore. It will be removed in a future version
DEBUG    2021-03-09 11:39:32,424 [xrandr._get_vidmodes:15]:Retrieving video modes from XrandR
DEBUG    2021-03-09 11:39:32,462 [xrandr._get_vidmodes:15]:Retrieving video modes from XrandR
DEBUG    2021-03-09 11:39:32,468 [xrandr._get_vidmodes:15]:Retrieving video modes from XrandR
DEBUG    2021-03-09 11:39:32,475 [xrandr._get_vidmodes:15]:Retrieving video modes from XrandR

(lutris:4998): Gtk-CRITICAL **: 11:39:46.294: gtk_render_frame_gap: assertion 'xy1_gap <= width' failed

(lutris:4998): Gtk-CRITICAL **: 11:39:46.301: gtk_render_frame_gap: assertion 'xy1_gap <= width' failed

(lutris:4998): Gtk-CRITICAL **: 11:39:46.312: gtk_render_frame_gap: assertion 'xy1_gap <= width' failed

(lutris:4998): Gtk-CRITICAL **: 11:39:46.330: gtk_render_frame_gap: assertion 'xy1_gap <= width' failed

(lutris:4998): Gtk-CRITICAL **: 11:39:46.343: gtk_render_frame_gap: assertion 'xy1_gap <= width' failed

(lutris:4998): Gtk-CRITICAL **: 11:39:46.360: gtk_render_frame_gap: assertion 'xy1_gap <= width' failed

(lutris:4998): Gtk-CRITICAL **: 11:39:46.378: gtk_render_frame_gap: assertion 'xy1_gap <= width' failed

(lutris:4998): Gtk-CRITICAL **: 11:39:46.394: gtk_render_frame_gap: assertion 'xy1_gap <= width' failed

(lutris:4998): Gtk-CRITICAL **: 11:39:46.410: gtk_render_frame_gap: assertion 'xy1_gap <= width' failed

(lutris:4998): Gtk-CRITICAL **: 11:39:46.427: gtk_render_frame_gap: assertion 'xy1_gap <= width' failed

(lutris:4998): Gtk-CRITICAL **: 11:39:46.443: gtk_render_frame_gap: assertion 'xy1_gap <= width' failed

(lutris:4998): Gtk-CRITICAL **: 11:39:46.459: gtk_render_frame_gap: assertion 'xy1_gap <= width' failed

(lutris:4998): Gtk-CRITICAL **: 11:39:46.476: gtk_render_frame_gap: assertion 'xy1_gap <= width' failed

(lutris:4998): Gtk-CRITICAL **: 11:39:47.092: gtk_render_frame_gap: assertion 'xy1_gap <= width' failed

(lutris:4998): Gtk-CRITICAL **: 11:39:47.108: gtk_render_frame_gap: assertion 'xy1_gap <= width' failed

(lutris:4998): Gtk-CRITICAL **: 11:39:47.126: gtk_render_frame_gap: assertion 'xy1_gap <= width' failed

(lutris:4998): Gtk-CRITICAL **: 11:39:47.143: gtk_render_frame_gap: assertion 'xy1_gap <= width' failed

(lutris:4998): Gtk-CRITICAL **: 11:39:47.160: gtk_render_frame_gap: assertion 'xy1_gap <= width' failed

(lutris:4998): Gtk-CRITICAL **: 11:39:47.178: gtk_render_frame_gap: assertion 'xy1_gap <= width' failed

(lutris:4998): Gtk-CRITICAL **: 11:39:47.194: gtk_render_frame_gap: assertion 'xy1_gap <= width' failed

(lutris:4998): Gtk-CRITICAL **: 11:39:47.211: gtk_render_frame_gap: assertion 'xy1_gap <= width' failed

(lutris:4998): Gtk-CRITICAL **: 11:39:47.229: gtk_render_frame_gap: assertion 'xy1_gap <= width' failed

(lutris:4998): Gtk-CRITICAL **: 11:39:47.247: gtk_render_frame_gap: assertion 'xy1_gap <= width' failed

(lutris:4998): Gtk-CRITICAL **: 11:39:47.264: gtk_render_frame_gap: assertion 'xy1_gap <= width' failed

(lutris:4998): Gtk-CRITICAL **: 11:39:47.281: gtk_render_frame_gap: assertion 'xy1_gap <= width' failed

(lutris:4998): Gtk-CRITICAL **: 11:39:47.298: gtk_render_frame_gap: assertion 'xy1_gap <= width' failed

(lutris:4998): Gtk-CRITICAL **: 11:39:47.526: gtk_render_frame_gap: assertion 'xy1_gap <= width' failed

(lutris:4998): Gtk-CRITICAL **: 11:39:47.543: gtk_render_frame_gap: assertion 'xy1_gap <= width' failed

(lutris:4998): Gtk-CRITICAL **: 11:39:47.559: gtk_render_frame_gap: assertion 'xy1_gap <= width' failed

(lutris:4998): Gtk-CRITICAL **: 11:39:47.786: gtk_render_frame_gap: assertion 'xy1_gap <= width' failed

(lutris:4998): Gtk-CRITICAL **: 11:39:47.803: gtk_render_frame_gap: assertion 'xy1_gap <= width' failed

(lutris:4998): Gtk-CRITICAL **: 11:39:47.816: gtk_render_frame_gap: assertion 'xy1_gap <= width' failed

(lutris:4998): Gtk-CRITICAL **: 11:39:47.833: gtk_render_frame_gap: assertion 'xy1_gap <= width' failed

(lutris:4998): Gtk-CRITICAL **: 11:39:47.850: gtk_render_frame_gap: assertion 'xy1_gap <= width' failed

(lutris:4998): Gtk-CRITICAL **: 11:39:47.868: gtk_render_frame_gap: assertion 'xy1_gap <= width' failed

(lutris:4998): Gtk-CRITICAL **: 11:39:47.886: gtk_render_frame_gap: assertion 'xy1_gap <= width' failed

(lutris:4998): Gtk-CRITICAL **: 11:39:47.902: gtk_render_frame_gap: assertion 'xy1_gap <= width' failed

(lutris:4998): Gtk-CRITICAL **: 11:39:47.919: gtk_render_frame_gap: assertion 'xy1_gap <= width' failed

(lutris:4998): Gtk-CRITICAL **: 11:39:47.934: gtk_render_frame_gap: assertion 'xy1_gap <= width' failed
DEBUG    2021-03-09 11:39:52,147 [game.save:260]:Saving GAME (wine) with config ID GAME-1615286392
DEBUG    2021-03-09 11:39:52,148 [config.save:211]:Saving LutrisConfig(level=game, game_config_id=GAME-1615286392, runner=wine) config to /home/USER/.config/lutris/games/GAME-1615286392.yml
DEBUG    2021-03-09 11:39:52,218 [lutriswindow.on_game_collection_changed:769]:Game collection changed
INFO     2021-03-09 11:39:53,382 [wine.create_prefix:96]:Creating a win64 prefix in /home/USER/Games/GAME
ERROR    2021-03-09 11:39:53,431 [wine.create_prefix:115]:No wineboot executable found in /home/USER/.local/share/Steam/compatibilitytools.d/Proton-5.21-GE-1/dist/bin/wine, your wine installation is most likely broken
ERROR    2021-03-09 11:39:53,432 [registry.__init__:87]:Unexisting registry /home/USER/Games/GAME/user.reg
ERROR    2021-03-09 11:39:53,432 [jobs.target:36]:Error while completing task <bound method wine.prelaunch of <lutris.runners.wine.wine object at 0x7f8493069100>>: Invalid Wine prefix path /home/USER/Games/GAME, make sure to create the prefix before saving to a registry
  File "/usr/lib/python3.9/site-packages/lutris/util/jobs.py", line 34, in target
    result = self.function(*args, **kwargs)
  File "/usr/lib/python3.9/site-packages/lutris/runners/wine.py", line 832, in prelaunch
    prefix_manager.configure_joypads()
  File "/usr/lib/python3.9/site-packages/lutris/util/wine/prefix.py", line 233, in configure_joypads
    self.clear_registry_key(key)
  File "/usr/lib/python3.9/site-packages/lutris/util/wine/prefix.py", line 85, in clear_registry_key
    registry.save()
  File "/usr/lib/python3.9/site-packages/lutris/util/wine/registry.py", line 159, in save
    raise OSError(
ERROR    2021-03-09 11:39:53,432 [game.configure_game:401]:Invalid Wine prefix path /home/USER/Games/GAME, make sure to create the prefix before saving to a registry
ERROR    2021-03-09 11:39:54,782 [game.configure_game:404]:Game prelaunch unsuccessful

Any ideas?

Hi, I was able to fix my problem by deleting the Wine.yml (~/.config/lutris/runners/).
Maybe this is also the solution for you.
Greetings

2 Likes

It did! Extremely satisfying, thank You. :whale: Enjoy!

1 Like

I dont have Wine.yml

1 Like

I also do not. But, by installing Wine stand-alone (as Lutris asked me to do, apparently just to ensure dependencies are installed), and restarting Lutris, this error went away.