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. Thank you for your support. Tom Speirs

Patreon

Start/Stop Scripts


timboo68

Recommended Posts

Hi all,

i have added some start/stop scripts on the ftp-server. The scripts are for VP, FP, PinballFX2 and Pinball X. You have to open them and change the paths with yours and compile them again. Then add the scripts with the settings.exe before you (start) and exit (stop) each Pinball.

You need:

Ledwiz bat Files in the Script Folder. LedBlinky App installed. Appkiller.exe and ShowBackglass.exe installed here:

C:\Program Files (x86)\Steam\images\AppKiller.exe

PinballFX Backglass Images here:

C:\Program Files (x86)\Steam\images\

Future Pinball:

- Start a LedBlinky Audio Animation when the table is not a LedWiz table. (Defined in the 'Ledwiz Tables.txt') If you want to have an audio LedWiz Animation in Future Pinball you have to make one and name it 'sound.lwax'

- Replace Future Pinball and Open GL32.dll so you can use Zedonius and normal FP together. You have to add your Zedonius Tables in 'Zedonius Tables.txt' and you have to rename your normal FP to FP_Future Pinball.exe and FP_opengl32.dll and your Zedonius FP to ZED_Future Pinball.exe and ZED_Opengl32.dll.

PinballX:

Starts LedBlinky with your Led-Animation. You have to make one and name it: PinballX-Start.lwax

PinballFX2:

- Exit PinballX and starts Backglass and Pinball FX2 and select the table. (Pinball FX2 was not working fine with running Pinball X in the background)

Here my entries from the Pinball X settings file:

[FuturePinball]

Enabled=True
WorkingPath=C:\Pinball\Future Pinball\BAM
TablePath=C:\Pinball\Future Pinball\Tables
Executable=Future Pinball.exe
Parameters=/STAYINRAM /open "[TABLEPATH]\[TABLEFILE]" /play /exit
LaunchBeforeEnabled=True
LaunchBeforeWorkingPath=C:\Pinball\PinballX\Scripts
LaunchBeforeExecutable=Start Future Pinball.exe
LaunchBeforeHideWindow=True
LaunchBeforeWaitForExit=False
LaunchAfterEnabled=True
LaunchAfterWorkingPath=C:\Pinball\PinballX\Scripts
LaunchAfterExecutable=Stop Future Pinball.exe
LaunchAfterHideWindow=False
LaunchAfterWaitForExit=True
MouseClickFocus=True
FPRAMPath=C:\Pinball\Future Pinball\fpRAM
LaunchBeforeParameters=[TABLEFILE]
[VisualPinball]
Enabled=True
WorkingPath=C:\Pinball\Visual Pinball
TablePath=C:\Pinball\Visual Pinball\Tables
Executable=VPinball.exe
Parameters=/play -"[TABLEPATH]\[TABLEFILE]"
LaunchBeforeEnabled=True
LaunchBeforeWorkingPath=C:\Pinball\PinballX\Scripts
LaunchBeforeExecutable=Start Visual Pinball.exe
LaunchBeforeHideWindow=True
LaunchBeforeWaitForExit=False
LaunchAfterEnabled=True
LaunchAfterWorkingPath=C:\Pinball\PinballX\Scripts
LaunchAfterExecutable=Stop Visual Pinball.exe
LaunchAfterHideWindow=False
LaunchAfterWaitForExit=True
NVRAMPath=C:\Pinball\Visual Pinball\VPinMame\nvram
LaunchBeforeParameters=[TABLEFILE]
[startupProgram]
Enabled=True
WorkingPath=C:\Pinball\PinballX\Scripts
Executable=Start PinballX.exe
Paramaters=
HideWindow=True
WaitForExit=false
[ExitProgram]
Enabled=True
WorkingPath=C:\Pinball\PinballX\Scripts
Executable=Stop PinballX.exe
Paramaters=
HideWindow=True
WaitForExit=True
[system_1]
Name=PinballFX2
Enabled=True
WorkingPath=C:\Pinball\PinballX\Scripts
TablePath=
Executable=Start PinballFX2.exe
Parameters=[TABLEFILE]
LaunchBeforeEnabled=False
LaunchBeforeWorkingPath=C:\Pinball\PinballX\Scripts
LaunchBeforeExecutable=PinballFX2.exe
LaunchBeforeHideWindow=False
LaunchBeforeWaitForExit=False
LaunchAfterEnabled=True
LaunchAfterWorkingPath=C:\Pinball\PinballX\Scripts
LaunchAfterExecutable=Stop PinballFX2.exe
LaunchAfterHideWindow=True
LaunchAfterWaitForExit=True
LaunchBeforeParameters=[TABLEFILE]

Have fun.

Link to comment
Share on other sites

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...