-
Notifications
You must be signed in to change notification settings - Fork 1
/
bf_uninstaller.bat
109 lines (93 loc) · 3.32 KB
/
bf_uninstaller.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
@echo off
setlocal enabledelayedexpansion
title Mbnq's Brute Force Uninstaller
REM https://www.mbnq.pl/
cls
call :intro
if exist ".gitattributes" (echo:Warning^^! detected repo files^^!)&&(goto bye)
taskkill /im clientdx.exe > nul
set "files=INI Maps Resources tools debug audio.bag audio.idx syringe.log spawn.ini rmgmd.ini soundmd.ini spawnmap.ini mpmbnqdummy.ini urbannmd.ini urbanmd.ini temperatmd.ini snowmd.ini desertmd.ini lunarmd.ini rulesmd.ini aimd.ini artmd.ini uimd.ini artmd.ini evamd.ini rbcvbf.ini mpzombie.ini mpmodesmd.ini mpbrutedoomsday2.ini mpanimaldoomsday2.ini heroicvehicles.ini heroicbuildings.ini heroicshields.ini heroicsidebonus.ini heroicbuildingsciv.ini heroicinfantry.ini heroicAI.ini ares.dll ares.dll.inj ares.mix BFLauncher.exe BFLauncherUnix.sh changelog.temp.txt cncnet5.dll expandmd70.mix expandmd71.mix expandmd72.mix expandmd73.mix gamemd.exe Phobos.dll Phobos.pdb qres.dat qres32.dll README.md Syringe.exe bfAI.ini bfAnimal.ini bfBrute.ini bfBuildings.ini bfBuildingsCiv.ini bfInfantry.ini bfLoot.ini bfRMCV.ini bfShields.ini bfSideBonus.ini bfVehicles.ini bfZombie.ini"
set "filesExist=0"
set _sample=%random%
echo Checking for files...
echo.
for %%f in (%files%) do (
if exist "%%f" (
echo Found: %%f
set "filesExist=1"
)
)
if %filesExist%==1 (
echo.
set /p choice="Type %_sample% and press ENTER if you really want to remove Brute Force: "
echo.
if /I "!choice!"=="%_sample%" (
for %%f in (%files%) do (
if exist "%%f" (
echo Deleting: %%f
del /Q /f "%%f"
rd /Q /s "%%f
)
)
if exist "cnc-ddraw config.exe" del /q /f "cnc-ddraw config.exe" > nul
call :intro
echo.
echo:Make sure to verify game files integrity after uninstalling Brute Force^^!
echo:
echo: Thank you for trying Brute Force mod^^!
echo: I would be very thankful for any feedback
echo: on moddb, github or mbnq.pl.
echo: -mbnq
echo.
goto byeanddelete
) else (
call :intro
call :error0001
echo:
echo: Entered wrong safety code, uninstallation cancelled^^!
echo:
goto bye
)
) else (
call :intro
echo:
echo:Brute Force Mod files can not be found^^!
echo:
echo:Place me ^(bf_uninstaller.bat^) in your Yuri's Revenge dir
echo:^(in folder with gamemd.exe^) where Brute Force mod was
echo:installed.
goto bye
)
:bye
echo:
echo:Press any key to quit this uninstaller...
pause > nul
endlocal
exit
:byeanddelete
echo:
echo:Press any key to quit this uninstaller...
pause > nul
rem del /q /f bf_uninstaller.bat
endlocal
exit
:intro
cls
echo:ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ
echo:Û Û
echo:Û Command ^& Conquer Yuri^'s Revenge - Brute Force Mod Û
echo:Û Û
echo:Û mbnq.pl 2024 Û
echo:Û Û
echo:ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ
echo:
exit /b
:error0001
echo:EEEEEEE EEEEEE EEEEEE EEEEEE EEEEEE
echo:EE EE EE EE EE EE EE EE EE
echo:EEEEE EEEEEE EEEEEE EE EE EEEEEE
echo:EE EE EE EE EE EE EE EE EE
echo:EEEEEEE EE EE EE EE EEEEEE EE EE
echo:
exit /b