Jump to content



Photo
- - - - -

New idea for fixing "egg ball", using "aspect ratio offset"


  • Please log in to reply
19 replies to this topic

#1 wrd1972

wrd1972

    Authoring Padawan

  • Platinum Supporter
  • 2,265 posts
  • Location:Central KY. USA

  • Flag: United States of America

  • Favorite Pinball: Funhouse

Posted 28 November 2018 - 05:15 PM

Okay I am still searching for a way to reduce all "egg ball" for the various tables on the cab.

 

Currently, all of my tables fall into 1 of 2 categories:

  • 0 degree inclination
  • 10 degree inclination

And of course, I cant have a perfectly round ball with both of these at the same time, using the same VP10 executable. BUT, if I tweak on the "aspect ratio offset - AOR", I can make the ball perfectly round, but for only one of my categories. The other one, will still be "egg balled".

 

So I made a copy of the VP---.exe with the hopes that I can have oneexecutable, with 0 degree ARO settings. And the second executable,  with 10 degree ARO settings. But it appears that any change to one executable, changes the other one as well. So I am gonna assume that both of the exectutables that I would prefer to use, are connected to the same setting in the registry.

 

So is there a way, that I can have two active executables, that would have different ARO settings? This would fix my eggball issue once and for all.

Thanks

 

 


My VP Pincab /MAME Arcade  Specs: Dell T3400 workstation with Core2 Quad core 3.0GHZ (Q9650) CPU - 8GB of RAM - Nvidia  GTX 970

40" PF Sony gaming LED TV, Dual 21" Dell monitors in the backbox - Pinscape dual boards - Full DOF - Full MAME arcade support.


#2 STV

STV

    Enthusiast

  • Members
  • PipPipPip
  • 436 posts

  • Flag: United States of America

  • Favorite Pinball: Varies. 140 in the list ATM.

Posted 28 November 2018 - 05:29 PM

Maybe two batch files.  Each sets the required registry bits then launches vpinballx.exe  ?   



#3 wrd1972

wrd1972

    Authoring Padawan

  • Platinum Supporter
  • 2,265 posts
  • Location:Central KY. USA

  • Flag: United States of America

  • Favorite Pinball: Funhouse

Posted 29 November 2018 - 02:40 PM

Thanks for the reply. Can anybody elaborate on this? I am not very fluent in this area. Is there something I can maybe manually change in the registry.


My VP Pincab /MAME Arcade  Specs: Dell T3400 workstation with Core2 Quad core 3.0GHZ (Q9650) CPU - 8GB of RAM - Nvidia  GTX 970

40" PF Sony gaming LED TV, Dual 21" Dell monitors in the backbox - Pinscape dual boards - Full DOF - Full MAME arcade support.


#4 gtxjoe

gtxjoe

    VPF Veteran

  • VIP
  • 5,151 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness, AbraCadabra



Contributor

Posted 29 November 2018 - 06:22 PM

You could have someone compile you a version of VPX which stores its setting in a different registry area.

Or you can download, install Visual Sudio and do it yourself if comfortable with it

#5 wrd1972

wrd1972

    Authoring Padawan

  • Platinum Supporter
  • 2,265 posts
  • Location:Central KY. USA

  • Flag: United States of America

  • Favorite Pinball: Funhouse

Posted 29 November 2018 - 08:10 PM

That sounds like maybe the best solution. As long as someone can point me to the specific parameter to change, and its a simple change.

DJRobx would certainly know.


My VP Pincab /MAME Arcade  Specs: Dell T3400 workstation with Core2 Quad core 3.0GHZ (Q9650) CPU - 8GB of RAM - Nvidia  GTX 970

40" PF Sony gaming LED TV, Dual 21" Dell monitors in the backbox - Pinscape dual boards - Full DOF - Full MAME arcade support.


#6 Carny_Priest

Carny_Priest

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,257 posts
  • Location:Austin, TX

  • Flag: United States of America

  • Favorite Pinball: EATPM

Posted 29 November 2018 - 08:19 PM

I would just code an AutoHotkey script to do the registry overwrite conditional to the table file name. Can then have the script switch the registry keys back when VPPlayer closes. Have PinballX launch the compiled script prior to table launch. I pulled this same trick a few years ago to switch nudge settings between VP9 and physmod5 before they got separate registries. Not difficult.



#7 wrd1972

wrd1972

    Authoring Padawan

  • Platinum Supporter
  • 2,265 posts
  • Location:Central KY. USA

  • Flag: United States of America

  • Favorite Pinball: Funhouse

Posted 03 December 2018 - 04:21 PM

I would just code an AutoHotkey script to do the registry overwrite conditional to the table file name. Can then have the script switch the registry keys back when VPPlayer closes. Have PinballX launch the compiled script prior to table launch. I pulled this same trick a few years ago to switch nudge settings between VP9 and physmod5 before they got separate registries. Not difficult.

