We’ve integrated Easy Anti-Cheat services as per the documentation on the Epic Games Development portal and we run BuildPatchTool with the following extra args now:
SetupEOS.bat is essentially running the standard UE prereqs executable, i.e. “Engine\Extras\Redist\en-us\UEPrereqSetup_x64.exe”, and “EasyAntiCheat\EasyAntiCheat_EOS_Setup.exe install %PRODUCT_ID%”
When the game is installed and launched using Epic Games Launcher we observe the following:
If the default installation folder is changed to “C:\Games”, everything works as expected
If the default installation folder is left being “C:\Program Files\Epic Games” the game fails to launch with the message “Windows cannot find ‘C:\Program’. Make sure you typed the name correctly, and then try again.” The message comes from Windows Command Processor which means Epic Games Launcher is running the script in a way that breaks when there are spaces in the file path.
Use BuildPatchTool to upload the game to Epic Games Store with -PrereqPath to run a prereq .bat script
Launch the game using Epic Games Launcher with its default game installation folder path unchanged
Observe Epic Games Launcher fails to launch the game due to Windows Command Processor failing with the error message “Windows cannot find ‘C:\Program’. Make sure you typed the name correctly, and then try again.”
Thank you for your prompt response! My sincere apologies as it seems it’s been a mistake on our end. We asked the affected team member to blank the .bat file to exclude any issues from the script itself and they reported that the error was still happening. That sent me on a completely wrong path. After updating the script, numerous further tests and checking the logs from EGS Launcher - we didn’t have that issue anymore.