Jump to content

All my products and services are free. All my costs are met by donations I receive from my users. If you enjoy using any of my products, please donate to support me. My bare hosting costs are currently not met so please consider becoming a contibuting member by either clicking this text or the Patreon link on the right.

Patreon

joyrider3774

Elite Member
  • Posts

    811
  • Joined

  • Last visited

  • Days Won

    63

Everything posted by joyrider3774

  1. here's a small video of it running on my cabinet
  2. If you are creating the animation yourselve, maybe the loading text can be shown after the ball is flicked away like showing a letter per time when the ball passes it but not before it so behind the ball ? Like flicking the ball slowly reveals the loading text ? But it is indeed a nice animation
  3. can the other systems be increased to 20 ? I've used the 10 places all up and can not experiment anymore. I do have a duplicate entry but it's for comparing / testing internet pinball fx3 setup versus other pinball fx3 setup i could remove that one. But i'm nearing the limit on my cabinet and can not add any other systems anymore. I'm not sure how much work it would be to increase it to 20 supported other systems
  4. Ok so i looked at this comic book stuff and your making it way too complicated bat to exe files etc it's all not needed. On my cabinet i can view comic books *.cbr files now although the other formats work also. You can use cdisplayex directly and you only need to create a simple launch before and launch after script to rotate the screen and perhaps launch a keyboard remapping script because left shift and right shift (in my case left flipper / right flipper) can not be chosen as keys in cdisplayex to scroll between pages but you can remap keys easily using an autohotkey script. So here's how i setted it up: first install cdisplayeex available here https://www.cdisplayex.com/ i installed the 64 bit version (watch out when installing, the installer tries to install mcafee so be sure to deselect it and not press blindy next button repeatedly). after install run cdisplayeex once and press F11 so it runs fullscreen, the application will remember this settings. Then press ESC to quit the application. place all your comic books (*.cbr and other support formats) in single folder i took c:\comics create launch before and launch after scripts to rotate the screen using irotate. My cdisplayex launch before.bat contains the following start cdisplayexremap.exe powershell -Command "Start-Process 'irotate.exe' '/1:rotate=90 /exit' -Verb runAs -WorkingDirectory 'C:\Program Files (x86)\iRotate\'" I use i rotate to rotate the screen into portrait mode and i start a program called cdisplayexremap.exe to change keyboard key presses to other keypresses My cdisplayex launch after.bat contains code to kill the remap program and rotate screen back to normal taskkill /IM cdisplayexremap.exe powershell -Command "Start-Process 'irotate.exe' '/1:rotate=0 /exit' -Verb runAs -WorkingDirectory 'C:\Program Files (x86)\iRotate\'" Setup cdisplayex like this in pinballx settings. The table path must be the (single) folder containing all your comic books (not in subdirectories) (if you installed 32 bit version it's in program files (x86) then) in game manager under comic_reader system add the complete filenames including extension (unhide them on your windows as you have them hidden so you can view them) like so for example for all your comic books in your comic books folder, in my case c:\comics as you see i included the fileextension (.cbr) they must match exactly as in the c:\comics folder By default cdisplayex uses down / up to scroll pages but i don't have down up mapped on my cabinet, my flipper buttons are left shift and right shift but as said before can not be used in cdisplayeex. So i created a keyboard remap ahk script cdisplayexremap.ahk and compiled it to an exe, so my left shift (flipper) becomes up and my right shift (flipper) becomes down key. ESC is quit and i do have that mapped in my cabinet. Another trick if you use different buttons on your cabinet is to launch cdisplayex and change the keybindings there but should not the program makes no differents between left / right shift ctrl alt etc an i think might not be usueable as keys but only as key modifiers you can now run pinballx and comic books can be shown from within pinballx on your cabinet. I have it working on my cabinet now and it did not even require special scripts or things you can launch the app directly. small tip if you got it working when viewing a comic and your on the 1st page press S key on your keyboard to create a screenshot of it, it will display then in pinballx for selecting the tables. Wheel images you'll have to create yourselve although you leave it at text view also
  5. Lauchbingo gameroom is an example ahk you have to modify to make it work for your situation. I dont have such comics nor do i know where to get them so cant test anything. It will not work without modifying the script for your own needs and you don't provide enough info like directory structure, name of exe files what files. i see you did make changes and you have set it up now it will try to launch "w:\0001 main\comics\Batman -Dark Detective 02 of 06.exe" i also still see the return key still present thats bingo game room specific as it was showing a nag screen unless you need it here also. You need to have the other stuff as well like the esc key and killapp stuff and waitprocess to wait until the exe is closed. Seems you have removed that and launchbingogameroom.exe will immediatly quit and return to pinballx unless your screenshot does not display everything of the rest of the code. Can you provide me a zip with one or 2 comics and explain how you use them (private message me a link of where you uploaded them). Then i can have a look / test will be much easier and explain how you normally would view / launch them Edit: nvm i found some examples and downloaded cdisplayex myselve
  6. Loading video's created, uploaded them back to my cabinet and created a little video to show it. Its an almost seamless loading experience now especially if you don't hide pinballx backglass. Here's a video on how it loads on my cabinet with a few tables. Also due to the blackness in the loading video's from the overlay the video's generated are very small i had created 427 videos and they only take about 250 mb in size total that's less than a megabyte per video for 4.5 seconds. With the previous attempt it was around 800 mb for the same amount of videos
  7. btw i modified my commando to center the images against the video like in the original command used as i had some video's that were lower resultion. I'm not sure how i can scale it to be same size as the video. Currently it still expects images and video's to be same size. Although i had video's that were lower size but not by much and overlay now gets positioned in center. The loading text is just a bit bigger then compared to same size video's. but if using 4k video's you should probably scale the images first. Or if using mixed resolution video's we should find a way to scale the images to be same size as the video. I basically switched overlay=x=0:y=0 with overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2 CD "C:\Game Recordings\visual pinball recording ffmpeg\Table Videos" for /R %%f in (*.*) do ( "C:\Game Recordings\visual pinball recording ffmpeg\ffmpeg" -i "%%f" -i "C:\Game Recordings\visual pinball recording ffmpeg\loadingb1.png" -i "C:\Game Recordings\visual pinball recording ffmpeg\loadingb2.png" -i "C:\Game Recordings\visual pinball recording ffmpeg\loadingb3.png" -i "C:\Game Recordings\visual pinball recording ffmpeg\loadingb4.png" -i "C:\Game Recordings\visual pinball recording ffmpeg\loadingb5.png" -i "C:\Game Recordings\visual pinball recording ffmpeg\loadingb6.png" -filter_complex "[0]vflip,hflip[v0];[v0][1]overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2:enable='between(t,0,0.7499)'[v1];[v1][2]overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2:enable='between(t,0.75,1.4999)'[v2];[v2][3]overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2:enable='between(t,1.5,2.2499)'[v3];[v3][4]overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2:enable='between(t,2.25,2.9999)'[v4];[v4][5]overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2:enable='between(t,3,3.7499)'[v5];[v5][6]overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2:enable='gt(t,3.7499)'[v6]" -map "[v6]" -map 0:a? -ss 00:00:00 -t 00:00:04.5 -codec:a copy "C:\Game Recordings\visual pinball recording ffmpeg\Loading Videos\%%~nf.mp4" -y ) I'm currently creating my loading video's using it
  8. have not played with that yet but it would require to create new images also not sure if you have to keep specifying these parts for each image "[v0][1]overlay=x=0:y=0:enable='between(t,0,0.9999)'[v1];[v1][2]overlay=x=0:y=0:enable='between(t,1,1.9999)'[v2]" it basically tells ffmpeg to display image 1 between second 0 and 0.9999 on position 0,0 as overlay then goto next step V1 where i start next overlay image from 1 and display till 1.999. i don't know if that can be made variabele so you don't have to repeat it for each image. as I'm no fmpeg expert, and basically used google and a bit of trial and error. 0.5 increments could work. But you can use the same steps / site as i did to create such logo. I only took your black borders gradient image and resized to 1920x1080 and put logo in the center using gimp then duplicated the layer with all the dots and started removing them so i get an incremental image with all dots being displayed. also with your table video's change the between statements to use 0.75 or 0.5 seconds adjust the -ss 00:00:00 -t 00:00:06 statement (to cut 6 seconds of input video) accordingly based on your timeframe and nr of images (6 images time 0.75 is 4.5 seconds total) although i'm not sure SS and t can use lower values than seconds, have not tried A script or program can probably be created to generate the ffmpeg commands based on nr of input images and timeframe per image or max time of video dived by nr of images edit: Here's the command i used to test it (seems to work), you get normally a new dot every 0.75 seconds and loading video max length should be 4.5 seconds so should work with your 5 second table video's C:\Game Recordings\visual pinball recording ffmpeg>ffmpeg -i test.mp4 -i loadingb1.png -i loadingb2.png -i loadingb3.png -i loadingb4.png -i loadingb5.png -i loadingb6.png -filter_complex "[0]vflip,hflip[v0];[v0][1]overlay=x=0:y=0:enable='between(t,0,0.7499)'[v1];[v1][2]overlay=x=0:y=0:enable='between(t,0.75,1.4999)'[v2];[v2][3]overlay=x=0:y=0:enable='between(t,1.5,2.2499)'[v3];[v3][4]overlay=x=0:y=0:enable='between(t,2.25,2.9999)'[v4];[v4][5]overlay=x=0:y=0:enable='between(t,3,3.7499)'[v5];[v5][6]overlay=x=0:y=0:enable='gt(t,3.7499)'[v6]" -map "[v6]" -map 0:a? -ss 00:00:00 -t 00:00:04.5 out.mp4 -y it's possible to specify milliseconds like this : HH:MM:SS.xxx according to this stackoverlfow page https://stackoverflow.com/questions/23171937/ffmpeg-video-editing-command-in-milliseconds-timestamp this is result out.mp4
  9. i fixed the flickering by specifing 1000 th's of a second and making sure ending and starting value is not the same so no 2 images are displayed at the same time This is the command to get no flickering C:\Game Recordings\visual pinball recording ffmpeg>ffmpeg -i test.mp4 -i loadingb1.png -i loadingb2.png -i loadingb3.png -i loadingb4.png -i loadingb5.png -i loadingb6.png -filter_complex "[0]vflip,hflip[v0];[v0][1]overlay=x=0:y=0:enable='between(t,0,0.9999)'[v1];[v1][2]overlay=x=0:y=0:enable='between(t,1,1.9999)'[v2];[v2][3]overlay=x=0:y=0:enable='between(t,2,2.9999)'[v3];[v3][4]overlay=x=0:y=0:enable='between(t,3,3.9999)'[v4];[v4][5]overlay=x=0:y=0:enable='between(t,4,4.9999)'[v5];[v5][6]overlay=x=0:y=0:enable='gt(t,4.9999)'[v6]" -map "[v6]" -map 0:a? -ss 00:00:00 -t 00:00:06 out.mp4 -y example output: out.mp4
  10. @Mike_da_Spike I managed to get ffmpeg.exe going with table video's the 6 transparant images i had uploaded in my previous post. Taking a table video and vertically / horz flipping, then displaying each image 1 second as an overlay and limiting the video to 6 seconds (because i have 6 images). Results in this as an example video this was the long command test.mp4 is the table video in the orientation pinballx expects it to be (when using 270° landscape). then the 6 loading images (in the format the video will be displayed on the screen, like not rotated) i display for a second out.mp4 is the output. I'm not sure about the map parameters and about audio but it works for my video i tested with. it's not perfect because i can see a flicker sometimes when the new image loads but Maybe someone can improve it as i don't really see that flicker in the original video not sure if my ffmpeg.exe is the cause (i took the latest version). Also it assumes table video's and images supplied are all same size (1920x1080 in my case) C:\Game Recordings\visual pinball recording ffmpeg>ffmpeg -i test.mp4 -i loadingb1.png -i loadingb2.png -i loadingb3.png -i loadingb4.png -i loadingb5.png -i loadingb6.png -filter_complex "[0]vflip,hflip[v0];[v0][1]overlay=x=0:y=0:enable='between(t,0,1)'[v1];[v1][2]overlay=x=0:y=0:enable='between(t,1,2)'[v2];[v2][3]overlay=x=0:y=0:enable='between(t,2,3)'[v3];[v3][4]overlay=x=0:y=0:enable='between(t,3,4)'[v4];[v4][5]overlay=x=0:y=0:enable='between(t,4,5)'[v5];[v5][6]overlay=x=0:y=0:enable='gt(t,5)'[v6]" -map "[v6]" -map 0:a? -ss 00:00:00 -t 00:00:06 out.mp4 -y it resulted in such video which i took as an example video, it plays well again when repeated / loopend out.mp4
  11. maybe these images (loading.zip ) can work to create your initial thought it contains the 5 images (1920x1080) with the black gradient around the edges and loading text. I also included the gimp xcf file, The text came from https://flamingtext.com/logo/Design-Neon?fontname=alien+league and you basically write a "...Loading..." text and then in gimp duplicate it as a layer and remove the dots where needed going from no dots to 3 dots back to 1 dot (as next image if video reloads is no dots again). The Text is not 100% the same as i can't remember the initial settings i used for my 1st video. Here's an example picture (it's transparant but not sure how well this would work with overlaying on video's) here i overlayed the image to a table screenshot the problem is the neon is a bit transparant also but still looks ok Unfortuantly i have no idea how you can make each image display 1 second and then repeat again when overlaying this with the table video's in ffmpeg. And i like the Pinball fx3 system video
  12. Maybe system menu on startup should be disabled as well then if basic menu is enabled (show directly all tables)? As i can see it once on startup but not afterwards thats what made me think it's a small bug / weirdness if you enable system menu + show system menu on startup + the new setting
  13. whats the difference between your desktop and cabinet ? is it an exact copy of what's running on your cabinet (i mean same media available). I will try later removing media (well temporary renaming them) to see if it makes a difference. Edit: limitting media used did not seem to impact it with me but i did not remove all media. I also reinstalled lavc codecs from download section on the site no difference am running out of idea's. There must be something on our systems that prevents it from working edit2: managed to get it going lav video settings seems to impact it @scutters did you disable some pixel formats in your lav video settings ? as i did that because i had gotten some black screens on some video's i did the same on my cabinet. Renabling all formats fixed it for me but then i might get black preview video's. So the trick will be to verify which one need to be reenabled out of the ones i had disabled in first place. edit3: i followed this post to fix the black screens initially disabling some output formats as shown there reenabling this one makes the table video show on the 1st table with me, disabling it will not make it show on 1st table. I had disabled on my main pc as well as cabinet the 2 lower rows because i was getting black screen in table preview video's sometimes as was mentioned in above topic. I still need to test on my cabinet to see if i all my video's still play but on my main pc (re)enabling that one fixes it for me. Try renabling the output formats and renable only the one fixing the issue (if it also fixes it for you) edit4: reenabling same output format as in screenshot above also fixes it on my cabinet. And i went through all my tables none display a black screen for playfield video's. So It *might* be that you did not have to disable all the lower rows as in the initial topic that mentioned disabling the lower rows to fix the black video issue's
  14. it kept giving me an error saying "Cannot find a matching stream for unlabeled input pad 1 on filter Parsed_overlay_1" could be ffmpeg.exe version difference but i managed to get it going eventually but can't remember how and if it was correct. It was then i noticed it seemed to scale to 4k size, and i'm using hd and the overlay was hd as are my table video's so did not need the scaling part I will try jpeg images first instead of png, but indeed 4 tot 5 seconds video's might work also will try both. Btw i also used ffmpeg and the overlay for screenshots of playfields i had of bingo game room, i just removed the ss part then and it seemed to work also edit: 425 jpg images -> 80mb 425 5 second videos -> around 850 mb. i took the 5 second video's. Thanks for the tip
  15. been this testing this, along with the loading video's i created with your overlay image. I did had troubles with the ffmpeg commands, had to change them kept giving me an error with the commands you had given. but managed to get it going in the end (i also run full HD res not 4k, so i left out the scaling part as the overlay image already seemed 1920x1080 but did leave in the positioning just in case). All my playfield video's are 1920x1080 anyway. It's all been working great as far as i tested it so thanks for this plugin and the idea I think i will try to change the ffmpeg commands to try and generate a png picture if that's at all possible instead of video's with the overlay. I don't have much room anymore on my cabinet (small disk and not easy to switch disk) and use loading images instead of videos This is my batch file for extracting 1 frame at second 7 in my playfield videos with the overlay included. Do note you might need the scale command as in scutters other command and i'm no ffmpeg expert, but this seemed to work fine for me. also note i'm not using the general pinballx directories as i convert them on my main pc which is much faster and i use *.* to list files as i have both *.f4v and *.mp4 files. but it can give an idea on how to extract 1 frame from the video and add the overlay, the important bit is "ss 00:00:07.000 -vframes 1 <filename>.png" to get one frame out of a video. CD "C:\Game Recordings\visual pinball recording ffmpeg\Table Videos" for /R %%f in (*.*) do ( "C:\Game Recordings\visual pinball recording ffmpeg\ffmpeg" -i "%%f" -i "C:\Game Recordings\visual pinball recording ffmpeg\LoadingOverlayTrans.png" -filter_complex "[0]overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2,transpose=2" -ss 00:00:07.000 -vframes 1 "C:\Game Recordings\visual pinball recording ffmpeg\Loading Videos\%%~nf.png" -y )
  16. Hi, I'm not using this feature, but i only tested it out. I noticed if you enable basic menu mode and you have the system menu enabled + show system menu at start up, the entry to go back to the System menu is also gone with this option enabled. This is all i get to see so no way to get back to the system menu. I think this is a small oversight and when system menu is enabled it should probably still display the entry for returning to the system menu ? I'm only posting it as it's possible people in the future will start making use of this option combination and they might perhaps experience the same problem. As said before i'm not using the option only tested it out Edit: sorry posted in wrong forum section, please move to general section when you see this
  17. guys if the narrator plugin is enabled it seems pinball x now mentions the system names in one of the more recent versions with me (i'm using 3.66 atm). I have deleted all my recorded system audio table audio files and it still mentioned them. I don't know what version started to support this though, and i can not remove the table audio files from ftp as deleting files is not allowed but it's just to mention they are not needed anymore
  18. i still have the issue on my main pc with 3.66 (running 32 bit) have not tried on my cabinet yet, my cabinet was using 64 bit and had the issue as well. Will try later on my cabinet edit: installed 3.66 64 bit on my cabinet, it's still exhibiting the same problem with me no loading screen on first table selection
  19. just in case the shortcut system does not work ... Maybe Using commandline parameters in your batch file or powershell script can work also if you only have single exe, standalone exe files. In game manager you define the gamenames as the exe files which you will pass as a command line parameter to your batch file or powershell script, the script would then just launch the exe which was passed as a commandline parameter. But thats basically ' almost the exact same thing my bingo gameroom launcher script does. You will need to modify it, but it can be used as a start and probably be made to work only with minor modifications. The script is available in the bingo game room topic a few topics below this one inside the zip file (or get the ahk file here LaunchBingoGameRoom.ahk ). You can create exe files from autohotkey scripts only need to install autohotkey and right click a .ahk file you created or modified and choose compile to get an exe file. You will only need one other system and the exe files would be defined in the game manager. it's a very simple script and should be readable in any text editor, autohotkey is available here https://www.autohotkey.com If your exe from your comics files requires other files like images etc in the same directory i would place each one in a seperate directory with as name the same name as the comic exe files without the extension so like comic1\comic1.exe + other needed files needed for comic1.exe in comic1 directory, comic2\comic2.exe + other needed files needed for comic2.exe in comic2 directory etc and your game name in game manager would be comic1 and comic2 (these are just simplified examples), you the just pass the tablename to your created scripts as a parameter defined in the other system and your script would launch <tablename>\<tablename>.exe from a certain directory tablename is the variable parameter passed to your script so the gamename in manager (so comic1, comic2 etc). Basically you need to modify your scripts to accept that one tablename parameter and handle the launching if one comic is just one exe you can just launch <tablename>.exe in the script from a certain directory instead of <tablename>\<tablename>.exe (bingo game room launcher uses the <tablename>\<tablename>.exe setup) But i think there could be other pitfalls when using batch files or powershell script, for example to handle keypresses to quit the application or specifying process to monitor in the system setup as you each time use different exe. i define my launcher as process to monitor and don't let it quit before the exe file i ran from script is quit that way you have a single process to monitor being the launch script I don't know the structure or how these tate comic things look like when it comes to needed files and directory structure so hard to test for myselve on my pc but i think its all doable the rotation of your screens can also be done using launchbefore / launch after script batch files that run powershell to launch irotate. Here's a simple example i use Launch before batch file to rotate 90 degrees using irotate installed in default location: powershell -Command "Start-Process 'irotate.exe' '/1:rotate=90 /exit' -Verb runAs -WorkingDirectory 'C:\Program Files (x86)\iRotate\'" Launch after to rotate back to normal powershell -Command "Start-Process 'irotate.exe' '/1:rotate=0 /exit' -Verb runAs -WorkingDirectory 'C:\Program Files (x86)\iRotate\'" This is the original topic about bingo game room launcher where there is also a screenshot of how i had set it up in other systems. My guess something very similar can be done in your case
  20. i just tested on my main pc and it's exhibiting the same problem. So both my cabinet as my pc have this problem with 3.60
  21. if it's a single exe / game only way i know of is create a new (other) system setup where you link to the exe file then in game manager create a single table entry for example "Launch" or "<name of the game>" for your new system (linking to your exe) and when selected it will launch your exe file. if you have multiple exe's you want to run like this you might run out of systems fast i think you can only have 10 other systems If you have multiple exe's you could create a launcher script using autohotkey. I did that for launching bingo gameroom tables, each table there is a seperate exe file and my launcher basically launches that executeable so you can use that as a template. as far as i know you will always have to define a system (which is the exe) and the tables (in game manager) are just passed as parameter
  22. just for when the bug / problem / cause has been found with video's not displaying for first table loaded, I already created a loading video for my system it's 1920x1080 if you run in portrait i included the seperate images (1080x1920) to create a video (or first gif to convert to video online) in this zip file: loading.zip the video itselve (although rotated in 1920x1080 resolution) is included in the zip also. You can also use one of the images as a loading image Here's the preview. The dots change every second and it works well if the video is played repeatedly / in a loop (what pinballx does with loading video's) Do note loading video's in pinballx are not rotated so you have to create them as how you would see them normally without rotation so below's video is good if you run in landscape mode (270° rotation) they don't have to be in same rotation as playfield videos feel free to share your loading video's in this topic Loading.mp4
  23. do you have the system menu enabled ? if so does it happen if you disable the menu. can you share / upload one of the video's i'm willing to try it out on my system to see if i can reproduce it (i'm currently not using loading video's don't think i will in future either but just for testing) Edit: no need to upload a video, i found one on the internet an i'm having the same behaviour. If pinballx.exe is started and first time you select a table the loading video is not played but just a black screen. Any second table you choose the loading video starts playing. Will now test disabling system menu to see if it has an influence Edit2 System menu has no effect so not the cause I created 2 log files one log is when i first launched the 1st table after starting pinballx (log1.txt) the 2nd (log.txt) is from when i started a two same tables after each other first time not displaying the loading image second time it does The only diffrence i see in the log is that with the first launch hide dmd is not present after launch system while i started 2 times the same table (from bingo game room) and hidedmd is set to true in game manager for balyybeauty but not sure if it's related could be another issue but i can not verify as i only have 2 screens and always hide the dmd
  24. ah thats possible, i was using chrome
  25. it's still possible to download from the view also. Clicking on the 3 dotted button in the viewer in the lower right corner reveals a download option but zip with all files in it would also be handy
×
×
  • Create New...