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

PFX2 Takes a few "esc" hits to exit table


bent98

Recommended Posts

I noticed it takes hitting the "esc" key a few times to exit out of FX2 and back into PBX. I am wondering if its because Pinball FX2 recognizes the ESC before PBX does? When I had Hyperpin I used to have the exit key mapped to "e" but went I converted over to PBX I was told to use Esc to exit. I dont have issues with any other system but FX2

 

heres my log

 

08:48:54.5  1/28/2017:  PinballX - Version 2.31
08:48:54.5  1/28/2017:  Windows 7 Ultimate Service Pack 1 64-bit (7.9GB)
08:48:54.5  1/28/2017:  Loading Settings
08:48:54.6  1/28/2017:  Initialize Component
08:48:54.6  1/28/2017:  Initialize Display
08:48:55.6  1/28/2017:  Loading PlugIns
08:48:55.7  1/28/2017:  Created DirectX BackGlass Window
08:48:55.8  1/28/2017:  Hiding Cursor
08:48:55.8  1/28/2017:  Hiding Taskbar
08:48:55.8  1/28/2017:  Real DMD Intialized
08:48:55.8  1/28/2017:  CPU:  Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz
08:48:55.8  1/28/2017:  GPU 1: NVIDIA GeForce GTX 980 Ti
08:48:55.8  1/28/2017:  Displays: 2
08:48:55.8  1/28/2017:  Load Game List
08:48:55.8  1/28/2017:  Loading Database: Pinball FX2
08:48:55.9  1/28/2017:  Loading Database: Future Pinball
08:48:55.9  1/28/2017:  Loading Database: Visual Pinball
08:48:55.9  1/28/2017:  Loading Database: Future Pinball DOFL
08:48:55.9  1/28/2017:  Loading Database: Kodi
08:48:55.9  1/28/2017:  Loading Database: P-ROC
08:48:55.9  1/28/2017:  Loading Custom Database: Pinball FX2 ALL
08:48:55.9  1/28/2017:  Loading Custom Database: Future Pinball ALL
08:48:55.9  1/28/2017:  Loading Custom Database: Visual Pinball ALL
08:48:55.9  1/28/2017:  Loading Custom Database: Future Pinball DOFL ALL
08:48:55.9  1/28/2017:  Loading Custom Database: Kodi All
08:48:55.9  1/28/2017:  Loading Custom Database: P-ROC ALL
08:48:55.9  1/28/2017:  Finding and matching artwork and videos
08:48:58.9  1/28/2017:  Loading Game Statistics and Scores
08:48:59.1  1/28/2017:  Loading Surfaces
08:48:59.2  1/28/2017:  Finished Loading Surfaces
08:48:59.2  1/28/2017:  Initialize Audio
08:48:59.3  1/28/2017:  Set Keyboard Controls
08:48:59.3  1/28/2017:  Initialize Joystick
08:48:59.3  1/28/2017:  1 Joystick Attached
08:48:59.3  1/28/2017:  Started
08:49:01.8  1/28/2017:  Launch System
08:49:01.8  1/28/2017:  Waiting for threads
08:49:01.8  1/28/2017:  Disposing display
08:49:03.2  1/28/2017:  C:\PinballX\dmdext\dmdext.exe mirror --source=pinballfx2 --no-virtual -q
08:49:03.2  1/28/2017:  C:\Program Files (x86)\Steam\steam.exe -applaunch 226980 Alien_vs_Predator
08:49:24.2  1/28/2017:  Found Pinball FX 2 Process
08:49:25.8  1/28/2017:  Exit System Control Pressed
08:49:26.7  1/28/2017:  C:\PinballX\Pause.ahk
08:49:31.1  1/28/2017:  Created DirectX BackGlass Window
08:49:31.1  1/28/2017:  Real DMD Intialized
08:49:33.7  1/28/2017:  Launch System
08:49:33.7  1/28/2017:  Waiting for threads
08:49:33.8  1/28/2017:  Disposing display
08:49:35.1  1/28/2017:  C:\PinballX\dmdext\dmdext.exe mirror --source=pinballfx2 --no-virtual -q
08:49:35.1  1/28/2017:  C:\Program Files (x86)\Steam\steam.exe -applaunch 226980 BioLab
08:49:55.7  1/28/2017:  Found Pinball FX 2 Process
08:49:57.3  1/28/2017:  Exit System Control Pressed
08:49:58.1  1/28/2017:  C:\PinballX\Pause.ahk
08:50:02.5  1/28/2017:  Created DirectX BackGlass Window
08:50:02.5  1/28/2017:  Real DMD Intialized
08:50:04.7  1/28/2017:  Exiting
08:50:04.9  1/28/2017:  Showing Taskbar
08:50:04.9  1/28/2017:  Unhiding Mouse Cursor
08:50:04.9  1/28/2017:  Disposing Plugins
08:50:04.9  1/28/2017:  Saving Settings
08:50:04.9  1/28/2017:  Bye

