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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
@ECHO off
title Run Counter-Strike 2D (custom resolution by Se7en)
SET SIZEIS=-w 640 -h 480
SET MODEIS=-dx
SET BITIS=-32bit
GOTO SCANFORRES
:SCANFORRES
if not exist resolution_save.inf GOTO MAIN
>nul find "res 1" resolution_save.inf && (
SET SIZE=1
GOTO SCANFORMODE
) || (
rem DO NOTHING
)
>nul find "res 2" resolution_save.inf && (
SET SIZE=2
GOTO SCANFORMODE
) || (
rem DO NOTHING
)
>nul find "res 3 " resolution_save.inf && (
SET SIZE=3
GOTO SCANFORMODE
) || (
rem DO NOTHING
)
>nul find "res 4" resolution_save.inf && (
SET SIZE=4
GOTO SCANFORMODE
) || (
rem DO NOTHING
)
>nul find "res 5" resolution_save.inf && (
SET SIZE=5
GOTO SCANFORMODE
) || (
rem DO NOTHING
)
>nul find "res 6" resolution_save.inf && (
SET SIZE=6
GOTO SCANFORMODE
) || (
rem DO NOTHING
)
>nul find "res 7" resolution_save.inf && (
SET SIZE=7
GOTO SCANFORMODE
) || (
rem DO NOTHING
)
>nul find "res 8" resolution_save.inf && (
SET SIZE=8
GOTO SCANFORMODE
) || (
rem DO NOTHING
)
>nul find "res 9" resolution_save.inf && (
SET SIZE=9
GOTO SCANFORMODE
) || (
rem DO NOTHING
)
>nul find "res 10" resolution_save.inf && (
SET SIZE=10
GOTO SCANFORMODE
) || (
rem DO NOTHING
)
>nul find "res 11" resolution_save.inf && (
SET SIZE=11
GOTO SCANFORMODE
) || (
rem DO NOTHING
)
GOTO MAIN
:SCANFORMODE
>nul find "mode 1" resolution_save.inf && (
SET MODEIS=-dx
GOTO START
) || (
rem DO NOTHING
)
>nul find "mode 2" resolution_save.inf && (
SET MODEIS=-gl
GOTO START
) || (
rem DO NOTHING
)
GOTO SCANFORBIT
:SCANFORBIT
>nul find "bit 1" resolution_save.inf && (
SET BITIS=-16bit
GOTO START
) || (
rem DO NOTHING
)
>nul find "bit 2" resolution_save.inf && (
SET BITIS=-24bit
GOTO START
) || (
rem DO NOTHING
)
>nul find "bit 3" resolution_save.inf && (
SET BIT=-32bit
GOTO START
) || (
rem DO NOTHING
)
GOTO MAIN
:MAIN
GOTO CHECK
:CHECK
if exist CounterStrike2D.exe GOTO MENU
GOTO MISSING
:MISSING
ECHO CounterStrike2D.exe CAN NOT BE FOUND!
ECHO PLEASE PLACE THIS FILE INSIDE YOUR CS2D FOLDER!
ECHO IF THAT WONT WORK PLEASE REINSTALL CS2D
PAUSE
EXIT
:MENU
CLS
ECHO [1]: 640x480-----4:3
ECHO [2]: 800x600-----4:3
ECHO [3]: 1024x768-----4:3
ECHO [4]: 1152x864-----4:3
ECHO [5]: 1280x960-----4:3
ECHO [6]: 1400x1050-----4:3
ECHO [7]: 1600x1200-----4:3
ECHO [8]: 2048x1536-----4:3
ECHO [9]: 3200x2400-----4:3
ECHO [10]: 4000x3000-----4:3
ECHO [11]: 6400x4800-----4:3
ECHO.
SET /P SIZE=Select Size:
IF "%SIZE%" EQU "" GOTO MAIN
GOTO MODE
:MODE
CLS
ECHO [1]: DirectX
ECHO [2]: OpenGL
ECHO.
SET /P MODE=Select Driver:
IF "%MODE%" EQU "" GOTO MODE
IF "%MODE%" EQU "1" SET MODIS=-dx
IF "%MODE%" EQU "2" SET MODIS=-gl
GOTO BIT
:BIT
CLS
ECHO [1]: 16 BIT
ECHO [2]: 24 BIT
ECHO [3]: 32 BIT
ECHO.
SET /P BIT=Select Color Depth:
IF "%BIT%" EQU "" GOTO BIT
IF "%BIT%" EQU "1" SET BITIS=-16bit
IF "%BIT%" EQU "1" SET BITIS=-24bit
IF "%BIT%" EQU "1" SET BITIS=-32bit
GOTO SAVE
:SAVE
CLS
SET /P SAVE=Save? (Y/N)
IF "%SAVE%" EQU "" GOTO SAVE
IF "%SAVE%" EQU "Y" GOTO SAVEY
IF "%SAVE%" EQU "y" GOTO SAVEY
IF "%SAVE%" EQU "N" GOTO START
IF "%SAVE%" EQU "n" GOTO START
GOTO SAVE
:SAVEY
ECHO res %SIZE% > resolution_save.inf
ECHO mode %MODE% >> resolution_save.inf
ECHO bit %BIT% >> resolution_save.inf
ECHO TO DISABLE SAVE DELETE resolution_save.inf IN YOUR CS2D FOLDER
PAUSE
GOTO START
:START
IF "%SIZE%" EQU "1" (
SET SIZEIS=-w 640 -h 480
GOTO STARTNOW )
IF "%SIZE%" EQU "2" (
SET SIZEIS=-w 800 -h 600
GOTO STARTNOW )
IF "%SIZE%" EQU "3" (
SET SIZEIS=-w 1024 -h 768
GOTO STARTNOW )
IF "%SIZE%" EQU "4" (
SET SIZEIS=-w 1152 -h 864
GOTO STARTNOW )
IF "%SIZE%" EQU "5" (
SET SIZEIS=-w 1280 -h 960
GOTO STARTNOW )
IF "%SIZE%" EQU "6" (
SET SIZEIS=-w 1400 -h 1050
GOTO STARTNOW )
IF "%SIZE%" EQU "7" (
SET SIZEIS=-w 1600 -h 1200
GOTO STARTNOW )
IF "%SIZE%" EQU "8" (
SET SIZEIS=-w 2048 -h 1536
GOTO STARTNOW )
IF "%SIZE%" EQU "9" (
SET SIZEIS=-w 3200 -h 2400
GOTO STARTNOW )
IF "%SIZE%" EQU "10" (
SET SIZEIS=-w 4000 -h 3000
GOTO STARTNOW )
IF "%SIZE%" EQU "11" (
SET SIZEIS=-w 6400 -h 4800
GOTO STARTNOW )
GOTO MENU
:STARTNOW
start CounterStrike2D.exe %SIZEIS% %BITIS% %MODEIS%
EXIT