Jump to content
  • Announcement

    The HyperSpin 2 early access beta is here!

    We’re starting the first public testing phase with Platinum Members to keep the scope manageable while we test the current feature set and begin to add more. In the future, we’ll provide a version for basic members as well.  On behalf of the entire HyperSpin team, we look forward to another exciting adventure with our community.

Future Pinball Window Not Becoming Active


KMxRetro

Recommended Posts

Posted

Hey guys,

I've finally finished setting up all the emulators and frontend stuff that I want in HyperSpin, but I have one problem, and that's with Future Pinball.

If I launch a table from Future Pinball itself, I get the standard "table loading" screen with the progress bar...everything chugs along normally...then the table loads without a problem.

If I launch the same table from HyperSpin, nine times out of ten, Future Pinball will fire up, the table will start to load, but instead of the loading screen I'll get either a solid white or black screen. Then after a while, I get a HyperSpin error about "ahk_class FuturePinballOpenGL" not becoming active. About three seconds after the error appears, the table loads in the background and the music kicks in. Wouldn't be a problem, but by that time HyperSpin has switched my JoyToKey profile back to the one I use for the frontend...so I can't play!

I've literally just loaded up Back To The Future, played it for ten minutes, exited, gone to load the same table again, and it's failed the same way three times in a row. Here's the log from the last time..

19:23:40:069 | HL |     INFO  | +N/A   | Main - HyperLaunch v3.0.1.1c
19:23:40:177 | HL |     INFO  | +109   | Main - System Specs:
				HyperLaunch Dir: D:\Live Build\HyperLaunch
				OS: Microsoft Windows 7 Home Premium 
				SKU: Home Premium
				Total Memory: 7661.55 MB
				Free Memory: 6360.98 MB
				Used Memory: 1300.570 MB
				SystemType: x64-based PC
				Physical Processors: 1
				Logical Processors: 4
				GPU 1 Name: ATI Radeon HD 5400 Series
				GPU 1 RAM: -2048.00 MB
				GPU 1 Driver Version: 8.723.0.0
				GPU 2 Name: AMD 760G
				GPU 2 RAM: 512.00 MB
				GPU 2 Driver Version: 8.723.0.0
				Sound 1 Device: 
				Sound 1 Status: Unknown
				Sound 2 Device: AMD High Definition Audio Device
				Sound 2 Status: Enabled
				Sound 3 Device: High Definition Audio Device
				Sound 3 Status: Enabled
				OS Language: English_United_States
				OS Admin Status: Yes
				Monitor #1 (\\.\DISPLAY1): 1280x1024 (1280x1024 work)
				AutoHotkey Path: 
				AHK Version: 1.1.09.04
				Unicode: No
