Jump to content



Photo
* * * * * 3 votes

Guide on "How to setup Pinball FX2 in PinballX"

Pinball FX2; PFX2; PinballX; Guide; Tutorial;

  • Please log in to reply
106 replies to this topic

#21 Gaccus

Gaccus

    Hobbyist

  • Members
  • PipPip
  • 10 posts

  • Flag: Norway

  • Favorite Pinball: Pinball Dreams

Posted 05 August 2015 - 07:33 PM

I really cant find any way to attach files. "More reply options" dont give me any more options. Is it a paid feature? Or am I just blind?

 

I downloaded the latest pinballx (2.02). 



#22 Jannek42

Jannek42

    Enthusiast

  • Members
  • PipPipPip
  • 96 posts
  • Location:Wuppertal

  • Flag: Germany

  • Favorite Pinball: STTNG, Medieval Madness, CFTBL

Posted 05 August 2015 - 07:54 PM

Oooops, OK... there is no path to the tables in the settings (sorry about this confusion).

 

But have a closer look at your PinballX.ini (located in your PinballX folder -> then Subfolder "Config"):

You should find a section which is titeled "[PinballFX2]". In my *.ini it looks this way:

 

...

[PinballFX2]
Enabled=True
WorkingPath=C:\Spiele\Steam
Executable=Steam.exe
Parameters=-applaunch 226980 "[TABLEFILE]"
Process=Pinball FX2
WaitFor=-1

...

 

Followed by the "launch before" and "launch after" commands, which - I think - are irrelevant regarding this issue.

Please check if you have set the parameters the correct way.

 

By the way: I don´t know if "Upload" is a "paid" feature .

 

Kind regards,

Jannek



#23 Gaccus

Gaccus

    Hobbyist

  • Members
  • PipPip
  • 10 posts

  • Flag: Norway

  • Favorite Pinball: Pinball Dreams

Posted 05 August 2015 - 08:23 PM

My ini looks the same:

 

[PinballFX2]
Enabled=True
WorkingPath=C:\Program Files\Steam
Executable=steam.exe
Parameters=-applaunch 226980 "[TABLEFILE]"
Process=Pinball FX2
WaitFor=-1
 
Here is the log:
 
21:16:35.9  05.08.2015:  PinballX - Version 2.02
21:16:36.0  05.08.2015:  ® Windows Vista™ Home Premium Service Pack 2 32-bit (2,935546875GB)
21:16:36.0  05.08.2015:  Loading Settings
21:16:36.0  05.08.2015:  Initialize Component
21:16:36.0  05.08.2015:  Initialize Display
21:16:37.1  05.08.2015:  Loading PlugIns
21:16:37.3  05.08.2015:  Created DirectX BackGlass Window
21:16:37.4  05.08.2015:  Hiding Cursor
21:16:37.4  05.08.2015:  Hiding Taskbar
21:16:37.5  05.08.2015:  CPU: Intel® Core™2 Duo CPU E8400 @ 3.00GHz
21:16:37.5  05.08.2015:  GPU 1: NVIDIA GeForce 9400 GT 
21:16:37.5  05.08.2015:  Displays: 2
21:16:37.5  05.08.2015:  Load Game List
21:16:37.5  05.08.2015:  Loading Database: Pinball FX2
21:16:37.5  05.08.2015:  Loading Database: Visual Pinball
21:16:37.6  05.08.2015:  Finding and matching artwork and videos
21:16:37.6  05.08.2015:  Loading Game Statistics and Scores
21:16:38.5  05.08.2015:  Error in program.
21:16:38.5  05.08.2015:  Loading Surfaces
21:16:38.8  05.08.2015:  Finished Loading Surfaces
21:16:38.8  05.08.2015:  Initialize Audio
21:16:38.8  05.08.2015:  Set Keyboard Controls
21:16:38.8  05.08.2015:  Initialize Joystick
21:16:38.9  05.08.2015:  No Joysticks Attached
21:16:38.9  05.08.2015:  Started
21:17:00.4  05.08.2015:  Created DirectX BackGlass Window
21:17:00.7  05.08.2015:  Error in program..
21:17:03.7  05.08.2015:  Created DirectX BackGlass Window
21:17:03.9  05.08.2015:  Error in program.
21:17:06.2  05.08.2015:  Created DirectX BackGlass Window
21:17:06.4  05.08.2015:  Error in program.
21:17:46.1  05.08.2015:  Exiting
21:17:46.3  05.08.2015:  Showing Taskbar
21:17:46.5  05.08.2015:  Unhiding Mouse Cursor
21:17:46.5  05.08.2015:  Disposing Plugins
21:17:46.5  05.08.2015:  Saving Settings
21:17:46.5  05.08.2015:  Bye
 
