Jump to content



Photo

Starting Pinball FX2 and FarSight's Pinball Arcade with HyperPin (uses modified FPLaunch1.295wip10)

HyperPin FPLaunch FX2 TPA PBA

  • Please log in to reply
176 replies to this topic

#121 Spitfire

Spitfire

    Enthusiast

  • Platinum Supporter
  • 83 posts

  • Flag: Australia

  • Favorite Pinball: getaway ii highspeed

Posted 16 September 2013 - 05:27 AM

Hi I tried this mod of fplaunch over wip 10 which works great. However I am getting an error where when a future pinball table is loaded and then I wish to exit by hitting the exit button on my cab it won't bring up the menu as normal. Instead it bring up the future pinball program on top of the existing table and I can't do anything other than ctrl alt delete to regain control? Do I have to remap my exit key button which is set to e?
Any help would be great?
Thx Joe

#122 Spitfire

Spitfire

    Enthusiast

  • Platinum Supporter
  • 83 posts

  • Flag: Australia

  • Favorite Pinball: getaway ii highspeed

Posted 16 September 2013 - 07:03 AM

I fixed all these issues by reinstalling autohotkey as described earlier in the thread as was running Unicode. Everything is now working fine except my high scores don't show up when I hit the exit button. Shows file not available error? Any idea how to fix please? Thx Joe
Sorry for wasting ur time or my own. Some reason the paths reset in pinhi settings. All fixed now ha ha thx

#123 shanknitrate

shanknitrate

    Enthusiast

  • Members
  • PipPipPip
  • 51 posts

  • Flag: New Zealand

  • Favorite Pinball: Tales of the Arabian Nights

Posted 23 September 2013 - 07:55 AM

Hi Sir Cheddar,

 

I am having trouble even if I compile the FPLaunch.ahk from your original post with no changes (I do want to make some changes but it was giving me errors which seem unrelated to what I'd typed.)

 

I have tried compiling with both the basic version of AutoHotKey (1.0.48.05) and the AutoHotKey_L version.

 

Ver 1.0.48.05 returns this error when I try to launch a table:

 

Error at line 4101

 

The following variable name contains illegal characters:

"pwb.bgcolor"

 

The program will exit

 

 

AutoHotKey_L returns this error when I try to launch a table:

 

Error: Make sure your paths contains a backslash on the end ,6

 

 

If I run your exe from the same zip file everything works as it should. Any idea what I'm doing wrong? (I have also tried compiling without gdip.ahk present which of course returns an error when compiling and when trying to load a table: "could not extract script from EXE")

 

 



#124 talon

talon

    Hobbyist

  • Members
  • PipPip
  • 41 posts
  • Location:Near Manchester UK

  • Flag: England

  • Favorite Pinball: Medieval Madness

Posted 23 September 2013 - 11:55 AM

@shanknitrate   

 I had the same error until I realised I was installing autohotkey with the wrong options.

You have to install it and select the ANSI 32-bit install option.



#125 shanknitrate

shanknitrate

    Enthusiast

  • Members
  • PipPipPip
  • 51 posts

  • Flag: New Zealand

  • Favorite Pinball: Tales of the Arabian Nights

Posted 24 September 2013 - 06:15 AM

Thanks talon - and sorry, that is written many times throughout this thread and for some reason I always read it as install the basic version not AutoHotKey_L... 



#126 scrivy

scrivy

    Hobbyist

  • Platinum Supporter
  • 24 posts

  • Flag: United States of America

  • Favorite Pinball: Creature from the Black Lagoon

Posted 30 October 2013 - 05:55 PM

It was my hopes that this portion of the code posted here as indicated below, would solve the problem of the Future Pinball.exe window not popping up over my table snapshot when the table is selected to play while in Hyperpin.   I do not use FX2 but there seems to be no way to prevent the Future Pinball.exe window from spoiling the view.   I have tried Min and hide but it does not work after parameters from BAM\FPLoader.exe are passed to Future Pinball.exe.   What is the solution?   I am running XP and recompiled my AHK after making this change.

 

 

 

;Start Future Pinball using BAM\FPLoader.exe if available
        IfExist %emupath%\BAM\FPLoader.exe
    {
        if (saveFPTables = "true") {
            Hotkey, $ScrollLock, SetSaveFPNeeded
            Run, "%emuPath%\bam\fploader.exe" /FPEXE:"%executable%" /STAYINRAM /open "%tablePath%\%tableName%.fpt" /play /arcaderender,,Min UseErrorLevel
        } else
            Run, "%emuPath%\bam\fploader.exe" /FPEXE:"%executable%" /STAYINRAM /open "%tablePath%\%tableName%.fpt" /play /Exit /arcaderender,,Min UseErrorLevel
    } else {
        if (saveFPTables = "true") {
            Hotkey, $ScrollLock, SetSaveFPNeeded
            Run, "%emuPath%\%executable%" /open "%tablePath%\%tableName%.fpt" /play /arcaderender,,Min UseErrorLevel
        } else
            Run, "%emuPath%\%executable%" /open "%tablePath%\%tableName%.fpt" /play /Exit /arcaderender,,Min UseErrorLevel
    }



#127 Aaron James

Aaron James

    <<< Grand Champion >>>

  • VIP
  • 1,408 posts
  • Location:Shelby Township, Michigan

  • Flag: United States of America

  • Favorite Pinball: Docking Complete...Negative...You Must Redock...Redock Now!



Posted 06 November 2013 - 11:00 PM

Sorry if I've missed this, but can anyone get the FutureDMD working with Pinball FX2?

I have finally got Pinball FX to load in my Hyperpin! :)   I'm so happy, it's pretty darn cool...thanks Sir Cheddar.

