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

If neither of those of work for you, you can donate any amount by clicking here.

Recommended Posts

Posted

When I leave exit emulator configured as "Esc", only VPX closes and not PinUp Player/DMD? 

However, when I re-configure exit emulator to something else ("E" for example) and then press & HOLD "Esc" both PinUp Player/DMD & VPX exit as they should back to PinballX.

Only does this for PinUp enabled tables like Stranger Things & GOTG. Regular VPX tables exit like they should.

Any suggestions please?

Posted

Please attach copies of your pinballx.ini and log.txt files right after launching and exiting one of the tables you mention.

I do not run PinUp Player and it may be something simple, but plenty of our member pros do and may have a solution. Thanks.

Posted

I use this script.bat as Launch After to make sure any external process is clossed

The script contains this:

powershell -Command "Start-Process 'taskkill' '/IM UltraVPServer.exe /T /F' -WindowStyle hidden -Verb runAs"
powershell -Command "Start-Process 'taskkill' '/IM B2SBackglassServerEXE.exe /T /F' -WindowStyle hidden -Verb runAs"
powershell -Command "Start-Process 'taskkill' '/IM UltraDMD.exe /T /F' -WindowStyle hidden -Verb runAs"
powershell -Command "Start-Process 'taskkill' '/IM pinupplayer.exe /T /F' -WindowStyle hidden -Verb runAs"

How can you force to close the old VPserver B2S, although I no longer use any of these.
It also forces the Direct B2S to close, although these do not usually cause problems.
It also forces Ultra DMD and PinUp Player to close.

Kill.batFetching info...

  • Like 1
  • Thanks 1
Posted

Tried removing all admin privileges from absolutely everything other than PinballX. Still won't close PinUp Player. Will try  Kill.bat now. Weird thing is that it's only recently started doing this???

*EDIT* Thanks PcTeknic your .bat file worked a treat!

Quick question... How do I add a .exe to the batch file to also run on exit (for shutting down my Ultimarc device to kill solenoids in case they get stuck on and overheat)?

  • Like 1
Posted
  On 8/19/2020 at 5:44 PM, mrmul8r said:

Quick question... How do I add a .exe to the batch file to also run on exit (for shutting down my Ultimarc device to kill solenoids in case they get stuck on and overheat)?

Expand  

If you want to run a program, you can do someting like:

Cmd /c c:\path\program.exe

@PcTeknic. Althought your batch file is working, (good job), its a bit overkill to launch powershell for taskkill (as taskill is a command line command and not a ps cmdlet)

Your command

powershell -Command "Start-Process 'taskkill' '/IM UltraVPServer.exe /T /F' -WindowStyle hidden -Verb runAs"

can be reduced to

taskkill /IM UltraVPServer.exe /T /F

 

Posted
  On 8/20/2020 at 3:15 AM, Mike_da_Spike said:

If you want to run a program, you can do someting like:

Cmd /c c:\path\program.exe

@PcTeknic. Althought your batch file is working, (good job), its a bit overkill to launch powershell for taskkill (as taskill is a command line command and not a ps cmdlet)

Your command

powershell -Command "Start-Process 'taskkill' '/IM UltraVPServer.exe /T /F' -WindowStyle hidden -Verb runAs"

can be reduced to

taskkill /IM UltraVPServer.exe /T /F

 

Expand  

your missing the -Verb runAs part. it will run with elevated rights if needed in pcteknic version hence powershell you can not do that with normal batch commands as far as i'm aware. if you got UAC prompting disabled it will not display it and execute the command under admin priveledges (like right clicking run as admin)

  • Like 1
Posted

It works fine for me.
Can it be done in other ways?
Sure, but I've been doing it like this for years and it has never given me any problems.

  • Like 1
  • 1 month later...
Posted
  On 8/20/2020 at 1:37 PM, PcTeknic said:

這對我來說可以。
可以通過其他方式完成嗎?
當然可以,但是多年來我一直在這樣做,它從未給我帶來任何問題。

Expand  

I have the same question. Where do I put the KILL.bat file

Posted
  On 10/1/2020 at 6:03 PM, insert58815 said:

I have the same question. Where do I put the KILL.bat file

Expand  

I never knew that @PcTeknic could also write Chinese :P (See previous quote)

The batch file should be in the after script where you define your Visual Pinball system in settings.exe :
Something like this (change the path to your location where the batch file is located)

image.png.9b0d974655bc860d63790eb9ed4b56b1.png

Posted
  On 10/2/2020 at 4:46 AM, Mike_da_Spike said:

我從來不知道 @PcTeknic 也可以寫中文:P (請參閱前面的引號)

批處理文件應該位於after腳本中,您可以在settings.exe中定義Visual Pinball系統
類似這樣(將路徑更改為批處理文件所在的位置)

image.png.9b0d974655bc860d63790eb9ed4b56b1.png

Expand  

I haven’t seen your reply before I put it in the main folder of VPX and it’s also effective, but I don’t know what will be the problem. Thank you for your reply

Because i use google to translate i come from taiwan

Posted
  On 10/2/2020 at 7:21 AM, insert58815 said:

I haven’t seen your reply before I put it in the main folder of VPX and it’s also effective, but I don’t know what will be the problem. Thank you for your reply

Expand  

Please attach a copies of your pinballx.ini and log.txt files so we can check your settings.

Posted
  On 10/2/2020 at 1:50 PM, insert58815 said:

I can shut down normally according to Mike_da_Spike's setting, thank you

Expand  

Good to known thanks ! And no problem if you use google translate. As long as your issue get fixed

  • Draco1962 changed the title to [RESOLVED] PinuUp Player Not Closing
Posted
  On 10/1/2020 at 6:03 PM, insert58815 said:

I have the same question. Where do I put the KILL.bat file

Expand  

I put it in C: / Visual Pinball, but it is the same where you put it, in PinballX you are going to configure it as Launch After, specifying the path to the file.

Guest
This topic is now closed to further replies.
×
×
  • Create New...