OG Xbox Forums => Software Forums => Development => Topic started by: Mordenkainen on August 13, 2003, 03:32:00 PM
Title: Launch Xbe
Post by: Mordenkainen on August 13, 2003, 03:32:00 PM
Is there a way I can do this?
I need to launch an app, but not keep D: from pointing to the CDROM.
Anyone have any ideas?
Title: Launch Xbe
Post by: Wishi on August 13, 2003, 03:34:00 PM
How about mounting G: then?
Title: Launch Xbe
Post by: Mordenkainen on August 13, 2003, 03:40:00 PM
I thought XLaunchNewImage would only allow you to launch apps on D:...
Didn't seem to work for me!
But Evox can do it, so there must be a way.
Morden.
Title: Launch Xbe
Post by: BenJeremy on August 13, 2003, 04:55:00 PM
QUOTE (Mordenkainen @ Aug 13 2003, 07:40 PM)
I thought XLaunchNewImage would only allow you to launch apps on D:...
Didn't seem to work for me!
But Evox can do it, so there must be a way.
Morden.
The trick is to remap D: to the application delivery.
Really, if you are not working with Media X Menu's source, you are missing a LOT.
I've released MXM's source code from the beginning, and what you need is mostly found in the utility.cpp file (lots of goodies in there). Don't try and reinvent the wheel.
Title: Launch Xbe
Post by: Mordenkainen on August 13, 2003, 05:17:00 PM
Thanks BenJeremy,
I have looked at MXM's source, quite nice, but unfortunatly not the solution to my issue.
Here it goes:
I wrote an app that loads before the dash (Evox) does a few things, then maps D: to the directory Evox is in and launches it. this works fine.
The issue is that Evox is not remapping D: to the CDRom after it loads, so all the D: shows is the directory that Evox is in.
I need to be able to launch Evox (or whatever dash) and have D: mapped to the CDRom once the dash is up.
I figure the only way to do this is to map the D: to the CDRom and then launch Evox in some other way. Evox itself can do it (apparently, I haven't tried it) what do I need to do to accomplish this from my program?
I hope someone knows the answer to my problem.
thanks Morden.
Title: Launch Xbe
Post by: Mordenkainen on August 13, 2003, 06:15:00 PM
Unfortunaly this does not work. Evox hang on startup, I am assuming this is due to the fact it can't find it's ini file.
unfortunatly putting the ini on the CD is not an option.
So this raises a good point.... Dash developers, remap D to the CDRom when your dash starts, that way if anyone else tries doing what I am they don't have to jump through hoops!
Title: Launch Xbe
Post by: BenJeremy on August 13, 2003, 07:32:00 PM
Title: Launch Xbe
Post by: Mordenkainen on August 13, 2003, 08:59:00 PM
Thanks, I found a nasty work around and I'm going with that for the moment, but if I get the chance I will play with the API's you mentioned. See if we can make it work!