Jump to content

All my products and services are free. All my costs are met by donations I receive from my users. If you enjoy using any of my products, please donate to support me. My bare hosting costs are currently not met so please consider becoming a contibuting member by either clicking this text or the Patreon link on the right.

Patreon

Recommended Posts

Posted

I'm running Visual Pinball using VPA.exe in my Gameex emulator command line to help launch the game. That all works fine but the VPA doesn't close when I exit the pinball game. I'm ending up with multiple instances of the program running and putting little icons in my system tray. After a while this eats into my available memory.

Is there a command line I could use to exit VPA with my pinball game?

Cheers.

Posted

There is a way to use the advanced emulator config to watch more than one process. I think I remember seeing a way to kill processes in there as well, but I could be wrong. It's been a while since I've used that file, so I'll let someone else fill in the details.

If nothing else, you can use 'taskkill' to terminate the offending process. I've never used VP, so I don't know if this is required or if you have something wrong with your setup.

Posted

I'm running Visual Pinball using VPA.exe in my Gameex emulator command line to help launch the game. That all works fine but the VPA doesn't close when I exit the pinball game. I'm ending up with multiple instances of the program running and putting little icons in my system tray. After a while this eats into my available memory.

Is there a command line I could use to exit VPA with my pinball game?

Cheers.

As far as I know this has always happened with me too.

It has never really been a concern of mine because I've got a powerful CPU and a ton of memory in my cab.

Posted

Instructions can be given when you exit a game so there must be a command line that can be written.

I experimented, but as I don't know what I'm doing I failed miserably.

I would do as bkenobi suggested and use an advanced config.

  • Run Setup Wizard
  • Click Next
  • Choose Custom as the mode
  • Click Next
  • Check Emulator Setup
  • Click Next
  • Click Next till you reach page 3
  • click on the ... button in the Advanced Config setting
  • Click on Process Wait tab
  • Triple click on the empty space under where it says Process
  • Select the exe to include (in your case VPA.exe)
  • Click File and Save as (choose a name for your file)
  • Now choose that file in Setup Wizard with the drop down box

This will now add that file for GameEx to watch to wait to exit or close on exit.

The other option would be to just add this to the launch after section:

taskkill /f /im VPA.exe

Posted

Seriously, I don't know why this wasn't cinched up ages ago when the emulator was included in the list. VPLauncher and VPMan do all this just fine, as well as sort tables by name, rather than rom name, including support files, so I imagine it can't be that difficult.

Posted

Thanks fRequEnCy, that did the trick.

Intrerestingly the VPA icons still display in my system tray but when I move the mouse to close them they all instantly disappear.

Good deal! Yeah. As far as icon issue, it has to do with AutoIt itself. I'm creating a new loader soon that will not have the system tray icon so that will be eliminated. By VPA.exe are you referring to the vpauto.exe found in the GameEx directory?

Posted

Any program that loads a system tray icon will leave that icon when you kill the app ungracefully (task manager, taskkill, etc). There is no way to get around this AFAIK other than having the app NOT add the icon in the first place. This is really a Windows issue rather than specific to this program.

Posted

By VPA.exe are you referring to the vpauto.exe found in the GameEx directory?

No, I think the program is called visual pinball assistant. I came across it in these forums somewhere and the file is VPA.exe, though I searched just then for the thread and couldn't find it.

I don't use vpauto because it wouldn't launch vpinmame properly for some pinball tables. Any table that had a video game or graphics in the score window, such as Doctor Who or Creature from the Black Lagoon would load without a visible score. For whatever reason VPA seemed to fix the problem.

Any program that loads a system tray icon will leave that icon when you kill the app ungracefully (task manager, taskkill, etc). There is no way to get around this AFAIK other than having the app NOT add the icon in the first place. This is really a Windows issue rather than specific to this program.

The icon doesn't bother me, as it isn't using any system resources and closing it is a matter of moving the mouse in the general direction of the tray. I just mention it as a point of interest. Thanks for the explanation.

Posted

Any program that loads a system tray icon will leave that icon when you kill the app ungracefully (task manager, taskkill, etc). There is no way to get around this AFAIK other than having the app NOT add the icon in the first place. This is really a Windows issue rather than specific to this program.

You can use a util like this to send a WM_CLOSE message which should close most apps gracefully.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...