Jump to content



Photo
* * * * * 40 votes

The VP 10.7 beta thread


  • Please log in to reply
4027 replies to this topic

#1861 chepas

chepas

    t.me/horsepin

  • Members
  • PipPipPipPip
  • 1,966 posts

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

  • Favorite Pinball: BSD, Tr0n, SW:Stern

Posted 09 May 2021 - 10:51 AM



 



 



 


To do this do the following in the script:
flasher.VideoCapWidth=500
flasher.VideoCapHeight=500
 
Sub flasher_Timer()
   flasher.VideoCapUpdate(<name of the window title you like to capture>)
End Sub
 
The name of the window title must be a 100% match otherwise it won't work.

 

Can you do an example with Notepad?

 

The instructions are clear enough but something not right or missing.

 

- Script DMD?

- VideoCapUpdate method isn't available for a flasher, .169 from github

 

Your right sorry...I made a mistake so here is the correct "way" to do it:

1. make sure flasher.VideoCapWidth/VideoCapHeight is set before starting the timer that calls VideoCapUpdate

2. the call for VideoCapUpdate must be: flasher.VideoCapUpdate = "<exact name of the window time to capture from>"

 

At the moment there isn't any error window popping up when you made mistake e.g. define a wrong window title. I'm not sure if we should add this because this feature is mainly for PUP at the moment.

And don't forget this feature is a hack. I'm not 100% if future Windows updates will break this. You should ask Nailbuster for more details how to use it.

 

 

Yeah understand. Just wanted to test it.

 

image.png


Bump maps are the new auto-tune :BDH:
VPX - RSS Updates ---- blog.flippingflips.xyz/en/ -- Visual Pinball No.1 (2021) . Est.2000


#1862 wiesshund

wiesshund

    VPF Legend

  • Members
  • PipPipPipPipPipPipPip
  • 11,859 posts

  • Flag: United States of America

  • Favorite Pinball: How many can i have?

Posted 09 May 2021 - 11:03 AM

 

 

To do this do the following in the script:
flasher.VideoCapWidth=500
flasher.VideoCapHeight=500
 
Sub flasher_Timer()
   flasher.VideoCapUpdate(<name of the window title you like to capture>)
End Sub
 
The name of the window title must be a 100% match otherwise it won't work.

 

Can you do an example with Notepad?

 

The instructions are clear enough but something not right or missing.

 

- Script DMD?

- VideoCapUpdate method isn't available for a flasher, .169 from github

 

 

Did not work here either

I made a timer named flash

 

I made a flasher named display

 

display.VideoCapWidth=500
display.VideoCapHeight=500
Sub flash_Timer()
   display.VideoCapUpdate("windows media player")
End Sub

Result was

OQrvGzA.png


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


#1863 fuzzel

fuzzel

    spaghetti code

  • VP Dev Team
  • PipPipPipPipPip
  • 2,818 posts

  • Flag: Germany

  • Favorite Pinball: yes I have

Posted 09 May 2021 - 06:03 PM

Don't use () when calling VideoCapUpdate but instead use flasher.VideoCapUpdate="....."

#1864 wiesshund

wiesshund

    VPF Legend

  • Members
  • PipPipPipPipPipPipPip
  • 11,859 posts

  • Flag: United States of America

  • Favorite Pinball: How many can i have?

Posted 09 May 2021 - 07:17 PM

Don't use () when calling VideoCapUpdate but instead use flasher.VideoCapUpdate="....."

 

different from your useage example but ok that got rid of the error, but still does not seem to work?

 

flasher switches from green to black but that is all

PS C:\Users\wiess> (Get-Process -id 7840 -ErrorAction SilentlyContinue).MainWindowTitle
Windows Media Player
PS C:\Users\wiess>

And the window title is spot on

 

display.VideoCapWidth=500
display.VideoCapHeight=500
Sub flash_Timer()
   display.VideoCapUpdate="Windows Media Player"
End Sub

I tried running the timer at -1 , at 10 , at 100

 

Is something else needed?

 
 
[EDIT]
Either this does not like windows media player
Or
Windows Media Player masks the actual window name or something
 
It works with MPC-HC (x64), it renames the window to the file name being played
 

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


#1865 Uncle Monkey

Uncle Monkey

    Hobbyist

  • Members
  • PipPip
  • 33 posts

  • Flag: United States of America

  • Favorite Pinball: Funhouse

Posted 10 May 2021 - 02:24 AM

I'm idly wondering if there's a way to make the flasher semi-transparent. Sort of like a Revenge from Mars style video effect

