It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
Throwing this out there, for folks that might be interested, and perhaps in the discussion I'll learn something.

I prefer playing my games straight from DOSBox, as I have an older slower low end Mac, and the wait time for GoG Galaxy to launch can be maddening on occasion. To facilitate that, I have the games that I am playing on a scripted menu, and the menu format is what I would to share and get feedback on.

Specifically, I would like to know if there is a method for formatting how the game list is displayed rather than the menu choices just following one after the other, and wrapping around the screen in a sloppy fashion.

[autoexec]
# Lines in this section will be run at startup.
# You can put your MOUNT lines here.

@ECHO OFF
REM - LABEL INDICATING THE BEGINNING OF THE DOCUMENT.

:BEGIN
REM - THE BELOW LINE GIVES THE USER 9 CHOICES (DEFINED AFTER /C:)
CLS
CHOICE /C:123456789 “ (1) Pool of Radiance (2) Curse of the Azure Bonds (3) Secrets of the Silver Blades (4)Pools of Darkness (5) Wiz 5 (6) Wiz 6 (7) Blood (8) Doom (9) DOSGames mounted command prompt "%1

REM - THE NEXT TEN LINES ARE DIRECTING USER DEPENDING UPON INPUT

IF ERRORLEVEL ==9 GOTO NINE
IF ERRORLEVEL ==8 GOTO EIGHT
IF ERRORLEVEL ==7 GOTO SEVEN
IF ERRORLEVEL ==6 GOTO SIX
IF ERRORLEVEL ==5 GOTO FIVE
IF ERRORLEVEL ==4 GOTO FOUR
IF ERRORLEVEL ==3 GOTO THREE
IF ERRORLEVEL ==2 GOTO TWO
IF ERRORLEVEL ==1 GOTO ONE
GOTO END


:NINE
mount c ~/dosgames
c:
GOTO END

:EIGHT
mount c ~/dosgames/fps/doom
C:
cycles= fixed 50000
memsize=32
autolock=on
irq=5
pcspeaker=false
C:\
setup.exe
GOTO END



:SEVEN
mount c ~/dosgames/fps/blood
C:
cycles= 50000
memsize=32
autolock=on
irq=5
pcspeaker=false
C:\
blood.exe
GOTO END

:SIX
mount c ~/dosgames
C:

# mount c ~/dosgames/wizardry/wiz6
# pause
# mount d ~/dosgames/wizardry/wiz6
# pause
mount D ~/DOSGAMES/wizardry/wiz6
cpu=386
cycles=fixed 2000
CLS
cd wizardry\wiz6\bane
wroot.exe
GOTO END

:FIVE
mount c ~/dosgames/wizardry/wiz5
C:
cycles= fixed 3000
wiz5.com
GOTO END

:FOUR
mount c ~/dosgames/ssi/DARKNESS
C:
machine=vgaonly
cycles= auto
# cycles default was auto
tandy=on
CLS
game.exe 2 2 Helm
#start.exe Hoop Gem
GOTO END

:THREE
mount c ~/dosgames/ssi/SECRETS
C:
# cycles default was auto
cycles= auto
tandy=on
CLS
start.exe Hoop Gem
GOTO END

:TWO
mount c ~/dosgames/ssi/CURSE
C:
# cycles default was auto
cycles= auto
tandy=on
CLS
start.exe STING Wooden

:ONE
mount c ~/dosgames/ssi/POOLRAD
C:
# cycles default was auto
cycles= auto
tandy=on
CLS
start.exe STING
GOTO END




:END
# Exit
avatar
ceorem: CHOICE /C:123456789 “ (1) Pool of Radiance (2) Curse of the Azure Bonds (3) Secrets of the Silver Blades (4)Pools of Darkness (5) Wiz 5 (6) Wiz 6 (7) Blood (8) Doom (9) DOSGames mounted command prompt "%1
Instead of this line, how about an echo of each game name, followed by a choice command that doesn't include the names?

Eg.

echo 1 Pool of Radiance
echo 2 Curse

choice /c:12

if errorlevel == 2 goto curse
if errorlevel == 1 goto pool

:curse
rem play curse of the azure bonds
goto end

:pool
rem play pool of radiance
goto end

:end
rem finished
avatar
ceorem: CHOICE /C:123456789 “ (1) Pool of Radiance (2) Curse of the Azure Bonds (3) Secrets of the Silver Blades (4)Pools of Darkness (5) Wiz 5 (6) Wiz 6 (7) Blood (8) Doom (9) DOSGames mounted command prompt "%1
avatar
ZyloxDragon: Instead of this line, how about an echo of each game name, followed by a choice command that doesn't include the names?

Eg.

echo 1 Pool of Radiance
echo 2 Curse

choice /c:12

if errorlevel == 2 goto curse
if errorlevel == 1 goto pool

:curse
rem play curse of the azure bonds
goto end

:pool
rem play pool of radiance
goto end

:end
rem finished
Excellent! Thank you!
You're welcome. Glad I could help.