Jump to content



Photo
* * * * * 1 votes

True Full screen in VP 10.1 loses focus - requires Alt-tab


  • Please log in to reply
373 replies to this topic

#161 Carny_Priest

Carny_Priest

    Pinball Fan

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

  • Flag: United States of America

  • Favorite Pinball: EATPM

Posted 15 August 2016 - 05:01 AM

Yeah, hard decisions, right? Well, maybe freezy can provide a solution in the course of time. If you have to run a custom solution and you have to have secondary in-game videos, it is doable in a AutoHotkey script.


Sent from my iPad using Tapatalk

#162 TerryRed

TerryRed

    Pinball Fan

  • Silver Supporter
  • 1,960 posts

  • Flag: Canada

  • Favorite Pinball: Too many to choose...

Contributor

Posted 15 August 2016 - 05:05 AM

Yeah, hard decisions, right? Well, maybe freezy can provide a solution in the course of time. If you have to run a custom solution and you have to have secondary in-game videos, it is doable in a AutoHotkey script.


Sent from my iPad using Tapatalk

 

I don't "need" secondary in-game videos for VP....that was more for PBX.  It all looks the same in the end for now when VPX tables are launched.... I still have the marquees...just at almost half the resolution.



#163 Umpa

Umpa

    Pinball Fan

  • Members
  • PipPipPipPip
  • 740 posts

  • Flag: United States of America

  • Favorite Pinball: AC/DC

Posted 17 August 2016 - 09:41 PM

I have 3 screen setup and hate the look of the black bars around the dmd with ddraw 0. Is it possible to change my resolution on my dmd monitor so the black bars won't exist? Or any other suggestions?

#164 Carny_Priest

Carny_Priest

    Pinball Fan

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

  • Flag: United States of America

  • Favorite Pinball: EATPM

Posted 17 August 2016 - 10:19 PM

I have 3 screen setup and hate the look of the black bars around the dmd with ddraw 0. Is it possible to change my resolution on my dmd monitor so the black bars won't exist? Or any other suggestions?


Change your resolution? Depends on your card and your display.

#165 TerryRed

TerryRed

    Pinball Fan

  • Silver Supporter
  • 1,960 posts

  • Flag: Canada

  • Favorite Pinball: Too many to choose...

Contributor

Posted 17 August 2016 - 10:19 PM

I have 3 screen setup and hate the look of the black bars around the dmd with ddraw 0. Is it possible to change my resolution on my dmd monitor so the black bars won't exist? Or any other suggestions?

 

Yes, that's what I do. I have Pinball X run a program that changes my middle "DMD" screen to a custom 820x462 resolution whenever a VPX table is launched. This allowed for the DMD to be set to 777x201 in PinMAME which is the maximum you can go with ddraw=0, without any black borders. This equals 768x192 for the actual DMD resolution, which is a perfect multiple of 128x32, which results in a clean DMD with square pixels.

 

 

This is my current workaround, combined with the "delay" feature of VPX 10.2 beta (that toggles VP out of focus and back in focus) in order to allow me to use VPX in exclusive fullscreen. It works great, and I can max out VPX graphics with no ball stutter and it looks and plays great.   For whatever reason though.... I cannot get some B2S files to load up when launched from Pinball X when using exclusive fullscreen.    For those tables I have given up and just use a static backglass image for now...



#166 Umpa

Umpa

    Pinball Fan

  • Members
  • PipPipPipPip
  • 740 posts

  • Flag: United States of America

  • Favorite Pinball: AC/DC

Posted 17 August 2016 - 10:28 PM

I have 3 screen setup and hate the look of the black bars around the dmd with ddraw 0. Is it possible to change my resolution on my dmd monitor so the black bars won't exist? Or any other suggestions?

 
Yes, that's what I do. I have Pinball X run a program that changes my middle "DMD" screen to a custom 820x462 resolution whenever a VPX table is launched. This allowed for the DMD to be set to 777x201 in PinMAME which is the maximum you can go with ddraw=0, without any black borders. This equals 768x192 for the actual DMD resolution, which is a perfect multiple of 128x32, which results in a clean DMD with square pixels.
 
 
This is my current workaround, combined with the "delay" feature of VPX 10.2 beta (that toggles VP out of focus and back in focus) in order to allow me to use VPX in exclusive fullscreen. It works great, and I can max out VPX graphics with no ball stutter and it looks and plays great.   For whatever reason though.... I cannot get some B2S files to load up when launched from Pinball X when using exclusive fullscreen.    For those tables I have given up and just use a static backglass image for now...
Great info thank you!

