Thread: XPMCE Launching games from MCE
View Single Post
Old 10th April 2006, 12:21 AM   #4 (permalink)
nickoz
MC Graduate
 
nickoz's Avatar
Status nickoz is Offline:
Location Australia
ActivityPosts: 51
Reputation & Thanks Support Rating:
nickoz
Points Earned: 29

nickoz has been thanked 0 times in 0 posts
Re: Launching games from MCE

For people who tried out the MCL approach to starting games from MCE, but are having problems getting MCE to restore after the game has finished, here is a small loader app (and source code) that will do the trick. All you have to do is call 'GameLoader.exe <full path to app exe>' to start the game, and when its done the loader will reinstate the MCE interface for you.

To use it, all I did was create the MCL file as mentioned in the first post, but then modify the game shortcut that is referenced by the 'run' statement, and appended 'GameLoader' to the start of the target within that shortcut (go to the properties for the .lnk file and edit the target). eg;

C:\WINDOWS\GameLoader.exe "C:\Program Files\Electronic Arts\The Godfather The Game\godfather.exe"

Note: The source code and executable are provided as-is with no warranty. It can be reused, modified and redistributed in any way without permission. All source code was written and compiled in VS2003 to run on Windows XP.

Nick.
Attached Files
File Type: zip GameLoader-src.zip (18.8 KB, 224 views)
File Type: zip GameLoader-bin.zip (23.6 KB, 337 views)
  Reply With Quote