Kingdom Come generated launcher and functional Wine prefix
This is a step forward towards Wine-launcher generators.
The main question at the moment: can we make a functional WINEPREFIX? Currently, the WINEPREFIX is not upgraded together with Wine/DXVK which is rather problematic.
We could create a wineprefix
and a wineprefix-with-dxvk
packages which would just include a pre-generated Wine prefix.
Then our launcher would simply copy the wineprefix from the store into a writable location (e.g. ~/.cache/GAME_wineprefix).
This raises a couple of questions:
-
We must check if the Wine prefix generation is itself functional and not influenced by, say, the hardware.
-
Second we must find a way to deal with cache stored inside the prefix. If a game generates a lot of cache, it might be a hindrance to regenerate the Wine prefix on every start.
I'm deleting the search-auxiliary-gaming-file
procedure in this patchset because it's not used anywhere. OK with that?
KCD is missing a desktop entry and most importantly an icon. While I can extract the icon from the executable, we can't do this at build-time. I'm not sure it's OK to store the icon on the Guix Gaming channels. Thoughts?
@ajgrf You recently found a nice icon for Papers, Please! How did you find it?