1+ @ echo off
2+ color 0A
3+ if not " %1 " == " max" start /MAX cmd /c %0 max & exit/b
4+ echo .
5+ echo # # ###
6+ echo ## ## # # ##### # # # #### ## # ### ####
7+ echo # # # # # # # # # # # # # # # # #
8+ echo # # # # # ###### # # # # # # ####
9+ echo # # # # # # # # ###### # #
10+ echo # # # # # # # # # # # # # #
11+ echo # # # # # # # #### # # ###### ####
12+ echo .
13+ echo ##### #### # # #### ##### ##### #### #### # #### # # # #### ##### ## # # ###### #####
14+ echo # # # # ## ## # # # # # # # # # # # # ## # # # # # # # # # #
15+ echo ##### # # # ## # # # # # # # # # # # #### # # # # #### # # # # # ##### # #
16+ echo # # # # # # # # # # # # # # # # # # # # # # # ###### # # # #####
17+ echo # # # # # # # # # # # # # # # # # # # # ## # # # # # # # # # #
18+ echo ##### #### # # #### ##### # #### #### ###### #### # # # #### # # # ###### ###### ###### # #
19+ echo .
20+ echo The place this bat is located is where the mod tools will be installed if need be
21+ echo .
22+ echo This tool installs the following (some or all components depending on Steam or Non-Steam):
23+ echo .
24+ echo Game_mod
25+ echo Linker_mod
26+ echo Assets_wip_0.1.0
27+ echo Mod Tools Fixes 1-1.41_updated
28+ echo FTG Remastered BO map source example
29+ echo SteamCMD
30+ echo Base game, any dlc you own, and mod tools through steamcmd
31+ echo .
32+ echo It will also run the setup.bat, converter, and clean up unneeded files
33+ echo .
34+ echo Important Notes:
35+ echo The Steam method will require inputting your steam username and password for steamcmd
36+ echo The Non-Steam method won't
37+ echo You can use the Non-Steam method with an existing steam Game + Mod Tools install
38+ echo Some errors/warning when the converter is ran is normal, you can ignore them.
39+ echo Installing older mod fixes over this will likely cause problems
40+ echo Don't run the converter yourself unless you're absolutely sure
41+ echo It has the potential to delete files you may want to keep
42+ echo The Launcher.exe must be ran as administrator or else errors may occur
43+ echo Your Install will approximately 14gb or less depending on dlc owned
44+ echo If this window gets stuck, try clicking on it, then hitting enter
45+ echo If that doesn't work close it and run it again
46+ echo .
47+ echo Now to get started
48+ echo .
49+
50+ :a
51+ echo Are you using Steam or Non-Steam?
52+ echo .
53+ set /p ans = " Enter " Steam" or " Non-Steam" :"
54+ echo .
55+ if %ans% == Steam (goto b)
56+ if %ans% == steam (goto b)
57+ if %ans% == Non-Steam (goto b)
58+ if %ans% == NonSteam (goto b)
59+ if %ans% == non-steam (goto b)
60+ if %ans% == nonsteam (goto b)
61+ echo Your input was something other than " Steam" or " Non-Steam" .
62+ echo Try again.
63+ echo .
64+ goto a
65+
66+ :b
67+ mkdir " Temp"
68+ cd " Temp"
69+ powershell -Command " Start-BitsTransfer -Source " https://github.com/Nukem9/LinkerMod/releases/download/v1.3.2/game_mod.zip"
70+ powershell -Command " Start-BitsTransfer -Source " https://github.com/Nukem9/LinkerMod/releases/download/v1.0.0-r/LinkerMod-1.0.0.zip"
71+ powershell -Command " Start-BitsTransfer -Source " https://cdn.discordapp.com/attachments/868600140880023592/873741090350583818/assets_wip_0.1.0.zip"
72+ powershell -Command " Start-BitsTransfer -Source " https://cdn.discordapp.com/attachments/868600140880023592/874819091700015155/CoD_BO_Mod_Tools_Fix_1-1.4.1_updated_part_1.zip"
73+ powershell -Command " Start-BitsTransfer -Source " https://cdn.discordapp.com/attachments/868600140880023592/874819090873724969/CoD_BO_Mod_Tools_Fix_1-1.4.1_updated_part_2.zip"
74+ powershell -Command " Start-BitsTransfer -Source " https://cdn.discordapp.com/attachments/868600140880023592/875995770296336434/End_Message.txt"
75+ powershell -Command " Start-BitsTransfer -Source " https://cdn.discordapp.com/attachments/868600140880023592/876022149473767494/BO_FTG_Map_Source.zip"
76+ if %ans% == Steam (goto c)
77+ if %ans% == steam (goto c)
78+ if %ans% == Non-Steam (goto d)
79+ if %ans% == NonSteam (goto d)
80+ if %ans% == non-steam (goto d)
81+ if %ans% == nonsteam (goto d)
82+
83+ :c
84+ echo Steam Method Chosen
85+ powershell -Command " Start-BitsTransfer -Source https://steamcdn-a.akamaihd.net/client/installer/steamcmd.zip
86+ powershell -Command " Expand-Archive -Force -LiteralPath steamcmd.zip"
87+ cd " .."
88+ set /p user = " What is your steam username?" :
89+ set /p pass = " What is your steam password?" :
90+ call " Temp/steamcmd/steamcmd.exe" +login " %user% " " %pass% " +force_install_dir " ../.." +app_update 42700 +app_update 42740 verify +exit
91+ cd " Temp"
92+ powershell -Command " Expand-Archive -Force -LiteralPath game_mod.zip -DestinationPath " .." "
93+ powershell -Command " Expand-Archive -Force -LiteralPath LinkerMod-1.0.0.zip -DestinationPath " .." "
94+ cd " .."
95+ powershell -Command " Remove-Item -Force -Recurse " steamapps" "
96+ goto e
97+
98+ :d
99+ echo Non-Steam Method Chosen
100+ echo .
101+ echo If you haven't already placed this bat in your BO + Mod Tools install
102+ echo (next to your BlackOps.exe) close this window and do so before continuing
103+ echo .
104+ pause
105+ powershell -Command " Expand-Archive -Force -LiteralPath game_mod.zip -DestinationPath " .." "
106+ powershell -Command " Expand-Archive -Force -LiteralPath LinkerMod-1.0.0.zip -DestinationPath " .." "
107+ cd " .."
108+ goto e
109+
110+ :e
111+ start steam://rungameid/42700
112+ Timeout /T 45
113+ taskkill /f /im BlackOps.exe
114+ Timeout /T 15
115+ call BlackOps.exe
116+ Timeout /T 45
117+ taskkill /f /im BlackOps.exe
118+ cd " bin/scripts"
119+ call setup.bat
120+ cd " .."
121+ call converter.exe -nopause -n -nospam
122+ cd " .."
123+ cd " Temp"
124+ powershell -Command " Expand-Archive -Force -LiteralPath assets_wip_0.1.0.zip -DestinationPath " .." "
125+ powershell -Command " Expand-Archive -Force -LiteralPath CoD_BO_Mod_Tools_Fix_1-1.4.1_updated_part_1.zip -DestinationPath " .." "
126+ powershell -Command " Expand-Archive -Force -LiteralPath CoD_BO_Mod_Tools_Fix_1-1.4.1_updated_part_2.zip -DestinationPath " .." "
127+ powershell -Command " Expand-Archive -Force -LiteralPath BO_FTG_Map_Source.zip -DestinationPath " .." "
128+ echo .
129+ echo Credits:
130+ echo SE2Dev (Linker_Mod/Game_Mod/wip Asset Package)
131+ echo Nukem9 (Linker_Mod/Game_Mod)
132+ echo Jbleezy (Linker_Mod/Game_Mod)
133+ echo dtzxporter (Linker_Mod/Game_Mod)
134+ echo Ville88 (Mod Tools Fix)
135+ echo Treyarch & Activision (Game)
136+ echo Valve (SteamCMD)
137+ echo Marcin Glinski (Ascii Art)
138+ echo Rik from SuperUser.com (Maximized Window Code Snippet)
139+ echo Synthetic Programming (Youtube Tutorial and Example Code)
140+ echo 5and5 (FTG BO Map Source Example)
141+ echo Inferno Maartem (Creator of WaW FTG Map)
142+ echo patorjk.com (Ascii Art)
143+ echo .
144+ type " End_Message.txt"
145+ echo .
146+ Timeout /T 30
147+ cd " .."
148+ powershell -Command " Remove-Item -Force -Recurse " Temp" "
0 commit comments