xboxscene.org forums

Author Topic: My Simple Disc Launch  (Read 177 times)

Jezz_X

  • Archived User
  • Hero Member
  • *
  • Posts: 2893
My Simple Disc Launch
« on: November 05, 2003, 01:19:00 PM »

QUOTE

If $DVDType$ == "Empty" GOTO NoDisc
If $DVDType$ != "Empty" GOTO Check

:NoDisc
    BeginDraw UseCurrent
     MessageBox "No disc in Drive$eol$$eol$Press Any Button to Continue"
    EndDraw
    Input
   QUIT
 
  :Check
    If $DVDType$ == "Game Disc" GOTO LaunchGame
    If $DVDType$ == "Movie Disc" GOTO LaunchMovie
    If $DVDType$ == "Unknown" GOTO UnknownError
 
  :UnknownError
    BeginDraw UseCurrent
     MessageBox "The Disc type is Unknown$eol$And can not be run$eol$$eol$Press Any Button to Continue"
    EndDraw
    Input
   QUIT

  :LaunchMovie
    EXEC c:\xboxdash.xbe
    MessageBox "DVD Video Playing"
   QUIT

  :LaunchGame
    EXEC d:\default.xbe
    MessageBox "Game Starting"
   QUIT
Logged

Jezz_X

  • Archived User
  • Hero Member
  • *
  • Posts: 2893
My Simple Disc Launch
« Reply #1 on: November 06, 2003, 04:18:00 AM »

Seriously if you copy and paste it into notpad and save it as disccheck.xas you have it
Logged

yourwishismine

  • Archived User
  • Sr. Member
  • *
  • Posts: 325
My Simple Disc Launch
« Reply #2 on: November 06, 2003, 04:55:00 AM »

QUOTE (Jezz_X @ Nov 6 2003, 08:18 AM)
Seriously if you copy and paste it into notpad and save it as disccheck.xas you have it

I know.. I was just being reallllllyyyyy lazy....

Logged