-
Notifications
You must be signed in to change notification settings - Fork 0
/
COD5-LAUNCHER.bat
63 lines (49 loc) · 1.04 KB
/
COD5-LAUNCHER.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
@ECHO OFF
CLS
COLOR 60
cd bin\
IF EXIST lan_cfg.bat (
call lan_cfg.bat
) ELSE (
SET name=Unknown LANer
)
GOTO Menu
:Menu
TYPE banner.txt
ECHO Current player name: %name%
ECHO.
ECHO Select an action:
ECHO 1. Launch COD WaW for Zombies/Coop
ECHO 2. Launch COD WaW for Deathmatch/Objectives
ECHO 3. Change player name
ECHO 4. Browse hidden game files directory
ECHO 5. Exit
ECHO.
CHOICE /C 12345 /M "Enter your choice:"
:: Note - list ERRORLEVELS in decreasing order
IF ERRORLEVEL 5 GOTO End
IF ERRORLEVEL 4 GOTO OpenProfileDir
IF ERRORLEVEL 3 GOTO Name
IF ERRORLEVEL 2 GOTO LaunchVs
IF ERRORLEVEL 1 GOTO LaunchCoop
:OpenProfileDir
explorer.exe %localappdata%\Activision\CoDWaW\
GOTO Menu
:Name
set /p name= Enter Player Name:
echo SET name=%name% > lan_cfg.bat
GOTO Menu
:LaunchVs
start CoDWaWmp.exe ^
+set name "%name%" ^
+set com_startupIntroPlayed "1" ^
+set com_maxfps "0" ^
+set fs_game mods/mp_custommaps
GOTO End
:LaunchCoop
start CoDWaW.exe ^
+set name "%name%" ^
+set com_startupIntroPlayed "1" ^
+set com_maxfps "0"
GOTO End
:End