Hey thanks for replying to my issue with egg-ball.

Could you or anybody else, help me a bit more with the auto hot-key function you were referring to? Im really not very good at this kind of custom stuff.

Ultimately, all of the cab tables launched through PBX, will use 1 of 3 different ball aspect ratios, to ensure a round ball.
- 0 degree
- 10 degree
- Stretched ball

I would greatly appreciate any additional help you may be able to provide.

 

Thanks
 


My VP Pincab /MAME Arcade  Specs: Dell T3400 workstation with Core2 Quad core 3.0GHZ (Q9650) CPU - 8GB of RAM - Nvidia  GTX 970

40" PF Sony gaming LED TV, Dual 21" Dell monitors in the backbox - Pinscape dual boards - Full DOF - Full MAME arcade support.


#8 Carny_Priest

Carny_Priest

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,257 posts
  • Location:Austin, TX

  • Flag: United States of America

  • Favorite Pinball: EATPM

Posted 07 December 2018 - 12:10 AM

The AutoHotkey function is RegWrite

 

https://autohotkey.c...ds/RegWrite.htm

 

If I'm not mistaken about the registry key this would enable ball stretch. I think it is enabled by default. I'm not sure what the other keys are but you can use regedit to view changes you make to Video Preferences.

 

Then the script simply launches the editor. You can set up a shortcut on your desktop and give the shortcut a meaningful name.

#NoEnv  
#SingleInstance force

; Default (Stretch Ball with Table enabled)
RegWrite, REG_DWORD, HKCU, Software\Visual Pinball, BallStretchMode, 0
 
Run, "C:\Games\Visual Pinball\VPinballX.exe"

ExitApp

You have to install AutoHotkey, of course.


Edited by Carny_Priest, 07 December 2018 - 12:11 AM.


#9 gtxjoe

gtxjoe

    VPF Veteran

  • VIP
  • 5,151 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness, AbraCadabra



Contributor

Posted 07 December 2018 - 01:42 AM

I still had Visual Studio set up on my pincab, so here are 2 additional versions of VPX10.5 exe with unique registry settings (VP10A and VP10B).

 

https://drive.google...ckOWAiUUjTHz5MP



#10 Slydog43

Slydog43

    Pinball Wizard

  • Platinum Supporter
  • 3,008 posts
  • Location:Hackettstown, NJ

  • Flag: United States of America

  • Favorite Pinball: Addams Family, All Williams 90's Games

Posted 07 December 2018 - 02:26 PM

I'm on it.  I have that exact ahk script statement.  I think wrd1972 wants more than just a few registry entries changed though.

 

  RegWrite, REG_DWORD, HKEY_CURRENT_USER\SOFTWARE\Visual Pinball\VP10\Player, BallStretchMode, 1


#11 Carny_Priest

Carny_Priest

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,257 posts
  • Location:Austin, TX

  • Flag: United States of America

  • Favorite Pinball: EATPM

Posted 07 December 2018 - 05:16 PM

Right, I don't know what those keys are because I just use the default. I think everything OP is asking for can be controlled by overwriting the registry. No need to compile separate exe. That's fine if someone wants to do that but would have to build again and again for each beta/change in source. Can probably edit the table scripts too, but would have to do it perhaps for every table installed. AHK is the way to go. Incorporating into a front-end is another layer of complexity, but no one is talking about that at the moment. I have a list of these sorts of custom configurations happening on my cab, so I have a separate launch script for VP that I use within PinballX that bypasses PinballX's integrated support.



#12 gtxjoe

gtxjoe

    VPF Veteran

  • VIP
  • 5,151 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness, AbraCadabra



Contributor

Posted 07 December 2018 - 07:44 PM

If you stick with official exe, you only build custom exe once per Official VPX release

Beta release registry can be used for one class of table that you use the most, like 10 degree tables. Others can use the official exe

#13 Carny_Priest

Carny_Priest

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,257 posts
  • Location:Austin, TX

  • Flag: United States of America

  • Favorite Pinball: EATPM

Posted 07 December 2018 - 08:26 PM

Some of the recently released tables specifically require the 10.6 beta.



#14 wrd1972

wrd1972

    Authoring Padawan

  • Platinum Supporter
  • 2,265 posts
  • Location:Central KY. USA

  • Flag: United States of America

  • Favorite Pinball: Funhouse

Posted 03 January 2019 - 04:27 PM

Wanted to give GtxJoe some big time props for helping me fix a major annoyance I had with the pincab. He provided a very well made tutorial on how to create the custom executables, that  I needed. The process was fairly quick, and they did precisely what I needed.

 

No more egg-ball on any of the different formatted tables, on the cab.  :)


My VP Pincab /MAME Arcade  Specs: Dell T3400 workstation with Core2 Quad core 3.0GHZ (Q9650) CPU - 8GB of RAM - Nvidia  GTX 970

