Auto Launch A Xbe File When Dash Loads?
Posted 13 January 2005 - 08:00 PM
lets say I want to straight into a game, or to bring up a message box right off the bat, how do you edit the xml file for this?
Posted 13 January 2005 - 08:37 PM
not sure about it being automatic though...
if you really wanted an xbe to launch everytime you loaded your dashboard
then you would be like using that xbe evertime, instead of your dashboard..
so you could just replace the dashboard with the program that you wanted
to load everytime (renameing the xbe file accordingly for your setup)...
Posted 13 January 2005 - 09:28 PM
Posted 14 January 2005 - 01:19 AM
Posted 14 January 2005 - 04:49 AM
um, IGR would just reboot...which would just launch UX...which would just launch the game again...
Posted 14 January 2005 - 08:17 AM
Edited by BlackWar, 14 January 2005 - 08:19 AM.
Posted 14 January 2005 - 07:13 PM
<Item Action="Copy" Arg1="config.xml" Arg2="F:\dashboards\unleashx\profiles\admin\config.xml"></Item>
<Item Action="Copy" Arg1="F:\dashboards\unleashx\profiles\guest\config.xml" Arg2="config.xml"></Item>
Posted 14 January 2005 - 08:06 PM
I understand what the script is doing (and I like the profiles/ect/ layout of it, good thinking!), and the idea of "copying config files over" did come across my mind, I was just hoping that after reboot the script "reboot" (in your example) would auto-launch.....
Posted 15 January 2005 - 12:17 AM
instead of <List Text="Reboot"...
<List Text="Press A to Begin"...or something like that...and make it the only thing in your menu
i doubt that's what you really want, but as said...as close as you can get.
Posted 16 January 2005 - 08:11 AM
I do have one final question and then I will let this topic die in peace.
Does unleashx support any type of error checking? (like <ContinueIf arg1="C:\xboxdash.xbe"> or - <if arg1="C:\xboxdash" continue>
well, I think you get the idea. check to see if a file is there, if so, continue, if not, halt or bring up a warning screen. what I am after is some sort of error checking to insure that the needed files are where they are supposed to be, before launching the script that actually does some work (like formatting C:). it would really suck that C: would be formated and then come to the script error-ing out because the restore files have been deleted
Edited by BlackWar, 16 January 2005 - 08:15 AM.
Posted 17 January 2005 - 01:07 AM
<list text="Do some stuff" batch="true">
<item action="messagebox" arg1="Test">Looking for xboxdash.xbe.../nIf the file is not found,/nyou will see an error message.</item>
<item action="rename" arg1="c:\xboxdash.xbe" arg2="c:\xboxdash.xbe"></item>
<item action="AskUser" arg1="Continue?">Do you want to continue?/nIf you just saw an error message/nyou should NOT continue</item>
...this will get executed if the user answers 'Yes'...
...the error message itself might cause execution to jump to here (dunno), but if the user answered 'No', this will be executed next. this will get executed even if the user answers 'Yes', but after everything above is executed...unless you have a <item action="reboot"></item> statement up there...
if you need to do alot of error checking/validation like this, an mxm actionscript would be more suitable. you can put the script in the same dir with the mxm xbe and name it autoexec.xas
Posted 19 January 2005 - 01:20 AM
thanks all, and peace!
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users