Jump to content



Photo
* * * * * 13 votes

VP with VR headset


  • Please log in to reply
2044 replies to this topic

#1601 Rawd

Rawd

    Pinball Wizard

  • VIP
  • 4,313 posts
  • Location:Edmonton, Canada

  • Flag: Canada

  • Favorite Pinball: Triple Strike



Posted 09 February 2020 - 01:47 AM

Thank you for your help. Hope it doesn't happen on other tables too, but it looks good as 50% of all VR tables already work.

 

I guess something stops the "Table_Init" sub to reach that line of code. There is a "break" conditions in that sub in line 284 for example (If Err Exit Sub). Could there be a reason why there is an error condition at that line?

No problem.

 

Yeah, there is something else wrong, but I don't know what it is.   This is just a bandaid fix.   Maybe try posting in the original table authors release post.   They will probably have a better idea.



 


#1602 gnadenlos

gnadenlos

    Hobbyist

  • Members
  • PipPip
  • 12 posts

  • Flag: Germany

  • Favorite Pinball: Attack from Mars + Star Trek (Stern) + Lord of the Rings

Posted 09 February 2020 - 02:34 AM

Some additional info:

 

I thought something stops the "Table_Init" sub to reach that line of code. There is a "break" condition in line 284 for example (If Err Exit Sub). So I tried  to check for it with some MsgBox commands (MsgBox "line x reached") and it reached the end of the "Table_Init" sub.

 

So I renamed the nvram file and tested it again and the error was back even with the changed code (moved line 349->361). After that I replaced the table with an unmodified copy and replaced the nvram with the working one, and everything was ok again. So now the table works without any changes in the code.

 

Now I assumed that the problem is creating a working nvram file only. So I tried the non-vr version of the table with that working nvram file and it shows "pinball missing"... changing the code (349->361) doesn't solve the problem for the non-vr version. Switching back to the VR-version and it still works.

 

Still don't understand why only a few people have that kind of problems with some tables and don't know why the vr version works now, but only with the existing nvram file while the non-vr version still doesn't work even if I use the same nvram file and the changed script. 

 

Does someone know what settings VPX saves per table that could cause such a problem that only exists when you first play a new table and won't happen again, after you succeeded in running the table once?


Edited by gnadenlos, 09 February 2020 - 02:39 AM.


#1603 Rawd

Rawd

    Pinball Wizard

  • VIP
  • 4,313 posts
  • Location:Edmonton, Canada

  • Flag: Canada

  • Favorite Pinball: Triple Strike



Posted 09 February 2020 - 02:41 AM

Hey everyone...

 

This thread has now been moved to the general VPVR discussion area of the newly created VPVR subforums.   That should keep things a bit better organized.  Thanks Noah!

 

https://www.vpforums...p?showforum=110

 

(this thread is still open, just moved.   Thank you Slydog43 for starting us off 2.5 years ago.)


Edited by Rawd, 09 February 2020 - 03:08 AM.


 


#1604 Rawd

Rawd

    Pinball Wizard

  • VIP
  • 4,313 posts
  • Location:Edmonton, Canada

  • Flag: Canada

  • Favorite Pinball: Triple Strike



Posted 09 February 2020 - 04:40 AM


Does someone know what settings VPX saves per table that could cause such a problem that only exists when you first play a new table and won't happen again, after you succeeded in running the table once?

Ok, I apologize if I confused you with the code change, but I guess that's not it.    I have no idea what could be causing this.



 


#1605 magnasaver

magnasaver

    Hobbyist

  • Members
  • PipPip
  • 11 posts

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

  • Favorite Pinball: Black Knight

Posted 09 February 2020 - 08:13 AM

I also had the missing balls problem but with Twilight Zone and Judge Dredd. I managed, however, somehow to get around this by messing around. In was changing the ROM or deleting the NVRAM and trying different versions of the table. Restarted it several times. So in the end it worked, but I did not find out what actually was the reason for it... Bride of Pinbot worked for me from the beginning...



#1606 drpinballdoc

drpinballdoc

    Hobbyist

  • Members
  • PipPip
  • 13 posts

  • Flag: Netherlands

  • Favorite Pinball: Twilight Zone

Posted 09 February 2020 - 10:24 AM

