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

Running VPX 32bit and 64bit with PBX


Recommended Posts

As VPX is fully supported for 64 bit, but some tables still need to run with 32 bit, I made a small explanation how to use PBX to run Visual Pinball with alternate exe in 32 bit (and have 64 bit as default

I moved completely to 64 bit (see https://github.com/vpinball/b2s-backglass/wiki/64bit-VPX-Pincab-Setup-Guide how to setup) , but have 1 table that need to run in 32bit VPX.
I only extracted from VPinballX-10.7.3-395-2bd9ac3-Release-win-x86.zip (could be another version as well, as long it is the x86 file, and preferable matching the version of your X64 version) the following 4 files :Bass.dll, freeimage.dll, scilexervp.dll and vpinball.exe to a TEMP folder

image.png.5a550c7d9ee3668bd5913b0caa5f119e.png

Rename in this temp folder the Vpinball.exe to Vpinball_X86.exe 
And now copy(or move) these files to your current \Visual Pinball directory (where your 64 bit exists.
Now you can run 32bit (X86 aka Vpinball_X86.exe ) and 64 bit (X64 aka Vpinball.exe)
Note that your file association is set to VPinball.exe (so the 64 bit)
Setup in Databasemanager that only this table should run with this vpinball_X86.exe (see alternate exe)

image.thumb.png.af9d60c432025f548a2f8f360b9e4d61.png

 

and selecting this table in PinballX would load this game in 32bit :

05:55:17.28  18-3-2023:  Working directory set to: D:\pinball\Visual Pinball
05:55:17.28  18-3-2023:  D:\pinball\Visual Pinball\D:\pinball\Visual Pinball\VPinballX_X86.exe -play "D:\Pinball\Visual pinball\Tables\VPX\Ghostbusters LE (Stern 2016).vpx"  -ExtMinimized
05:55:17.31  18-3-2023:  D:\Pinball\PinballX\vpauto.exe 
05:55:21.19  18-3-2023:  VPX Full screen exclusive mode detected
05:55:21.19  18-3-2023:  VPX Full screen exclusive focus hack set
05:55:41.75  18-3-2023:  Exit System Control Pressed
05:55:46.49  18-3-2023:  Created DirectX BackGlass Window
05:55:46.50  18-3-2023:  Main display running full screen windowed.

 

@Tom SpeirsIf I add "D:\pinball\Visual Pinball\VPinballX_X86.exe" to my alternate exe, it will show the folder twice in the log

If I change the path to another fodler, it will ignore taht and searches in the default path of Visual Pinball. 
Should alternate exe be set without a path ?

 

 

it will always launch that EXE from the default Visual Pinball directory, and not from the path I gave

  • Like 1
Link to comment
Share on other sites

DOF for PBX still works. I left my 32bit version of DOF on the same location. Created a new folder for DOF64.

image.png.4991aa1e08b6000f5e0fb7f73370f5b0.png

 

Checking my dof plugin for PBX is still pointing to my old (32) bit location:

image.png.dd95e2acaeec194c5e06027d4b1f1f07.png

log file shows it initialized :

06:00:33.28  22-3-2023:  Loading PlugIns
06:00:33.44  22-3-2023:  Loaded Plugin:"DirectOutput PinballX Plugin" Version 1.5 By Swisslizard (modified by Mike da Spike)
06:00:37.07  22-3-2023:  PlugIn: "DirectOutput PinballX Plugin" Initialized OK
06:00:37.07  22-3-2023:  Using Plugin System Version: 1,5

and dof log file shows :

23.03.22 06:00:58.326 Best match for THE GOONIES NEVER SAY DIE PINBALL is GOONIES, THE (goonies). Match Value: 1
23.03.22 06:00:58.326 Probably not 'PF Back PBX MX' set up (properly) for GOONIES, THE
23.03.22 06:00:58.326 Game selected The Goonies Never Say Die Pinball (Update sent for PinballXMX)

and showing in PBX (5.80)

image.thumb.jpeg.793eb73736b60e1d2acb90dd70cbdfb5.jpeg

 

 Hope this helps

Link to comment
Share on other sites

PBXRecorder users please note that the B2S setup notes for V2.0 (https://github.com/vpinball/b2s-backglass/wiki/64bit-VPX-Pincab-Setup-Guide) mention moving B2SBackglassServer from the Visual Pinball\Tables to a new folder and the screenres.txt file with it. I haven't checked but i'm pretty sure this will break PBXRecorder, so i'd advise leaving the B2SBackglassServer components in the Visual Pinball\Tables folder

@Tom SpeirsIf people move the screenres.txt i guess this will impact PBX auto position B2S logic too?

Link to comment
Share on other sites

So 64bit setup said to move to Vpinmame backglassserver plugin etc. i did this for both. So should i move back to Tables plugins direct output as before. 
My pluginmanager for some reason is pointing to the pligins64 folder?? Bit still not working. Nothing i do will change it back to the new Plugin folder. However even when it was it would work as moved from tables plugin. 
how do i point it back to the tables plugin directoutput folder if i move back to original and get ot to work again??

see pics now also showing differct plugin error since path change

0EBBD691-0306-4D4A-918D-DAD838354140.jpeg

F5AF665C-600F-400D-827E-B14531A80FCC.jpeg

Link to comment
Share on other sites

9 hours ago, Spitfire said:

So 64bit setup said to move to Vpinmame backglassserver plugin etc. i did this for both. So should i move back to Tables plugins direct output as before. 

I don't use DOF so can't help with that. But if you use pbxrecorder then yes i would move the B2S (and plugins) folders back and re-register.

I added some notes on vpf about other issues i had with the proposed updates. See  https://www.vpforums.org/index.php?showtopic=51054&p=516690, for me due to my set up and software in use i'm sticking to 32bit VPX as the default.

Link to comment
Share on other sites

  • 1 month later...

I just upgraded to run all my vpx tables on 64bit.  So far I have not seen a table that does not play.  I see in your example you show ghostbusters slimer and Americans most haunted.  They both seem to play ok for me in 64 bit.

  • Like 1
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...