Project 64 Exit issue (1 Viewer)

jj00

New Member
February 18, 2007
1
0
Home Country
United States of America United States of America
MediaPortal Version: Version 0.2.2.0
Windows Version: XP Pro
CPU Type: AMD Athlon XP
Memory: 1.5GB
Video Card: NVidia

I have a question about exiting "My Programs" programs in Media Portal. I use Project 64, and I can get the program to start within MediaPortal, but I can't get the Project 64 program to stop.

I have a Hauppauge remote that I would like to use to end the game, by hitting the "Back/Exit" button or similar. As far as I can tell, I cannot get Project 64 to close without pressing Alt-F4 on my keyboard (which I would like to not have hooked up to the computer all the time). I even went as far as registering Project 64 to try to remap their Exit from Alt-F4 to Esc, but it still does not work.

I noticed that some others in this forum have mentioned getting Project 64 to work completely. I was wondering what any of you did to get it to exit properly.

Thanks for your time!
 

jenz

New Member
February 27, 2007
9
0
57
Zürich
Home Country
Switzerland Switzerland
WM_Quit to quit almost any application

Hi,

to quit almost any program, even those that won't react on Alt-F4, you can map the WM_Quit Windows-message to your remote control. You need a remote that is supported by HIP, HIP itself, and the MediaPortal MessagePlugin.

Use HIP to send message to MP, which are then processed via the message plugin. The message plugin has default settings for HIP, you'll just have to import them into HIP, and add a global key for the WM_Quit-Message. I've put it on the stop key of my MCE remote.

The parameters for the the Wm_Quit-Message are:
QM_Quit = 0x0012 (dec = 18)
lparam = 0; // This is the exit code of the program that is going to quit
wparam = 0; // unused

Works very nice, and it's very useful, when the game you're running doesn't allow you to quit directly.

Cheers, Jenz
 

hakuna

Portal Pro
October 15, 2004
395
1
50
Gothenburg
Home Country
Sweden Sweden
jenz: What version of MP are you running?
My system was working super before 0.2.2+svn...
Now MP hangs or something when I quit any emulator or IE.
 

jenz

New Member
February 27, 2007
9
0
57
Zürich
Home Country
Switzerland Switzerland
Hi Hakuna:

I'm back to 0.2.1, because I've had trouble with the MP screen being pitch black (or not being updated anymore) after exiting any of my Direct3D games.

This issue seems to be related to 0.2.2, but I don't rember the thread where this is discussed. But 0.2.1 works fine.

Cheers, Jenz
 

Users who are viewing this thread

Top Bottom