19:23:40:177 | HL |     INFO  | +0     | Main - HyperSpin.exe coordinates are x0 y0 w1280 h1024
19:23:40:177 | HL |     INFO  | +0     | CheckFile - Checking if D:\Live Build\HyperLaunch\HyperLaunch.exe exists
19:23:40:177 | HL |     INFO  | +0     | CheckFile - Checking if D:\Live Build\HyperLaunch\Module Extensions\itextsharp.dll exists
19:23:40:177 | HL |     INFO  | +0     | CheckFile - Checking if D:\Live Build\HyperLaunch\Module Extensions\SevenZipSharp.dll exists
19:23:40:177 | HL |     INFO  | +0     | CheckFile - Checking if D:\Live Build\HyperLaunch\Module Extensions\gsdll32.dll exists
19:23:40:177 | HL |     INFO  | +0     | CheckFile - Checking if D:\Live Build\HyperLaunch\Module Extensions\BlockInput.exe exists
19:23:40:177 | HL |     INFO  | +0     | CheckFile - Checking if D:\Live Build\HyperLaunch\Module Extensions\gdip.ahk exists
19:23:40:184 | HL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Extension.
19:23:40:184 | HL |     INFO  | +0     | CheckFile - Checking if D:\Live Build\HyperLaunch\Module Extensions\RIni.ahk exists
19:23:40:187 | HL |   DEBUG1  | +16    | CRC Check - CRC matches, this is an official unedited Extension.
19:23:40:187 | HL |     INFO  | +0     | CheckFile - Checking if D:\Live Build\HyperLaunch\Module Extensions\CLR.ahk exists
19:23:40:189 | HL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Extension.
19:23:40:189 | HL |     INFO  | +0     | CheckFile - Checking if D:\Live Build\HyperLaunch\Module Extensions\COM.ahk exists
19:23:40:189 | HL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Extension.
19:23:40:189 | HL |     INFO  | +0     | CheckFile - Checking if D:\Live Build\HyperLaunch\Module Extensions\JSON.ahk exists
19:23:40:192 | HL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Extension.
19:23:40:192 | HL |     INFO  | +0     | CheckFile - Checking if D:\Live Build\HyperLaunch\Lib\Fade Init.ahk exists
19:23:40:192 | HL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
19:23:40:192 | HL |     INFO  | +0     | CheckFile - Checking if D:\Live Build\HyperLaunch\Lib\HyperPause Init.ahk exists
19:23:40:192 | HL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
19:23:40:192 | HL |     INFO  | +0     | CheckFile - Checking if D:\Live Build\HyperLaunch\Lib\Keymapper Init.ahk exists
19:23:40:192 | HL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
19:23:40:192 | HL |     INFO  | +0     | CheckFile - Checking if D:\Live Build\HyperLaunch\Lib\MultiGame Init.ahk exists
19:23:40:194 | HL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
19:23:40:194 | HL |     INFO  | +0     | CheckFile - Checking if D:\Live Build\HyperLaunch\Lib\Statistics Init.ahk exists
19:23:40:194 | HL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
19:23:40:194 | HL |     INFO  | +0     | CheckFile - Checking if D:\Live Build\HyperLaunch\Lib\Fade.ahk exists
19:23:40:194 | HL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
19:23:40:194 | HL |     INFO  | +0     | CheckFile - Checking if D:\Live Build\HyperLaunch\Lib\HyperPause.ahk exists
19:23:40:207 | HL |   DEBUG1  | +15    | CRC Check - CRC matches, this is an official unedited Library.
19:23:40:207 | HL |     INFO  | +0     | CheckFile - Checking if D:\Live Build\HyperLaunch\Lib\Keymapper.ahk exists
19:23:40:209 | HL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
19:23:40:209 | HL |     INFO  | +0     | CheckFile - Checking if D:\Live Build\HyperLaunch\Lib\MultiGame.ahk exists
19:23:40:212 | HL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
19:23:40:212 | HL |     INFO  | +0     | CheckFile - Checking if D:\Live Build\HyperLaunch\Lib\Bezel.ahk exists
19:23:40:217 | HL |   DEBUG1  | +16    | CRC Check - CRC matches, this is an official unedited Library.
19:23:40:217 | HL |     INFO  | +0     | CheckFile - Checking if D:\Live Build\HyperLaunch\Lib\Statistics.ahk exists
19:23:40:217 | HL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
19:23:40:217 | HL |     INFO  | +0     | CheckFile - Checking if D:\Live Build\HyperLaunch\Lib\Rom Mapping Launch Menu.ahk exists
19:23:40:219 | HL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
19:23:40:219 | HL |     INFO  | +0     | CheckFile - Checking if D:\Live Build\HyperLaunch\Lib\Shared.ahk exists
19:23:40:222 | HL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
19:23:40:222 | HL |     INFO  | +0     | CheckFile - Checking if D:\Live Build\HyperLaunch\Lib\XHotkey.ahk exists
19:23:40:224 | HL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
19:23:40:224 | HL |     INFO  | +0     | CheckFile - Checking if D:\Live Build\HyperLaunch\Lib\Fade Animations.ahk exists
19:23:40:227 | HL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
19:23:40:227 | HL |     INFO  | +0     | Main - HyperLaunch received "Future Pinball" and "Back To The Future"
19:23:40:234 | HL |     INFO  | +15    | Main - Back To The Future is using the default emulator: Future Pinball
19:23:40:234 | HL |     INFO  | +0     | Main - Checking for a [Future Pinball] section in D:\Live Build\HyperLaunch\Settings\Future Pinball\Emulators.ini
19:23:40:234 | HL |     INFO  | +0     | Main - Checking for a [Future Pinball] section in D:\Live Build\HyperLaunch\Settings\Global Emulators.ini
19:23:40:234 | HL |     INFO  | +0     | Main - Found [Future Pinball] in D:\Live Build\HyperLaunch\Settings\Global Emulators.ini
19:23:40:234 | HL |     INFO  | +0     | CheckFile - Checking if D:\Live Build\HyperLaunch\Modules\Future Pinball\Future Pinball.ahk exists
19:23:40:234 | HL |  WARNING  | +0     | Main - CRC Check - CRC does not match official module and will not be supported. Continue using at your own risk.
19:23:40:234 | HL |     INFO  | +0     | Main - Back To The Future will use module: D:\Live Build\HyperLaunch\Modules\Future Pinball\Future Pinball.ahk
19:23:40:249 | HL |     INFO  | +16    | Main - Using SkipChecks method "Rom and Emu" or emuName = "PCLauncher".
19:23:40:249 | HL |     INFO  | +0     | Main - INI Keys read
19:23:40:249 | HL |     INFO  | +0     | CheckFile - Checking if D:\Live Build\HyperLaunch\Module Extensions\7z.exe exists
19:23:40:249 | HL |     INFO  | +0     | CheckFile - Checking if D:\Live Build\HyperLaunch\Module Extensions\7z.dll exists
19:23:40:249 | HL |  WARNING  | +0     | Main - SkipChecks is enabled and set to: Rom and Emu
19:23:40:252 | HL |     INFO  | +0     | CheckPaths - Started
19:23:40:252 | HL |   DEBUG1  | +0     | CheckPaths - Looking for rom: D:\HyperSpin ROMS\Future Pinball\Back To The Future.fpt
19:23:40:252 | HL |     INFO  | +0     | CheckPaths - Found rom: D:\HyperSpin ROMS\Future Pinball\Back To The Future.fpt
19:23:40:252 | HL |   DEBUG1  | +0     | CheckPaths - Current romName: Back To The Future
19:23:40:252 | HL |   DEBUG1  | +0     | CheckPaths - Current romPath: D:\HyperSpin ROMS\Future Pinball
19:23:40:252 | HL |   DEBUG1  | +0     | CheckPaths - Current romExtension: .fpt
19:23:40:252 | HL |     INFO  | +0     | CheckPaths - Ended
19:23:40:252 | HL |     INFO  | +0     | BuildScript - User Variables:
				;----------------------------------------------------------------------------
				; INJECTED VARIABLES
				;----------------------------------------------------------------------------

				#NoTrayIcon
				#InstallKeybdHook
				DetectHiddenWindows, ON
				SetTitleMatchMode, 2
				SendMode, Event
				0 = 2
				hlMode = 
				frontendPID = 4540
				frontendPath = D:\Live Build
				frontendExe = HyperSpin.exe
				frontendExt = exe
				frontendName = HyperSpin
				frontendDrive = D:
				exitEmulatorKey = ~Esc
				exitEmulatorKeyWait = 0
				forceHoldKey = ~Esc
				restoreFE = Restore and Click
				exitScriptKey = ~q & ~s
				toggleCursorKey = ~e & ~t
				emuFullPath = D:\Live Build\Emulators\Future Pinball\Future Pinball.exe
				emuPath = D:\Live Build\Emulators\Future Pinball
				emuName = Future Pinball
				emuExt = exe
				romPath = D:\HyperSpin ROMS\Future Pinball
				romPathFromIni = D:\HyperSpin ROMS\Future Pinball
				romExtension = .fpt
				romExtensionOrig = .fpt
				romExtensions = fpt
				executable = Future Pinball.exe
				systemName = Future Pinball
				dbName = Back To The Future
				romName = Back To The Future
				romMapPath = 
				romMappingEnabled = false
				romMappingLaunchMenuEnabled = false
				romMappingFirstMatchingExt = false
				romMappingShowAllRomsInArchive = true
				romMappingNumberOfWheelsByScreen = 7
				romMappingMenuWidth = 300
				romMappingMenuMargin = 50
				romMappingTextFont = Bebas Neue
				romMappingTextOptions = cFFFFFFFF r4 s40 Bold
				romMappingDisabledTextColor = ff888888
				romMappingTextSizeDifference = 5
				romMappingTextMargin = 10
				romMappingTitleTextFont = Bebas Neue
				romMappingTitleTextOptions = cFFFFFFFF r4 s60 Bold
				romMappingTitle2TextFont = Bebas Neue
				romMappingTitle2TextOptions = cFFFFFFFF r4 s15 Bold
				romMappingGameInfoTextFont = Bebas Neue
				romMappingGameInfoTextOptions = cFFFFFFFF r4 s15 Regular
				romMappingBackgroundBrush = aa000000
				romMappingColumnBrush = 33000000
				romMappingButtonBrush1 = 6f000000
				romMappingButtonBrush2 = 33000000
				romMappingBackgroundAlign = Stretch and Lose Aspect
				romMappingMenuFlagWidth = 40
				romMappingMenuFlagSeparation = 5
				romMappingDefaultMenuList = FullList
				romMappingSingleFilteredRomAutomaticLaunch = false
				skipchecks = Rom and Emu
				romMatchExt = true
				blockInputTime = 0
				blockInputFile = D:\Live Build\HyperLaunch\Module Extensions\BlockInput.exe
				errorLevelReporting = false
				logFile = D:\Live Build\HyperLaunch\HyperLaunch.log
				logLabel := ["    INFO"," WARNING","   ERROR","  DEBUG1","  DEBUG2"]
				logLevel = 5
				logIncludeModule = true
				logIncludeFileProperties = false
				logShowCommandWindow = false
				logCommandWindow = true
				sysLang = English_United_States
				navUpKey = Up|W
				navDownKey = Down|S
				navLeftKey = Left|A
				navRightKey = Right|D
				navSelectKey = Enter
				navP2UpKey = Numpad8
				navP2DownKey = Numpad2
				navP2LeftKey = Numpad4
				navP2RightKey = Numpad6
				navP2SelectKey = NumpadEnter
				originalWidth = 1280
				originalHeight = 1024
				dtEnabled = true
				dtPath = 
				dtUseSCSI = true
				dtAddDrive = true
				emuIdleShutdown = 0
				hideCursor = false
				hideEmu = false
				hideFE = false
				fadeIn = false
				fadeInDuration = 500
				fadeInTransitionAnimation = DefaultAnimateFadeIn
				fadeInDelay = 0
				fadeInExitDelay = 0
				fadeOutExitDelay = 0
				fadeOut = false
				fadeOutExtraScreen = false
				fadeOutDuration = 500
				fadeOutTransitionAnimation = DefaultAnimateFadeOut
				fadeOutDelay = 0
				fadeLyrInterpolation = 7
				fadeLyr1Color = FF000000
				fadeLyr1AlignImage = Align to Top Left
				fadeLyr2Pos = Bottom Right Corner
				fadeLyr2X = 300
				fadeLyr2Y = 300
				fadeLyr2Adjust = 1
				fadeLyr2PicPad = 0
				fadeLyr3Pos = Center
				fadeLyr3X = 300
				fadeLyr3Y = 300
				fadeLyr3Adjust = 0.75
				fadeLyr3Speed = 750
				fadeLyr3Animation = DefaultFadeAnimation
				fadeLyr37zAnimation = DefaultFadeAnimation
				fadeLyr3Type = imageandbar
				fadeLyr3ImgFollow7zProgress = true
				fadeLyr3Repeat = 1
				fadeLyr3PicPad = 0
				fadeLyr4Adjust = 0.75
				fadeLyr4X = 100
				fadeLyr4Y = 100
				fadeLyr4Pos = Above Layer 3 - Left
				fadeLyr4FPS = 10
				fadeLyr4PicPad = 0
				fadeTranspGifColor = FFFFFF
				fadeBarWindow = false
				fadeBarWindowX = 
				fadeBarWindowY = 
				fadeBarWindowW = 600
				fadeBarWindowH = 120
				fadeBarWindowR = 20
				fadeBarWindowM = 20
				fadeBarWindowHatchStyle = 8
				fadeBarBack = true
				fadeBarBackColor = FF555555
				fadeBarH = 20
				fadeBarR = 5
				fadeBarColor = DD00BFFF
				fadeBarHatchStyle = 3
				fadeBarPercentageText = true
				fadeBarInfoText = true
				fadeBarXOffset = 0
				fadeBarYOffset = 100
				fadeRomInfoDescription = text
				fadeRomInfoSystemName = text
				fadeRomInfoYear = text
				fadeRomInfoManufacturer = text
				fadeRomInfoGenre = text
				fadeRomInfoRating = text
				fadeRomInfoOrder = Description|SystemName|Year|Manufacturer|Genre|Rating
				fadeRomInfoTextPlacement = topRight
				fadeRomInfoTextMargin = 5
				fadeRomInfoText1Options = cFF555555 r4 s20 Bold
				fadeRomInfoText2Options = cFF555555 r4 s20 Bold
				fadeRomInfoText3Options = cFF555555 r4 s20 Bold
				fadeRomInfoText4Options = cFF555555 r4 s20 Bold
				fadeRomInfoText5Options = cFF555555 r4 s20 Bold
				fadeRomInfoText6Options = cFF555555 r4 s20 Bold
				fadeStats_Number_of_Times_Played = text with label
				fadeStats_Last_Time_Played = text with label
				fadeStats_Average_Time_Played = text with label
				fadeStats_Total_Time_Played = text with label
				fadeStats_System_Total_Played_Time = text with label
				fadeStats_Total_Global_Played_Time = text with label
				fadeStatsInfoOrder = Number_of_Times_Played|Last_Time_Played|Average_Time_Played|Total_Time_Played|System_Total_Played_Time|Total_Global_Played_Time
				fadeStatsInfoTextPlacement = topLeft
				fadeStatsInfoTextMargin = 5
				fadeStatsInfoText1Options = cFF555555 r4 s20 Bold
				fadeStatsInfoText2Options = cFF555555 r4 s20 Bold
				fadeStatsInfoText3Options = cFF555555 r4 s20 Bold
				fadeStatsInfoText4Options = cFF555555 r4 s20 Bold
				fadeStatsInfoText5Options = cFF555555 r4 s20 Bold
				fadeStatsInfoText6Options = cFF555555 r4 s20 Bold
				fadeText1X = 0
				fadeText1Y = 0
				fadeText1Options = cFFFFFFFF r4 s20 Right Bold
				fadeText1 = Loading Game
				fadeText2X = 0
				fadeText2Y = 0
				fadeText2Options = cFFFFFFFF r4 s20 Right Bold
				fadeText2 = Extraction Complete
				fadeFont = Arial
				fadeSystemAndRomLayersOnly = false
				fadeInterruptKey = 
				detectFadeErrorEnabled = true
				fadeImgPath = D:\Live Build\HyperLaunch\Media\Fade
				HLDataPath = D:\Live Build\HyperLaunch\Data
				HLMediaPath = D:\Live Build\HyperLaunch\Media
				HLErrSoundPath = D:\Live Build\HyperLaunch\Media\Sounds\Error
				modulesPath = D:\Live Build\HyperLaunch\Modules
				moduleFullName = D:\Live Build\HyperLaunch\Modules\Future Pinball\Future Pinball.ahk
				moduleName = Future Pinball
				modulePath = D:\Live Build\HyperLaunch\Modules\Future Pinball
				moduleExtension = ahk
				moduleExtensionsPath = D:\Live Build\HyperLaunch\Module Extensions
				libPath = D:\Live Build\HyperLaunch\Lib
				7zEnabled = false
				7zPath = D:\Live Build\HyperLaunch\Module Extensions\7z.exe
				7zDllPath = D:\Live Build\HyperLaunch\Module Extensions\7z.dll
				7zExtractPath = C:\Temp
				7zExtractPathOrig = 
				7zAttachSystemName = false
				7zDelTemp = true
				7zSounds = true
				7zFormats = .zip,.rar,.7z,.lzh,.gzip,.tar
				7zFormatsNoP = zip,rar,7z,lzh,gzip,tar
				mgEnabled = false
				mgKey = ~NumpadSub
				mgBackgroundColor = FF000000
				mgSidePadding = 0.2
				mgYOffset = 500
				mgImageAdjust = 0
				mgFont = Arial
				mgText1Options = x10p y30p w80p Center cBBFFFFFF r4 s100 BoldItalic
				mgText1Text = Please select a game
				mgText2Options = w96p cFFFFFFFF r4 s50 Center BoldItalic
				mgText2Offset = 70
				mgUseSound = true
				mgSoundfreq = 300
				mgExitEffect = none
				mgSelectedEffect = rotate
				mgUseGameArt = false
				mgArtworkDir = Artwork1
				hpEnabled = false
				hpKey = ]
				hpBackToMenuBarKey = X
				hpZoomInKey = C
				hpZoomOutKey = V
				hpScreenshotKey = ~PrintScreen
				hpHiToTextPath = D:\Live Build\HyperLaunch\Module Extensions\HiToText.exe
				hpSaveStateKeyCodes = 
				hpLoadStateKeyCodes = 
				keymapperEnabled = true
				keymapperAHKMethod = false
				keymapper = joytokey
				xpadderFullPath = D:\Live Build\Utilities\Xpadder\xpadder.exe
				joyToKeyFullPath = D:\Live Build\HyperSpin Utilities\JoyToKey\JoyToKey.exe
				keymapperProfilePath = D:\Live Build\HyperLaunch\Profiles\joytokey
				keymapperFrontEndProfileName = HyperSpin
				keymapperFrontEndProfile = joytokey
				keymapperHyperLaunchProfileEnabled = true
				JoyIDsEnabled = false
				JoyIDsPreferredControllersSystem = use_global
				JoyIDsPreferredControllersGlobal = use_global
				CustomJoyNamesEnabled = false
				CustomJoyNames = 
				FEProfile = D:\Live Build\HyperLaunch\Profiles\joytokey\HyperSpin
				defaultProfile = D:\Live Build\HyperLaunch\Profiles\joytokey\_Default
				systemProfile = D:\Live Build\HyperLaunch\Profiles\joytokey\Future Pinball
				xPadderSystemProfile = D:\Live Build\HyperLaunch\Profiles\joytokey\Future Pinball\_Default
				emuProfile = D:\Live Build\HyperLaunch\Profiles\joytokey\Future Pinball\Future Pinball
				romProfile = D:\Live Build\HyperLaunch\Profiles\joytokey\Future Pinball\Back To The Future
				HyperLaunchProfile = D:\Live Build\HyperLaunch\Profiles\joytokey\HyperLaunch
				blankProfile = D:\Live Build\HyperLaunch\Profiles\joytokey\blank
				ahkFEProfile = D:\Live Build\HyperLaunch\Profiles\AHK\HyperSpin
				ahkDefaultProfile = D:\Live Build\HyperLaunch\Profiles\AHK\_Default
				ahkSystemProfile = D:\Live Build\HyperLaunch\Profiles\AHK\Future Pinball
				ahkEmuProfile = D:\Live Build\HyperLaunch\Profiles\AHK\Future Pinball\Future Pinball
				ahkRomProfile = D:\Live Build\HyperLaunch\Profiles\AHK\Future Pinball\Back To The Future
				ahkHyperLaunchProfile = D:\Live Build\HyperLaunch\Profiles\AHK\HyperLaunch
				bezelEnabled = false
				statisticsEnabled = true

