(The launcher should display the Create prefix button)
Create the prefix using the launcher
Start the game
Should receive an error message No such file or directory (os error 2)
My investigation
So I've done some investigation in the source code and found out that the function WineDrives::map_folder doesn't correctly resolve the path to the proton prefix, instead it always points to the <prefix>/dosdevices/<drive> path while proton uses a pfx sub-folder as its actual prefix, so the path should be resolved to the <prefix>/pfx/dosdevices/<drive>.
This bug only occurs after manually deleting the prefix folder. This is because the launcher setup uses wine by default, which will create the dosdevices folder in the prefix directory allowing for it to work, but this folder will not be created if you use proton as the wine version.
Can confirm, just deleted my AAGL data and reinstalled for a fresh slate, used the default Wine-TkG-9.10, and game starts right up. I previously tried to use Proton and it gave the same error every time.
Steps to reproduce
Create prefix
button)No such file or directory (os error 2)
My investigation
So I've done some investigation in the source code and found out that the function
WineDrives::map_folder
doesn't correctly resolve the path to the proton prefix, instead it always points to the<prefix>/dosdevices/<drive>
path while proton uses apfx
sub-folder as its actual prefix, so the path should be resolved to the<prefix>/pfx/dosdevices/<drive>
.This bug only occurs after manually deleting the prefix folder. This is because the launcher setup uses wine by default, which will create the
dosdevices
folder in the prefix directory allowing for it to work, but this folder will not be created if you use proton as the wine version.