Jump to content



Photo
- - - - -

how to change video settings vpx in launchscript pinup popper


  • Please log in to reply
3 replies to this topic

#1 mandermannen77

mandermannen77

    Hobbyist

  • Members
  • PipPip
  • 46 posts

  • Flag: Netherlands

  • Favorite Pinball: Star wars

Posted 07 May 2023 - 04:06 PM

Hello, in the newest beta version of vpx it is possible to select Bam head tracking in the video preferences, what is great! Now i want to choose to play a table with or without BAM head tracking. The only thing is that i can change it for all tables in the settings, not per table. Is it possible to create 2 emulators (1 with BAM head tracking setting and 1 without the BAM head tracking setting) maybe with the use of the launchscipt and some sort of ini file? With the right (subtile) BAM settings the table comes more alive. Hope you can help me    



#2 Gravy

Gravy

    Pinball Fan

  • VIP
  • 1,147 posts

  • Flag: Australia

  • Favorite Pinball: Simpsons pinball party



Posted 08 May 2023 - 12:41 PM

I saw your suggestion over at github and Vincent's reply regarding duplicating the ini file.

I'm not familiar with Launchscript, however here is an alternative which may also give you some clues as to how to go about the process in Launchscript.

In the recent 10.7.8 versions, the VPinballX.ini file on my Windows 10 PC is stored under the following path, you may need to enable hidden items if you cant see it:

C:\Users\yourusername\AppData\Roaming\VPinballX\VPinballX.ini

I'm not sure if that is always the same path for other systems though. It may also possibily be in:
C:\Users\yourusername\AppData\VPinballX\VPinballX.ini

Make a copy of the VPinballX.ini and rename it to VPinballX_GL.ini


Open VPinballX_GL.ini in an editor and look/search for the following lines (it may also already be set to 1). They are not too far from the top of the page and come after video options section.

; Head tracking
BAMHeadTracking = 0

change the 0 to 1 to enable headtracking specifically for GL version. It should then show as below. Save the file.

​; Head tracking
BAMHeadTracking = 1
Go back to your VPX install directory and right click on VPinballX_GL.exe and choose "Create shortcut"

Right click on the new shortcut and choose properties.

Click on shortcut tab and look for target field and change it to something similar to the following (your paths may be different):


"C:\Visual Pinball\VPinballX_GL.exe" -ini C:\Users\yourusername\AppData\Roaming\VPinballX\VPinballX_GL.ini


Click Apply and OK.

Use the new shortcut to launch the GL version each time and it should automatically set the headtracking to active. Check in the graphics settings to see if it is now ticked.

Note: I think you may need quotes around the path to the ini file if there are any spaces in the path, but I'm not sure.

Edited by Gravy, 08 May 2023 - 11:18 PM.

Pinball Addict


#3 mandermannen77

mandermannen77

    Hobbyist

  • Members
  • PipPip
  • 46 posts

  • Flag: Netherlands

  • Favorite Pinball: Star wars

Posted 09 May 2023 - 08:00 PM

Thank you for your help! I will try this tomorrow and let you know if it works. I hope so

#4 mandermannen77

mandermannen77

    Hobbyist

  • Members
  • PipPip
  • 46 posts

  • Flag: Netherlands

  • Favorite Pinball: Star wars

Posted 10 May 2023 - 05:32 PM

Yes it works! now i can make 2 emulators, one with and one without the bam head tracking. Thank you so much