| QUOTE |
| ;############################# ;# ;# CREATOR: DBZRacer ;# DATE: 10.09.03 ;# Action Script Name: LaunchDVDGame ;# VERSION: 1.0 ;# Menu Item Action Script ;# Function Description: This is a simple action script ;# that you can use launch a gamedisk from your MXM menu. ;# It first checks to see if there is a valid XBOX game ;# disk in the DVD tray. If not, it will prompt you to ;# insert a game disk before launching. One use for this ;# action script is to simplify building a DVD Game List ;# submenu in MXM. Version 2 of LaunchDVDGame will only ;# launch if the corresponding disk in the DVD tray matches ;# the game title in your DVD Game List entry. ;# ;############################# :DiskCheckMessage BeginDraw UseCurrent MessageBox "Checking Disk Status. Please Wait..." EndDraw GOTO DiskCheck :DiskCheck TrayClose IF $TrayState$ != "Tray Closed" GOTO DiskCheck IF $DVDType$ != "Game Disc" GOTO InsertDisk IF $DVDType$ == "Game Disc" GOTO LaunchDisk QUIT :InsertDisk BeginDraw UseCurrent MessageBox "Please Insert Game Disk$eol$Press A TO Continue$eol$Press B To Cancel" EndDraw TrayOpen Input If %_GP_A% == "1" GOTO DiskCheckMessage If %_GP_B% == "1" GOTO LaunchCancel Quit :LaunchCancel TrayClose BeginDraw UseCurrent MessageBox "Game Disk Launch Cancelled" EndDraw Delay 3 QUIT :LaunchDisk SETFUNC DVDTitle XBETITLE D:default.xbe MessageBox "%DVDTitle% Now Launching..." LaunchDVD QUIT |
| CODE |
| BeginDraw UseCurrent MessageBox "Checking Disk Status. Please Wait..." EndDraw |
| CODE |
| MessageBox "%DVDTitle% Now Launching..." |
| CODE |
| Delay 2 |
| QUOTE (Be Absentminded @ Nov 15 2003, 04:43 PM) |
| Can someone send me the newest version so i can work on it? - I'm a bit rusty at compiliing the binarys. -Jameson |
| QUOTE (Be Absentminded @ Nov 15 2003, 04:54 PM) |
| Oh, Didn't know it was select. My bad - Well if anyone can help me with that script it'd be appreciated. Just wanna get rid of that damn error. -Jameson |
| CODE |
:LaunchDisk SETFUNC DVDTitle XBETITLE D:default.xbe MessageBox "%DVDTitle% Now Launching..." LaunchDVD QUIT |
| QUOTE (Be Absentminded @ Nov 15 2003, 05:04 PM) |
| Well if either one of you have some spare time could you take a look at that script? I got all the message delays fixed but it still give me that error right after the "Now Launching..." message. -Jameson |
| QUOTE (Be Absentminded @ Nov 15 2003, 05:11 PM) |
| I found it - It wasn't the code - The problem lies in the LaunchDVD function - 'cause if you replace the LaunchDVD function with EXEC D:Default.xbe the script launches without a hitch. I guess I could tell BJ about that so it can be fixed. -Jameson |
| QUOTE (Lonecrow @ Nov 19 2003, 01:50 PM) | ||
| ok this is exactly my problem, but where do i put the EXEC D:DEFAULT.XBE ?? Is it in here:
Because if its there that i have to change something, ive already tried it and i still get the error msg while still launching the DVD... |
| CODE |
:LaunchDisk SETFUNC DVDTitle XBETITLE D:\default.xbe MessageBox "%DVDTitle% Now Launching..." EXEC D:\DEFAULT.XBE QUIT |
| QUOTE |
SETFUNC DVDTitle XBETITLE D:default.xbe |