Database:
 
<menu>
 
<game name="Sorcerers Lair">
<description>Sorcerers Lair</description>
<rom></rom>
<manufacturer>Zen</manufacturer>
<year>2013</year>
<type>SS</type>
<hidedmd>True</hidedmd>
<hidebackglass>False</hidebackglass>
<enabled>True</enabled>
<rating>0</rating>
<gridposition>4x1</gridposition>
</game>
<game name="Biolab">
<description>Biolab</description>
<rom></rom>
<manufacturer>Zen</manufacturer>
<year>2013</year>
<type>SS</type>
<hidedmd>True</hidedmd>
<hidebackglass>False</hidebackglass>
<enabled>True</enabled>
<rating>0</rating>
<gridposition>1x1</gridposition>
</game>
 
</menu>

Edited by Gaccus, 05 August 2015 - 08:25 PM.


#24 Jannek42

Jannek42

    Enthusiast

  • Members
  • PipPipPip
  • 96 posts
  • Location:Wuppertal

  • Flag: Germany

  • Favorite Pinball: STTNG, Medieval Madness, CFTBL

Posted 05 August 2015 - 09:02 PM

OK, and here comes the error:

Your "Pinball FX2.xml" is not correct. Please look at your "Game Name" - it´s most important that it matches with the name in the table folder!

(I guess for your setting the table folder is located here: "C:\Program Files\Steam\steamapps\common\Pinball FX2\data_steam\ ")

 

For example this is what "Sorcerers Lair" must look like:

 

    <game name="Citadel">
        <description>Sorcerers Lair</description>
        <manufacturer>Zen Studios</manufacturer>
        <year>2013</year>
        <type>PC</type>
        <hidedmd>True</hidedmd>
        <hidebackglass>False</hidebackglass>
        <enabled>True</enabled>
        <rating>0</rating>
    </game>

 

If you´re using the parametrical launch, you won´t need the "GridPosition"-Tag anymore...


Edited by Jannek42, 06 August 2015 - 07:13 AM.


#25 Gaccus

Gaccus

    Hobbyist

  • Members
  • PipPip
  • 10 posts

  • Flag: Norway

  • Favorite Pinball: Pinball Dreams

Posted 05 August 2015 - 09:18 PM

Aha! I couldnt find "Sorcerers Lair" in the tabledrawer, so I wrote it as you did in your xml. I also had Biolab in the list and that was in the drawer, but that didn't load either, so I thought it couldnt be the names. Biolab still dosn't load, but I guess you cant load straight to demotables. It tricked me.

 

But you have my thanks! The Sorcerer's Lair now load as it should. Now I can fix the DMD and buy some other tables. Visual Pinball is ok, but PBFX is just so much more fun.



#26 Jannek42

Jannek42

    Enthusiast

  • Members
  • PipPipPip
  • 96 posts
  • Location:Wuppertal

  • Flag: Germany

  • Favorite Pinball: STTNG, Medieval Madness, CFTBL

Posted 06 August 2015 - 07:24 AM

Hey Gaccus,

 

nice to hear that´s working now.

 

But can you please tell me which XML you mean if you´re writing "..., so I wrote it as you did in your XML."?!?

I´ve checked my uploaded XMLs twice, but I could not find that "wrong" entry. I would like to avoid to spread wrong Information and therefore I would like to correct this (in case it is really wrong :tapping:).

 

Thanks for your Feedback in advance.

 

Jannek



#27 Gaccus