40" PF Sony gaming LED TV, Dual 21" Dell monitors in the backbox - Pinscape dual boards - Full DOF - Full MAME arcade support.


#15 Thalamus

Thalamus

    Pinball Wizard

  • Platinum Supporter
  • 4,978 posts

  • Flag: Norway

  • Favorite Pinball: GOT, Alien Star, LOTR, TOM

Posted 02 November 2020 - 09:39 PM

Thanks for the setup @gtxjoe. One thing that I find confusing though. Game difficulty level, or at least, that is what I believe I read in the code - why would that belong together with flipper. Seems like there are some confusion to what this does. https://www.vpforums...=37750&p=377615

Or, well, it was explained later on, so, it is a gravity thing then ? Anyone can explain ? All I know is that if you apply high game difficulty the kickers becomes more random, so I'm just asking.


Edited by Thalamus, 02 November 2020 - 09:49 PM.

From now on. I won't help anyone here at VPF. Please ask Noah why that is.


#16 wiesshund

wiesshund

    VPF Legend

  • Members
  • PipPipPipPipPipPipPip
  • 11,859 posts

  • Flag: United States of America

  • Favorite Pinball: How many can i have?

Posted 03 November 2020 - 03:30 AM

Best i can tell from trying to use it, it ramps up the table slope, increasing ball speed on the downslope, and lowering it on the up
and also making shots harder due to more fighting with gravity.

it also seems to add an increasing amount of scatter angle to kickers flippers and bumpers, but ive no idea by what math it decides the amount of increase.

And yea, we really could use an up to date and in depth VPX wiki of a lot of things


If you feel the need to empty your wallet in my direction, i don't have any way to receive it anyways

Spend it on Hookers and Blow


#17 wrd1972

wrd1972

    Authoring Padawan

  • Platinum Supporter
  • 2,265 posts
  • Location:Central KY. USA

  • Flag: United States of America

  • Favorite Pinball: Funhouse

Posted 04 November 2020 - 01:15 AM

I would like a newer more thorough explanation on difficulty too.

My VP Pincab /MAME Arcade  Specs: Dell T3400 workstation with Core2 Quad core 3.0GHZ (Q9650) CPU - 8GB of RAM - Nvidia  GTX 970

40" PF Sony gaming LED TV, Dual 21" Dell monitors in the backbox - Pinscape dual boards - Full DOF - Full MAME arcade support.


#18 Mitchell

Mitchell

    Pinball Fan

  • VIP
  • 1,434 posts

  • Flag: United States of America

  • Favorite Pinball: Many

Posted 04 November 2020 - 02:17 AM

I think the reason why the ball shape like a egg because of the backdrop options isn't right. Have nothing to do with the ball itself. Whole table with the ball is doing that. My old VP tables from 2012 isn't set up right for my new computer and screen. lol

 

But on this new table the screen and VP settings good for my screen. More rounded ball. Screenshot

 

You will have to change the settings on the backdrop screen to fix that issue.

Attached Files


Edited by Mitchell, 04 November 2020 - 02:21 AM.

W11 Home 64-bit + Nobara OS / AMD Radeon RX 5700 XT / AMD Ryzen 7 3700X 8-Core 3.59 GHz / RAM 64 GB


#19 wrd1972

wrd1972

    Authoring Padawan

  • Platinum Supporter
  • 2,265 posts
  • Location:Central KY. USA

  • Flag: United States of America

  • Favorite Pinball: Funhouse

Posted 04 November 2020 - 09:43 PM

As the layback is increased usually above 60, the ball starts getting progressively more egg-shaped. The backdrop settings I prefer that give me the best looking to scale playfield results in me having egg-ball. I then remove the egg-ball by tweaking the aspect-ratio offset in the video/graphics options settings. Ideally it would be best if the ball could maintain a perfectly round shape and not be affected by layback.


My VP Pincab /MAME Arcade  Specs: Dell T3400 workstation with Core2 Quad core 3.0GHZ (Q9650) CPU - 8GB of RAM - Nvidia  GTX 970

40" PF Sony gaming LED TV, Dual 21" Dell monitors in the backbox - Pinscape dual boards - Full DOF - Full MAME arcade support.


#20 Mitchell

Mitchell

    Pinball Fan

  • VIP
  • 1,434 posts

  • Flag: United States of America

  • Favorite Pinball: Many

Posted 04 November 2020 - 11:15 PM

I had to redo the cabinet table. I deleted it without thinking when I was trying to get the VPM work yesterday. lol

 

Anyway I gotten the ball round on the cabinet version. Here is my cabinet settings. I don't use layback at all.

Attached Files


Edited by Mitchell, 04 November 2020 - 11:20 PM.

W11 Home 64-bit + Nobara OS / AMD Radeon RX 5700 XT / AMD Ryzen 7 3700X 8-Core 3.59 GHz / RAM 64 GB