Just thoght I'd drop a little batch file in here, (will drop a bash script once I've installed CSBWin for Linux on my NAS).
I currently have three dungeons, DM, CSB, and Conflux, with the following directory structure...
Code: Select all
\Games\
|CSBWin\
|Conflux
|CSB
|DM
The batch propts for which game you wish to play, at what resolution, then starts the game in the appropriate window size (well, for my 1920 * 1080 resolution with 125% test size, anyways).
Just copy, paste, and adjust to your layout.
Code: Select all
:: Basic Batch file for selecting Game and screen size.
:: Uses a single config.txt file (no need to copy different config.txt
:: for different screen sizes).
@echo off
echo Enter 1 for Dungeon Master.
echo Enter 2 for Chaos Strikes Back.
echo Enter 3 for Conflux: The Undercity.
:: echo Enter 4 for Dungeon 4
:: echo Enter 5 for Dungeon 5
:: To add a 4th custom dungeon, follow the above format, then
:: change the line below to "choice /C 1234 /N /T 9999 /D 1
choice /C 123 /N /T 9999 /D 1
:: Add extra error level for each new dungeon in descending order.
:: IF ERRORLEVEL 5 goto Dungeon5
:: IF ERRORLEVEL 4 goto Dungeon4
IF ERRORLEVEL 3 goto Conflux
IF ERRORLEVEL 2 goto CSB
IF ERRORLEVEL 1 goto DM
:: :Dungeon5
:: Replace <Dungeon5 Directory> with the name of the directory containing the new custom dungeon
:: set a=<Dungeon5 Directory>
:: goto ScreenSize
:: :Dungeon4
:: Replace <Dungeon4 Directory> with the name of the directory containing the new custom dungeon
:: set a=<Dungeon4 Directory>
:: goto ScreenSize
:Conflux
set a="Conflux"
goto ScreenSize
:CSB
set a="CSB"
goto ScreenSize
:DM
set a="DM"
goto ScreenSize
:ScreenSize
cls
echo Enter 1 for 320*200.
echo Enter 2 for 640*400.
echo Enter 3 for 960*600.
echo Enter 4 for 1280*800.
choice /C 1234 /N /T 9999 /D 3
IF ERRORLEVEL 4 goto 1280
IF ERRORLEVEL 3 goto 960
IF ERRORLEVEL 2 goto 640
IF ERRORLEVEL 1 goto 320
:1280
set b="EXTRALARGE"
set c="1300"
set d="820"
goto run
:960
set b="VERYLARGE"
set c="980"
set d="660"
goto run
:640
set b="LARGE"
set c="660"
set d="460"
goto run
:320
set b="SMALL"
set c="340"
set d="280"
goto run
:run
cd %a%
start ..\CSBwin directory=".\" SIZE=%b% x=0 y=0 width=%c% height=%d% directx
exit
Radar =8^)