After reading the general discussion section people are trying to get a DVD or game to autolaunch after they have said not to when they inserted it.
Simple solution I use is based on the reset xbox code being attached to the b button from the main menu.
Open default.xip\default.xap and search for
CODE
control DEF theMainMenuJoy Joystick
Then immediately BEFORE the line that reads
CODE
function OnADown()
Now I attached it to the X button so I inserted
CODE
function OnXDown()
{
PlaySoundB();
AutoLaunch();
}
This should work assuming that you don''t have anything else running from the X button. It won't ask any questions it just Launches the DVD.
I love the code, but hated the "accidential" press of the X button.
So I modified Dazza's code a tad..
His last part where he says..
CODE
function OnXDown()
{
PlaySoundB();
AutoLaunch();
}
I used..
CODE
function OnXDown()
{
PlaySoundB();
AutoLaunchCheck();
}
That way if you accidentially press the x, (like me, or actually the kids), it gives you the prompt again (like it does if you have your ini set to "ask" on inserted media). Doubt this qualifies me as a coding guru, but I think it's handy :P