Roadblock Posted September 22, 2021 Share Posted September 22, 2021 How do you get Pinball Y or X to show Loading Videos on a per table basis? Link to comment Share on other sites More sharing options...
scutters Posted September 22, 2021 Share Posted September 22, 2021 Use this plugin for PinballX; https://forums.gameex.com/forums/topic/23127-plugin-pinballx-loading-video-image-changer-de-randomiser-v2/ Drop me a post in that thread if you have any problems. Link to comment Share on other sites More sharing options...
Roadblock Posted September 23, 2021 Author Share Posted September 23, 2021 Thanks Scutters that works like a charm in Pinball X. Now how do I make it work in Pinball Y ? Link to comment Share on other sites More sharing options...
scutters Posted September 28, 2021 Share Posted September 28, 2021 On 9/24/2021 at 12:40 AM, Roadblock said: Thanks Scutters that works like a charm in Pinball X. Now how do I make it work in Pinball Y ? Sorry, i can't help with Y Link to comment Share on other sites More sharing options...
Tikimaster Posted April 1, 2022 Share Posted April 1, 2022 (edited) You can do it with javascript. There is a Solution for a common loading video from Richard LIncoln. LaunchVideo.js Run launch.mp4 on game launches.. Maybe there will follow a solution for Table-Loading-Videos..https://github.com/RichardL64/Visual-Pinball/tree/main/PinballY This Version should hide wheel and loading.. Text: Source: Pinball Y Group on Facebook. Thanks to Richard - he is a nice guy.. // // LaunchVideo // https://github.com/RichardL64 // // Play video during game launch // Plays ../PinballY/Media/Videos/Launch.mp4 // // R.Lincoln April 2022 // // On game launch // function myOverlayShow(ev) { mainWindow.launchOverlay.bg.clear(0xff000000); let video = gameList.resolveMedia("Videos","Launch.mp4" ); mainWindow.launchOverlay.bg.loadVideo(video); ev.preventDefault(); } // On game startup // Stop the video // function myGameStarted(ev) { mainWindow.launchOverlay.bg.clear(0xff000000); } // Overlay message // Hide the PBY display items // function myOverlayMessage(ev) { ev.hideWheelImage = true; ev.message = ""; } // Setup the launch hook // mainWindow.on("launchoverlayshow", myOverlayShow); mainWindow.on("gamestarted", myGameStarted); mainWindow.on("launchoverlaymessage", myOverlayMessage); logfile.log("[LaunchVideo] Initialised"); // End Edited April 1, 2022 by Retsamikit Mistakes Link to comment Share on other sites More sharing options...
Roadblock Posted August 21, 2022 Author Share Posted August 21, 2022 Just got back to this and tried Richard's script. Got it working! Thanks Retsamikit and RichardL64. Link to comment Share on other sites More sharing options...
monoculero Posted December 12, 2022 Share Posted December 12, 2022 (edited) deleted. Edited December 12, 2022 by monoculero More info Link to comment Share on other sites More sharing options...
monoculero Posted December 12, 2022 Share Posted December 12, 2022 On 8/22/2022 at 12:09 AM, Roadblock said: Just got back to this and tried Richard's script. Got it working! Thanks Retsamikit and RichardL64. Hello mates. Im using LaunchVideo.js script on my PinballY machine but something its going wrong. I have the files into correct path: PinballY/Media/Launch Videos/nametable (manufacturer year).mp4 And log file show something like this: Playing White Water (Williams 1993) This video file exists, and if it doesnt, show something like this: Playing Launch, but any video appears ... Any idea? What im doing wrong? Thanks! Link to comment Share on other sites More sharing options...
Tikimaster Posted December 12, 2022 Share Posted December 12, 2022 (edited) Have a look on this: https://github.com/RichardL64/Visual-Pinball/tree/main/PinballY The launch script has been updated. try the updated one. good luck... Edited December 12, 2022 by Retsamikit Link to comment Share on other sites More sharing options...
csfieldmusic Posted January 5, 2023 Share Posted January 5, 2023 I am having trouble understanding what to do with this script. Do I copy the updated script and paste it somewhere? If so where. Please explain how to use this script. Thank you. Link to comment Share on other sites More sharing options...
Tikimaster Posted January 5, 2023 Share Posted January 5, 2023 Scripts are in the script folder. You can save a script as a normal txt file and rename it to *.js Open the Main.js in a txt editor and have a look. The Main.js is calling the scripts you want to use with: import "seamless-launch.js"; If you do not want to launch a script, it looks like this: //import "LaunchFade.js"; Link to comment Share on other sites More sharing options...
csfieldmusic Posted January 5, 2023 Share Posted January 5, 2023 Thanks for the quick reply! I will definatley try this as soon as I get home! Link to comment Share on other sites More sharing options...
csfieldmusic Posted January 6, 2023 Share Posted January 6, 2023 Still can't this work. I can not rename text file to *. Js windows will not let me use * in the name. Also can not find the main.js file either.. Link to comment Share on other sites More sharing options...
Tikimaster Posted January 6, 2023 Share Posted January 6, 2023 4 minutes ago, csfieldmusic said: Also can not find the main.js file either.. here is everything https://github.com/RichardL64/Visual-Pinball/tree/main/PinballY * is used in computer technology as a placeholder. I meant myname.js where myname is a freely chosen filename. Link to comment Share on other sites More sharing options...
csfieldmusic Posted January 6, 2023 Share Posted January 6, 2023 OK cool.. I was under the impression I only need the one script. I will add all of those to the script folder and see what happens. Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now