Please use the updated info/threads for the new version of PinUp Player v1.2 at vpinball.com
This thread is for older versions... thanks.
Greetings...
I've written a VPX addon called "PinUp Player". It's purpose is for adding easy support for Topper videos(and more) interactively during VPX gameplay. For example, play a short-clip video when you hit a target.
Its an activex(com object) that can be easily called directly within VPX script.
install is just a simple EXE that you run and configure where to display your topper videos(it uses VLC player as media driver).
There are now two options in using the PinUp Player with your tables. You can choose to use the B2S plug-in interface that allows you to react to events/triggers via B2S (so no modifying VPX script at all). It is easy to get up and running using this method.
If you want complete control or are using a non-rom based table then you can use the direct VPX script method....this is a more advanced and 'expert' method that will give you more control of exactly how videos will be displayed.
Watch this youtube video to get an idea on installing and how to start with the PUPB2S inteface:
Here's a sample of how it works within script VPX:
'************************** ' PinUp Player Config ' Change HasPuP = True if using PinUp Player Videos '************************** Const HasPuP = True if HasPuP Then Dim PuPlayer Const pTopper = 0 Set PuPlayer = CreateObject("PinUpPlayer.PinDisplay") PuPlayer.Init pTopper,"mySample" PuPlayer.playlistadd pTopper,"Toppers", 1 , 5 '5 second rest is demo only, should be 30-60 PuPlayer.playlistadd pTopper,"TopperBack", 1 , 5 PuPlayer.playlistadd pTopper,"winning", 1 , 5 'SetBackground PuPlayer.playlistplay pTopper,"TopperBack" 'random file from topperback playlist/folder PuPlayer.setbackground pTopper, 1 'make current video background End if
if HasPuP Then PuPlayer.playlistplay pTopper,"toppers" .. .. if HasPuP Then PuPlayer.playlistplay pTopper,"winning" .. ..
PinUP Player (PUP) will play the next media file in the playlist...and take note of restSeconds within each different playlist.
You also can call directly a more 'controlled' play like this:
if HasPuP Then PuPlayer.playlistplayex pTopper,"ramps","avatar.mp4",100,1
playlistplayex (<screen#>,<playlistname>, <filename>, <volume>, <priority>)
force will override the restSeconds....so for a drain or something similar
also PUP will expose lots of media methods: .stop, resume, volume...etc
what's nice about this way. Lets say for my Football ("soccer") table I can just copy 10 new video files into "football/goals" sub-folder and without changing any scripts/vpx the videos will be auto-added to the playlist for goals!
...soon we'll need tables to support DOF, PMD, and PUP (am I missing any more?)
************************ PinUp Player is now released!!! BETA is now open to everyone!!!! ************************************
Latest Beta Files are here: (Remember you need to install VLC 32-BIT media player prior to using PinUP Player.
www.nailbuster.com/nailcode/PinUPPlayer_latest_BETA.zip
If you want to learn/see an example of how to work with VPX script/PUPlayer directly download the sample project here...
DOFLinx has also added support for PinUP Player to work with FuturePinball and Pinball FX2 (info/docs will be released shortly).
Thanks to all the testers....and especially TerryRed aka "the Tron-Man Tester". He has helped with the troubleshooting (aka told me to add sh*t load of new features
Remember it's still beta...so there 'may' be some minor(?) issues....
*** For all troubleshooting issues please use this thread: http://www.vpforums....showtopic=39100
** Note: For some(all?) Windows 7 users, if you have playback issues see the first post in troubleshoot thread for workaround *****
Let the games begin..... picture fog-machine/lasers and loud speakers playing "video killed the radio star"....
bye for now...David
Edited by NailBuster, 14 January 2018 - 03:43 PM.