Skip to content

VPinballX.starter 1.7

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 16 Apr 17:13

There are some new settings which can be used to run Windows batch cmd files before and after a specific table is opened and also for all tables:

;A Configuration file for VPinballX.starter
[VPinballX.starter]
;cmd files to run before and after a table has been started. Activate here:
PREPOSTactive=false
PREcmdExtension=.pre.cmd
POSTcmdExtension=.post.cmd
;you can have different settings depending on the caller: (Pinup popper show up as anonymous)
PREPOSTactive.explorer=true
PREcmdExtension.explorer=.explorerpre.cmd
POSTcmdExtension.explorer=.explorerpost.cmd

When VPinballX.starter is triggered it tries to find the process name of the caller. When starting a table from Windows Explorer, the caller is "explorer" and can have separate settings.

This information can be used to have different PRE and POST scripts depending on the caller:
PREcmd can be used to set up the stage for a particular table, loading images or whatever comes to your mind. And POSTcmd is used to clean up afterwards.

If you start "Blood Machines (VPW 2022).vpx" it will try to find "Blood Machines (VPW 2022).pre.cmd" before the table starts. After the table has finished it will look for Blood Machines (VPW 2022).post.cmd. It will also look for VPinballX.starter.pre.cmd/post.cmd and run it for each table started.

Be careful not to start anything in these cmd batch files that will block the script!