My Config

 


[Display]
Monitor=0
rotate=270
Windowed=False
WindowWidth=480
WindowHeight=720
WindowX=0
WindowY=65
PlayFieldBrightness=230
WheelTextColor=ffffffff
WheelTextOutlineColor=ff000000
InfoTextColor=ffffffff
InfoTextOutlineColor=ff000000
FilterTextColor=ffffffff
FilterTextOutlineColor=ff000000
MenuColor=ff0f7af0
[BackGlass]
monitor=1
x=0
y=0
width=1366
height=768
UseB2S=False
[DMD]
Enabled=False
monitor=2
x=0
y=0
width=900
height=300
AutoPositionPinMAME=True
[FileSystem]
EnableFileMatching=True
[Interface]
DesktopModeEnabled=False
EnableAdditionalDetail=False
ShowSystem=False
ShowRatings=False
EnableDefaultFilters=False
[Audio]
StreamVolume=90
SampleVolume=90
PlaySoundInVideos=True
[Startup]
playsound=False
playvideo=False
StartWithWindows=Yes
[KeyCodes]
quit=27
left=160
right=161
select=13
rotate=221
pageleft=162
pageright=163
exitemulator=27
ingame=80
screenshot=75
screenshotbackglass=72
instructions=73
volumedown=189
volumeup=107
credit=50
plunger=13
[JoyCodes]
quit=10
left=0
right=1
select=2
rotate=3
pageleft=4
pageright=5
exitemulator=6
ingame=13
instructions=14
[Text]
Line1=Free Play
Line2=Press Start
Featuring=Featuring
Tables=Games
PlayGame=Play Game
Instructions=Instructions
Information=Information
Flyer=Flyer
Gameplay=Gameplay
Tutorial=Tutorial
ExitGame=Exit Game
ReturnToGame=Return to Game
Return=Resume Browsing
Exit=Exit
Shutdown=Shutdown
All=Return to Main Menu
[FuturePinball]
Enabled=True
WorkingPath=C:\Games\Future Pinball
TablePath=C:\Games\Future Pinball\Tables
Executable=Future Pinball.exe
Parameters=/open "[TABLEPATH]\[TABLEFILE]" /play /exit /arcaderender
LaunchBeforeEnabled=false
LaunchBeforeWorkingPath=
LaunchBeforeExecutable=notepad.exe
LaunchBeforeHideWindow=False
LaunchBeforeWaitForExit=True
LaunchAfterEnabled=False
LaunchAfterWorkingPath=
LaunchAfterExecutable=notepad.exe
LaunchAfterHideWindow=False
LaunchAfterWaitForExit=True
MouseClickFocus=True
FPRAMPath=C:\Games\Future Pinball\fpRAM
[VisualPinball]
Enabled=True
WorkingPath=C:\Visual Pinball
TablePath=C:\Visual Pinball\tables
Executable=vpinballx.exe
Parameters=/play -"[TABLEPATH]\[TABLEFILE]"
LaunchBeforeEnabled=False
LaunchBeforeWorkingPath=C:\PinballX
LaunchBeforeExecutable=click.exe
LaunchBeforeHideWindow=False
LaunchBeforeWaitForExit=True
LaunchAfterEnabled=False
LaunchAfterWorkingPath=C:\PinballX
LaunchAfterExecutable=killbackglass.exe
LaunchAfterHideWindow=False
LaunchAfterWaitForExit=True
[ExitScreen]
Enabled=True
EnableExit=True
EnableShutdown=True
[StartupProgram]
Enabled=false
WorkingPath=
Executable=notepad.exe
Paramaters=
HideWindow=true
WaitForExit=false
[ExitProgram]
Enabled=false
WorkingPath=
Executable=notepad.exe
Paramaters=
HideWindow=False
WaitForExit=
[AttractMode]
Enabled=True
Timer=1
ShowFor=15
MuteAudio=False
[System_1]
Name=MAME
Enabled=False
WorkingPath=C:\PinballX\emulator\mame
TablePath=C:\PinballX\emulator\mame\roms
Executable=mame64.exe
Parameters=[TABLEFILE]
SystemType=0
LaunchAfterWorkingPath=
LaunchAfterExecutable=
WaitForProcess=
[AutoExit]
Enabled=False
Minutes=10
[Login]
Enabled=False
UseLiteMedia=False
[PinballFX2]
Enabled=True
WorkingPath=C:\Program Files (x86)\Steam
Executable=steam.exe
Parameters=-applaunch 226980 [TABLEFILE]
Process=Pinball FX2.exe
Rotate=False
WaitFor=20
LaunchBeforeEnabled=True
LaunchBeforeWorkingPath=C:\PinballX\dmdext
LaunchBeforeExecutable=dmdext.exe
LaunchBeforeParameters=mirror --source=pinballfx2 --no-virtual -q
LaunchBeforeWaitForExit=False
LaunchAfterEnabled=True
LaunchAfterWorkingPath=C:\PinballX
LaunchAfterExecutable=Pause.ahk
LaunchAfterWaitForExit=True
LaunchAfterParameters=
[Internal]
lastwheelcachematchsize=-1123
lastselected=BioLabBioLabPinball FX2
filter_year=
filter_company=
filter_custom=Pinball FX2 ALL
filtername=Pinball FX2 ALL Games
[PinballArcade]
WorkingPath=C:\PinballX\emulator\PBAFreeCamMod
Executable=PBAFreeCamMod.exe
Parameters=-applaunch 238260 skipwhatsnew
Process=PinballArcade11.exe
WaitForSelect=200
Enabled=False
WaitFor=12
[GameListManager]
onlinemode=true
[RealDMD]
EnableColor=True
Color=ff0000ff
[SetupWizard]
EmuPath1=C:\Emulators
AssetPath1=C:\Assets
RomPath1=C:\Roms
DefaultPathPrompt=True
DownloadDatabasePrompt=True
DownloadEmulatorPrompt=True
WizardMode=1
CustomArray=
SearchArray=
SavePosition=False
SectionIndex=13
SearchText=
EmulatorIndex=0
EmulatorGroupIndex=0
DaphneIndex=0
HTMLAppsIndex=0
ExternalAppsIndex=0
RadioStationsIndex=0
NewsFeedsIndex=0
MappedDrivesIndex=0
SystemIndex=5
ShowPanel=True
FontSize=1
WindowState=2
WindowSize=650,479
WindowLocation=1080,69
[System_3]
Name=Jukebox
Enabled=False
WorkingPath=C:\PinballX\jukebox
TablePath=C:\PinballX\jukebox\tables
Executable=Jukebox.exe
Parameters=
LaunchAfterWorkingPath=C:\PinballX
LaunchAfterExecutable=killbackglass.exe
LaunchAfterEnabled=True
LaunchAfterWaitForExit=True
LaunchAfterHideWindow=False
SystemType=1
LaunchBeforeWorkingPath=
LaunchBeforeExecutable=
LaunchBeforeWaitForExit=False
LaunchBeforeHideWindow=False
[System_2]
Name=Pinball Arcade
Enabled=False
SystemType=0
WorkingPath=C:\PinballX\emulator\PBA_Starter
TablePath=PinballArcade11.exe
Executable=PBA_Starter.exe
LaunchAfterWorkingPath=
LaunchAfterExecutable=
Parameters=skipwhatsnew
WaitForProcess=PinballArcade11.exe
[System_4]
Name=Future Pinball DOFL
Enabled=True
SystemType=2
WorkingPath=C:\Games\Future Pinball\BAM
TablePath=C:\Games\Future Pinball\Tables
Executable=FPLoader.exe
LaunchAfterWorkingPath=
LaunchAfterExecutable=
Parameters=/open "[TABLEPATH]\[TABLEFILE]" /play /exit /STAYINRAM
[System_5]
Name=Kodi
Enabled=True
SystemType=1
WorkingPath=C:\PinballX\kodi\
TablePath=C:\PinballX\kodi\tables
Executable=kodi.exe
Parameters=
LaunchBeforeEnabled=True
LaunchBeforeWorkingPath=C:\PinballX\DC2
LaunchBeforeExecutable=launchKodi.ahk
LaunchBeforeWaitForExit=False
LaunchBeforeHideWindow=False
LaunchAfterEnabled=False
LaunchAfterWorkingPath=C:\PinballX\DC2
LaunchAfterExecutable=end.bat
LaunchAfterWaitForExit=False
LaunchAfterHideWindow=False
[Plugin_1]
Enabled=False
Name=LEDBlinky_PX.dll
[Plugin_2]
Enabled=False
Name=PlugInLED.dll
[Plugin_3]
Enabled=False
Name=PlugInSpeech.dll
[Plugin_4]
Enabled=False
Name=QuickLaunch (PinballX Edition).dll
[Plugin_5]
Enabled=False
Name=Xpadder Plugin.dll
[System_6]
Name=P-ROC
Enabled=True
SystemType=1
WorkingPath=C:\Visual Pinball
TablePath=C:\Visual Pinball\tables
Executable=vpinballx.exe
Parameters=/play "[TABLEPATH]\[TABLEFILE]"
LaunchBeforeEnabled=True
LaunchBeforeWorkingPath=C:\PinballX
LaunchBeforeExecutable=proc.exe
LaunchAfterWorkingPath=
LaunchAfterExecutable=
LaunchBeforeWaitForExit=False
LaunchBeforeHideWindow=True

 

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...

