Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Some Help With Some Code  (Read 2051 times)

0 Members and 1 Guest are viewing this topic.

Fire

  • Guest
Some Help With Some Code
« on: February 18, 2006, 08:52:24 AM »
Okay, I got a nintendo 64 emulater and a couple roms. I put the files on to a cd and I made it so it auto boots to a MS DOS window. What I want to happen is, I gave 6 choices of games to play. And when i type the number of the game on the list, i want it to start, but thats not happening... so heres my code... If you could help me out that would be great
Heres my code...
Code: [Select]
@ECHO OFF

ECHO Loading CD.
ECHO Loading CD..
ECHO Loading CD...
ECHO Nintendo 64 Has Successfully Been Opened!

CLS
ECHO Please Select A Game To Play:
ECHO 1. Super Mario 64
ECHO 2. Goldeneye
ECHO 3. Mario Kart 64
ECHO 4. SouthPark
ECHO 5. TonyHawkProSkater
ECHO 6. Zelda 64
ECHO 7. Exit N64
ECHO You Have 30 Seconds To Choose A Game!

CHOICE /N /C:1234567
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

:SEVEN
EXIT
GOTO END

:SIX
ECHO Launching Zelda...
\Project64\Project64.exe Roms\Zelda64.v64
GOTO END

:FIVE
ECHO Launching Tony Hawk Pro Skater...
\Project64\Project64.exe Roms\TonyHawkProSkater.rom
GOTO END

:FOUR
ECHO Launching SouthPark...
\Project64\Project64.exe Roms\SouthPark.v64
GOTO END

:THREE
ECHO Launching Mario Kart 64...
\Project64\Project64.exe Roms\MarioKart64.v64
GOTO END

:TWO
ECHO Launching 007 Golden Eye...
\Project64\Project64.exe Roms\Goldeneye.v64
GOTO END

:ONE
ECHO Launching Super Mario 64...
\Project64\Project64.exe Roms\SuperMario64.v64
:END

GuruGary



    Adviser
    Re: Some Help With Some Code
    « Reply #1 on: February 18, 2006, 02:54:09 PM »
    You say it is "not happening" ... so what is happening?
    You created this a a bootable CD?  Does the CD boot?  What files do you have on your CD / version of DOS / version of choice?