Gaccus

    Hobbyist

  • Members
  • PipPip
  • 10 posts

  • Flag: Norway

  • Favorite Pinball: Pinball Dreams

Posted 06 August 2015 - 01:54 PM

The xml you provided in post 7. There the game name was set to "Sorcerers Lair" not "Citadel".



#28 Jannek42

Jannek42

    Enthusiast

  • Members
  • PipPipPip
  • 96 posts
  • Location:Wuppertal

  • Flag: Germany

  • Favorite Pinball: STTNG, Medieval Madness, CFTBL

Posted 06 August 2015 - 02:19 PM

Sorry, but - nope! - that´s not correct... I´ve checked both XML-files where Sorcerers Lair is included ("PFX2 other.XML" and "Pinball FX2.xml") and both show the table like this:

 

 <game name="Citadel">
  <description>Sorcerers Lair</description>
  <manufacturer>Zen Studios</manufacturer>
  <year>2013</year>
  <type>PC</type>
  <hidedmd>True</hidedmd>
  <hidebackglass>False</hidebackglass>
  <enabled>True</enabled>
  <rating>0</rating>
 </game>

 

But, anyway... it´s ok. Then there´s no mistake in the given XMLs. That´s fine.

Thanks for the clarification.

 

Kind regards,

Jannek



#29 DKong

DKong

    Pinball Fan

  • Platinum Supporter
  • 600 posts

  • Flag: ---------

  • Favorite Pinball: IJ (Williams), TOM, AFM

Posted 11 August 2015 - 06:05 AM

I got Pinball FX2 running from PinballX on my 3 screen setup, but having some issues. 

 

When I launch a table from PinballX, the Pinball FX2 menu comes up (like it would if I launched a table from Steam outside of PinballX).  I then need to use the keyboard arrow keys to navigate within the Pinball FX2 menu and launch a table.

 

I also do not see the table backglass on my second monitor when the table is playing.  I do see the backglass from within the PinballX menu however.

 

I also have not been able to move the DMD from the playfield monitor to the third monitor.  I followed Jannek's great tutorial to get to this point, but must be missing something.

 

Can someone please help me?

 

Here is my Pinball FX2 xml:

Spoiler

 

My PinballX ini:

Spoiler

 

My PinballX log:

Spoiler



#30 STAT

STAT

    Pinball and Arcade Freak

  • VIP
  • 4,980 posts
  • Location:Wels - Austria

  • Flag: Austria

  • Favorite Pinball: Twilight Zone

Posted 11 August 2015 - 06:48 AM

Dkong,
i registered at your XML: the last "false" at every Table should be "true"
 
ini: Parameters=-applaunch 226980 "[TABLEFILE]" < parameter “Tablefile” will launch tables directly>
... remove bold Text
LaunchBeforeExecutable=Pinball FX2 Borderless_DMD.ahk
 ... should be without Spaces, like Pinball_FX2_Borderless_DMD.ahk (?)
 
You have updated STEAM/PinballFX2 and PinballX to 2.02 (log: OK) ?

 

Backglass Images: check Paths, should be in / PinballX / Media / Pinball FX 2 ? / Backglass Images ... same Name as Steam-Table-Name like in XML

 

Cant check it complete beside my Cab, i am not at home ...


Edited by STAT, 11 August 2015 - 06:55 AM.


#31 Jannek42

Jannek42

    Enthusiast

  • Members
  • PipPipPip
  • 96 posts
  • Location:Wuppertal

  • Flag: Germany

  • Favorite Pinball: STTNG, Medieval Madness, CFTBL

Posted 11 August 2015 - 08:23 AM

Hey DKong,

 

please check again your XML-File - I´m not sure if it just isn´t displayed correctly in your post or if it is a mistake in your XML at all.

It seems that the "Game Name" is missing for all your tables:

 

 <game name="Citadel">
  <description>Sorcerers Lair</description>
  <manufacturer>Zen Studios</manufacturer>
  <year>2013</year>
  <type>PC</type>
  <hidedmd>True</hidedmd>
  <hidebackglass>False</hidebackglass>
  <enabled>True</enabled>
  <rating>0</rating>
 </game>

 