I use a separate launch script rather than integrated support. In the script I set up a hotkey to force kill the process.

Generally speaking, I've quit fighting with integrated support and use custom scripts for everything. I only run Future Pinball with built-in support.

Sent from my iPhone using Tapatalk

Link to comment
Share on other sites

I just tried your script. I made a change to the dmdext path and command as I have a p2dmd. I also rem out the antimicro info as I don't need to run that program as I have an ipac

your script launches the first FX2 table but it doesnt close out pinball fx2 at exit. my pinballX config looks exactly like your screenshot. Here is why my modified AHK looks like. It compiled to and .exe. HEEEEELP

 

#NoEnv  
#SingleInstance force
#WinActivateForce
SetTitleMatchMode, 3
DetectHiddenWindows, On

; User inputs
;antimicro_Path=c:\antimicro
dmdext_Path=c:\PinballX\dmdext
RegRead, SteamDirPath, HKCU, Software\Valve\Steam, SteamPath
Table=%1%     ;Variable from PinballX

;Run, %antimicro_Path%\antimicro --no-tray --hidden --profile "%antimicro_Path%\profiles\VP.joystick.amgp"

; Mirror and flip DMD for P2k
Run, %dmdext_Path%\dmdext mirror --source=pinballfx2 --no-virtual -q,, Hide
Sleep, 5000