Some more fun stuff..   Animated coin drop and start button (lol).   I also made it so the magnasave buttons toggle the entire VR room on and off.

 

Awesome work man, looking back from being glad we could play a table in VR, to what you're doing now...o man the future looks bright! any chance you could make some tutorials about how we can add features like the lighting(probably not that hard) and coin drop etc.? anywayz Keep it up man...i also like the idea of being able to switch the room on and off, does it make a difference in performance? since it does all get loaded anyway, or is it more that vpx just doesn't have to calculate more stuff?


@Caligula  DUDE! Look what you stirred up, in a few months there is now an active VR community growing rapidly, with people sawing their full cabs in half(me!) and taking the VR route! People are making VR Rooms, with more and more features! Man, you did goooooooood! keep it up!



#1607 Rawd

Rawd

    Pinball Wizard

  • VIP
  • 4,313 posts
  • Location:Edmonton, Canada

  • Flag: Canada

  • Favorite Pinball: Triple Strike



Posted 09 February 2020 - 10:27 AM

Awesome work man, looking back from being glad we could play a table in VR, to what you're doing now...o man the future looks bright! any chance you could make some tutorials about how we can add features like the lighting(probably not that hard) and coin drop etc.? anywayz Keep it up man...i also like the idea of being able to switch the room on and off, does it make a difference in performance? since it does all get loaded anyway, or is it more that vpx just doesn't have to calculate more stuff?

 

Thanks.   When I am done with AFM, I will maybe look at making a tutorial, or a tutorial room.

 

Performance -  To be honest, I don't really notice any difference in performance with added objects to the room.  Whether it be through turning them off with the script, or having them deleted from the room completely, the table always seems to run the same for me (good or bad).   I added the toggle script for 2 reasons..  1. Possible performance increase (I am also turning off my animation coding and timers with the room toggle)  2. For people who don't want to see all the extra stuff.


Edited by Rawd, 09 February 2020 - 10:28 AM.


 


#1608 dbknightx

dbknightx

    Hobbyist

  • Members
  • PipPip
  • 26 posts

  • Flag: United States of America

  • Favorite Pinball: Lord of the Rings

Posted 09 February 2020 - 02:11 PM

Rawd,

 

I love all the extra stuff you add to your rooms so I don’t plan on turning anything off, but one suggestion is to keep the wall behind the machine and the floor below it still enabled when you switch everything off.  Having a black background, which is akin to just loading a non-VR VPX table, is rather taxing on the eyes.  High contrast and god rays on many headsets.  These two elements should have negligible performance impact and will provide big visual benefit.

 

Just my 2 cents.  Thanks again for all you do and your attention to detail.  Can’t wait for AFM!



#1609 gnadenlos

gnadenlos

    Hobbyist

  • Members
  • PipPip
  • 12 posts

  • Flag: Germany

  • Favorite Pinball: Attack from Mars + Star Trek (Stern) + Lord of the Rings

Posted 09 February 2020 - 02:28 PM

I also had the missing balls problem but with Twilight Zone and Judge Dredd. I managed, however, somehow to get around this by messing around. In was changing the ROM or deleting the NVRAM and trying different versions of the table. Restarted it several times. So in the end it worked, but I did not find out what actually was the reason for it... Bride of Pinbot worked for me from the beginning...

 

I found some other people with similar problems using the search function: 

 

https://www.vpforums...showtopic=36913

https://www.vpforums...ile=12435&st=20

https://www.vpforums...showtopic=43349

 

Sometimes it's a problem with the coin door and sometimes with "pinball missing" and in a lot of cases it fixes itself by restarting and replacing nvram, table file and scripts many times. I doubt the problem really is caused by those files, because in my case even reinstalling VPX, VPXVR, scripts and ROMs from different sources didn't help. nvram seams to be involved (because I have two nvram files now - one that works and one with the problem), but simply deleting nvram doesn't solve the problem - it's more like a random timing thing, that has to happen to get over the initialization of a new table - don't know if VPinMAME or VPX is the cause of the problem. After the problem is fixed and a working nvram file has been created for the table it's gone for good. Still that working nvram file doesn't fix the problem for the non-VR version of the table in my case.

 