#1866 NailBuster

NailBuster

    Enthusiast

  • Members
  • PipPipPip
  • 300 posts

  • Flag: Canada

  • Favorite Pinball: YES

Posted 10 May 2021 - 03:26 AM

Here's a sample of screengrab-> texture:  it will work if you have pup installed and have avatar puppack for the test (you can change to another pack name in script).

 

https://www.nailbust...ure_Texture.zip

 

not every windowtitle can be grabbed if your media player is using hardware acceleration for example... 

 

I will make a simple table script example..... to show a very basic pupfolder if you just want a single media/player only for table media (no puppack/or pupdmd features).  would need pup player installed though....



#1867 wiesshund

wiesshund

    VPF Legend

  • Members
  • PipPipPipPipPipPipPip
  • 11,859 posts

  • Flag: United States of America

  • Favorite Pinball: How many can i have?

Posted 10 May 2021 - 03:39 AM

 

 

not every windowtitle can be grabbed if your media player is using hardware acceleration for example... 

 

 

AH, that explains it

WMP is definitely using hardware decoding and acceleration

 

But i found there is a LOT of stuff it can capture

 

Ever want to play pinball but need to keep an eye on the baby too?

That's right, Baby watcher, right there in the table

 

Netflix worked surprisingly

 

A lot of other mundane things worked

 

Discord worked and MS teams

so i guess you could attend that meeting, while busy trying to get a high score in attack from mars

plus you get to roll the ball over all those faces you didnt wanna see anyways


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


#1868 ryesteve

ryesteve

    Enthusiast

  • Members
  • PipPipPip
  • 168 posts

  • Flag: United States of America

  • Favorite Pinball: Attack From Mars

Posted 10 May 2021 - 01:08 PM

 

FYI, the latest build is still giving me the sporadic "Could not create sound buffer for load" pop-up when loading first table.  Is there any workaround for this?

Is this with all tables? Can you please show your sound/audio settings?

 

 

Yes, potentially it seems it can happen with any table, but It's not a reproducible problem.  I've tested and maybe it'll only happen about half the time.  But it only ever happens on the first table I try to load after launching.  

 

screenshot2021-05-10090304.png



#1869 ffarges

ffarges

    Neophyte

  • Members
  • Pip
  • 8 posts

  • Flag: France

  • Favorite Pinball: adam's familly

Posted 11 May 2021 - 06:36 AM

hi team,

 

I used to be on 10.6 and I installed 10.7 few weeks ago - on every table it crashes at exit (Play --> Quit to Editor --> then it crashes and closes VPX). I did a bit of troubleshooting reading in various posts (exclusive is unchecked) and my setup looks ok - it is working perfectly with 10.6. I know I had the similar issues several months ago with an early build of 10.7 already- on 10.6 I never had issues to report.

VPinmame 3.4

DMDext 1.8

B2SBackglassServer 1.0

VPX 10.7 (rev 169)

 

any idea would be greatly appreciated!

Fred



#1870 lukpcn

lukpcn

    Enthusiast

  • Members
  • PipPipPip
  • 249 posts

  • Flag: Poland

  • Favorite Pinball: I love all !!! :)

  • PS3 Gamer Tag: N/A
  • 360 Gamer Tag: N/A

Posted 11 May 2021 - 06:43 AM

hi team,

 

I used to be on 10.6 and I installed 10.7 few weeks ago - on every table it crashes at exit (Play --> Quit to Editor --> then it crashes and closes VPX). I did a bit of troubleshooting reading in various posts (exclusive is unchecked) and my setup looks ok - it is working perfectly with 10.6. I know I had the similar issues several months ago with an early build of 10.7 already- on 10.6 I never had issues to report.

VPinmame 3.4

DMDext 1.8

B2SBackglassServer 1.0

VPX 10.7 (rev 169)

 

any idea would be greatly appreciated!

Fred

Get the latest beta build


Regards

Luk

My Pinball Youtube Channel: https://www.youtube....lPinballFanatic


#1871 wiesshund

wiesshund

    VPF Legend

  • Members
  • PipPipPipPipPipPipPip
  • 11,859 posts

  • Flag: United States of America

  • Favorite Pinball: How many can i have?

Posted 11 May 2021 - 07:56 AM

hi team,

 

I used to be on 10.6 and I installed 10.7 few weeks ago - on every table it crashes at exit (Play --> Quit to Editor --> then it crashes and closes VPX). I did a bit of troubleshooting reading in various posts (exclusive is unchecked) and my setup looks ok - it is working perfectly with 10.6. I know I had the similar issues several months ago with an early build of 10.7 already- on 10.6 I never had issues to report.