Run, "%SteamDirPath%\Steam.exe" -applaunch 226980 "%Table%"
WinWait, ahk_class PxWindowClass

Process, WaitClose, Pinball FX2.exe
;Run, taskkill /im antimicro.exe /f,, Hide
ExitApp

#IfWinActive ahk_class PxWindowClass

; Exit Table
    e::
        Gosub killApp
    Return

#IfWinActive

    
killApp:
    Send {Esc}
;    Sleep, 500
;    Loop, 4
;        {
;            Send {Down}
;            Sleep, 20
;        }
;    Send {Enter}
    Sleep, 20
    Send !{f4}
    Process, Close, Pinball FX2.exe
    If ErrorLevel
        Process, Close, %ErrorLevel%
    WinKill, Error    
    Process, Close, Pinball FX2.exe
    If ErrorLevel
        Process, Close, %ErrorLevel%
    WinKill, Error    
    WinKill, ahk_class PxWindowClass
    WinKill, ahk_class PxWindowClass
    WinKill, ahk_class PxWindowClass
    WinKill, ahk_class PxWindowClass
    Run, taskkill /F /IM Pinball FX2.exe /T,, Hide
Return

 

Link to comment
Share on other sites

So i changed "e" to "esc" and now what happens this.

I run a fx2 table close it returns to pinball X like normal. Run a fx2 table a second time works exit and then it closes out table and pinball X altogether.

 

 

 

 

#NoEnv  
#SingleInstance force
#WinActivateForce
SetTitleMatchMode, 3
DetectHiddenWindows, On

