If you still have problems you'll need to attach more info on your setup (pinballx.ini) , what you have got set up so far (launch before bat file script etc) and what your pinball wicked settings are. Otherwise it's just guessing..
5) start pinball wicked from steam and set it up to use windowed full screen borderless also set up the dmd settings exactly like this (using other settings will need to make you find out the values for dmd positoning) for dmext. Also set camera used to 8 so you see the table full screen.
6) Launch PinballWickedLauncher.exe once and press alt+f4 to exit. It will fill in extra required settings in PinballWickedLauncher.ini then edit
the ini file to use your keyboard or joystick just like it was done for pinball fx3 launcher. It's just a copy of that
launcher with different ini file. all info here _Launcher_app This is only needed if you want to be able
to select multiplayer and pure or action mode you can also use LaunchPinballWicked.exe directly to start single player pure mode without the extra
launcher executable with multiplayer options (you'll also need to change pinballx settings then to use LaunchPinballWicked.exe directly instead of my launcher app)
- check if 10 seconds on this value is enough for your system to show the pinball wicked menu:
WaitForMenu = 10000. If the menu loads faster decrease the value, if the menu loads slower increase the value
its the value used to wait for the menu to be visible ingame
- IMPORTANT change the key used to exit the game to the same key that is assigned in pinballx / you use to exit normally.
Default is mapped to ESC change it to your key if you are not using the ESC key
; Exit Table
; pinball wicked does not seem to react well on the quit game key from pinball x
; so change the ESC key below to the key you have set in pinballx as quit game key
; info about keys can be found here :
; in my cab i use the esc key
Esc:: ;
12) use these pinballx settings: You need to make sure to wait for the launch before & launch after scripts are done so that the rotation if the screen is done using irotate alraedy before using the intermediate launcher or the direct launcher. Irotate is not called with start parameter so i'm sure it's executed all the rest is called with start command so batch file does not wait until the process is ended. otherwise it will get stuck if you don't use start with the wait for exit params set to true
13) launch after script uses taskkill.Exe to kill all started apps in launch before and rotate screen back to normal positioning
LaunchPinballWicked.exe can also be used instead of pinballwickedlauncher.Exe to directly launch single player pure mode if you don't need multiplayer selections.
LaunchPinballWicked.exe accepts as first parameter player nr (1 2 3 or 4) and as second parameter only "Action" if thats specified it will use action mode. If you don't provide any parameters it will launch single player pure mode.
Examples:
LaunchPinballWicked.exe
If i rotate my screen (even only the playfield screen) the backglass window gets blackened and erases the backglass picture and pinballx does not seem to redraw the backglass anymore while a game is running, which i think is normal as it would just eat cpu / gpu for nothing if it kept redrawing. So it seems using irotate to rotate the screen makes it black, probably because it does not get redrawn after rotation.
I then tested by not using irotate and never rotating any screen and then the backglass picture from pinballx did indeed stay visible all the time during gameplay but the game would be running in landscape mode then as that's how my orentation of the playfield screen is setup in pinballx.
So i see only 2 solutions one is to make my playfield screen be running in portrait mode in windows so i don't have to rotate anything but then visual pinball is behaving badly and dmd's (from vpinmame) are not positioned right, that can be fixed but i rather not go down that rabbit hole. I did not setup the visual pinball myselve i've gotten it preconfigured.
The other solution would be to find an image displaying program that supports parameters and can be run fullscreen immediatly on a certain monitor and just put a command in my launchbefore script, after the screen has rotated to show this (backglass) picture using such program on my backglass monitor. I have not looked yet if such programs exist, one that comes to mind is infranview but have not checked yet what kind of parameters it allows.
about media for pinball wicked on their press page they have a good picture for backglass and also the text "back flaggers pinball" i used that and created a wheel docklet image out of it all as well. I can share my pictures on ftp if needed
btw i bought SlamIt: Big Score Pinbal 0.99 cent is indeed not much but have not looked at it yet, i don't think i'll need the ffmpeg part to mirror dmd as i don't have a 3rd monitor i only have a 2 monitor setup. Unless it can be used to mirror play the dmd on my 2nd screen, then it might be even usefull for pinball wicked as well to grab the dmd from main playfield and display (scaled) on my 2nd monitor as well somewhere.
Edit: Went with option 2, but created a very simple application myselve in delphi that just displays and image full screen always on top on a certain monitor which i pass in the commandline parameter as well as image filename. I use the same image as the backglass used in pinballx. Start it in my launch before command & kill it in launch after. The programs is like 5 lines of code (in delphi) and its working great
@Carny_Priest i got the mirroring using ffpmpeg & ffplay working and positioning on correct location but i got another problem well i had two. If i hide the ffplay cmd window as was done in the original ahk script, the video playback window of ffplay never shows, so i removed the hide parameter and then it shows & play however it only plays if the ffplay window is activated and if its activated the big score pinball game does not react to input. So i actvate big score pinball window again but then the ffplay window is not playing the dmd anymore so you see the loop problem here.
Which version of ffplay.exe do you use ? i tried latest as well as version from 2017 and which version of windows + build nr ? or maybe i'm missing something to be able to run the game windowed.
Haven't been able to figure this problem out yet. I did split up the script into 3 parts, the dmd mirror part, launching part & key remap part. but all works fine except above mentioned focussing problems. The reason i splitted up the script is because i wanted to add command line parameters for scaling, positioning etc basically make it generic so i could use it perhaps with pinball wicked as well if i got it working.
Btw i do notice the small delay in playback as well it's minor but noticeable
Edit: nvm, i just read through your original post again. The problem is indeed the full screen mode and in your original post you said how to change to windowed. The option is not available ingame
I have pinball wicked as well on my cabinet. I used to be able to display the backglass on screen but since once I rotate the screen via AHK the backglass screens goes black and does not display again until I exit back to PinballX. Haven't been able to find a work around for that yet. I do have Hide Backglass box unchecked in my settings so it should leave the PBX one up. If I don't rotate the screen on launch the backglass image stays. Wish Formslingers would add a rotate option in the game itself.
@GAH1068 I don't have a real dmd screen unfortunatly i use a 2 monitor setup. However i'm using a modified / adapted version of the script @Carny_Priest used for big score pinball to mirror the dmd on my backglass monitor. It works but there is latency as you can notice in the video below as well. I also have fixed the no backglass problem that occurs due to rotating the screen and pinballx not redrawing it anymore. I basically created a small delphi program that can display a png, jpg, bmp or gif (don't think animated have not tried) full screen, always on top on a certain monitor. I'll supply you the little program you can use it to fix your backglass problem as well.
I've attached it as an attachment to this thread: (edit: use version from zip in 1st post, this version was outdated not the same)
like for example to display the image on my backglass monitor (nr 2 in monitor i supply the following command):
start Image_Monitor_View.exe 1 "C:\PinballX\Media\Pinball Wicked\Backglass Images\Black_Flaggers.png"
The monitor nr is 0 based, so it starts counting from 0 till monitor nr count -1. i don't know if it follows windows monitor positioning order but you can test it out from command line and try 0 1 2 etc as nr.
Do watch out as it shows it strechted so make sure the image your using is same resolution as your monitor or it might look weird. And supply invalid monitor nr will make it use the first monitor it finds in the monitors array (delphi object).
I added it in my launch before batch script and used the start batch command so the batch file does not wait for the program to end to go on with things and i kill it using taskkill.exe in the launch after script so i can see pinball x backglass back
@GAH1068 got the dmdext thing working so much simpler and no more latency that i can notice. I'm goana modify the bigscore pinball scripts i use to make my playfield screen rotate and also use dmdext instead of ffmpeg + ffplay. I can swap easily to test things as i had the ffmpeg part in seperate script. Thanks for letting me know about dmdext virtual dmd
@Outhere i'll try to make a detailed guide / release all needed scripts next week. My ahk script can take parameters to select multiplayer and works in tandem with my launcher executable i made for pinball fx3 with a changed ini to be able to select multiplayer options. But i need to release my updated pinball fx3 launcher first
aa06259810