VPinmame 3.4

DMDext 1.8

B2SBackglassServer 1.0

VPX 10.7 (rev 169)

 

any idea would be greatly appreciated!

Fred

 

you sure on the B2S part?

i think that should be version 2.3.1 ?


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


#1872 ffarges

ffarges

    Neophyte

  • Members
  • Pip
  • 8 posts

  • Flag: France

  • Favorite Pinball: adam's familly

Posted 11 May 2021 - 06:43 PM

B2SServer is the no-fuzzy logic from nailbuster. I just downloaded the 1.3.0.4 on Github and that's the same issue. Again on VPX 10.6 I never got any issues.



#1873 wiesshund

wiesshund

    VPF Legend

  • Members
  • PipPipPipPipPipPipPip
  • 11,859 posts

  • Flag: United States of America

  • Favorite Pinball: How many can i have?

Posted 11 May 2021 - 08:09 PM

B2SServer is the no-fuzzy logic from nailbuster. I just downloaded the 1.3.0.4 on Github and that's the same issue. Again on VPX 10.6 I never got any issues.

does it leave any crash logs you could post?


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


#1874 Mrtr32

Mrtr32

    Enthusiast

  • Members
  • PipPipPip
  • 251 posts

  • Flag: Canada

  • Favorite Pinball: Funhouse

Posted 11 May 2021 - 08:44 PM

@ffarges

 

Look into your DMDdevice.ini file in C:\Visual Pinball\VPinMAME dir

 

 

; virtual dmd stays on top of all other windows
stayontop = false

 

On my setup, the stayontop must be at false to solve exit crash issue


Edited by Mrtr32, 11 May 2021 - 09:51 PM.


#1875 ffarges

ffarges

    Neophyte

  • Members
  • Pip
  • 8 posts

  • Flag: France

  • Favorite Pinball: adam's familly

Posted 12 May 2021 - 08:56 AM

@mrtr32 - thanks for the idea. I just tried and It didn't make a change in my case.

 

@wiesshund -

below the crash log and the crash.dmp (7z zipped)

https://pastebin.com/9fX9jwyX

https://filebin.redp...6upv0vk45be03c1



#1876 Pin-Pete

Pin-Pete

    Pinball Fan

  • Members
  • PipPipPipPip
  • 979 posts
  • Location:Vantaa,Korso (20 km north from Helsinki)

  • Flag: Finland

  • Favorite Pinball: Pin*Bot,Cyclone

Posted 13 May 2021 - 08:51 PM

Latest rev of VPX won't start. Help please!


Greetings:Petri


#1877 Outhere

Outhere

    Pinball Wizard

  • Platinum Supporter
  • 4,806 posts

  • Flag: United States of America

  • Favorite Pinball: M M

Posted 13 May 2021 - 09:08 PM

Latest rev of VPX won't start. Help please!

Did you try re downloading Because it worked fine for me



#1878 Pin-Pete

Pin-Pete

    Pinball Fan

  • Members
  • PipPipPipPip
  • 979 posts
  • Location:Vantaa,Korso (20 km north from Helsinki)

  • Flag: Finland

  • Favorite Pinball: Pin*Bot,Cyclone

Posted 13 May 2021 - 09:13 PM

 

Latest rev of VPX won't start. Help please!

Did you try re downloading Because it worked fine for me

Yes I did, but nothing happens.


Greetings:Petri


#1879 nestorgian

nestorgian

    Enthusiast

  • Members
  • PipPipPip
  • 75 posts
  • Location:Cordoba, Argentina

  • Flag: Argentina

  • Favorite Pinball: I always discover a new one

Posted 13 May 2021 - 10:19 PM

 

 

Latest rev of VPX won't start. Help please!

Did you try re downloading Because it worked fine for me

Yes I did, but nothing happens.

 
Install 10.6 and then overwrite with 10.7 should work.
Run vpinmame setup and make sure the paths are correct
especially if you don't have it installed on disk c:
 
Although I'm not the most expert here, maybe I'll help you


#1880 zekill

zekill

    Neophyte

  • Members
  • Pip
  • 3 posts

  • Flag: France

  • Favorite Pinball: Attack From Mars

Posted 14 May 2021 - 10:19 AM

Hi guys, i don't sure if it's know :

Mata Hari or AFM 3.02 JPsalas ( perhaps others ) in cabinet mode.

F6, change lights or camera setup, save table -> bumpers and slingshots are now inactive.