As the same people often have problems with multiple tables somehow the hardware/software setup seams to affect it. In my case for example I get "pinball missing" a lot (30-50%) when trying new tables - most of the time two restarts are enough to fix it (first start: DMD shows "factory reset" / second start: DMS shows pinball missing / third start: it works), sometimes (5-10%) I have to spend 5-10 minutes of F3 and full restarts, but if you are unlucky something like my BOP problem happens and you need days/hours until the initialization succeeds somehow and the problem is gone. Some tables seam to be more prone to the problem - BOP gave me problems in both versions (VR and non-VR) for example.

 

So I guess it's a bug in VPX / VPinMAME. Maybe it's a timing problem during initialization that only effects certain systems. So here is my system for future reference: i9-9900k, nVidia 2080, 32GB, fully updated Windows 10 Pro, fresh install of VPX / VR and latest VPX Beta (happend before installing the beta version), main monitor: 1080x1920x120, second monitor: 2560x1440x144


Edited by gnadenlos, 09 February 2020 - 03:34 PM.


#1610 gear323

gear323

    VPXVR is awesome.

  • Members
  • PipPipPip
  • 324 posts
  • Location:New Jersey

  • Flag: United States of America

  • Favorite Pinball: All

Posted 09 February 2020 - 04:31 PM

For what is worth. I have ALWAYS had this issue with The Addams Family VR Room. If I launch VPX VR and then load the table I will always get pinball missing. If i then press Q twice and exit it and start the table again without exciting the table from the editor it then works pretty much 100% of the time.

One thing to try is under Pinmame F1 options check or uncheck skip startup tests or ignore errors. My thought is that this happens more often if you have skip startup tests checked in Pinmame. (Launch table and press F1 to see these options)

One thing I have always done also is load all new tables (tables I have no NVRAM for) in standard VPX and then press F3 to restart the table after the initial initialization. Verify table plays in standard VPX and then play in VPX VR.

The F3 PinMame reset does not always work for me in VPX VR and sometimes will just hang the table and not create the NVRAM.

Like mentioned above, to me this issue seems like a timing issue based on the speed of your hardware.

Edited by gear323, 09 February 2020 - 04:44 PM.


#1611 rothbauerw

rothbauerw

    Enthusiast

  • Members
  • PipPipPip
  • 345 posts
  • Location:Wisconsin - USA

  • Flag: United States of America

  • Favorite Pinball: Dr Who, Tee'd Off, Jive Time

Posted 09 February 2020 - 08:36 PM

Rawd,
 
I love all the extra stuff you add to your rooms so I don’t plan on turning anything off, but one suggestion is to keep the wall behind the machine and the floor below it still enabled when you switch everything off.  Having a black background, which is akin to just loading a non-VR VPX table, is rather taxing on the eyes.  High contrast and god rays on many headsets.  These two elements should have negligible performance impact and will provide big visual benefit.
 
Just my 2 cents.  Thanks again for all you do and your attention to detail.  Can’t wait for AFM!


I actually see performance drop the most when adding the back wall and floor. I don't know why, but there is a significant decrease in fps on my system.

#1612 rothbauerw

rothbauerw

    Enthusiast

  • Members
  • PipPipPip
  • 345 posts
  • Location:Wisconsin - USA

  • Flag: United States of America

  • Favorite Pinball: Dr Who, Tee'd Off, Jive Time

Posted 09 February 2020 - 09:03 PM

WOW!  So I just implemented code to shut down the back wall and floor on the new Twilight Zone VR table.  What a difference!  Even with cabinet still in place, all my stutter on max settings went away.  I'm going to update my download over at vpinball for other to try.



#1613 Ben Logan

Ben Logan

    Pinball Wizard

  • Members
  • PipPipPipPipPip
  • 2,275 posts
  • Location:California

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

  • Favorite Pinball: System 11

Posted 12 February 2020 - 05:43 PM

Good Morning Guys,

On a few VPVR tables I hear a "raking noise" when I depress flippers. It seems as if the flipper sound is being triggered maybe five times in a row, in rapid succession. Kind of a "mini-buzzsaw" effect. Anyone else experiencing this? Is there a fix? I tried importing different flipper sounds. No luck. It only happens on a few tables. Strange!

#1614 gear323

gear323

    VPXVR is awesome.

  • Members
  • PipPipPip
  • 324 posts
  • Location:New Jersey

  • Flag: United States of America

  • Favorite Pinball: All

