Go Back   Forums > Abandonia.com > Troubleshooting
Memberlist Forum Rules Today's Posts
Search Forums:
Click here to use Advanced Search

Reply
 
Thread Tools Display Modes
Old 18-02-2007, 02:17 PM   #1
jg007
Super Freak
 
jg007's Avatar

 
Join Date: Feb 2007
Location: Peterlee, England
Posts: 169
Default

I like to use batch files and then use the choice command as this gives plenty of scope for game changes and makes it easy for my son to startup games, if I need to I can just branch off to multiple pages of a menu and add or change things pretty easily, the speed changes are made really easy with 'config -set' commands. I haven't tried any of the more advanced ASCII art but I presume that it will work in dosbox also so could be used to pretty the interface up a bit!

other people will probably like different ways but as I started as a dos guy this is easiest for me so I though I would post it incase it helps anybody else


example ( it's a bit rough but was just for an example!! ) -

echo off
:menu
cls
echo.
echo.
echo Chose a game!
echo.
echo 1. Bio Menace 1
echo 2. Bio Menace 2
echo 3. Bubble Bobble
echo 4. Duke Nukem
echo 5. Cyber Plus
echo 6. God of Thunder
echo 7. Exit

echo.
echo.
choice /c:1234567 which_program?
if errorlevel==7 goto exit
if errorlevel==6 goto got
if errorlevel==5 goto CyberP
if errorlevel==4 goto nukem
if errorlevel==3 goto bubble
if errorlevel==2 goto bio2
if errorlevel==1 goto bio1


:bio1
bio
cd bio
bmenace1
cd\
goto menu

:bio2
bio
cd bio
bmenace2
cd\
goto menu

:bubble

cd bubble
config -set cycles=550
bubble
config -set cycles=6000
cd\
goto menu

:nukem
cd duke2
nukem2
cd\
goto menu

:CyberP
cd cyb
cybplus
cd\
goto menu

:got
cd got
got
cd\
goto menu

:exit
jg007 is offline                         Send a private message to jg007
Reply With Quote
Old 18-02-2007, 03:31 PM   #2
Scatty
Treasure hunter
 
Scatty's Avatar

 
Join Date: Jan 2006
Location: Little big small world
Posts: 1,906
Default

Aah, the good old batch files
Nice one, good to insert it in the autoexec part of dosbox.conf.
Scatty is offline                         Send a private message to Scatty
Reply With Quote
Reply


Similar Threads
Thread Thread Starter Forum Replies Last Post
3 Skulls of the Toltecs Romnut Approved Requests 9 11-04-2010 03:31 PM
Multiple Cd-rom Problems... vipin General compatibility fixes 1 21-12-2005 02:16 PM


Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Forum Jump
 


The current time is 07:20 AM (GMT)

 
Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.