; User inputs
;antimicro_Path=c:\antimicro
dmdext_Path=c:\PinballX\dmdext
RegRead, SteamDirPath, HKCU, Software\Valve\Steam, SteamPath
Table=%1%     ;Variable from PinballX

;Run, %antimicro_Path%\antimicro --no-tray --hidden --profile "%antimicro_Path%\profiles\VP.joystick.amgp"

; Mirror and flip DMD for P2k
Run, %dmdext_Path%\dmdext mirror --source=pinballfx2 --no-virtual -q,, Hide
Sleep, 5000

Run, "%SteamDirPath%\Steam.exe" -applaunch 226980 "%Table%"
WinWait, ahk_class PxWindowClass

Process, WaitClose, Pinball FX2.exe
;Run, taskkill /im antimicro.exe /f,, Hide
ExitApp

#IfWinActive ahk_class PxWindowClass

; Exit Table
    esc::
        Gosub killApp
    Return

#IfWinActive

    
killApp:
    Send {Esc}
;    Sleep, 500
;    Loop, 4
;        {
;            Send {Down}
;            Sleep, 20
;        }
;    Send {Enter}
    Sleep, 20
    Send !{f4}
    Process, Close, Pinball FX2.exe
    If ErrorLevel
        Process, Close, %ErrorLevel%
    WinKill, Error    
    Process, Close, Pinball FX2.exe
    If ErrorLevel
        Process, Close, %ErrorLevel%
    WinKill, Error    
    WinKill, ahk_class PxWindowClass
    WinKill, ahk_class PxWindowClass
    WinKill, ahk_class PxWindowClass
    WinKill, ahk_class PxWindowClass
    Run, taskkill /F /IM Pinball FX2.exe /T,, Hide
Return

 

 

Link to comment
Share on other sites


