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 donating by either clicking this text or the Patreon link on the right.

Patreon

Recommended Posts

Posted

Hi,

I love pinball and your front end is great, but I have a problem that I would really like to solve.  When some of the games load the focus is not on the playfield so I have to open up the cab. find the mouse plug it in and click on the playfield to get the game to accept credits and start.  I am not much of a code guy, I have written some for robotics and what-not but this seems like a quick fix if a WinActivate line could be added at the end of launch sequences. I found this exampleCould you help me implement this with correct paths or maybe you have a better fix or maybe I did something wrong setting things up. I sure would like to fix it any help would be very much apperciated... I am running Win10

Thanks

Ken

https://www.autoitscript.com/autoit3/docs/functions/WinActivate.htm    
Example()

Func Example()

    ; Run Notepad

    Run("notepad.exe")


 

    ; Wait 10 seconds for the Notepad window to appear.

    Local $hWnd = WinWait("[CLASS:Notepad]", "", 10)


 

    ; Activate the Notepad window using the handle returned by WinWait.

    WinActivate($hWnd)


 

    ; Close the Notepad window using the handle returned by WinWait.

    WinClose($hWnd)

EndFunc   ;==>Example

 

Posted

What you describe in the behavior doesn't sound normal and can probably be resolved without having to modify PinballX as you are suggesting. 

Can you please attach copies of your pinballx.ini and log.txt files for review in reply to this thread? 

Also, more details, such as what version of  VP , specific or all tables, etc. 

Have you opened the tables outside if PinballX first and responded to the prompts? If so, do the prompts appear in PinballX or does the table load normally?

Posted

Hi Draco1962,

Thanks for helping,  The error does not give me prompts,  I just have to move the mouse over the playfield and click before it will start. 

 

Most VP9  all VPPhyMod5 and some VPX games  do this.

24, 250cc, ArronSpelling,Agents777,AlienStar, AlendPoker, Amazing Spiderman, Aqualand, Atlantis, AttackRFMars, AttackFromMars, AustinPowers,BatmanDarkKnight,BigBuckHunter, BigGuns, BlackRose, BlackWater, BoneBuster, CSI.   and so on........

 

Copy of PinballX.ini  file

 

Posted

Can you attach the pinballx.ini and log.txt files instead of pasting them in reply? Thanks.

Posted

Since I do not run all of the different versions of VP that you do I am afraid I will not be of help. Hopefully one of the other members might be able to point you in the right direction.

Posted

Do the games work right when you run them without Pinballx?

Try turning off - Start Pinballx with windows

There is no need to use DOFLinxMsg.exe with VP

But DOFLinx works great for Pinball fx2 and Future Pinball

 

Posted

HI Outhere,

Sorry for the delay in posting, I see the same issue with out running pinballx, starting from just the vp.exe's its there. I know its not a prolblem with PinballX. but I have tried to add the above code into the game's script in vp but it just crashes game, that is why I think it needs to be done durring the launching to put the playfield last in the sequence so that the games playfield or the playfield monitor is the focus after everything is up an running, I could be way off-base but I don't know how to fix this, well, really fix it the right way, I have ordered a small touch screen and will mount it on the lock-down bar, that way I at least won't have to open up the cab to start a game.  I am running DOFLinx to run with BAM in FP, I would love to try a fx2 game they look very cool,  I read that if I use steam then I can run on my cab's 3 screens, so I will most likly try a game bundle from steam, they do look cool in the youtube vids I have seen. I went to FX2 webs site but its now just a holding screen for FX3.

 

 

 

Guest
This topic is now closed to further replies.
×
×
  • Create New...