NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) GB-PVR Support (legacy) v
« Previous 1 … 850 851 852 853 854 … 1231 Next »
Trouble closing a focused window with Hauppage remote, try this

 
  • 0 Vote(s) - 0 Average
Trouble closing a focused window with Hauppage remote, try this
mojohand
Offline

Junior Member

Posts: 1
Threads: 1
Joined: Mar 2006
#1
2006-03-03, 11:27 PM (This post was last modified: 2006-03-04, 01:08 AM by mojohand.)
NOTE: This assumes some knowledge of the Hauppage remote.

I want my PVR user's experience to be as simple as possible. For me this means I want everything controlled by the remote in the most intuitive way possible. GBPVR is a great program and with a little work I've been able to get pretty much everything I could want working with the excellent plugins and tools made by this community.

I particularly enjoy reven's My* series of plugins. This tutorial has to do with issues I ran into while working with MyPrograms. I can run all my favorite emulators but some of them don't like to close when I assign key's to the irremote.ini for the program. I believe this is due to the program being Console based when in fullscreen mode. This post is a solution I found to get these or any programs closed with a few simple steps.


Found this useful free tool NirCmd: (download link is at bottom of page)

http://www.nirsoft.net/utils/nircmd2.html

It is a command line driven program that can do a multitude of useful windows functions. Including closing a window by passing the program name to it.

Some emulators and games don't accept input directly through the remote interface with irremote.ini. For instance: ePSXe(playstation emulator) does not like to close gracefully for me with my remote.

**Careful** Editting irremote.ini may cause problems if not done in the correct manner. So please only try this if your comfortable modifying this file.

; NOTE: Lines starting with a ";" are just comments, no need to add them to
; irremote.ini

; Create a batch file that will close the window with NirCmd. To do this
; create a regular .txt file and add this line:

"C:\Program Files\NirCmd\nircmd.exe" killprocess ePSXe.exe


; The path "C:\Program Files\NirCmd\" is the path to where ever you installed
; NirCmd. "ePSXe.exe" is the executable for the PSX emulator. I used
; killprocess, because the program would'nt close all of its windows with
; only the closeprocess command. closeprocess is a safer command to use
; though.

; Then save as: (name/save it anything, but you need this later)

C:\Utils\closePSX.bat


; At this point you can test it out by running the program(i.e. ePSXe.exe)
; and then alt tabbing and running the batch file. This should kill the
; program.


; Open your irremote.ini(i.e. C:\Windows\irremote.ini)


; Add this under: [Applications] (found near the top)
; (I always add my new applications right above: GB-PVR=
; The name you add here is the exact window name you see in the
; taskbar while the program is running. Alt+Tab when you run the
; program and put your mouse over the program in the taskbar, to find
; this)

ePSXe - Enhanced PSX Emulator=


; Now go down to the end of the file and find where [GB-PVR] starts
; (I always add my new programs just above [GB-PVR], just my
; preference. These lines will call the batch files we made earlier
; to close the window. I use the back and power button to close
; everything, change these to your preference.)

[ePSXe - Enhanced PSX Emulator]
BACK={run(C:\Utils\closePSX.bat)}
GRNPOWER={run(C:\Utils\closePSX.bat)}


; NOTE: If you saved your .bat file in a folder that has spaces in it like
; "C:\Program Files\..." the path must look like this "C:\Progra~1\...". I'm
; not going to get into why this is. If you run into an issue saying
; something like Can't find executable, something was misspelled or its an
; issue like that.

Now Restart the IR Software and test it out.

This works quite nicely and while its not the most graceful solution it gets the job done. Enjoy!

-Matt
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Hauppauge 2250 MCE remote Jeckler 22 20,989 2013-03-26, 04:26 PM
Last Post: DonBrutto
  Exit button on StreamZap remote now exits PVRX2 billbobbins 5 5,296 2012-08-30, 09:43 PM
Last Post: billbobbins
  Program MCE remote? arkennedy75 1 2,713 2011-04-13, 12:09 AM
Last Post: pBS
  RECORDING STATUS WINDOW shows incorect info zb1 5 2,538 2010-12-11, 09:52 AM
Last Post: martint123
  remote problem in GBPVR Zacken 5 2,676 2010-12-08, 09:00 PM
Last Post: Zacken
  Hauppage PVR-150 not in the device type list dalokgawd 4 2,852 2010-10-26, 02:26 AM
Last Post: dalokgawd
  Lost with HIP and my MCE remote kjc 15 5,338 2010-09-24, 07:13 AM
Last Post: mila06
  Trouble with mapped network drive DrNic2032 2 1,839 2010-07-13, 05:45 PM
Last Post: pBS
  Hauppage HVR-950 video kc5zfz 4 2,145 2010-06-07, 10:47 PM
Last Post: kc5zfz
  EPG update trouble gaspika 2 1,855 2010-06-06, 07:21 AM
Last Post: gaspika

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode