xbox-scene.com - your xbox news information source
Quick Links: Main Forums | Xbox360 Forums | Xbox1 Forums | PS3 Forums
Xbox-Scene Forum Help  Search Xbox-Scene Forums   Xbox-Scene Forum Members   Xbox-Scene Calendar

Giganews Usenet Offers: +1150 days binary retention, 99%+ Completion, and Unlimited Speed/Access!

360 ODD Emulators: X360 Key $99 | Wasabi360 FAT $99 | Wasabi360 Slim $99
C4E's iXtreme Burner MAX Drive: LiteOn iHAS124 DROPPED TO JUST $17


Welcome Guest ( Log In | Register )

 Forum Rules Rules
 
Reply to this topicStart new topic
> Auto Launch A Xbe File When Dash Loads?, how do you do it?
BlackWar
post Jan 13 2005, 08:00 PM
Post #1


X-S Expert
***

Group: Members
Posts: 749
Joined: 19-October 04
Member No.: 157964
Xbox Version: v1.6
360 version: v2 (zephyr)



How do I set up unleashx to automaticly launch a file apon boot?

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?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Extreme Agony
post Jan 13 2005, 08:37 PM
Post #2


X-S Member
*

Group: Members
Posts: 72
Joined: 7-July 04
From: Toledo, Ohio USA
Member No.: 129211
Xbox Version: v1.0
360 version: none



you can use a 'script' to bring up the message box...

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)...
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
neosnightmare
post Jan 13 2005, 09:28 PM
Post #3


X-S X-perience
**

Group: Members
Posts: 316
Joined: 28-February 04
From: FL
Member No.: 103280
Xbox Version: v1.5
360 version: none



but if the game was to launch and he didnt wanna play it, he can do an IGR. with the renaming for the dash trick, he couldnt do that. but it depends on what he wants to do.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
sr_sparky
post Jan 14 2005, 01:19 AM
Post #4


X-S X-perience
**

Group: Members
Posts: 442
Joined: 5-August 04
From: Perth, Western Australia
Member No.: 136140
Xbox Version: v1.1
360 version: v1 (xenon)



You can also do something in the settings called 'gamepad/ir shortcuts' that allow you to hold down a particular button at startup and it will automatically load the associated xbe.

Cheers,
Stuart
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Kthulu
post Jan 14 2005, 04:49 AM
Post #5


X-S Freak
*****

Group: XS-BANNED
Posts: 1287
Joined: 8-August 03
Member No.: 54981
Xbox Version: v1.0
360 version: unknown



QUOTE(neosnightmare @ Jan 13 2005, 03:59 PM)
but if the game was to launch and he didnt wanna play it, he can do an IGR. with the renaming for the dash trick, he couldnt do that. but it depends on what he wants to do.
*


um, IGR would just reboot...which would just launch UX...which would just launch the game again...
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
BlackWar
post Jan 14 2005, 08:17 AM
Post #6


X-S Expert
***

Group: Members
Posts: 749
Joined: 19-October 04
Member No.: 157964
Xbox Version: v1.6
360 version: v2 (zephyr)



I am making an installer using unleashx as a base. the reason why for the auto-launch is because right before a soft reboot, a new script would replace the config.xml file with the next run of scripts, but I would like it to automaticly run it with no user interaction at all, kinda like what the online updater feature does, it reloads the dash and automaticly continues the update.

This post has been edited by BlackWar: Jan 14 2005, 08:19 AM
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Kthulu
post Jan 14 2005, 07:13 PM
Post #7


X-S Freak
*****

Group: XS-BANNED
Posts: 1287
Joined: 8-August 03
Member No.: 54981
Xbox Version: v1.0
360 version: unknown



i hope this will be a good enough example for you to build from...
QUOTE
  <List Text="Reboot" Batch="True" AltIcon="f:\dashboards\icons\lock.png">
  <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>
  <Item Action="Reboot"></Item>
  </List>

User is offlineProfile CardPM
Go to the top of the page
+Quote Post
BlackWar
post Jan 14 2005, 08:06 PM
Post #8


X-S Expert
***

Group: Members
Posts: 749
Joined: 19-October 04
Member No.: 157964
Xbox Version: v1.6
360 version: v2 (zephyr)



does that script auto-launch though if its the only thing in the menu? or does the "reboot" sellection still needs to be clicked on to launch it?

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.....
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Kthulu
post Jan 15 2005, 12:17 AM
Post #9


X-S Freak
*****

Group: XS-BANNED
Posts: 1287
Joined: 8-August 03
Member No.: 54981
Xbox Version: v1.0
360 version: unknown



no, it doesn't autolaunch...but it's as close as you are going to get.

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.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
BlackWar
post Jan 16 2005, 08:11 AM
Post #10


X-S Expert
***

Group: Members
Posts: 749
Joined: 19-October 04
Member No.: 157964
Xbox Version: v1.6
360 version: v2 (zephyr)



ok, thanks for all of the help, I greatly apperciate it. as you said, that is about as close as I am going to get, but with only one option its kinda hard to scew that up (but then again..... lol)

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 sad.gif

This post has been edited by BlackWar: Jan 16 2005, 08:15 AM
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Kthulu
post Jan 17 2005, 01:07 AM
Post #11


X-S Freak
*****

Group: XS-BANNED
Posts: 1287
Joined: 8-August 03
Member No.: 54981
Xbox Version: v1.0
360 version: unknown



not really, but...

<list text="Do some stuff" batch="true">
<list>
<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'...
</list>
...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...
</list>

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
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
BlackWar
post Jan 19 2005, 01:20 AM
Post #12


X-S Expert
***

Group: Members
Posts: 749
Joined: 19-October 04
Member No.: 157964
Xbox Version: v1.6
360 version: v2 (zephyr)



cool, thank you for the replies. if unleashx does not work out I may just switch to something else.

thanks all, and peace!
User is offlineProfile CardPM
Go to the top of the page
+Quote Post





Reply to this topicStart new topic

 

Lo-Fi Version Time is now: 19th May 2013 - 02:32 AM