Now...l know i'm being greedy here, but I've heard alot about FutureDMD, and I can't get the FutureDMD.exe to load...gives me a Microsoft .net framework error (I use version 4 of that).

The cherry on the top would be if now that i got PinballFX2 loadiing from my Hyperpin, to now get rid of that dmd on the playfield once and for all.

Thanks in advance,

Aaron James


vpsig.jpg


#128 Sir Cheddar

Sir Cheddar

    His Sharpness

  • VIP
  • 383 posts

  • Flag: ---------

  • Favorite Pinball: Tales of the Arabian Nights



Posted 07 November 2013 - 08:38 PM

It was my hopes that this portion of the code posted here as indicated below, would solve the problem of the Future Pinball.exe window not popping up over my table snapshot when the table is selected to play while in Hyperpin.   I do not use FX2 but there seems to be no way to prevent the Future Pinball.exe window from spoiling the view.   I have tried Min and hide but it does not work after parameters from BAM\FPLoader.exe are passed to Future Pinball.exe.   What is the solution?   I am running XP and recompiled my AHK after making this change.

Sorry for the late answer. I read many a thread about the issue, but there is no solution I know of at the moment :(
 
 

Sorry if I've missed this, but can anyone get the FutureDMD working with Pinball FX2?

FutureDMD is for getting FP to display the DMD on a 3-screen setup, Aaron. I just put it in together with BAM so people don't have to patch the AHK themselves if they need it...
No DMD support for FX2 yet :(

#129 BlackPredator72

BlackPredator72

    I ❤ Pinball

  • Members
  • PipPipPip
  • 372 posts
  • Location:Haarlem, The Netherlands

  • Flag: Netherlands

  • Favorite Pinball: Demolition Man

  • PS3 Gamer Tag: BlackPredator72
  • 360 Gamer Tag: BlackPredator72

Posted 07 November 2013 - 10:37 PM

My Pinball FX2 directory is somewhere else. I didn't get it from Steam.

Which line(s) must I change in the .ahk ?

I'm changing the script manually cause there are already some changes for Pinemhi from DNA Disturber in it.

Here's my directory of Pinball FX2 :

9503.png


Edited by BlackPredator72, 04 December 2013 - 09:17 AM.

43327.png?1581090420

 


#130 Sir Cheddar

Sir Cheddar

    His Sharpness

  • VIP
  • 383 posts

  • Flag: ---------

  • Favorite Pinball: Tales of the Arabian Nights



Posted 12 November 2013 - 04:22 PM

Started working on TPA support. Shouldn't be too hard to add.

Edit: Put together a launcher script. Everything else comes tomorrow. Pub comes first.
Script is here.

Edited by Sir Cheddar, 12 November 2013 - 05:56 PM.


#131 BlackPredator72

BlackPredator72

    I ❤ Pinball

  • Members
  • PipPipPip
  • 372 posts
  • Location:Haarlem, The Netherlands

  • Flag: Netherlands

  • Favorite Pinball: Demolition Man

  • PS3 Gamer Tag: BlackPredator72
  • 360 Gamer Tag: BlackPredator72

Posted 13 November 2013 - 08:06 PM

Tried to change it to RunWait, "C:\Program Files (x86)\Microsoft Game Studios\Pinball FX2\Pinball FX2.exe", Max

and PinballFX2 is starting but closes cause of an error.

 

Also tried to change it here and instead of Pinemhi I changed everything to PinballFX2 but again it starts and closes :

 

    ;Create dummy PinEmHi.vpt in tables folder

    if (tablename = "PinEmHi") {
     
    RunWait, START PINemHi_Leaderboard FS.exe, Max
     
    Process, WaitClose, START PINemHi_Leaderboard FS.exe
    WinWaitClose, START PINemHi_Leaderboard FS.exe ahk_class AutoHotkeyGUI
    Sleep, 500
    WinActivate, HyperPin ahk_class ThunderRT6FormDC
    ExitApp
    }


43327.png?1581090420

 


#132 Sir Cheddar

Sir Cheddar

    His Sharpness

  • VIP
  • 383 posts

  • Flag: ---------

  • Favorite Pinball: Tales of the Arabian Nights



Posted 15 November 2013 - 11:25 PM

Mod updated to v1.4. Added support for Pinball Arcade.

Edit: We don't have a Pinball Arcade mediapack yet. Does anybody have something that would work?

Edited by Sir Cheddar, 16 November 2013 - 12:00 AM.


#133 andyco40

andyco40

    Enthusiast

  • Members
  • PipPipPip
  • 106 posts
  • Location:Preston UK

  • Flag: United Kingdom

  • Favorite Pinball: Attack from mars

Posted 23 November 2013 - 08:45 PM

anyone done an media pack yet for pinball arcade.



#134 Les73gTx

Les73gTx

    Preschooler

  • Members
  • PipPipPipPip
  • 523 posts
  • Location:Maine

  • Flag: United States of America

  • Favorite Pinball: Power Play, BoP, JackBot, MM, AFM, CV, MB,Champions Pub, CftBL, ToM, and Many More

  • PS3 Gamer Tag: LCT0819, Les73gtx
  • 360 Gamer Tag: PissPoorShot

Posted 23 November 2013 - 10:44 PM

anyone done an media pack yet for pinball arcade.

 

 

 Still looking hoping and waiting myself .... time for another beer :bar3:


les73gtx___atomicpin-pc.png
                                                                      


#135 andyco40

andyco40

    Enthusiast

  • Members
  • PipPipPip
  • 106 posts
  • Location:Preston UK

  • Flag: United Kingdom

  • Favorite Pinball: Attack from mars

Posted 23 November 2013 - 11:34 PM

just had 4 cans lol.


hi all got a problem when I launch pinball arcade with new fplaunch, the wheel with the tables on main menu show up on the second monitor for backglass anyone no why this is.

 

thanks

 

 

it only happens when I have shelled it from windows.


Edited by andyco40, 23 November 2013 - 11:49 PM.


#136 andyco40

andyco40

    Enthusiast

  • Members
  • PipPipPip
  • 106 posts
  • Location:Preston UK

  • Flag: United Kingdom

  • Favorite Pinball: Attack from mars

Posted 24 November 2013 - 01:52 PM

Attached File  aBByJl.jpg   41.14KB   18 downloadshows about this for wheel image

 

 



#137 Sir Cheddar

Sir Cheddar

    His Sharpness

  • VIP
  • 383 posts

  • Flag: ---------

  • Favorite Pinball: Tales of the Arabian Nights



Posted 25 November 2013 - 05:49 PM

hi all got a problem when I launch pinball arcade with new fplaunch, the wheel with the tables on main menu show up on the second monitor for backglass anyone no why this is.
  
it only happens when I have shelled it from windows.

Hmmm. Normally it shouldn't make any difference if you use fplaunch as shell. The only thing I could think off which might be different is any graphic card related stuff in autostart folders and registry keys. Those programs get started by explorer.exe which doesn't get started if you use fplaunch.exe as shell. (Well, that is the point of using fplaunch.exe as shell, after all)
I don't know exactly for NVidia and ATI cards which application is responsible, if any, for setting the resolution according to the user's profiles at start. I know Intel GPUs use persistence.exe.

What I trying to say, the mod assumes Screen 1 is the playfield screen and tries to rotate that either with DC or with iRotate. Maybe your Playfield screen 1 only if you start windows normally. And if the wrong screen gets rotated Hyperpin starts to act weird.

Which are you using, iRotate or Display Changer? And to which path did you install it too?

#138 andyco40

andyco40

    Enthusiast

  • Members
  • PipPipPip
  • 106 posts
  • Location:Preston UK

  • Flag: United Kingdom

  • Favorite Pinball: Attack from mars

Posted 25 November 2013 - 06:21 PM

display changer and its set to default install path. I have changed my shelling to putting hyperpin.exe in the start folder that seems to work but thanks for the info. also could it have something to do with the game resolution im set at cus  when I set the game res in pinball fx2 to lower than my max res of 1920x1080 it did the same. 

 

also I have been using instantsheller and never had any problems with it, but then again I never had pinball arcade on my system.


Edited by andyco40, 25 November 2013 - 06:27 PM.


#139 Sir Cheddar

Sir Cheddar

    His Sharpness

  • VIP
  • 383 posts

  • Flag: ---------

  • Favorite Pinball: Tales of the Arabian Nights



Posted 25 November 2013 - 07:06 PM

Never heard about Instand Sheller before. Thanks, this might become handy.

#140 andyco40

andyco40

    Enthusiast

  • Members
  • PipPipPip
  • 106 posts
  • Location:Preston UK

  • Flag: United Kingdom

  • Favorite Pinball: Attack from mars

Posted 25 November 2013 - 08:15 PM

lol its instant sheller not Instand Sheller lol but no probs its pretty good it wos ok untill I put pinball arcade on and got the wheel on backglass when I started it.


Edited by andyco40, 25 November 2013 - 08:17 PM.