Be sure that the Game Name is equal to the table file in the Pinball FX2 tebale Folder.

 

Regarding your Backglass issue: What Kind of Backglass are you using? Is it a video or an image? I´ve got trouble with videos from time to time. So, for setting your system up, you should start with just Images.

 

Regarding your DMD: may you also post your "dotmatrix.cfg"? Have you changed the values in my example to your third Monitor? Otherwise I may send you my latest dotmatrix.cfg, because I recently attached a third Monitor as well.

 

Kind regards,

Jannek



#32 xzotic

xzotic

    Pinball Fan

  • Platinum Supporter
  • 637 posts

  • Flag: ---------

  • Favorite Pinball: TOTAN

Posted 11 August 2015 - 12:30 PM

Hi Jannek42 - Just want to say thank you very much for posting your instructions. Got it all working fine. You saved me a LOT of time....

 

Also ps: I would recommend people just put the AHK script in their windows startup folder and run it once when their PC's boot rather than load it and kill it on every load. Just one less process to worry about in case it doesn't start or get killed properly. You suggested this in your instructions and I think it's a great idea.

 

Anyway thanks again! 


|

|

___________________________________________

YouTube: www.spaciesarcade.com


#33 DKong

DKong

    Pinball Fan

  • Platinum Supporter
  • 600 posts

  • Flag: ---------

  • Favorite Pinball: IJ (Williams), TOM, AFM

Posted 12 August 2015 - 12:00 AM

STAT,

I made your suggested changes and the one thing that seemed to work is when I'm in PinballX, I can see Age of Ultron backglass video.  When I launch that table, the same backglass video stays on the screen. 

 

However if I change tables to Sorcerer's Lair (from within the Pinball FX2 menu as I can't launch a table straight to the selected table from PinballX just yet), the Age of Ultron backglass is still on the second screen.

 

 

Jannek,

Here is my dotmatrix.cfg:

Spoiler

 

I copied my DMD settings from the PinballX display settings.

 

Here is my updated xml:

Spoiler

 

For some reason, the xml file looks strange when I paste it into the spoiler, so also attached the file.

 

Here is my updated ini:

Spoiler

 

I checked that the table names match those in the backglass image and video folders as well as the DMD video folder.

 

I must have a few settings wrong in order to launch straight to a table from PinballX, getting the DMD on the third monitor and the correct backglass to show on the second monitor once the table is playing.

 

 

Attached Files



#34 Outhere

Outhere

    Pinball Wizard

  • Platinum Supporter
  • 4,805 posts

  • Flag: United States of America

  • Favorite Pinball: M M

Posted 12 August 2015 - 12:16 AM

<enabled>False</enabled> Correct me if I'm wrong but shouldn't this be set to -- true
 



#35 DKong

DKong

    Pinball Fan

  • Platinum Supporter
  • 600 posts

  • Flag: ---------

  • Favorite Pinball: IJ (Williams), TOM, AFM

Posted 12 August 2015 - 03:32 AM

Jannek mentions leaving this to False in his documentation.  This way the Pinball FX2 tables will not show up in the main PinballX menu.  I would prefer to get it set up this way, so only my VP and FP tables show up in the main menu.  This way I can choose to select Pinball FX2 tables separately from the options list.

 

Is this still accurate for Jannek's setup?



#36 Jannek42

Jannek42

    Enthusiast

  • Members
  • PipPipPip
  • 96 posts
  • Location:Wuppertal

  • Flag: Germany

  • Favorite Pinball: STTNG, Medieval Madness, CFTBL

Posted 12 August 2015 - 04:01 PM

Yes and No. If you set it up this way, you have to have another XML where the tables are set to enabled. Otherwise you won't be able to start them. For example you need an Marvel.xml with all Marvel tables are set to enable: True.

Second issue: please desrcibe your Monitor setup. PinballX-Config file says that your Monitor 1 is your Playfield and Monitor 0 is Backglass? Normaly Backglass is placed right to the Main Display.

Regarding the DMD: the x and y value should give the total of pixels (sum all Displays). For example: First monitor is 1680x1050, secund is 1024x768. DMD should be placed on second Screen starting at pixel 12 and should have a width of 1000. Then the related lines would be:
x = 1692 (it is 1680 + 12)
width = 1000