#167 doogie2301

doogie2301

    Enthusiast

  • Members
  • PipPipPip
  • 97 posts

  • Flag: United States of America

  • Favorite Pinball: Funhouse

Posted 18 August 2016 - 04:34 AM

 

This is my current workaround, combined with the "delay" feature of VPX 10.2 beta (that toggles VP out of focus and back in focus) in order to allow me to use VPX in exclusive fullscreen. It works great, and I can max out VPX graphics with no ball stutter and it looks and plays great.   For whatever reason though.... I cannot get some B2S files to load up when launched from Pinball X when using exclusive fullscreen.    For those tables I have given up and just use a static backglass image for now...

 

 

Are you getting the error that it can't find the B2S file, which is being reported as an empty filename like "\.directb2s"?  I get that on certain tables only when launched from PinballX and using fullscreen, so I gave up on the fullscreen option for now.



#168 TerryRed

TerryRed

    Pinball Fan

  • Silver Supporter
  • 1,960 posts

  • Flag: Canada

  • Favorite Pinball: Too many to choose...

Contributor

Posted 18 August 2016 - 04:43 AM

I don't get any error display or tone of any sort. It simply doesn't load some B2s files from PBX when VPX is in fullscreen.

 

Most B2S files are pretty plain anyway, so a looping video would do fine for a backglass in exchange for exclusive fullscreen.  Its worth having butter smooth gameplay all the time.



#169 doogie2301

doogie2301

    Enthusiast

  • Members
  • PipPipPip
  • 97 posts

  • Flag: United States of America

  • Favorite Pinball: Funhouse

Posted 18 August 2016 - 11:50 AM

Oh OK, maybe you have the "Error message without backglass" option disabled in your B2S server settings so you won't see the actual error.



#170 TerryRed

TerryRed

    Pinball Fan

  • Silver Supporter
  • 1,960 posts

  • Flag: Canada

  • Favorite Pinball: Too many to choose...

Contributor

Posted 18 August 2016 - 12:19 PM

Oh OK, maybe you have the "Error message without backglass" option disabled in your B2S server settings so you won't see the actual error.

 

I'll have to try re-enabling that to see...



#171 TerryRed

TerryRed

    Pinball Fan

  • Silver Supporter
  • 1,960 posts

  • Flag: Canada

  • Favorite Pinball: Too many to choose...

Contributor

Posted 21 August 2016 - 04:35 AM

As I posted in another thread:

 

By running VPX in a "custom" "other system" in PBX instead of the integrated Visual Pinball system, I was now able to get most of my VPX tables to load up their DB2S files, and be able to get the table into focus with the 10.2 "alt-tab" feature for full screen (set to 15 secs).

 

The only tables that didn't load their DB2S was :

 

Monster Bash, Walking Dead, Demolition Man.

 

 

I also tried Atarian's AHK script (without VPX's alt-tab switch) "bring_to_top.ahk".  

 

#SingleInstance force
DetectHiddenWindows, On

WinWaitActive, Form1,,10
WinWaitActive, Visual Pinball Player,,30
WinMaximize, Visual Pinball Player
ExitApp

 

 

Using that script, only these tables didn't load their DB2S (though I'm sure I could have tweaked it):

 

Walking Dead, America's Most Haunted, Demolition Man, Dirty Harry, Judge Dredd, King Pin, Monster Bash, South Park

 

Strange that Monster Bash, Walking Dead, and Demolition Man won't load no matter what (unless VPX is in windowed full screen)

 

It seems PBX's integrated VP handling is causing an issue. I also had to do the same thing with Pinball FX2 (custom system) in order to get dmdext to work with it (also having to use an AHK script).



#172 nFozzy

nFozzy

    Pinball Fan

  • Members
  • PipPipPipPip
  • 553 posts

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

  • Favorite Pinball: Pinbot

Posted 21 August 2016 - 05:05 AM

I don't think those tables have controller.vbs support, so you may have to turn b2s on in the script itself.

 

If that doesn't work you might try updating those tables to use controller.vbs. arngrim has a detailed post describing how to do this here

