ok i tried to create a srcipt to let check the box is there a DVD or isn´t there a game. I don´t get it so i only create a script that open the drive close say what is inside and start the disc, if anybody get worked a working check for the script, please write it here. Any comments please, too. here is the script:
<Action>
TrayOpen
:begin
BeginDraw UseCurrent
MessageBox "Please insert A Game$eol$Press A to Continue$eol$Press B to Chancel"
EndDraw
Input
If %_GP_A% == "1" GOTO APRESSED
If %_GP_B% == "1" GOTO BPRESSED
QUIT
:APRESSED
Trayclose
Delay 10
GOTO Launch
:BPRESSED
QUIT
:Launch
SETFUNC DVDTitle XBETITLE D:DEFAULT.XBE
BeginDraw UseCurrent
MessageBox "Press A to Launch %DVDTitle% or B to Cancel"
EndDraw
Input
If %_GP_A% == "1" GOTO A2PRESSED
If %_GP_B% == "1" GOTO BPRESSED
QUIT
:A2PRESSED
LaunchDVD
MessageBox "%DVDTitle% is Starting"
QUIT
</Action>
I will now try to create a script that makes a dir with the name of the game and copy it into that dir.