From 805a806d7c0d689b58588f5801cbb6779b85f406 Mon Sep 17 00:00:00 2001 From: livingflore Date: Tue, 13 Aug 2024 07:40:42 +0500 Subject: [PATCH] fix: path flexibility --- BattleBitEACFix.bat | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/BattleBitEACFix.bat b/BattleBitEACFix.bat index 4c03e2e..4defec9 100644 --- a/BattleBitEACFix.bat +++ b/BattleBitEACFix.bat @@ -38,17 +38,20 @@ echo @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ echo @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ echo @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ echo. -echo Hi. This batch will reinstall EAC and install VCRedist 2015-2022 x86-64. +echo Hi. This batch will reinstall EAC and install VCRedist 2015-2022 x86-64. pause cls echo  SET GamePath= +if exist "%~dp0\BattleBit.exe" SET GamePath="%~dp0" FOR /F "tokens=2* skip=2" %%a in ('reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Steam App 671860" /v "InstallLocation"') do SET GamePath="%%b" if DEFINED GamePath ( echo [...] Game Path: %GamePath% ) else ( echo [X] Unable to detect BattleBit Remastered folder. Please install the game first, then run this batch script. + echo If BattleBit is already installed, try running this batch script from the game folder: + echo Right click on the game in Steam ^> Manage ^> Browse local files. pause goto :eof ) @@ -184,11 +187,12 @@ del %temp%\VC_redist.x86.exe echo. echo [+] Finished! echo. -echo ================================================================================= -echo NOTICE: If there's any errors above, screenshot them and post it to #community-help. -echo You might also need to run "Install & Repair Easy Anti Cheat" launch option +echo ============================================================================= +echo NOTICE: Make sure to screenshot any errors above and provide them +echo in related Discord thread or conversation with BattleBit support. +echo You might need to run "Install & Repair Easy Anti Cheat" launch option echo before running BattleBit itself. -echo ================================================================================= +echo ============================================================================= echo. CHOICE /C YN /M "Do you want to reboot your PC (recommended)"