Posted 12 February 2020 - 06:23 PM

Good Morning Guys,

On a few VPVR tables I hear a "raking noise" when I depress flippers. It seems as if the flipper sound is being triggered maybe five times in a row, in rapid succession. Kind of a "mini-buzzsaw" effect. Anyone else experiencing this? Is there a fix? I tried importing different flipper sounds. No luck. It only happens on a few tables. Strange!

I have not seen that. I have dual contact leaf switches in my cabinets and I enable dual stage control of both upper and lower flippers on tables that have them. On those tables if I press the flipper button slowly I will hear the bottom flipper first and then again her the upper flipper fire as expected. If I press the button quickly I hear both the upper and lower flipper sound slightly offset pretty much as expected and I would only hear the flipper sound twice (overlapping)

Does this issue you have only happen on tables that have more than two flippers or only with a flipper button on a table that controls both and upper and lower flipper?


Edited by gear323, 12 February 2020 - 10:03 PM.


#1615 Ben Logan

Ben Logan

    Pinball Wizard

  • Members
  • PipPipPipPipPip
  • 2,275 posts
  • Location:California

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

  • Favorite Pinball: System 11

Posted 12 February 2020 - 06:27 PM

Great question. Happens on Black Rose with both left (single) and right (dual) flippers, for example. It’s more than just a two-flip in quick succession sound. It’s a “grrrrrrrrrrrrrrrrrrnt” sound that lasts about half a second.

#1616 gear323

gear323

    VPXVR is awesome.

  • Members
  • PipPipPip
  • 324 posts
  • Location:New Jersey

  • Flag: United States of America

  • Favorite Pinball: All

Posted 12 February 2020 - 10:12 PM

I'm going to assume here you are using the VR Room version of the table.  If so, my suggestion is to download the non VR table and see if you also have the issue there.   If you have the issue there then you can post your issue on their release topic and or you can also post the issue on the regular NON VR forms which get a lot more visibility at this point since VR is only used by a small percentage of the users at this early stage. 

 

Let us know how that test goes!  I am not able to reproduce it ...

https://vpinball.com...ose-bally-1992/

 

EDIT**  I did check the support topic on this release to see if anyone else mentioned this issue and didn't find anything.  Saw a few posts from you though so it seems you have downloaded this exact one before in 2018  :)

 

Edit2**  Even if you are using some other controls, I would think most likely pressing left shift and right shift on your keyboard will still operate the flippers.  If so, does it still have the issue if your use your keyboard rather than your controller? 


Edited by gear323, 12 February 2020 - 10:23 PM.


#1617 Ben Logan

Ben Logan

    Pinball Wizard

  • Members
  • PipPipPipPipPip
  • 2,275 posts
  • Location:California

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

  • Favorite Pinball: System 11

Posted 12 February 2020 - 10:43 PM

Thanks for the reply, gear. Yes — shift keys on QWERTY keyboard exhibit same behavior. I should have mentioned that. I’ll figure it out and report back. Sounds like it’s specific to my machine.

#1618 Ben Logan

Ben Logan

    Pinball Wizard

  • Members
  • PipPipPipPipPip
  • 2,275 posts
  • Location:California

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

  • Favorite Pinball: System 11

Posted 13 February 2020 - 02:46 AM

gear323, thanks for your patience with me here. I re-installed the driver for my Audient ID14 usb soundcard, and guess what? No more "double flip sound" problems. Embarrassing!. Had nothing to do with VPVR...



#1619 ringorian

ringorian

    Enthusiast

  • Members
  • PipPipPip
  • 199 posts

  • Flag: Germany

  • Favorite Pinball: road show

Posted 13 February 2020 - 11:40 AM

WOW!  So I just implemented code to shut down the back wall and floor on the new Twilight Zone VR table.  What a difference!  Even with cabinet still in place, all my stutter on max settings went away.  I'm going to update my download over at vpinball for other to try.

Nice ! Did you ever update the Download ? Or did you pull the one, cause i can´t find it ? 



#1620 blindpeser

blindpeser

    Enthusiast

  • Members
  • PipPipPip
  • 421 posts

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

  • Favorite Pinball: WCS94

Posted 13 February 2020 - 02:20 PM

https://www.vpforums...651#entry443180