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

[RESOLVED] Support for Pinball FX2


Loadedweapon

Recommended Posts

[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=fff9fba2

[backGlass]
monitor=1
x=0
y=0
width=1920
height=1080

[DMD]
Enabled=False
monitor=2
x=0
y=0
width=900
height=300

[interface]
DesktopModeEnabled=False

[Audio]
StreamVolume=90
SampleVolume=90

[startup]
playsound=True
playvideo=True

[KeyCodes]
quit=81
left=37
right=39
select=49
rotate=82
pageleft=38
pageright=40
exitemulator=78
ingame=77
screenshot=79
screenshotbackglass=85
instructions=67

[JoyCodes]
quit=10
left=0
right=1
select=2
rotate=3
pageleft=4
pageright=5
exitemulator=6
ingame=13

[Text]
Line1=WELCOME TO NICK'S PINBALL
Line2=Flippers Cycle Tables - Green Starts - Red Exits

[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=True
LaunchAfterWorkingPath=C:\PinballX
LaunchAfterExecutable=ledset.bat
LaunchAfterHideWindow=False
LaunchAfterWaitForExit=True
MouseClickFocus=True
FPRAMPath=C:\Games\Future Pinball\fpRAM

[VisualPinball]
Enabled=True
WorkingPath=C:\Games\Visual Pinball
TablePath=C:\Games\Visual Pinball\Tables
Executable=VPinball.exe
Parameters=/play -"[TABLEPATH]\[TABLEFILE]"
LaunchBeforeEnabled=false
LaunchBeforeWorkingPath=
LaunchBeforeExecutable=notepad.exe
LaunchBeforeHideWindow=False
LaunchBeforeWaitForExit=True
LaunchAfterEnabled=True
LaunchAfterWorkingPath=C:\PinballX
LaunchAfterExecutable=ledset.bat
LaunchAfterHideWindow=False
LaunchAfterWaitForExit=True
NVRAMPath=C:\Games\Visual Pinball\VPinMame\nvram

[ExitScreen]
Enabled=True
EnableExit=True
EnableShutdown=False

[startupProgram]
Enabled=True
WorkingPath=C:\PinballX
Executable=ledset.bat
Paramaters=
HideWindow=true
WaitForExit=false

[ExitProgram]
Enabled=True
WorkingPath=C:\PinballX
Executable=ledoff.bat
Paramaters=
HideWindow=False
WaitForExit=

[AttractMode]
Enabled=True
Timer=1
ShowFor=10

[system_1]
Name=Pinball FX2
Enabled=True
WorkingPath=C:\Program Files (x86)\Steam\SteamApps\common\Pinball FX2
TablePath=
Executable=Pinball FX2.exe
Parameters=
LaunchBeforeEnabled=True
LaunchBeforeWorkingPath=C:\PinballX\Scripts
LaunchBeforeExecutable=PinballFX2.exe
LaunchBeforeHideWindow=False
LaunchBeforeWaitForExit=True
LaunchAfterEnabled=False
LaunchAfterWorkingPath=C:\PinballX
LaunchAfterExecutable=ledset.bat
LaunchAfterHideWindow=False
LaunchAfterWaitForExit=True
LaunchBeforeParameters=

[Plugin_1]
Enabled=False
Name=PlugInSpeech.dll

[setupWizard]
EmuPath1=C:\Emulators
AssetPath1=C:\Assets
RomPath1=C:\Roms
DefaultPathPrompt=True
DownloadDatabasePrompt=True
DownloadEmulatorPrompt=True
WizardMode=1
CustomArray=
SearchArray=
SavePosition=False
SectionIndex=17
SearchText=
EmulatorIndex=0
EmulatorGroupIndex=0
DaphneIndex=0
HTMLAppsIndex=0
ExternalAppsIndex=0
RadioStationsIndex=0
NewsFeedsIndex=0
MappedDrivesIndex=0
SystemIndex=0
ShowPanel=True
FontSize=1.5
WindowState=0
WindowSize=1121,1020
WindowLocation=1928,21

[internal]
lastselected=Zen-Epic QuestZen-EpicSystem_1
filter_year=
filter_company=
filter_custom=
filtername=All Tables

[AutoExit]
Enabled=True
Minutes=30

[system_2]
Name=
WorkingPath=
Executable=
LaunchBeforeWorkingPath=
LaunchBeforeExecutable=
LaunchBeforeParameters=
LaunchAfterWorkingPath=
LaunchAfterExecutable=
Enabled=False
Parameters=
LaunchBeforeEnabled=False
LaunchAfterEnabled=False
LaunchAfterWaitForExit=False
LaunchAfterHideWindow=False
LaunchBeforeWaitForExit=True
LaunchBeforeHideWindow=False

This is the best setup I have come up with because it does run FX2. With these settings when I select a table the pinball fx2 program runs but then I will have to select the table again from the fx2 menu. The autohotkey is apparently not working.

Link to comment
Share on other sites

[System_1]

Name=Pinball FX2

Enabled=True

WorkingPath=C:\Program Files (x86)\Steam

TablePath=

Executable=Steam.exe

Parameters=-applaunch 226990

LaunchBeforeEnabled=True

LaunchBeforeWorkingPath=C:\PinballX\Scripts

LaunchBeforeExecutable=PinballFX2.exe

LaunchBeforeParameters=[TABLEFILE]

LaunchBeforeHideWindow=False

LaunchBeforeWaitForExit=False

LaunchAfterEnabled=False

LaunchAfterWorkingPath=

LaunchAfterExecutable=

LaunchAfterParameters=

LaunchAfterHideWindow=False

LaunchAfterWaitForExit=False

Link to comment
Share on other sites

Alright!! Now we're getting somewhere!!

So mixing the two different setups as you did above works almost perfectly.

I see that you are now saying to use the Steam.exe (instead of Pinball FX2) along with applaunch 226990 (instead of 226980). I was under the impression that the Steam.exe and applaunch combo was for launching to FX2 WITHOUT the ahk in use.

So this works almost perfect. Unfortunately it does not go to the correct table. If I select Epic Quest for example it goes to Tesla.

It doesn't close properly either. Which command/button press is supposed to close FX2 and allow you to get back to PinballX?

Once AGAIN HorseyHorsey. Thank you for your help and patience

Link to comment
Share on other sites

Yes and yes. Some of the selected tables in pinballx cause the "cursor" to move to blank spots where there are no tables in fx2. Could this be because of portrait mode with the 270 degree rotation? Are the icons in different locations in landscape mode?

Link to comment
Share on other sites

No, it shouldn't be moving the mouse at all. It uses the arrow keys & enter to navigate.

I tested every single table before I uploaded that script so not sure whats going on there. If I rememeber with the new table selection it should be 5 across & 5/6 down.

Is your system on the slow side? Could probably add a settings file so you could change the parameters.

Link to comment
Share on other sites

Sorry I didn't mean the mouse. I don't know what to call the moving box as it is going down and across the tables. That's why I said "cursor".

I have all 31 tables. It's a grid of 6 across and 6 down. The 6th row only has one table right now (Sorcerer's Lair, in the first column).

Epic quest is 4th row, 4th column. Tesla is 5th row, 4th column.

My pc is high end and it's definitely not slow.

Hope this makes sense

Link to comment
Share on other sites

Hey Horsey, is it possible to add the slow timer settings to your script? My cab is quite slow loading the splashscreens and doesn't seem to be picking up the inputs. I tried my own ahk script but can't seem to get the key up/down presses working.

Link to comment
Share on other sites

Hi - can someone perhaps help?

How do I go into an individual table directly from PinballX without having to navigate to the table within Pinball FX2?

In PinballX when I click a PinballFX table it opens up Pinball FX2 and then I have to navigate to whichever table I want to play.

Also, for some reason, on my cabinet when Pinball FX2 starts its not rotated 270 degrees and in portrait view. Any idea how to get Pinball FX2 rotated and in portrait view on my cabinet using PinballX?

Can't believe im struggling so much with pinball fx2 - Visual Pinball and Future Pinball on PinballX was so easy to set up.

Any help appreciated.

Link to comment
Share on other sites

Hi - can someone perhaps help?

How do I go into an individual table directly from PinballX without having to navigate to the table within Pinball FX2?

In PinballX when I click a PinballFX table it opens up Pinball FX2 and then I have to navigate to whichever table I want to play.

http://www.gameex.info/forums/topic/12837-support-for-pinball-fx2/?p=108346

Also, for some reason, on my cabinet when Pinball FX2 starts its not rotated 270 degrees and in portrait view. Any idea how to get Pinball FX2 rotated and in portrait view on my cabinet using PinballX?

Need to go into Pinball FX2 settings screen and change your angle in there.

Link to comment
Share on other sites

Hey Horsey, is it possible to add the slow timer settings to your script? My cab is quite slow loading the splashscreens and doesn't seem to be picking up the inputs. I tried my own ahk script but can't seem to get the key up/down presses working.

I'll upload the script in ahk form so you can edit what you like. For the keypresses to work you have to use it like Send {enter up}, {enter down}

Link to comment
Share on other sites

Thanks for the link HorseyHorsey with regard to my query about opening tables individually - but I cant seem to find any mention of the solution on the link.

or and I supposed to add this to my ini?

Parameters=-applaunch 226990

I'm not using steam.exe but rather calling the actual FX2 executable - would that matter?

Link to comment
Share on other sites

I'll upload the script in ahk form so you can edit what you like. For the keypresses to work you have to use it like Send {enter up}, {enter down}

Thanks! I managed to get a couple of tables working with my own script. Yes sending the key presses up and down seemed to fix my issue. I just need to find some time in the weekend to test other tables.

Link to comment
Share on other sites

I have a weird problem. Pinball FX2(Not the script) minimizes itself after Loading a game from within PinballX, so I can see my windows desktop and the mousepointer goes to the top left. Then nothing happens. The games start fine directly from Steam.

I have downloaded the latest script and everything looks right in my ini-file. I copied the settings from another post by horseyhorsey.

Any ideas?

Link to comment
Share on other sites

Thanks horsey.

So.. With the aug ahk files I am able to select a fx2 table from pinballx and it FINALLY successfully goes to the correct table now. YES!. I did have to alter the star wars esb script in the ahk because there wasnt an "enter" command to select the highlighted table in fx2.

Unfortunately there are still bugs. I've tried every possible combination of using both the steam exe and the fx2 exe with aplaunch 226980 and 226990. I've tried leaving steam running in the background and with it closed prior to opening fx2. Fx2 will not stay running with pinballx running in the background. Before I can select single player or hot seat mode Fx2 will disappear (it moves to the taskbar) while pinballx completely closes. If I click the fx2 icon on the taskbar then it will reappear on my display. But pinballx is gone.

Question. Are we supposed to edit the fxkeys ahk? And then recompile it using ahk2exe? If so, what exe? I am using left and right arrows for the flippers for example.

Link to comment
Share on other sites

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