PDA

View Full Version : DosBox DC - Menu / Multiple games?



phreakindee
May 5th, 2009, 15:53
I've been messing around with DosBoxDC, and I can get one game to work at a time, which is easy enough with the CONF file. But would there be a way to get a menu screen with the ability to choose games?
Being DOS-based, you would think you could make a BAT/batch file menu which would be able to select different game EXEs... I have made one that works in normal DosBox and selects from several games, but in DosBoxDC it just ignores the commands in it and goes straight to the first game in the menu... it is below:

@echo off
cls
echo 1. Keen 1
echo 2. Keen 2
echo 3. Keen 3
choice /c:123 Pick a number:
call :%errorlevel%

if errorlevel == 1 goto keen_1
if errorlevel == 2 goto keen_2
if errorlevel == 3 goto keen_3

:keen_1
@echo off
cls
cd\keen1
keen1
goto EOF

:keen_2
@echo off
cls
cd\keen2
keen2
goto EOF

:keen_3
@echo off
cls
cd\keen3
keen3
goto EOF

:EOF
cls