Running the game through the Windows Start Menu search bar causes multiple issues.
NOTICE
Please run the game directly by double clicking on it or making a shortcut instead until this issue is resolved.
PROBLEM
The current working directory is set to C:/Windows/System32.
This leads to issues such as:
- The game trying and failing to install itself to System32.
- D3D12 Agility SDK DLLs being ignored.
- The game actually being able to install itself to System32 if you force it to run as Administrator.
I've noticed this issue too, although in my case with the game already installed, it boots to the installation wizard again
That happens because the GamePath() function is set to return ., which corresponds to the current working directory.
Of note, this also happens on Linux. If you don't launch the executable directly most desktop environments will assume the home directory as default, and the game will try to look for the game data under ~. Or, if you launch the executable from the terminal, the game will look for the game data from whatever folder you're currently in with the terminal.
That happens because the GamePath() function is set to return
., which corresponds to the current working directory.
It's known, but it's intentional that it does. During development it is very convenient to be able to launch from a working directory with the game data to avoid having to install it to every build type.
I'm not entirely sure the preferred solution in Windows will be to change this behavior.
Oh wow I didn't know that, thanks for letting us know