Then I saw that your PinballX Config file says:
UseB2S = True
Please set this to False... this is just to show B2S Backglasses in the PinballX Menu. Don't know if this results in a conflict for PinballFX2

Maybe this helps a little bit...

Kind regards,
Jannek

And please use Images for your Backglasses until we get them running. Kramer73 did some great ones (as well as STAT did...).
When everything runs fine, you may switch over to video files.

#37 Outhere

Outhere

    Pinball Wizard

  • Platinum Supporter
  • 4,805 posts

  • Flag: United States of America

  • Favorite Pinball: M M

Posted 12 August 2015 - 04:08 PM

Something like this - Monitor set-up

 

 

 

Attached Files



#38 DKong

DKong

    Pinball Fan

  • Platinum Supporter
  • 600 posts

  • Flag: ---------

  • Favorite Pinball: IJ (Williams), TOM, AFM

Posted 13 August 2015 - 06:09 AM

Thanks for the suggestions.  

 

I changed my UseB2S = False, DMD values and compiled the DMD borderless ahk file (forgot to do that originally).

 

I now can launch strait to a specific table from PinballX and the DMD is now on my third monitor!

 

There are a few remaining items I need to figure out before I can run this in my pin cab.

 

The DMD is now showing on the third monitor, but is also still at the top of the playfield monitor.  Is there a way to remove the DMD from the playfield monitor, now that it's on my third monitor?

 

I still need to navigate using keyboard arrow keys in order to exit out of Pinball FX2 and back to PinballX. When PFX2 makes it to my pin cab, I won't have keyboard keys available to use. 

 

Is there a way to navigate PFX2 without the arrow keys or adding a bunch of extra buttons on my pin cab?

 

Lastly, is there a way to play PFX2 offline?  If I don't log in to Steam before I launch PinballX, a log in box will open when I launch a PFX2 table from PinballX.

 

I plan to have my pin cab offline when playing and am hoping someone has a suggestion to how I can do this.

 

Thanks guys!  I feel I'm close to getting this!



#39 Jannek42

Jannek42

    Enthusiast

  • Members
  • PipPipPip
  • 96 posts
  • Location:Wuppertal

  • Flag: Germany

  • Favorite Pinball: STTNG, Medieval Madness, CFTBL

Posted 13 August 2015 - 07:21 AM

Hey DKong,

 

sounds great! You may just disable the DMD at the Playfield Display in the Options of PinballFX2. You will find an Option regarding the visualization of the DMD = small, medium, large, disabled. (or something like this) Just disable it. That´s it.

 

I think if you have configuered your PinballX keys the right way, then you won´t have to use keys in PinballFX2. Be sure that you have set the "Exit System" Key in PinballX and it´s not interfering with a key Setting in PinballFX2 (if there is the same key defined in another way it may lead to Problems. Just be sure not to use the identical key for a different Option).

 

If you have found your correct Settings, there will be no Need for adding a bunch of Buttons to your cab. :-)

 

I think there is an Option to Play in offline mode - currently I´m not exactly sure how to activate it, but I know that STAT wrote about that in this Forum. I think if the log-in Screen of Steam is shown, there should be an Option for "offline mode". If I remember the right way, you will have to log-in again another time after that. And from that Point of time it should be offline. But I´m not sure about that. Try to contact STAT.

 

You ARE close to it.

 

Kind regards,

Jannek



#40 DKong

DKong

    Pinball Fan

  • Platinum Supporter
  • 600 posts

  • Flag: ---------

  • Favorite Pinball: IJ (Williams), TOM, AFM

Posted 16 August 2015 - 05:34 AM

I was able to get the DMD on the third screen where I want it and turn off the one on the play field.  I was also able to play in offline mode (as far as I can tell).  Getting closer.

 

The settings I can't locate are those to change the arrow key defaults for navigating through the PFX2 menu after exiting a table.  Where exactly are these settings?







Also tagged with one or more of these keywords: Pinball FX2;, PFX2;, PinballX;, Guide;, Tutorial;