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. My bare hosting costs are currently not met so please consider donating by either clicking this text or the Patreon link on the right.

Patreon

Recommended Posts

Posted

Starting from Visual Pinball 10.8, the settings from VP is moved from registry to INI file.

This make the flexibility of Visual Pinball easier during transfer, but you can also have more Visual Pinball systems on your system, and uses different settings files for this.

Start with some back ground :

To use Visual pinball, you need a complete setup of VP.
For the basic you need to have a working VpinMame and Directb2sserver (this can be accomplished by using the AIO installer from the Vpinball github )

if you want more advanced work, You properly will use DMDdevice.dll, FlexDMD, DOF and pinup player

If all is working for your desktop/cabinet/vr/head tracking environment, you can have add multiple versions to your system as well.
You can use this for testing a Beta, adding GL support or separate versions between 32 bit and 64 bit.

the issues with all versions before VP 10.8 was that when you launch any version of Vpinball in any location, it uses the registry and all has the same configuration.

From VP 10.8 the ini file is located in %appdata%\VpinballX and by default it uses VPinballX.ini
When this file is not present, it will check if there is any registry entry and will transform the registry keys into the VPinballX.ini file.
When file is present, all instances will use this file.

But if you want a different setting for a specific table, or even for a complete system, without changing registry (see for example my post over setting up VR https://forums.gameex.com/forums/topic/28465-pinballx-with-vr-on-oculusmeta-quest ), there will be an easy way now

When launching from the command line VpinballX.exe (Vpinball_gl.exe, vpinballX64.exe or Vpinball_gl64.exe) with the parameter -ini <Full path to ini file> it will creates a new INI file on the path you specified.

image.thumb.png.db578ba4308a0f2c3eb7a4d2b24cbace.png

image.thumb.png.99d2defcf581459cd9bf48d16eaf6b62.png

the INI file is directly created and contains the values which I have from my registry.
As I launched VpinballX, I can make a configuration changes and this will all be saved in the newly created file

When Launching the GL version of VpinballX, an extra option is available for VR. The VR settings will also be available in the INI file.
But, if you want to have different settings for VR as your normall version, just launch the GL version with a different setting :

(in my example I mixed VP 32 bit with GL 64 bit)

image.thumb.png.a1588865bbfca243b2d9cf7121a6b58d.png

image.thumb.png.44fe10426c45d974df8a2004edb5313e.png

So now I got 2 settings files. 1 completely configured for VR and 1 for regular playing (this is just an example, you can also do it for tables with issues, head tracking, or even switching between desktop and cabinet.)

image.thumb.png.ea64bdc286e2a93235f21a63c9107cf6.png

to use this file during game play ?

At the time this post was made, PinballX can only switch command line parameters via setting up a new system, or using a custom launcher (with a variable that can be set).

  • launch Settings.exe and go to your Visual pinball system
  • add to 'Parameters' the -ini option with the path to your ini

image.thumb.png.75d0475372780a40e46a64a28c4f8e28.png

 

and for the 2nd system :

 

image.thumb.png.630de63083deb349bd153229f047ce7f.png

I showed just 1 example for different INI files, but it's up to you to use it for setting up different INI files for your system.

Having issues with 1 or 2 table with the performance, and don't want to set it for all tables, just create a INI file with a bit lower specs that runs the table fine and launch this table with it.

Make sure you make a backup of your ini file, in case something happen to your system !

Default file is %appdata%\Vpinball\VpinballX.ini (if you launch the VpinballX without the -INI parameter, it will use this file)

 

  • Mike_da_Spike changed the title to [GUIDE] Setting up multiple Visual Pinball Versions (VP 10.8 +)
  • 9 months later...
Posted

Is the only possible way to have two .ini files for the same table to create another system? Is there no way to configure an "alternate launch" so that through the sub-menu you can choose to start the .ini configured for VR?

So that the tables do not duplicate in the menu.

Posted

Indeed !

Alternate exe is not to use via sub menu or what so ever.

If you have 2 differrent ini files for 1 system (let say VR and CAB),  you need 2 different systems. 

If you make it more complex to use 2 ini files for a single table, there isn't a way to switch between ini files.

An alternate way would be to build a program during launch before and do your magic to launch 1 of the 2 ini files. Another way is to make a pinballx plugin, that can switch the parameters of the ini file just before launch (justblike scutters his pinemhi plugin that will launch the correct table)

Posted

No, I've tested Pinup and went back to PinballX because I like it better. However, that feature of Pinup seems very good and it would be great to incorporate it. I'm going to suggest it in that thread.

  • Like 1

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