Bloodhunt: Fixing the problem with removing Anti-Cheat

How are you, possibly, heard, there are two problems, related to our anti-cheat: one is, that some files may remain after uninstalling the game, and the other is, that in rare cases anti-cheat does not work, when you close the game.
There is a fix on Steam to solve the problem of removing anti-cheat, so that anti-cheat services are removed when the game is deleted.

 

Introduction

How are you, possibly, heard, we have two problems, related to our anti-cheat: one is, that some files may remain after uninstalling the game, and the other is, that in rare cases anti-cheat does not work, when you close the game.

Developers have worked to fix these issues as quickly as possible., and now there is 2 solving the problem with deleting.

Instruction
  • Make sure, that you have restarted your computer since you last played Bloodhunt.
  • Copy the script below (highlight all, right click and click copy)
  • Open a blank Notepad
  • Right click in notepad and press Paste
  • Save your notebook as "‎‎ACE_Uninstall.bat‎‎»On the desktop
  • Go to your desktop and right click on the script and select "Run as administrator"
  • It will pass the test, to see, what needs to be removed, and then continue.
  • It can take quite a long time.!‎
Script
Developers have created a Windows script, which will remove anti-cheat services. Cm. The following instructions to remove BlooudHunt Anti-Cheat using an officially developed script from the developers:
@ECHO OFF
REM A big thank you to Jeroen Baert, who helped debug this issue!
ECHO Manual uninstall for anti-cheat services...
REM Check for admin permissions. Without admin permissions, this script is powerless.
net.exe session 1>NULL 2>NO && (
GOTO as_admin
) || (
GOTO not_admin
)
ECHO Looking for installed components...
:as_admin
SET "usermode_service_name=AntiCheatExpert Service"
SET "kernel1_service_name=ACE-BASE"
SET "kernel2_service_name=ACE-GAME"
SET "folder_name=%ProgramW6432%AntiCheatExpert"
SET "folder_name2=%ProgramData%AntiCheatExpert"
SET "SystemPath=%SystemRoot%System32"
If "%PROCESSOR_ARCHITEW6432%" == "AMD64" SET "SystemPath=%SystemRoot%Sysnative"
SET "kernel1_sys=%SystemPath%driversACE-BASE.sys"
SET "kernel2_sys=%SystemPath%driversACE-GAME.sys"
SET "reg_del_file=%temp%ace_clear.reg"
SET /A LOCAL_COUNTER=0
SET "found_something="
sc.exe query "%usermode_service_name%" >NUL
IF %ERRORLEVEL% EQU 0 (
SET "found_something=y"
)
sc.exe query "%kernel1_service_name%" >NUL
IF %ERRORLEVEL% EQU 0 (
SET "found_something=y"
)
sc.exe query "%kernel2_service_name%" >NUL
IF %ERRORLEVEL% EQU 0 (
SET "found_something=y"
)
IF EXIST "%folder_name%" (
SET "found_something=y"
)
IF EXIST "%folder_name2%" (
SET "found_something=y"
)
IF EXIST "%kernel1_sys%" (
SET "found_something=y"
)
IF EXIST "%kernel2_sys%" (
SET "found_something=y"
)
IF defined found_something (ECHO Install found...) else (GOTO no_services)
ECHO Stopping services... this can take a long time (2-3 minutes)!
sc.exe stop "%usermode_service_name%" 1>NULL 2>NUL
timeout /t 10 /UPS > null
sc.exe delete "%usermode_service_name%" 1>NULL 2>NUL
RMDIR /s /q "%folder_name%" 1>NULL 2>NUL
IF EXIST "%folder_name%" GOTO deleting_fail
RMDIR /s /q "%folder_name2%" 1>NULL 2>NUL
IF EXIST "%folder_name2%" GOTO deleting_fail
ECHO Windows Registry Editor Version 5.00 >"%reg_of_file%"
ECHO. >>"%reg_of_file%"
ECHO [-HKEY_CURRENT_USERSOFTWAREAppDataLowAntiCheatExpert] >>"%reg_of_file%"
ECHO [-HKEY_USERS.DEFAULTSOFTWAREAppDataLowAntiCheatExpert] >>"%reg_of_file%"
regedit.exe /s "%reg_of_file%" 1>NULL 2>NUL
OF THE "%reg_of_file%"
:waitloop
SET /A LOCAL_COUNTER=LOCAL_COUNTER+1
timeout /t 5 /UPS >NUL
IF %LOCAL_COUNTER% EQU 28 (
REM Service is not closing, give it a nudge
REM Don't force-stop ace-base, only ace-game, or it might cause instability
sc.exe stop "%kernel2_service_name%" 1>NULL 2>NO
)
REM Equal to 2.67 min
IF %LOCAL_COUNTER% GEQ 32 (
REM Windows is not releasing the services, give up...
GOTO :EOF
)
sc query "ACE-BASE" | find "RUNNING" >NUL
IF %ERRORLEVEL% EQU 0 (
GOTO waitloop
)
sc query "ACE-GAME" | find "RUNNING" >NUL
IF %ERRORLEVEL% EQU 0 (
GOTO waitloop
)
sc.exe delete "%kernel1_service_name%" 1>NULL 2>null
sc.exe delete "%kernel2_service_name%" 1>NULL 2>NUL
ECHO Deleting services...
REM Retry delete until Windows releases the file handle
REM Re-try delete of service one...
SET /A LOCAL_COUNTER=0
:deleteloopone
SET /A LOCAL_COUNTER=LOCAL_COUNTER+1
timeout /t 5 /UPS >NUL
IF %LOCAL_COUNTER% EQU 36 (
ECHO Failed delete, giving up.
GOTO :deleting_fail
)
del / Q "%kernel1_sys%" 1>NULL 2>NUL
IF EXIST "%kernel1_sys%" GOTO deleteloopone
REM Re-try delete of service two...
SET /A LOCAL_COUNTER=0
:deletelooptwo
SET /A LOCAL_COUNTER=LOCAL_COUNTER+1
timeout /t 5 /UPS >NUL
IF %LOCAL_COUNTER% EQU 36 (
ECHO Failed delete, giving up.
GOTO :deleting_fail
)
del / Q "%kernel2_sys%" 1>NULL 2>NUL
IF EXIST "%kernel2_sys%" GOTO deletelooptwo
ECHO All done - anti-cheat services are removed. Have a nice day!
pause
GOTO :EOF
:no_services
ECHO No installed components found. All is well!
pause
GOTO :EOF
:deleting_fail
ECHO Failed to delete all components. Please try restarting your computer and run this again.
pause
GOTO :EOF
:not_admin
ECHO You need to run this as administrator. Right-click the script and choose "Run as Administrator"
pause

From SLADEREV

Related Posts:

Be the first to comment

Leave a Reply

Your email address will not be published.


*