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

If neither of those of work for you, you can donate any amount by clicking here.

Loading Pinball Arcade using iRotate problem and solution


Recommended Posts

Posted

So after two days of practically not sleeping trying to get the automatic table loading working I finally had everything 100% and a strange bug shows up.

The first time I load a table everything is fine - I play, I exit, it goes back to PinballX.

But the SECOND time the backglass is in the wrong position (showing part of the desktop behind it).

After a few more hours trying different solutions I found upon one that worked...

Bearing in mind I load the EXE from within the AHK file, using the WinWait/WinActivate statements if you switch focus back to PinballX and then back to Pinball Arcade, the backglass is back where it should be.

Not sure if anybody else has had this problem, but if you do, there you go.

Once I've had some sleep and cleaned up my dirty code I'll upload my version of the AHK files.

Posted
  On 12/11/2013 at 11:00 PM, soundasleep said:

So after two days of practically not sleeping trying to get the automatic table loading working I finally had everything 100% and a strange bug shows up.

The first time I load a table everything is fine - I play, I exit, it goes back to PinballX.

But the SECOND time the backglass is in the wrong position (showing part of the desktop behind it).

After a few more hours trying different solutions I found upon one that worked...

Bearing in mind I load the EXE from within the AHK file, using the WinWait/WinActivate statements if you switch focus back to PinballX and then back to Pinball Arcade, the backglass is back where it should be.

Not sure if anybody else has had this problem, but if you do, there you go.

Once I've had some sleep and cleaned up my dirty code I'll upload my version of the AHK files.

Sweet! - I am eager to see what you have come up with.

I tried to auto start tables but found it really inconsistent so settled for just going to the my tables menu.

I am using ledblinky to have some output from my lights - anyway here is what I use if its of any help?.

Run, "C:\Program Files (x86)\iRotate\iRotate.exe" /rotate=90Run, C:\LEDBlinky\LEDBlinky\LEDBlinky.exe audio.lwax sound.lwaxRun, C:\Program Files (x86)\Steam\SteamApps\common\PinballArcade\PinballArcade.exeProcess, wait, PinballArcade.exeWinWait, ahk_class Pinball ArcadeWinWaitActive, ahk_class Pinball ArcadeSleep, 7000Send {Enter Down}, Send {Enter Up}Sleep, 200Send {Enter Down}, Send {Enter Up}Sleep, 200Send {Enter Down}, Send {Enter Up}process, WaitClose, PinballArcade.exeRun, C:\LEDBlinky\LEDBlinky\LEDBlinky.exe 2Run, "C:\Program Files (x86)\iRotate\iRotate.exe" /rotate=0ExitApp#IfWinActive ahk_class Pinball Arcade]::Left8::Rightx::Spacee::Escape1::Backspace#IfWinActive

Edit so in the hope that you would add led support to your solution I made a quick vid..

  • 5 months later...
Posted
  On 5/29/2014 at 5:36 PM, connorsdad said:

Any advance on this guys?

I did see your other post on this buddy but have only been on my phone so could not respond - (have no passwords stored on it).

Short answer is no, the steam version seems to have differing numbers of menu`s` to ok through at each play.

The non steam version is consistent in how many "OK`s" are needed but menu navigation is hit and miss.

Scripting "down" six times will take you to a different table on different trys :blink: .

However on the FTP there is a folder called "my working version" from sources unknown (soundasleep?) that has a script for this in it.

I did try it but it seemed just as hit and miss as my own attempts so still inconsistant.

Maybe it just will not work?.

Posted
  On 5/29/2014 at 6:40 PM, connorsdad said:

I'm trying that script now, for some reason it's pressing the down key when it should be pressing enter. Soo close :)

Good luck!.

Posted

Yeah I know that feeling....

From what I remember it seemed like PA would miss keystrokes down the main tables menu.

Even if you have a 1 second delay it would do about 5 or 6 then pause and maybe do some more then end up where ever it wanted like roulette?.

If you manually keyed down you can navigate much faster and get to the table you want.

To be honest PA is a bit disappointing to me so I do not feel it justifies that much space on the menu.

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