[Display]
Monitor=0
rotate=270
Windowed=False
WindowWidth=480
WindowHeight=720
WindowX=0
WindowY=65
PlayFieldBrightness=230
WheelTextColor=ffffffff
WheelTextOutlineColor=ff000000
InfoTextColor=ffffffff
InfoTextOutlineColor=ff000000
FilterTextColor=ffffffff
FilterTextOutlineColor=ff000000
MenuColor=ff0f7af0
[BackGlass]
monitor=1
x=0
y=0
width=1366
height=768
UseB2S=False
[DMD]
Enabled=False
monitor=2
x=0
y=0
width=900
height=300
AutoPositionPinMAME=True
[FileSystem]
EnableFileMatching=True
[Interface]
DesktopModeEnabled=False
EnableAdditionalDetail=False
ShowSystem=False
ShowRatings=False
EnableDefaultFilters=False
[Audio]
StreamVolume=90
SampleVolume=90
PlaySoundInVideos=True
[Startup]
playsound=False
playvideo=False
StartWithWindows=Yes
[KeyCodes]
quit=27
left=160
right=161
select=13
rotate=221
pageleft=162
pageright=163
exitemulator=27
ingame=80
screenshot=75
screenshotbackglass=72
instructions=73
volumedown=189
volumeup=107
credit=50
plunger=13
[JoyCodes]
quit=10
left=0
right=1
select=2
rotate=3
pageleft=4
pageright=5
exitemulator=6
ingame=13
instructions=14
[Text]
Line1=Free Play
Line2=Press Start
Featuring=Featuring
Tables=Games
PlayGame=Play Game
Instructions=Instructions
Information=Information
Flyer=Flyer
Gameplay=Gameplay
Tutorial=Tutorial
ExitGame=Exit Game
ReturnToGame=Return to Game
Return=Resume Browsing
Exit=Exit
Shutdown=Shutdown
All=Return to Main Menu
[FuturePinball]
Enabled=True
WorkingPath=C:\Games\Future Pinball
TablePath=C:\Games\Future Pinball\Tables
Executable=Future Pinball.exe
Parameters=/open "[TABLEPATH]\[TABLEFILE]" /play /exit /arcaderender
LaunchBeforeEnabled=false
LaunchBeforeWorkingPath=
LaunchBeforeExecutable=notepad.exe
LaunchBeforeHideWindow=False
LaunchBeforeWaitForExit=True
LaunchAfterEnabled=False
LaunchAfterWorkingPath=
LaunchAfterExecutable=notepad.exe
LaunchAfterHideWindow=False
LaunchAfterWaitForExit=True
MouseClickFocus=True
FPRAMPath=C:\Games\Future Pinball\fpRAM
[VisualPinball]
Enabled=True
WorkingPath=C:\Visual Pinball
TablePath=C:\Visual Pinball\tables
Executable=vpinballx.exe
Parameters=/play -"[TABLEPATH]\[TABLEFILE]"
LaunchBeforeEnabled=False
LaunchBeforeWorkingPath=C:\PinballX
LaunchBeforeExecutable=click.exe
LaunchBeforeHideWindow=False
LaunchBeforeWaitForExit=True
LaunchAfterEnabled=False
LaunchAfterWorkingPath=C:\PinballX
LaunchAfterExecutable=killbackglass.exe
LaunchAfterHideWindow=False
LaunchAfterWaitForExit=True
[ExitScreen]
Enabled=True
EnableExit=True
EnableShutdown=True
[StartupProgram]
Enabled=false
WorkingPath=
Executable=notepad.exe
Paramaters=
HideWindow=true
WaitForExit=false
[ExitProgram]
Enabled=false
WorkingPath=
Executable=notepad.exe
Paramaters=
HideWindow=False
WaitForExit=
[AttractMode]
Enabled=True
Timer=1
ShowFor=15
MuteAudio=False
[System_1]
Name=MAME
Enabled=False
WorkingPath=C:\PinballX\emulator\mame
TablePath=C:\PinballX\emulator\mame\roms
Executable=mame64.exe
Parameters=[TABLEFILE]
SystemType=0
LaunchAfterWorkingPath=
LaunchAfterExecutable=
WaitForProcess=
[AutoExit]
Enabled=False
Minutes=10
[Login]
Enabled=False
UseLiteMedia=False
[PinballFX2]
Enabled=False
WorkingPath=C:\Program Files (x86)\Steam
Executable=steam.exe
Parameters=-applaunch 226980 [TABLEFILE]
Process=Pinball FX2.exe
Rotate=False
WaitFor=20
LaunchBeforeEnabled=True
LaunchBeforeWorkingPath=C:\PinballX\dmdext
LaunchBeforeExecutable=dmdext.exe
LaunchBeforeParameters=mirror --source=pinballfx2 --no-virtual -q
LaunchBeforeWaitForExit=False
LaunchAfterEnabled=True
LaunchAfterWorkingPath=C:\PinballX
LaunchAfterExecutable=Pause.ahk
LaunchAfterWaitForExit=True
LaunchAfterParameters=
[Internal]
lastwheelcachematchsize=-1123
lastselected=Boba FettSTARWARS_Boba_FettSystem_7
filter_year=
filter_company=
filter_custom=Pinball FX2 ALL
filtername=Pinball FX2 ALL Games
[PinballArcade]
WorkingPath=C:\PinballX\emulator\PBAFreeCamMod
Executable=PBAFreeCamMod.exe
Parameters=-applaunch 238260 skipwhatsnew
Process=PinballArcade11.exe
WaitForSelect=200
Enabled=False
WaitFor=12
[GameListManager]
onlinemode=true
[RealDMD]
EnableColor=True
Color=ff0000ff
[SetupWizard]
EmuPath1=C:\Emulators
AssetPath1=C:\Assets
RomPath1=C:\Roms
DefaultPathPrompt=True
DownloadDatabasePrompt=True
DownloadEmulatorPrompt=True
WizardMode=1
CustomArray=
SearchArray=
SavePosition=False
SectionIndex=16
SearchText=
EmulatorIndex=0
EmulatorGroupIndex=0
DaphneIndex=0
HTMLAppsIndex=0
ExternalAppsIndex=0
RadioStationsIndex=0
NewsFeedsIndex=0
MappedDrivesIndex=0
SystemIndex=6
ShowPanel=True
FontSize=1
WindowState=0
WindowSize=793,890
WindowLocation=156,114
[System_3]
Name=Jukebox
Enabled=False
WorkingPath=C:\PinballX\jukebox
TablePath=C:\PinballX\jukebox\tables
Executable=Jukebox.exe
Parameters=
LaunchAfterWorkingPath=C:\PinballX
LaunchAfterExecutable=killbackglass.exe
LaunchAfterEnabled=True
LaunchAfterWaitForExit=True
LaunchAfterHideWindow=False
SystemType=1
LaunchBeforeWorkingPath=
LaunchBeforeExecutable=
LaunchBeforeWaitForExit=False
LaunchBeforeHideWindow=False
[System_2]
Name=Pinball Arcade
Enabled=False
SystemType=0
WorkingPath=C:\PinballX\emulator\PBA_Starter
TablePath=PinballArcade11.exe
Executable=PBA_Starter.exe
LaunchAfterWorkingPath=
LaunchAfterExecutable=
Parameters=skipwhatsnew
WaitForProcess=PinballArcade11.exe
[System_4]
Name=Future Pinball DOFL
Enabled=True
SystemType=2
WorkingPath=C:\Games\Future Pinball\BAM
TablePath=C:\Games\Future Pinball\Tables
Executable=FPLoader.exe
LaunchAfterWorkingPath=
LaunchAfterExecutable=
Parameters=/open "[TABLEPATH]\[TABLEFILE]" /play /exit /STAYINRAM
[System_5]
Name=Kodi
Enabled=True
SystemType=1
WorkingPath=C:\PinballX\kodi\
TablePath=C:\PinballX\kodi\tables
Executable=kodi.exe
Parameters=
LaunchBeforeEnabled=True
LaunchBeforeWorkingPath=C:\PinballX\DC2
LaunchBeforeExecutable=launchKodi.ahk
LaunchBeforeWaitForExit=False
LaunchBeforeHideWindow=False
LaunchAfterEnabled=False
LaunchAfterWorkingPath=C:\PinballX\DC2
LaunchAfterExecutable=end.bat
LaunchAfterWaitForExit=False
LaunchAfterHideWindow=False
[Plugin_1]
Enabled=False
Name=LEDBlinky_PX.dll
[Plugin_2]
Enabled=False
Name=PlugInLED.dll
[Plugin_3]
Enabled=False
Name=PlugInSpeech.dll
[Plugin_4]
Enabled=False
Name=QuickLaunch (PinballX Edition).dll
[Plugin_5]
Enabled=False
Name=Xpadder Plugin.dll
[System_6]
Name=P-ROC
Enabled=True
SystemType=1
WorkingPath=C:\Visual Pinball
TablePath=C:\Visual Pinball\tables
Executable=vpinballx.exe
Parameters=/play "[TABLEPATH]\[TABLEFILE]"
LaunchBeforeEnabled=True
LaunchBeforeWorkingPath=C:\PinballX
LaunchBeforeExecutable=proc.exe
LaunchAfterWorkingPath=
LaunchAfterExecutable=
LaunchBeforeWaitForExit=False
LaunchBeforeHideWindow=True
[System_7]
Name=Pinball FX2
Enabled=True
SystemType=0
WorkingPath=C:\PinballX\Scripts
TablePath=
Executable=LaunchFX2.exe
Parameters=[TABLEFILE]
LaunchBeforeEnabled=False
LaunchBeforeWorkingPath=C:\PinballX\Scripts
LaunchBeforeExecutable=
LaunchBeforeWaitForExit=False
LaunchBeforeHideWindow=True

 

Can you share?

Link to comment
Share on other sites

Something else not related to this particular launching issue I am having... There is ball stutter when launching pinball FX2 from Pinball X. It happens with your script and the one also the FX2 launching code built into PBX. Any idea how to correct that? Are you getting any performance issues Carney?

 

Link to comment
Share on other sites

I guess it had to map exit, quit in PBX and your script to "e" like I used to have it with hyperpin. Works that way. I guess i need to reprogram my IPAC.

Thanks for you script and help.

 

Any idea about the  micro stutter when launching fx2 from PBX?

 

Link to comment
Share on other sites

It's not Windows Defender as I have real-time monitoring turned off. Any other ideas?

Also, is your script supposed to close steam after exiting each FX2 table? Steam client is still open even after you close out PBX FE.

 

Link to comment
Share on other sites

It's probably something else running in the background stealing resources. 

My cab is online, so the client is always active on my system. Starts on Windows boot. It is not the cause of performance issues. In fact, if you are running the Steam version then you have to run the the Steam client.

I don't believe that PinballX is a resource hog, but if you say differently then you can always go the route of shutting down PinballX programmatically and restarting it on FX2 exit. Similar to what is going on in this TPA script.

 

Link to comment
Share on other sites

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