19:23:40:252 | HL |     INFO  | +0     | BuildScript - Loaded XHotkey Init.ahk scripts
19:23:40:252 | HL |     INFO  | +0     | BuildScript - Loaded Keymapper Init.ahk scripts
19:23:40:252 | HL |     INFO  | +0     | BuildScript - Loaded Statistics Init.ahk scripts
19:23:40:252 | HL |   DEBUG1  | +0     | BuildScript - Module starts on line: 2
19:23:40:252 | HL |     INFO  | +0     | BuildScript - Module:
				MEmu = Future Pinball
				MEmuV = v1.9.1.20101231
				MURL = http://www.futurepinball.com/
				MAuthor = djvj
				MVersion = 2.0
				MCRC = E4BFE69C
				iCRC =
				MID = 635038268894446032
				MSystem = "Future Pinball"
				;----------------------------------------------------------------------------
				; Notes:
				; Thanks to the FPLaunch author for some of the code
				; To set fullscreen, open the emu and goto Preferences->Video / Rendering Options and set your resolution and check fullscreen.
				; AHK is not 100% reliable with its focusing. If coin/start/flipper buttons don't function when you start a table, try clicking your left mouse button.
				; The script will fail if you have any errors or missing files for your tables. Make sure every table is working before you turn on the LoadingScreen.
				; If you use Esc as your exit_emulator_key, you may see the table editor flash in when you exit a game. This is because Esc is the default fixed key for FP so it's closing the game before ahk does.
				; If you get script errors or no tables seem to work, try running FP as admin and it will probably fix it.
				; If you need to run FP as admin, you can try this trick http://www.zdnet.com/blog/bott/fixing-windows-vista-part-2-taming-uac/436?pg=4 and use the other Run command commented below
				; Future Pinball stores its config in the registry @ HKEY_USERS\S-1-5-21-440413192-1003725550-97281542-1001\Software\Future Pinball\GamePlayer
				;----------------------------------------------------------------------------
				StartModule()
				FadeInStart()
				7z(romPath, romName, romExtension, 7zExtractPath)

				Run(executable . " /open """ . romPath . "\" . romName . romExtension . """ /play /exit", emupath, "Hide")
				;Run, "schtasks /run /tn ?Future Pinball?", C:\Windows\system32 ; this runs FP via Task Scheduler if you need to run as admin and don't want to see a UAC popup

				WinWait("ahk_class FuturePinball")
				WinWait("ahk_class FuturePinballOpenGL")
				WinActivate, ahk_class FuturePinballOpenGL
				WinWaitActive("ahk_class FuturePinballOpenGL")
				WinWait, ahk_class FuturePinballOpenGLSecondary,,1	; do not use the function because it will ScriptError after 1 second
				WinActivate, ahk_class FuturePinballOpenGLSecondary
				WinWaitActive, ahk_class FuturePinballOpenGLSecondary,,1	; do not use the function because it will ScriptError after 1 second
				WinWaitClose("ahk_class Ghost",,5)	; this doesn't always get picked up by ahk, so we need a timeout
				Loop {
					IfWinActive, Future Pinball ahk_class FuturePinballOpenGL
						Break
					WinActivate, Future Pinball ahk_class FuturePinballOpenGL
					Sleep, 50
				}
				WinWaitActive("Future Pinball ahk_class FuturePinballOpenGL")

				FadeInExit()
				Process("WaitClose", executable)
				7zCleanUp()
				FadeOutExit()
				ExitModule()


				CloseProcess:
					FadeOutStart()
					WinHide, ahk_class FuturePinball	; need these 2 lines otherwise the table editor flashes over the GUI
					WinMinimize, ahk_class FuturePinball
					WinClose("ahk_class FuturePinball")
					WinWaitClose("ahk_class FuturePinball")	; this helps eliminate the slight flicker when you exit the table
				Return

19:23:40:252 | HL |     INFO  | +0     | BuildScript - Loaded Statistics.ahk script
19:23:40:252 | HL |     INFO  | +0     | BuildScript - Finished injecting functions into module
19:23:40:252 | HL |     INFO  | +0     | Main - Module is built
19:23:40:252 | HL |     INFO  | +0     | CheckFile - Checking if D:\Live Build\HyperLaunch\AutoHotkey.dll exists
19:23:40:269 | HL |     INFO  | +16    | Main - Hiding taskbar
19:23:40:489 | HL |     INFO  | +218   | Main - Hiding desktop
19:23:40:497 | HL |     INFO  | +16    | Main - Running module
19:23:40:632 | MD |     INFO  | +N/A   | Module initialized
19:23:40:634 | MD |     INFO  | +0     | CheckFile - Checking if D:\Live Build\HyperSpin Utilities\JoyToKey\JoyToKey.exe exists
19:23:40:634 | MD |     INFO  | +0     | Keymapper - Loading joytokey
19:23:40:677 | MD |   DEBUG2  | +47    | Keymapper - Joysticks Detected: 1111110000000000
19:23:40:704 | MD |   DEBUG2  | +31    | Keymapper - Searching -> D:\Live Build\HyperLaunch\Profiles\joytokey\Future Pinball\Back To The Future\Back To The Future.cfg
19:23:40:704 | MD |   DEBUG2  | +0     | Keymapper - Searching -> D:\Live Build\HyperLaunch\Profiles\joytokey\Future Pinball\Future Pinball\Future Pinball.cfg
19:23:40:704 | MD |   DEBUG2  | +0     | Keymapper - Searching -> D:\Live Build\HyperLaunch\Profiles\joytokey\Future Pinball\Future Pinball.cfg
19:23:40:704 | MD |     INFO  | +0     | Keymapper - Loading Profile -> D:\Live Build\HyperLaunch\Profiles\joytokey\Future Pinball\Future Pinball.cfg
19:23:40:834 | MD |     INFO  | +125   | Keymapper - Run, JoyToKey.exe "D:\Live Build\HyperLaunch\Profiles\joytokey\Future Pinball\Future Pinball.cfg", D:\Live Build\HyperSpin Utilities\JoyToKey
19:23:40:934 | MD |     INFO  | +109   | StartModule - Started
19:23:40:934 | MD |     INFO  | +0     | StartModule - MEmu: Future Pinball
				MEmuV: v1.9.1.20101231
				MURL: http://www.futurepinball.com/
				MAuthor: djvj
				MVersion: 2.0
				MCRC: E4BFE69C
				iCRC: 
				MID: 
				MSystem: "Future Pinball"
19:23:40:934 | MD |     INFO  | +0     | StartModule - You have a supported System Name for this module: "Future Pinball"
19:23:40:934 | MD |   DEBUG1  | +0     | StartModule - Leaving romName as is because Rom Mapping filled it with an Alternate_Rom_Name: Back To The Future
19:23:40:934 | MD |     INFO  | +0     | StartModule - Ended
19:23:40:934 | MD |     INFO  | +0     | Run - Running: D:\Live Build\Emulators\Future Pinball\Future Pinball.exe /open "D:\HyperSpin ROMS\Future Pinball\Back To The Future.fpt" /play /exit
19:23:41:042 | MD |   DEBUG1  | +94    | Run - "Future Pinball.exe /open "D:\HyperSpin ROMS\Future Pinball\Back To The Future.fpt" /play /exit" Process ID: 4236
19:23:41:044 | MD |   DEBUG1  | +16    | GetActiveWindowStatus - Title: BlackScreen | Class: AutoHotkeyGUI | State: 0 | X: 0 | Y: 0 | Width: 1280 | Height: 1024 | Window HWND: 0xc03a2 | Process ID: 4252 | Process Path: D:\Live Build\HyperLaunch\HyperLaunch.exe
19:23:41:044 | MD |     INFO  | +0     | WinWait - Waiting for "ahk_class FuturePinball"
19:23:42:064 | MD |   DEBUG1  | +1014  | GetActiveWindowStatus - Title: Banner | Class: SPLASH | State: 0 | X: 402 | Y: 359 | Width: 475 | Height: 284 | Window HWND: 0x16018c | Process ID: 4236 | Process Path: D:\Live Build\Emulators\Future Pinball\Future Pinball.exe
19:23:42:064 | MD |   DEBUG1  | +0     | GetActiveWindowStatus - Title: Banner | Class: SPLASH | State: 0 | X: 402 | Y: 359 | Width: 475 | Height: 284 | Window HWND: 0x16018c | Process ID: 4236 | Process Path: D:\Live Build\Emulators\Future Pinball\Future Pinball.exe
19:23:42:064 | MD |     INFO  | +0     | WinWait - Waiting for "ahk_class FuturePinballOpenGL"
19:23:46:942 | MD |   DEBUG1  | +4882  | GetActiveWindowStatus - Title: Future Pinball - [backToTheFutue - ( D:\HyperSpin ROMS\Future Pinball\Back To The Future.fpt )] (Not Responding) | Class: Ghost | State: 0 | X: 92 | Y: 101 | Width: 1024 | Height: 768 | Window HWND: 0x602f4 | Process ID: 3084 | Process Path: C:\Windows\System32\dwm.exe
19:23:46:942 | MD |   DEBUG1  | +0     | GetActiveWindowStatus - Title: Future Pinball - [backToTheFutue - ( D:\HyperSpin ROMS\Future Pinball\Back To The Future.fpt )] (Not Responding) | Class: Ghost | State: 0 | X: 92 | Y: 101 | Width: 1024 | Height: 768 | Window HWND: 0x602f4 | Process ID: 3084 | Process Path: C:\Windows\System32\dwm.exe
19:23:46:942 | MD |     INFO  | +0     | WinWaitActive - Waiting for "ahk_class FuturePinballOpenGL"
19:24:16:940 | MD |   DEBUG1  | +29999 | GetActiveWindowStatus - Title: Future Pinball - © 2008 BSP Software Design Solutions (Not Responding) | Class: Ghost | State: 0 | X: 0 | Y: 0 | Width: 1280 | Height: 1024 | Window HWND: 0xf02cc | Process ID: 3084 | Process Path: C:\Windows\System32\dwm.exe
19:24:17:270 | MD |   DEBUG1  | +328   | ScriptError - Playing error sound: error9.mp3
19:24:30:939 | MD |    ERROR  | +13666 | There was an error waiting for the window "ahk_class FuturePinballOpenGL" to become active. Please check you have the correct version emulator installed for this module, followed any notes in the module, and have this emulator working outside your Frontend first. Also turn off Fade to see if you are hiding your problem.
19:24:30:939 | MD |     INFO  | +0     | ExitModule - Started
19:24:30:939 | MD |     INFO  | +0     | Starting Updating Statistics:
19:24:30:939 | MD |   DEBUG2  | +0     | Total Elapsed Time in Pause in seconds: 0
19:24:30:939 | MD |   DEBUG2  | +0     | gameSectionStartTime:1256634
19:24:30:939 | MD |   DEBUG2  | +0     | ElapsedTime:49
19:24:30:939 | MD |     INFO  | +0     | CreateRomTable - Started
19:24:30:939 | MD |   DEBUG1  | +0     | CreateRomTable - Checking for match: "Back To The Future" and "(Disc"
19:24:30:939 | MD |   DEBUG1  | +0     | CreateRomTable - Checking for match: "Back To The Future" and "(Disk"
19:24:30:939 | MD |   DEBUG1  | +0     | CreateRomTable - Checking for match: "Back To The Future" and "(Cart"
19:24:30:939 | MD |   DEBUG1  | +0     | CreateRomTable - Checking for match: "Back To The Future" and "(Tape"
19:24:30:939 | MD |   DEBUG1  | +0     | CreateRomTable - Checking for match: "Back To The Future" and "(Cassette"
19:24:30:939 | MD |   DEBUG1  | +0     | CreateRomTable - Checking for match: "Back To The Future" and "(Part"
19:24:30:939 | MD |   DEBUG1  | +0     | CreateRomTable - Checking for match: "Back To The Future" and "(Side"
19:24:30:939 | MD |     INFO  | +0     | CreateRomTable - Ended, 7 Loops to create table.
19:24:30:939 | MD |   DEBUG2  | +0     | Statistics cleared game name: Back To The Future
19:24:30:967 | MD |   DEBUG2  | +31    | Loaded game statistics from ini files:
				Number_of_Times_Played: 12
				Last_Time_Played: Monday May 5, 2014 07:15:25 PM
				Average_Time_Played: 96
				Total_Time_Played: 1148
				System_Total_Played_Time: 1362
				Total_Global_Played_Time: 2180
19:24:30:967 | MD |   DEBUG2  | +0     | Updated Statistics: Number_of_Times_Played: 13
				Last_Time_Played: Monday May 5, 2014 07:23:40 PM
				Average_Time_Played: 92
				Total_Time_Played: 1197
				System_Total_Played_Time: 1411
				Total_Global_Played_Time: 2229
19:24:30:992 | MD |     INFO  | +15    | Game section statistics updated.
19:24:30:014 | MD |   DEBUG2  | +32    | Keymapper - Joysticks Detected: 1111110000000000
19:24:31:024 | MD |   DEBUG2  | +0     | Keymapper - Searching -> D:\Live Build\HyperLaunch\Profiles\joytokey\HyperSpin\HyperSpin.cfg
19:24:31:024 | MD |     INFO  | +0     | Keymapper - Loading Profile -> D:\Live Build\HyperLaunch\Profiles\joytokey\HyperSpin\HyperSpin.cfg
19:24:31:247 | MD |     INFO  | +234   | Keymapper - Run, JoyToKey.exe "D:\Live Build\HyperLaunch\Profiles\joytokey\HyperSpin\HyperSpin.cfg", D:\Live Build\HyperSpin Utilities\JoyToKey
19:24:31:277 | MD |     INFO  | +31    | ExitModule - Ended
19:24:31:277 | MD |     INFO  | +0     | End of Module Logs
19:23:40:497 | HL |     INFO  | +0     | Main - Starting timer to watch if Front End gets displaced and restore it if it does.
19:24:31:359 | HL |     INFO  | +50856 | Main - Module ended, exiting HyperLaunch normally
19:24:31:359 | HL |     INFO  | +0     | ExitScript - Started
19:24:31:362 | HL |   DEBUG1  | +0     | ExitScript - Unhiding taskbar
19:24:31:609 | HL |   DEBUG1  | +249   | ExitScript - Restoring HyperSpin.exe to x0 y0 w1280 h1024
19:24:31:759 | HL |   DEBUG1  | +156   | ExitScript - Clicking HyperSpin.exe to attempt to put it into focus
19:24:31:759 | HL |   DEBUG1  | +0     | ExitScript - Checking what application is currently in focus.
19:24:31:759 | HL |   DEBUG1  | +0     | ExitScript - Future Pinball - [backToTheFutue - ( D:\HyperSpin ROMS\Future Pinball\Back To The Future.fpt )] is currently active. Putting focus back on HyperSpin.exe
19:24:31:887 | HL |   DEBUG1  | +125   | ExitScript - Took 1 attempts to put HyperSpin.exe back in focus.
19:24:31:899 | HL |     INFO  | +16    | SystemCursor - Restoring mouse cursor
19:24:31:909 | HL |     INFO  | +0     | ExitScript - Ended

Is anybody able to assist? I've tried altering the module to put a timeout in place, but my AHK skills aren't all that strong. I'm totally stuck!

Posted

Carried on loading tables - haven't changed any settings.

Loaded SLAMT1LT's Back To The Future table. Black screen - no loading bar. Loaded and playable, no issue.

Loaded SLAMT1LT's TRON Legacy Ultra table. Loading screen. Loading bar. Loaded and playable, no issue.

Loaded somebody's Family Guy table. White screen. No loading bar. Loaded and playable, no issue.

Loaded SLAMT1LT's Back To The Future table. Black screen - no loading bar. Timed out. Couldn't play it. Had to kill Future Pinball.exe in task manager and refocus HyperLaunch.

Loaded SLAMT1LT's Back To The Future table. Black screen - no loading bar. Loaded and playable, no issue.

Loaded SLAMT1LT's TRON Legacy Ultra table. Black screen - no loading bar. Timed out. Couldn't play it. Had to kill Future Pinball.exe in task manager and refocus HyperLaunch.

Loaded SLAMT1LT's Back To The Future table. Black screen - no loading bar. Timed out. Couldn't play it. Had to kill Future Pinball.exe in task manager and refocus HyperLaunch.

Loaded SLAMT1LT's Back To The Future table. Black screen - no loading bar. Timed out. Couldn't play it. Had to kill Future Pinball.exe in task manager and refocus HyperLaunch.

Loaded SLAMT1LT's Back To The Future table. Black screen - no loading bar. Timed out. Couldn't play it. Had to kill Future Pinball.exe in task manager and refocus HyperLaunch.

It's so unbelievably random!

Posted

Well, I was about to give up on FP entirely, but I decided to forge on.

I've got to the point now where all tables load - using the below module. This is for Future Pinball 1.9.2013.25 (the SLAMT1LT 2.6 Physics version, if that makes a difference) and 90% of the time, it works fine. The tables LOAD and are playable at least. The other 10% of the time, the window isn't focused (the editor window is active) and you can't control the table. Your exit emulator button should still work though, so exit and reload and chances are, it'll work. If anyone can advise as to how to fix that focusing issue, that'd be great!

I'm sure it isn't pretty, but this at least gets me doing what I want to do, which is playing the table!

MEmu = Future Pinball
MEmuV = v1.9.2013.25
MURL = http://www.futurepinball.com/
MAuthor = KMxRetro
MVersion = 0.2

StartModule()
FadeInStart()
7z(romPath, romName, romExtension, 7zExtractPath)

Run(executable . " /open """ . romPath . "\" . romName . romExtension . """ /play /exit", emupath, "Hide")

WinWait("Future Pinball - © 2008 BSP Software Design Solutions")
WinWaitActive("Future Pinball - © 2008 BSP Software Design Solutions")

SetTitleMatchMode 3
WinHide, "Future Pinball"
WinShow, "Future Pinball - © 2008 BSP Software Design Solutions"
WinActivate, "Future Pinball - © 2008 BSP Software Design Solutions"
ControlFocus, "Future Pinball - © 2008 BSP Software Design Solutions"
SetTitleMatchMode 1

FadeInExit()
Process("WaitClose", executable)
7zCleanUp()
FadeOutExit()
ExitModule()


CloseProcess:
FadeOutStart()
WinClose("Future Pinball - © 2008 BSP Software Design Solutions")
WinWaitClose("Future Pinball - © 2008 BSP Software Design Solutions")	
Return

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...