http://www.vpforums....453#entry329679



#173 arngrim

arngrim

    DJ Force Feedback

  • VIP
  • 2,188 posts
  • Location:Charleroi, Belgium

  • Flag: Belgium

  • Favorite Pinball: Monster bash



Posted 21 August 2016 - 05:12 AM

walking dead not sure, but mb and dm has, but i don't think it makes a difference, i understood he has dof working so the issue is not there



#174 Drybonz

Drybonz

    Really bad at pinball, but having fun.

  • Members
  • PipPipPipPip
  • 1,538 posts

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

  • Favorite Pinball: Theatre of Magic

Posted 21 August 2016 - 05:44 AM

Strange that Monster Bash, Walking Dead, and Demolition Man won't load no matter what (unless VPX is in windowed full screen)

 

The thing that these three tables have in common is that they are very slow to load vs. other tables.  My guess is that in full screen with PBX and the various methods of bringing focus to the PF that you are using, the backglass is actually "loading" but is not in focus, and that if you manually "alt tab" around enough you will see them... or that if they aren't actually "loading" it has to do something with the timing of the methods of bringing the PF to focus.



#175 arngrim

arngrim

    DJ Force Feedback

  • VIP
  • 2,188 posts
  • Location:Charleroi, Belgium

  • Flag: Belgium

  • Favorite Pinball: Monster bash



Posted 21 August 2016 - 06:08 AM

well, on my cab for example, mb is showed first, then comes the backglass, then focus is lost to the playfield and is black until i manually alt tab

#176 TerryRed

TerryRed

    Pinball Fan

  • Silver Supporter
  • 1,960 posts

  • Flag: Canada

  • Favorite Pinball: Too many to choose...

Contributor

Posted 21 August 2016 - 03:41 PM

Every time a table would not show a DB2S backglass after loading from PBX, I always alt-tabbed to make sure that the backglass was not loaded...  and yes DOF was always working in all situations.

 

 

Using the alt-tab of VP 10.2 seems to work really well....I even tried setting it to 30 sec which is more than long enough for any file combination to load.


Edited by TerryRed, 21 August 2016 - 03:45 PM.


#177 Drybonz

Drybonz

    Really bad at pinball, but having fun.

  • Members
  • PipPipPipPip
  • 1,538 posts

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

  • Favorite Pinball: Theatre of Magic

Posted 21 August 2016 - 04:45 PM

The Atarian "bring to front" version works very quickly... so that may be the difference.



#178 gStAv

gStAv

    Pinball Lover

  • Members
  • PipPipPipPip
  • 1,331 posts

  • Flag: Sweden

  • Favorite Pinball: TOM, IJ, AFM, WC94

Posted 29 August 2016 - 12:47 PM

thanks for this new version with the delayed alt+tab function!

I have to +1 on everyone that I can't really go back now :D Splendid work dev team.

 

The tab function doe's not work all the way for me though CAB SPEC.

I can see it tab but it only goes to the form1-window and back to the B2S and missing the visual pinball-window which I can tab to manually :(

 

Would be great to select how many tap-presses it would go or to have the focus set to vp named window. Guess it is this way though and my computer sux ass in one way or another *lol*

 

Cheers!


3rs054-6.png


#179 osujd

osujd

    Enthusiast

  • Silver Supporter
  • 74 posts

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

  • Favorite Pinball: TAF

Posted 02 September 2016 - 07:08 PM

I was able to get true full screen working with all of the suggestions in this thread.  This may be my millennial issue but adding the AHK scripts seems to have added a huge delay in loading tables.  Has anyone played with the script to decrease the delay?



#180 osujd

osujd

    Enthusiast

  • Silver Supporter
  • 74 posts

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

  • Favorite Pinball: TAF

Posted 03 September 2016 - 03:54 PM

So I ran a little test:

 

If I load tommy with True Fullscreen with Pinballx with Aatarian's.ahk file I get a 57 second load time

W/O True Full with Pinball X it is 7 Seconds

This is one of the few tables I can run w/o Aatarians.ahk file and Pinball x and I get a 20 second load time

With True FullScreen and W/o Pinball X it is a 12 second load

 

Any Thoughts.

 

I have attached my .ahk

 

Josh


Edited by osujd, 03 September 2016 - 03:56 PM.