[SOLVED] Exiting PC games but Hyperspin remains inactive

Status
Not open for further replies.

mankin

Member
RL Member
Hello:

I posed this question over at the Hyperspin forums and it was suggested I come here instead.

I've added PC Games to Rocketlauncher and Hyperspin and I'm using Killer Instinct as my test game. I am able to launch and exit the game in Rocketlauncher, but in Hyperspin I launch the game and it pushes Hyperspin into the back (making it inactive/paused) and when I exit the game Hyperspin stays in the background. I need to use the keyboard and mouse to click on it to make it active again. How do my make Hyperspin active again after I exit a PC game.

I have made this change in RL settings for PC Games:
image.thumb.png.4313420cdc748f9d3c61740466a7502b.png

I am using the Microsoft store version of KI (I got it before they released it to Steam). I am using the Windows 10 bat exe launcher. Here's how I set it up in RL:
ki-1.JPGki-2.JPG

Thanks in advance.
 

tonesmalone

Active member
RL Member
Do you use fade?

A troubleshooting log would help here also.


Sent from my iPhone using Tapatalk Pro
 

mankin

Member
RL Member
Hi Tonesmalone:

I turned off fade as it was recommended to see if any errors pop up during the launching of the pc game.

Troubleshoot log for hyperspin or rocketlauncher?
 

tonesmalone

Active member
RL Member
For RL.

You could also do with setting an AppWaitExe. RL needs some way to know that the game has exited.


Sent from my iPhone using Tapatalk Pro
 

mankin

Member
RL Member
Okay, cool.

What would the AppWaitExe be? Isn't it usually a bat file?

I checked the log and came across this in it:
10:55:28:840 | RL | ERROR | +11312 | ExitScript - Timed out trying to put HyperSpin.exe back in focus.
PHP:
[code]
10:55:15:229 | RL |      INFO  | +N/A   | Main - RocketLauncher v1.2.0.1 (www.rlauncher.com)
10:55:15:391 | RL |      INFO  | +172   | Main - System Specs:
					RocketLauncher Dir: D:\Games\RocketLauncher
					RocketLauncher is: 32-bit
					OS: Microsoft Windows 10 Home
					SKU: Windows 8
					Total Memory: 16340.61 MB
					Free Memory: 11404.09 MB
					Used Memory: 4936.520 MB
					SystemType: 64-bit
					Physical Processors: 1
					Logical Processors: 8
					GPU 1 Name: NVIDIA GeForce GTX 1080
					GPU 1 RAM: -1.00 MB
					GPU 1 Driver Version: 27.21.14.6089
					Sound 1 Device: Steam Streaming Microphone
					Sound 1 Status: Enabled
					Sound 2 Device: Steam Streaming Speakers
					Sound 2 Status: Enabled
					Sound 3 Device: NVIDIA Virtual Audio Device (Wave Extensible) (WDM)
					Sound 3 Status: Enabled
					Sound 4 Device: Sound Blaster Recon3Di
					Sound 4 Status: Enabled
					Sound 5 Device: NVIDIA High Definition Audio
					Sound 5 Status: Enabled
					OS Language: English_United_States
					System Locale: en-CA
					Formats Locale: en-CA
					Windows UI Language: en-US
					Text Encoding: Windows-1252
					OS Admin Status: No
					RL Compatibility Flags:  HIGHDPIAWARE
					Latest .Net Version: v4.0.30319
					Monitor #1 (\\.\DISPLAY1): 1920x1080 (1920x1080 work) [32bit] [144hz] [Landscape]  (Primary)
					Current AHK Desktop Width: 1920
					Current AHK Desktop Height: 1080
					Monitor #1 DPI: 100
					ErrorMode: 0
					AutoHotkey Path: C:\Program Files\AutoHotkey\AutoHotkey.exe
					AHK Version: 1.1.13.00
					Unicode: No
10:55:15:391 | RL |      INFO  | +0     | CheckFile - Checking if D:\Games\RocketLauncher\RocketLauncher.exe exists
10:55:15:392 | RL |      INFO  | +0     | Main - Raw CLI received: "PC Games Killer Instinct"
10:55:15:392 | RL |      INFO  | +0     | Main - Loading Front End Plugin: "RocketLauncherUI"
10:55:15:392 | RL |      INFO  | +0     | Process.Process - "Exist" "HyperSpin.exe" 
10:55:15:406 | RL |      INFO  | +16    | Main - Detected HyperSpin.exe is currently running
10:55:15:406 | RL |      INFO  | +0     | Main - HyperSpin.exe coordinates are x0 y0 w1920 h1080
10:55:15:406 | RL |      INFO  | +0     | Main - RocketLauncher received "PC Games" and "Killer Instinct"
10:55:15:415 | RL |      INFO  | +0     | Main - Did not find a "D:\Games\RocketLauncher\Settings\PC Games\Game Options.ini" file, skipping any game-specific options.
10:55:15:415 | RL |      INFO  | +0     | Main - Killer Instinct is using the default emulator: PCLauncher
10:55:15:415 | RL |      INFO  | +0     | Main - Checking for a [PCLauncher] section in D:\Games\RocketLauncher\Settings\PC Games\Emulators.ini
10:55:15:415 | RL |      INFO  | +0     | Main - Checking for a [PCLauncher] section in D:\Games\RocketLauncher\Settings\Global Emulators.ini
10:55:15:416 | RL |      INFO  | +0     | Main - Found [PCLauncher] in D:\Games\RocketLauncher\Settings\Global Emulators.ini
10:55:15:416 | RL |      INFO  | +0     | CheckFile - Checking if D:\Games\RocketLauncher\Modules\PCLauncher\PCLauncher.ahk exists
10:55:15:420 | RL |      INFO  | +15    | Main - CRC Check - CRC matches, this is an official unedited module.
10:55:15:420 | RL |      INFO  | +0     | Main - Killer Instinct will use module: D:\Games\RocketLauncher\Modules\PCLauncher\PCLauncher.ahk
10:55:15:433 | RL |      INFO  | +0     | Main - Using SkipChecks method "Rom and Emu" or emuName = "PCLauncher".
10:55:15:433 | RL |      INFO  | +0     | Main - INI Keys read
10:55:15:433 | RL |      INFO  | +0     | CheckFile - Checking if D:\Games\RocketLauncher\Module Extensions\7z.exe exists
10:55:15:434 | RL |      INFO  | +16    | CheckFile - Checking if D:\Games\RocketLauncher\Module Extensions\7z.dll exists
10:55:15:442 | RL |      INFO  | +0     | Main - "Killer Instinct" does not qualify for MultiGame. Only roms with any of these strings in their name are acceptable: \(Disc|\(Disk|\(Cart|\(Tape|\(Cassette|\(Part|\(Side
10:55:15:442 | RL |      INFO  | +0     | CheckPaths - Started
10:55:15:442 | RL |      INFO  | +0     | CheckPaths - Ended
10:55:15:443 | RL |      INFO  | +0     | BuildScript - User Variables:
					;----------------------------------------------------------------------------
					; INJECTED VARIABLES
					;----------------------------------------------------------------------------
					
					#NoTrayIcon
					#InstallKeybdHook
					MiscUtils.DetectHiddenWindows("On")
					SetTitleMatchMode, 2
					SendMode, Event
					Global RLLog
					Global RLObject
					0 := "2"
					rlPath := "D:\Games\RocketLauncher"
					pluginPath := "D:\Games\RocketLauncher\Plugins"
					pluginName := "RocketLauncherUI"
					pluginExt := ".plugin"
					contextOnExit := ""
					rlMode := ""
					rlTitle := "RocketLauncher"
					rlVersion := "1.2.0.1"
					rlAuthor := "djvj"
					rlURL := "www.rlauncher.com"
					langFile := "D:\Games\RocketLauncher\Data\Language\Localization.ini"
					primMonitor := "1"
					frontendPID := "3772"
					frontendPath := "D:\Games\HyperSpin"
					frontendExe := "HyperSpin.exe"
					frontendExt := "exe"
					frontendName := "HyperSpin"
					frontendDrive := "D"
					exitEmulatorKey := ""
					restoreFE := "Restore and Click"
					exitScriptKey := "~q & ~s"
					toggleCursorKey := "~e & ~t"
					emuFullPath := ""
					emuPath := ""
					emuName := "PCLauncher"
					emuExt := ""
					baseRomPath := ""
					romPath := ""
					romPathFromIni := ""
					romExtension := ""
					romExtensionOrig := ""
					romExtensions := ""
					executable := ""
					systemDbName := "PC Games"
					systemName := "PC Games"
					dbPath := ""
					dbName := "Killer Instinct"
					dbExt := ""
					romFoundByExt := ""
					romName := ""
					romMapPath := ""
					romMappingEnabled := "false"
					romMappingLaunchMenuEnabled := "false"
					romMappingFirstMatchingExt := "false"
					romMappingShowAllRomsInArchive := "true"
					romMappingNumberOfGamesByScreen := "7"
					romMappingHideParent := "false"
					romMappingMenuWidth := "400"
					romMappingMenuMargin := "65"
					romMappingTextFont := "Bebas Neue"
					romMappingTextOptions := "cFFFFFFFF r4 s60 Bold"
					romMappingDisabledTextColor := "ff888888"
					romMappingTextSizeDifference := "7"
					romMappingTextMargin := "15"
					romMappingTitleTextFont := "Bebas Neue"
					romMappingTitleTextOptions := "cFFFFFFFF r4 s90 Bold"
					romMappingTitle2TextFont := "Bebas Neue"
					romMappingTitle2TextOptions := "cFFFFFFFF r4 s22 Bold"
					romMappingGameInfoTextFont := "Bebas Neue"
					romMappingGameInfoTextOptions := "cFFFFFFFF r4 s22 Regular"
					romMappingGameNameTextFont := "Bebas Neue"
					romMappingGameNameTextOptions := "cFFFFFFFF r4 s40 Regular"
					romMappingBackgroundBrush := "aa000000"
					romMappingColumnBrush := "33000000"
					romMappingButtonBrush1 := "6f000000"
					romMappingButtonBrush2 := "33000000"
					romMappingBackgroundAlign := "Stretch and Lose Aspect"
					romMappingMenuFlagWidth := "55"
					romMappingMenuFlagSeparation := "7"
					romMappingDefaultMenuList := "FullList"
					romMappingSingleFilteredRomAutomaticLaunch := "false"
					altArchiveNameOnly := ""
					altRomNameOnly := ""
					altArchiveAndRomName := ""
					altArchiveAndManyRomNames := ""
					altRomNamesOnly := ""
					romMapScenario := ""
					skipchecks := "false"
					romMatchExt := "false"
					blockInputTime := "0"
					blockInputFile := "D:\Games\RocketLauncher\Module Extensions\BlockInput.exe"
					errorLevelReporting := "false"
					lockLaunch := "false"
					lockLaunchGame := ""
					screenRotationAngle := "0"
					screenRotationAngleGame := ""
					setResolution := ""
					logFile := ""
					logLabel := ["    INFO"," WARNING","   ERROR","   DEBUG","   TRACE"]
					logLevel := "3"
					logShowDebugConsole := "false"
					logShowCommandWindow := "false"
					logCommandWindow := "false"
					logIncludeModule := "true"
					logIncludeFileProperties := "true"
					logIncludeDLLLogs := "false"
					errorSounds := "true"
					rlDebugConsoleStdout := ""
					sysLang := "English_United_States"
					sysType := "64-bit"
					broadcastWindowTitle := ""
					navUpKey := "Up"
					navDownKey := "Down"
					navLeftKey := "Left"
					navRightKey := "Right"
					navSelectKey := "Enter"
					navP2UpKey := "Numpad8"
					navP2DownKey := "Numpad2"
					navP2LeftKey := "Numpad4"
					navP2RightKey := "Numpad6"
					navP2SelectKey := "NumpadEnter"
					originalWidth := "1920"
					originalHeight := "1080"
					vdEnabled := "false"
					vdFullPath := "C:\Program Files\DAEMON Tools Lite\DTLite.exe"
					vdUseSCSI := "false"
					vdDriveLetter := "K"
					vdDriveLetterScsi := ""
					vdAddDrive := "true"
					demulShooterPath := "D:\Games\HyperSpin\Utilities\DemulShooter_v4.6\DemulShooter.exe"
					servoStikEnabled := "false"
					servoStikExitMode := "false"
					ledblinkyEnabled := "false"
					ledblinkySystemName := ""
					ledblinkyFullPath := ""
					ledblinkyProfilePath := "D:\Games\RocketLauncher\Profiles\LEDBlinky"
					ledblinkyRLProfile := "D:\Games\RocketLauncher\Profiles\LEDBlinky\RocketLauncher"
					winIPACFullPath := ""
					ultraMapEnabled := "false"
					ultraMapFullPath := ""
					emuIdleShutdown := "0"
					launchPasswordHash := "UpUpDownDownLeftRightLeftRight"
					cursorSize := ""
					hideCursor := "false"
					hideEmu := "false"
					hideFE := "false"
					suspendFE := "false"
					fadeIn := "false"
					fadeInDuration := "500"
					fadeInTransitionAnimation := "DefaultAnimateFadeIn"
					fadeInDelay := "1000"
					fadeInExitDelay := "0"
					fadeOutExitDelay := "0"
					fadeOut := "false"
					fadeOutExtraScreen := "false"
					fadeOutDuration := "500"
					fadeOutTransitionAnimation := "DefaultAnimateFadeOut"
					fadeOutDelay := "1000"
					fadeLyrInterpolation := "7"
					fadeMuteEmulator := "false"
					fadeUseBackgrounds := "false"
					fadeClickThrough := "false"
					fadeSounds := "true"
					fade7zProgressMode := "extraction"
					fadeWidthBaseRes := "1920"
					fadeHeightBaseRes := "1080"
					fadeLyr1Color := "FF000000"
					fadeLyr1AlignImage := "Stretch and Lose Aspect"
					fadeLyr2Pos := "Stretch and Lose Aspect"
					fadeLyr2X := "0"
					fadeLyr2Y := "0"
					fadeLyr2W := ""
					fadeLyr2H := ""
					fadeLyr2Adjust := "1"
					fadeLyr2PicPad := "0"
					fadeLyr2Prefix := "Extra Layer 1 - Console"
					fadeLyr3Pos := "Center"
					fadeLyr3X := "450"
					fadeLyr3Y := "450"
					fadeLyr3W := ""
					fadeLyr3H := ""
					fadeLyr3Adjust := "1"
					fadeLyr3PicPad := "0"
					fadeLyr3Speed := "750"
					fadeLyr3Animation := "DefaultFadeAnimation"
					fadeLyr37zAnimation := "DefaultFadeAnimation"
					fadeLyr3Type := "imageandbar"
					fadeLyr3ImgFollow7zProgress := "true"
					fadeLyr3Repeat := "1"
					fadeLyr3BackImageTransparency := "30"
					fadeLyr3StaticPos := "No Alignment"
					fadeLyr3StaticX := "0"
					fadeLyr3StaticY := "870|1575"
					fadeLyr3StaticW := ""
					fadeLyr3StaticH := ""
					fadeLyr3StaticAdjust := "1"
					fadeLyr3StaticPicPad := "0"
					fadeLyr3StaticPrefix := "Info Bar"
					fadeLyr4Adjust := "1"
					fadeLyr4X := "1792|952"
					fadeLyr4Y := "891|1596"
					fadeLyr4W := "231"
					fadeLyr4H := "250"
					fadeLyr4Pos := "Bottom Center"
					fadeLyr4FPS := "50"
					fadeLyr4PicPad := "420"
					fadeTranspGifColor := "FFFFFF"
					fadeBarWindow := "Image"
					fadeBarWindowX := ""
					fadeBarWindowY := ""
					fadeBarWindowW := "900"
					fadeBarWindowH := ""
					fadeBarWindowR := "30"
					fadeBarWindowM := "30"
					fadeBarWindowHatchStyle := "8"
					fadeBar := "7zOnly"
					fadeProgressDuration := "0"
					fadeBarBack := "true"
					fadeBarBackColor := "FF555555"
					fadeBarH := "30"
					fadeBarR := "10"
					fadeBarColor := "DD00BFFF"
					fadeBarHatchStyle := "8"
					fadeBarPercentageText := "true"
					fadeBarInfoText := "true"
					fadeBarXOffset := "0"
					fadeBarYOffset := "150"
					fadeRomInfoDescription := "filtered text"
					fadeRomInfoSystemName := "image"
					fadeRomInfoYear := "text with label"
					fadeRomInfoDeveloper := "disabled"
					fadeRomInfoPublisher := "disabled"
					fadeRomInfoGenre := "disabled"
					fadeRomInfoRating := "image"
					fadeRomInfoOrder := "Description|SystemName|Year|Developer|Genre|Rating|Publisher"
					fadeRomInfoTextPlacement := "User Defined"
					fadeRomInfoTextMargin := "7"
					fadeRomInfoText1Options := "w1600|787 h90 x165 y870|1575 cFFE1E1E1 r4 s90 Left Regular"
					fadeRomInfoText2Options := "w400 x8 y15 cFF555555 r4 s60 Bold"
					fadeRomInfoText3Options := "w310 x165 y960|1665 cFFE1E1E1 r4 s66 Left Regular"
					fadeRomInfoText4Options := "w1305|492 h66 x460 y960|1665 cFFE1E1E1 r4 s66 Left Regular"
					fadeRomInfoText5Options := "cFF555555 r4 s42 Bold"
					fadeRomInfoText6Options := "h135 x15 y885|1590 cFFCFCFCA r4 s120 Regular"
					fadeRomInfoText7Options := "h135 x15 y885|1590 cFFCFCFCA r4 s120 Regular"
					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 := "topRight"
					fadeStatsInfoTextMargin := "7"
					fadeStatsInfoText1Options := "cFFB4B4B4 r4 s22 Bold"
					fadeStatsInfoText2Options := "cFFB4B4B4 r4 s22 Bold"
					fadeStatsInfoText3Options := "cFFB4B4B4 r4 s22 Bold"
					fadeStatsInfoText4Options := "cFFB4B4B4 r4 s22 Bold"
					fadeStatsInfoText5Options := "cFFB4B4B4 r4 s22 Bold"
					fadeStatsInfoText6Options := "cFFB4B4B4 r4 s22 Bold"
					fadeText1X := "0"
					fadeText1Y := "0"
					fadeText1Options := "cFFB4B4B4 r4 s30 Right Bold"
					fadeText1 := "Loading Game"
					fadeText2X := "0"
					fadeText2Y := "0"
					fadeText2Options := "cFFB4B4B4 r4 s30 Right Bold"
					fadeText2 := "Extraction Complete, Ready"
					fadeText3 := "Loading Game"
					fadeText4 := "Loading Complete"
					fadeFont := "Bebas Neue"
					fadeSystemAndRomLayersOnly := "false"
					fadeExtractionTime := "disabled"
					fadeExtractionTimeTextX := "0"
					fadeExtractionTimeTextY := "0"
					fadeExtractionTimeTextOptions := "cFF555555 r4 s20 Bold"
					fadeInterruptKey := ""
					detectFadeErrorEnabled := "true"
					fadeImgPath := "D:\Games\RocketLauncher\Media\Fade"
					RLDataPath := "D:\Games\RocketLauncher\Data"
					RLMediaPath := "D:\Games\RocketLauncher\Media"
					RLErrSoundPath := "D:\Games\RocketLauncher\Media\Sounds\Error"
					modulesPath := "D:\Games\RocketLauncher\Modules"
					moduleFullName := "D:\Games\RocketLauncher\Modules\PCLauncher\PCLauncher.ahk"
					moduleName := "PCLauncher"
					modulePath := "D:\Games\RocketLauncher\Modules\PCLauncher"
					moduleExtension := "ahk"
					moduleExtensionsPath := "D:\Games\RocketLauncher\Module Extensions"
					libPath := "D:\Games\RocketLauncher\Lib"
					sevenZEnabled := "false"
					sevenZPath := "D:\Games\RocketLauncher\Module Extensions\7z.exe"
					sevenZDllPath := "D:\Games\RocketLauncher\Module Extensions\7z.dll"
					sevenZExtractPath := "C:\Temp Game HyperSpin"
					sevenZExtractPathOrig := ""
					sevenZAttachSystemName := "false"
					sevenZDelTemp := "false"
					sevenZFormats := ".7z|.rar|.zip"
					sevenZFormatsNoP := "7z|rar|zip"
					sevenZFormatsRegEx := "\.7z|\.rar|\.zip"
					sevenZGamesToKeep := ""
					sevenZDeletePerSystem := "false"
					sevenZExtensions := "7z|rar|zip"
					7zExtractPath := "C:\Temp Game HyperSpin"
					mgEnabled := "false"
					mgKey := "~NumpadSub"
					mgBackgroundColor := "FF000000"
					mgSidePadding := "0.2"
					mgWidthBaseRes := "1920"
					mgHeightBaseRes := "1080"
					mgYOffset := "500|800"
					mgFont := "Arial"
					mgText1Options := "x10p y250|500 w80p Center cBBFFFFFF r4 s100 BoldItalic"
					mgText1Text := "Please select a game"
					mgText2Options := "w96p cFFFFFFFF r4 s50 Center BoldItalic"
					mgText2Offset := "100"
					mgUseSound := "true"
					mgSoundfreq := "300"
					mgExitEffect := "none"
					mgSelectedEffect := "rotate"
					mgUseGameArt := "false"
					mgCandidate := ""
					mgValidTypes := "\(Disc|\(Disk|\(Cart|\(Tape|\(Cassette|\(Part|\(Side"
					mgOnLaunch := "false"
					pauseEnabled := "false"
					pauseKey := "~NumpadAdd"
					pauseBackToMenuBarKey := "X"
					pauseZoomInKey := "C"
					pauseZoomOutKey := "V"
					pauseScreenshotKey := "~PrintScreen"
					pauseHiToTextPath := "D:\Games\RocketLauncher\Module Extensions\HiToText.exe"
					pauseSaveStateKeyCodes := ""
					pauseLoadStateKeyCodes := ""
					keyboardEncoder := ""
					keyboardEncoderEnabled := "false"
					keymapperEnabled := "true"
					keymapperAHKMethod := "false"
					keymapper := "joytokey"
					xpadderFullPath := "D:\Games\HyperSpin\Utilities\Xpadder\Xpadder.exe"
					joyToKeyFullPath := "D:\Games\HyperSpin\Utilities\JoyToKey\JoyToKey.exe"
					profilePath := "D:\Games\RocketLauncher\Profiles"
					keymapperProfilePath := "D:\Games\RocketLauncher\Profiles\joytokey"
					keymapperFrontEndProfileName := "RocketLauncherUI"
					keymapperFrontEndProfile := "joytokey"
					keymapperRocketLauncherProfileEnabled := "true"
					joyIDsEnabled := "true"
					joyIDsPreferredControllersGlobal := "Controller (XBOX 360 For Windows)"
					joyIDsPreferredControllersSystem := "use_global"
					joyIDsPreferredControllersOnExit := ""
					CustomJoyNamesEnabled := "false"
					CustomJoyNames := ""
					rotateMethod := "false"
					FEProfile := "D:\Games\RocketLauncher\Profiles\joytokey\RocketLauncherUI"
					defaultProfile := "D:\Games\RocketLauncher\Profiles\joytokey\_Default"
					systemProfile := "D:\Games\RocketLauncher\Profiles\joytokey\PC Games"
					xPadderSystemProfile := "D:\Games\RocketLauncher\Profiles\joytokey\PC Games\_Default"
					emuProfile := "D:\Games\RocketLauncher\Profiles\joytokey\PC Games\PCLauncher"
					romProfile := "D:\Games\RocketLauncher\Profiles\joytokey\PC Games\Killer Instinct"
					RocketLauncherProfile := "D:\Games\RocketLauncher\Profiles\joytokey\RocketLauncher"
					blankProfile := "D:\Games\RocketLauncher\Profiles\joytokey\blank"
					ahkFEProfile := "D:\Games\RocketLauncher\Profiles\AHK\RocketLauncherUI"
					ahkDefaultProfile := "D:\Games\RocketLauncher\Profiles\AHK\_Default"
					ahkSystemProfile := "D:\Games\RocketLauncher\Profiles\AHK\PC Games"
					ahkEmuProfile := "D:\Games\RocketLauncher\Profiles\AHK\PC Games\PCLauncher"
					ahkRomProfile := "D:\Games\RocketLauncher\Profiles\AHK\PC Games\Killer Instinct"
					ahkRocketLauncherProfile := "D:\Games\RocketLauncher\Profiles\AHK\RocketLauncher"
					bezelEnabled := "true"
					bezelICEnabled := "false"
					shaderName := "false"
					shaderColor := ""
					shaderTransparency := ""
					statisticsEnabled := "true"
					pressDuration := "-1"
					emuVolume := "1"
					dxwndIni := "D:\Games\RocketLauncher\Module Extensions\dxwnd\dxwnd.ini"
					dxwndFullPath := "D:\Games\RocketLauncher\Module Extensions\dxwnd\dxwnd.exe"
					qResFullPath := "D:\Games\RocketLauncher\Module Extensions\QRes.exe"
					mon1O := ""
					pacDrivedllFile := "D:\Games\RocketLauncher\Module Extensions\PacDrive32.dll"
					userFadeAnimIniFile := "D:\Games\RocketLauncher\Lib\User Fade Animations.ini"
					testFile := ""
					testDuration := ""
					initialErrorMode := "0"

10:55:15:445 | RL |      INFO  | +0     | BuildScript - Loaded XHotkey Init.ahk scripts
10:55:15:445 | RL |      INFO  | +0     | BuildScript - Loaded Keymapper Init.ahk scripts
10:55:15:445 | RL |      INFO  | +0     | BuildScript - Loaded Statistics Init.ahk scripts
10:55:15:445 | RL |      INFO  | +0     | BuildScript - Validating module
10:55:15:447 | RL |      INFO  | +0     | BuildScript - Validation complete
10:55:15:447 | RL |      INFO  | +0     | BuildScript - Module:
					MEmu := "PCLauncher"
					MEmuV := "N/A"
					MURL := ["http://www.rlauncher.com/wiki/index.php?title=PCLauncher"]
					MAuthor := ["djvj"]
					MVersion := "2.2.7"
					MCRC := "5814E2E"
					iCRC := "28F444EF"
					MID := "635243126483565041"
					MSystem := ["American Laser Games","Arcade PC","Doujin Soft","Examu eX-BOARD","Fan Remakes","Games for Windows","Konami e-Amusement","Konami Bemani","Microsoft Windows","PCLauncher","PC Games","Singstar","Steam","Steam Big Picture","Taito Type X","Taito Type X2","Touhou","Touhou Project","Ultrastar","Ultrastar Deluxe","Windows Games"]
					;----------------------------------------------------------------------------
					; Notes:
					; Use the examples in the ini, in your Modules\PCLauncher\ folder, to add more applications.
					; PCLauncher supports per-System inis. Copy your PCLauncher ini in the same folder and rename it to match the System's Name. Use this if you have games with the same name across multiple systems.
					; Read the tooltips for each module setting in RocketLauncherUI for the definitions of each key and help using them.
					; For information on how to use this module and what all the settings do, please see http://www.rlauncher.com/wiki/index.php?title=PCLauncher
					;----------------------------------------------------------------------------
					StartModule()
					
					moduleIni.CheckFile("Could not find """ . moduleIni.FileFullPath . """`n`nRocketLauncherUI will create this file when you configure your first game to be used with the " . MEmu . " module.")
					
					Application := moduleIni.Read(dbName, "Application",,,1)
					AppWaitExe := moduleIni.Read(dbName, "AppWaitExe",,,1)
					DiscImage := moduleIni.Read(dbName, "DiscImage",,,1)
					DXWndGame := moduleIni.Read(dbName, "DXWndGame",,,1)
					DXWndMaximizeWindow := moduleIni.Read(dbName, "DXWndMaximizeWindow",,,1)
					ExitMethod := moduleIni.Read(dbName, "ExitMethod",,,1)
					FadeTitle := moduleIni.Read(dbName, "FadeTitle",,,1)
					FadeTitleWaitTillActive := moduleIni.Read(dbName, "FadeTitleWaitTillActive","true",,1)
					FadeTitleTimeout := moduleIni.Read(dbName, "FadeTitleTimeout",,,1)
					FadeInExitSleep := moduleIni.Read(dbName, "FadeInExitSleep",,,1)
					HideConsole := moduleIni.Read(dbName, "HideConsole",,,1)
					OriginGame := moduleIni.Read(dbName, "OriginGame",,,1)
					Parameters := moduleIni.Read(dbName, "Parameters",,,1)
					PostLaunch := moduleIni.Read(dbName, "PostLaunch",,,1)
					PostLaunchParameters := moduleIni.Read(dbName, "PostLaunchParameters",,,1)
					PostLaunchSleep := moduleIni.Read(dbName, "PostLaunchSleep",,,1)
					PostExit := moduleIni.Read(dbName, "PostExit",,,1)
					PostExitParameters := moduleIni.Read(dbName, "PostExitParameters",,,1)
					PostExitSleep := moduleIni.Read(dbName, "PostExitSleep",,,1)
					PreLaunch := moduleIni.Read(dbName, "PreLaunch",,,1)
					PreLaunchParameters := moduleIni.Read(dbName, "PreLaunchParameters",,,1)
					PreLaunchMode := moduleIni.Read(dbName, "PreLaunchMode",,,1)
					PreLaunchSleep := moduleIni.Read(dbName, "PreLaunchSleep",,,1)
					SteamID := moduleIni.Read(dbName, "SteamID",,,1)
					WorkingFolder := moduleIni.Read(dbName, "WorkingFolder",,,1)
					bezelTopOffset := moduleIni.Read(dbName, "BezelTopOffset","0",,1)
					bezelBottomOffset := moduleIni.Read(dbName, "BezelBottomOffset","0",,1)
					bezelLeftOffset := moduleIni.Read(dbName, "BezelLeftOffset","0",,1)
					bezelRightOffset := moduleIni.Read(dbName, "BezelRightOffset","0",,1)
					BezelFixedResMode := moduleIni.Read(dbName, "BezelFixedResMode","false",,1)
					HideWindowTitleBar := moduleIni.Read(dbName, "HideWindowTitleBar","true",,1)
					HideWindowBorder := moduleIni.Read(dbName, "HideWindowBorder","true",,1)
					HideWindowMenuBar := moduleIni.Read(dbName, "HideWindowMenuBar","true",,1)
					HideDecoratorsAfterMove := moduleIni.Read(dbName, "HideDecoratorsAfterWindowMove","false",,1)
					HideWindowBorderFirst := moduleIni.Read(dbName, "HideWindowBorderFirst","false",,1)
					Fullscreen := moduleIni.Read(dbName, "Fullscreen",,,1)
					
					If (!Application && !SteamID) { ; This app cannot be launched if no info exists already in the ini and this is not a steam game
						ScriptError("You have not set up " . dbName . " in RocketLauncherUI yet, so PCLauncher does not know what exe, FadeTitle, and/or SteamID to watch for.")
					}
					
					; Configuring bezel settings that would normally be set in BezelLabel
					If (HideWindowTitleBar = "false")
						disableHideTitleBar := true
					If (HideWindowBorder = "false")
						disableHideBorder := true
					If (HideWindowMenuBar = "false")
						disableHideToggleMenu := true
					If (HideDecoratorsAfterMove = "true")
						hideDecoratorsAfterWindowMove := true
					If (HideWindowBorderFirst = "true")
						hideBorderFirst := true
					
					If Fullscreen {
						;Warn user if fullscreen is set, but no custom game user function file exists for this game
						gameUserFunc := new File(libPath . "\Lib\User Functions\" . systemName . "\" . dbName . ".ahk")
						If (!gameUserFunc.Exist()) {
							RLLog.Warning("PCLauncher - You have configured a fullscreen setting for this game, but no GameUserFunction file exists at '" . gameUserFunc.FileFullPath . "' therefore the fullscreen setting won't have any effect until you create such file and implement the proper SetFullscreen function")
						}
					}
					
					BezelGUI()
					FadeInStart()
					If (BezelFixedResMode = "true")
						BezelStart("fixResMode")
					Else
						BezelStart()
					
					If Application {
						primaryExe := new Emulator(Application)		; instantiate primary application executable object
					}
					
					If (AppWaitExe != "") {
						AppWaitExe := new Process(AppWaitExe)
					}
					
					If FadeTitle {
						FadeTitleObj := StringUtils.ParsePCTitle(FadeTitle)
						appPrimaryWindow := new Window(new WindowTitle(FadeTitleObj.Title,FadeTitleObj.Class))	; instantiate primary application window object
					}
					
					; If Application needs a cd/dvd image in the drive, mount it in DT first
					If DiscImage {
						RLLog.Info("PCLauncher - Application is a Disc Image, mounting it in DT")
						appIsImage := 1
						DiscImage := new File(GetFullName(DiscImage))	; convert a relative path defined in the PCLauncher ini to absolute
						DiscImage.CheckFile("Cannot find this DiscImage for " . dbName . ":`n" . DiscImage.FileFullPath)
						; StringUtils.SplitPath(DiscImage,"",ImagePath,ImageExt,ImageName)
						If StringUtils.Contains(DiscImage.FileExt,"mds|mdx|b5t|b6t|bwt|ccd|cue|isz|nrg|cdi|iso|ape|flac")
						{	VirtualDrive("get")	; get the vdDriveLetter
							; VirtualDrive("mount",ImagePath . "\" . ImageName . "." . ImageExt)
							VirtualDrive("mount",DiscImage.FileFullPath)
						} Else
							ScriptError("You defined a DiscImage, but it is not a supported format for this module and/or DT:`nccd,cdi,cue,iso,isz,nrg")
					}
					
					; Verify module's settings are set
					CheckSettings()
					
					If PreLaunch {
						RLLog.Info("PCLauncher - PreLaunch set by user, running: " . PreLaunch)
						PreLaunchParameters := If (!PreLaunchParameters or PreLaunchParameters="ERROR") ? "" : PreLaunchParameters
						If (preLaunchMode = "run") {
							errLevel := PreLaunchExe.Run(If PreLaunchIsURL ? "" : PreLaunchParameters,,,,,(If PreLaunchIsURL ? "" : 1))	; If this is a url, do not send params
							If errLevel
								ScriptError("There was a problem launching your PreLaunch application. Please check it is a valid executable.")
							TimerUtils.Sleep(PreLaunchSleep)
						} Else {
							errLevel := PreLaunchExe.RunWait(If PreLaunchIsURL ? "" : PreLaunchParameters,,(If PreLaunchIsURL ? "" : 1))	; If this is a url, do not send params
							If errLevel
								ScriptError("There was a problem launching your PreLaunch application. Please check it is a valid executable.")
						}
					}
					
					If (DXWndGame = "true")		; start dxwnd if needed
						DxwndRun()
					
					Fullscreen := If BezelEnabled() ? "false" : Fullscreen
					FullscreenParams := CustomFunction.SetFullscreenPreLaunch(Fullscreen)
					If (FullscreenParams) {
						RLLog.Debug("PCLauncher - Setting fullscreen parameters to : " . FullscreenParams)
						Parameters .= " " . FullscreenParams
					}
					
					If StringUtils.Contains(mode,"steam|steambp")	; steam launch
						Steam(SteamID, primaryExe.FileFullPath, Parameters)
					Else If (mode = "origin")		; origin launch
						Origin(primaryExe.FileName, primaryExe.FilePath, Parameters)
					Else {
						If (mode = "url")
						{	RLLog.Info("PCLauncher - Launching URL.")
							errLevel := primaryExe.Run()
						} Else {	; standard launch
							RLLog.Info("PCLauncher - Launching a standard application.")
							If (HideConsole = "true" and primaryExe.FileExt = "bat") {
								RLLog.Info("PCLauncher - Hiding DOS console for bat file.")
								objShell := ComObjCreate("WScript.Shell")
								objShell.CurrentDirectory := If WorkingFolder ? WorkingFolder : primaryExe.FilePath
								errLevel := objShell.Run("""" . primaryExe.FileName . """ " . Parameters, 0, false)
							}
							Else
								errLevel := primaryExe.Run(Parameters,,,,,1,If WorkingFolder ? WorkingFolder : "")
						}
						If errLevel
							ScriptError("There was a problem launching your " . (If appIsImage ? "ImageExe" : "Application") . ". Please check it is a valid executable.")
					}
					
					If PostLaunch {
						RLLog.Info("PCLauncher - PostLaunch set by user, running: " . PostLaunch)
						PostLaunchExe := new Process(PostLaunch)
						PostLaunchParameters := If (!PostLaunchParameters or PostLaunchParameters="ERROR") ? "" : PostLaunchParameters
						errLevel := PostLaunchExe.Run(If PostLaunchIsURL ? "" : PostLaunchParameters,,,,,(If PostLaunchIsURL ? "" : 1))	; If this is a url, do not send params
						If errLevel
							ScriptError("There was a problem launching your PostLaunch application. Please check it is a valid executable.")
						TimerUtils.Sleep(PostLaunchSleep)
					}
					
					If FadeTitle {
						RLLog.Info("PCLauncher - FadeTitle set by user, waiting for """ . appPrimaryWindow.WinTitle.GetWindowTitle() . """")
						
						If (FadeTitleTimeout)
							appPrimaryWindow.Wait(FadeTitleTimeout)
						Else
							appPrimaryWindow.Wait()
						
						If (FadeTitleWaitTillActive = "true")
							appPrimaryWindow.WaitActive()
					} Else If AppWaitExe {
						RLLog.Info("PCLauncher - FadeTitle not set by user, but AppWaitExe is. Waiting for AppWaitExe: " . AppWaitExe.FileName)
						AppWaitExe.Process("Wait",15)
						If (AppWaitExe.PID = 0)
							ScriptError("PCLauncher - There was an error getting the Process ID of your AppWaitExe """ . AppWaitExe.FileName . """. Please try setting a FadeTitle instead.")
					} Else If SteamIDExe {
						RLLog.Info("PCLauncher - FadeTitle and AppWaitExe not set by user, but SteamIDExe was found. Waiting for SteamIDExe: " . SteamIDExe.FileFullPath)
						SteamIDExe.Process("Wait",15)	; wait 15 seconds for this process to launch
						If (SteamIDExe.PID = 0)
							ScriptError("PCLauncher - There was an error getting the Process ID from your SteamIDExe for """ . dbName . """. Please try setting a FadeTitle instead.")
					} Else If primaryExe.PID {
						RLLog.Info("PCLauncher - FadeTitle and AppWaitExe not set by user, but a PID for the primary application was found. Waiting for PID: " . primaryExe.PID)
						appPrimaryWindow.PID := primaryExe.PID	; store the PID of the primary exe into the window object
						appPrimaryWindow.Wait(,primaryExe.PID)	; only wait for the pid, not any other window element
						appPrimaryWindow.WaitActive(,primaryExe.PID)
					} Else
						RLLog.Error("PCLauncher - FadeTitle and AppWaitExe not set by user and no AppPID found from an Application, PCLauncher has nothing to wait for")
					
					If (DXWndGame = "true" and (DXWndMaximizeWindow = "aspect" or DXWndMaximizeWindow = "stretch"))
						appPrimaryWindow.Maximize(If (DXWndMaximizeWindow="aspect") ? "true" : "false")
					
					BezelDraw()
					
					TimerUtils.Sleep(FadeInExitSleep)	; PCLauncher setting for some stubborn games that keeps the fadeIn screen up a little longer
					FadeInExit()
					
					If AppWaitExe {
						If !FadeTitle {
							RLLog.Info("PCLauncher - Creating a window based on the AppWaitExe because FadeTitle was not set")
							appPrimaryWindow := new Window(new WindowTitle(,,,,AppWaitExe.PID))	; instantiate AppWaitExe window object
							appPrimaryWindow.Wait()
							appPrimaryWindow.Get("ID")
							appPrimaryWindow.WinTitle.PID := ""	; remove PID from future window matches
							appPrimaryWindow.WinTitle.ID := appPrimaryWindow.ID	; inject hwnd ID so future matches use it instead
						}
						RLLog.Info("PCLauncher - Waiting for AppWaitExe """ . AppWaitExe.FileName . """ to close.")
						AppWaitExe.Process("WaitClose")
					} Else If FadeTitle {	; If fadeTitle is set and no appPID was created.
						RLLog.Info("PCLauncher - Waiting for FadeTitle """ . appPrimaryWindow.WinTitle.GetWindowTitle() . """ to close.")
						appPrimaryWindow.WaitClose()
					} Else If SteamIDExe {
						RLLog.Info("PCLauncher - Waiting for SteamIDExe """ . SteamIDExe.FileName . """ to close.")
						SteamIDExe.Process("WaitClose")
					} Else If primaryExe.PID {
						If !FadeTitle {
							RLLog.Info("PCLauncher - Creating a window based on the Primary Application """ . primaryExe.FileName . """ because FadeTitle nor AppWaitExe were set")
							appPrimaryWindow := new Window(new WindowTitle(,,,,primaryExe.PID))	; instantiate primary application window object
							appPrimaryWindow.Wait()
							appPrimaryWindow.Get("ID")
							appPrimaryWindow.WinTitle.PID := ""	; remove PID from future window matches
							appPrimaryWindow.WinTitle.ID := appPrimaryWindow.ID	; inject hwnd ID so future matches use it instead
						}
						RLLog.Info("PCLauncher - Waiting for the Primary Application PID """ . primaryExe.PID . """ to close.")
						primaryExe.Process("WaitClose")
					} Else
						ScriptError("Could not find a proper AppWaitExe`, FadeTitle`, or AppPID (from the launched Application). Try setting either an AppWaitExe or FadeTitle so the module has something to look for.")
					
					If PostExit {
						RLLog.Info("PCLauncher - PostExit set by user, running: " . PostExit)
						PostExitExe := new Process(PostExit)
						PostExitParameters := If (!PostExitParameters or PostExitParameters="ERROR") ? "" : PostExitParameters
						errLevel := PostExitExe.Run(If PostExitIsURL ? "" : PostExitParameters,,,,,(If PostExitIsURL ? "" : 1))	; If this is a url, do not send params
						If errLevel
							ScriptError("There was a problem launching your PostExit application. Please check it is a valid executable.")
						TimerUtils.Sleep(PostExitSleep)
					}
					
					; If Application is a cd/dvd image, unmount it in DT
					If appIsImage
						VirtualDrive("unmount")
					
					; Close steam if it was not open prior to launch, not really needed anymore because module knows how to launch if steam already running now
					; If (primaryExe.PID = 0)
						; Run, Steam.exe -shutdown, %SteamPath%	; close steam
					
					If (DXWndGame = "true")
						DxwndClose()
					
					BezelExit()
					FadeOutExit()
					ExitModule()
					
					CheckSettings() {
						Global Application,primaryExe
						Global PreLaunch,PreLaunchExe,PreLaunchIsURL
						Global PostLaunch,PostLaunchExe,PostLaunchIsURL
						Global PostExit,PostExitExe,PostExitIsURL
						Global moduleName,appIsImage,vdDriveLetter,SteamID,OriginGame,DXWndGame,mode,AppWaitExe,SteamIDExe,FadeTitle
						Global modulePath,fadeIn
						RLLog.Info("CheckSettings - Started")
					
						; These checks allow you to run URL and Steam browser protocol commands. Without them ahk would error out that it can't find the file. This is different than setting a SteamID but either work
						If (SteamID) {
							mode := "steam"	; setting module to use steam mode
							RLLog.Info("PCLauncher - SteamID is set, setting mode to: """ . mode . """")
						} Else If (StringUtils.SubStr(Application,1,3) = "ste") {
							mode := "steambp"	; setting module to use Steam Browser Protocol mode
							RLLog.Info("PCLauncher - Application is a Steam Browser Protocol, setting mode to: """ . mode . """")
						} Else If (StringUtils.SubStr(Application,1,4) = "http") {
							mode := "url"	; setting module to use url mode
							RLLog.Info("PCLauncher - Application is a URL, setting mode to: """ . mode . """")
						} Else If OriginGame {
							mode := "origin"	; setting module to use Origin mode
							StringUtils.BackslashCheck(primaryExe.FileFullPath,"Application")
							RLLog.Info("PCLauncher - Origin mode enabled. Will log in to Origin if required.")
						} Else If Application {
							mode := "standard"	; for standard launching
							StringUtils.BackslashCheck(primaryExe.FileFullPath,"Application")
							RLLog.Info("PCLauncher - Setting mode to: """ . mode . """")
						} Else	; error if no modes are used
							ScriptError("Please set an Application, SteamID, Steam Browser Protocol, or URL in " moduleName . ".ini for """ . dbName . """")
					
						If (SteamID && Application)	; do not allow 2 launching methods as module cannot know which should be used
							ScriptError("You are trying to use Steam and an Application, you must choose one or the other.")
					
						If ((mode = "steam" || mode = "steambp") && !AppWaitExe && !FadeTitle) { ; && fadeIn = "true") {	; If AppWaitExe or FadeTitle are defined, that will take precedence over the automatic method using the SteamIDs.ini
							SteamIDFile := new IniFile(modulePath . "\SteamIDs.ini")
							SteamIDFile.CheckFile()
							If !SteamID		; if this game does not have a SteamID defined
								StringUtils.SplitPath(Application,SteamID) ; try to grab the ID from the Application name
							SteamIDExe := SteamIDFile.ReadCheck(SteamID, "exe",,,1)
							If !SteamIDExe		; if it was still not found, error out
								ScriptError("You are using launching a Steam game but no way for the module to know what window to wait for after launching. Please set a AppWaitExe, FadeTitle, or make sure your SteamID and the correct exe is defined in the SteamIDs.ini",10)
							Else {
								RLLog.Info("PCLauncher - Found an exe in the SteamIDs.ini for this game: """ . SteamIDExe . """")
								SteamIDExe := new Process(SteamIDExe)
							}
						} Else If (mode = "url" && !AppWaitExe && !FadeTitle)
							ScriptError("You are using launching a URL but no way for the module to know what to window to wait for after launching. Please set a AppWaitExe or FadeTitle to your default application that gets launched when opening URLs.",10)
						
						If (appIsImage && !primaryExe.FilePath)	; if user only defined an exe for Application with no path, assume it will be found on the root dir of the image when mounted
							primaryExe.FilePath := vdDriveLetter . ":\"
						If (!primaryExe.FileName && mode = "standard" && (mode != "steam" || mode != "steambp"))
							ScriptError("Missing filename on the end of your Application in " . moduleName . ".ini:`n" . primaryExe.FileFullPath)
						If (!primaryExe.FileExt && mode = "standard" && (mode != "steam" || mode != "steambp"))
							ScriptError("Missing extension on your Application in " . moduleName . ".ini:`n" . primaryExe.FileFullPath)
					
						PreLaunchExe := AltAppCheck(PreLaunch,"PreLaunch",PreLaunchIsURL)
						PostLaunchExe := AltAppCheck(PostLaunch,"PostLaunch",PostLaunchIsURL)
						PostExitExe := AltAppCheck(PostExit,"PostExit",PostExitIsURL)
					
						If (mode = "standard")
							primaryExe.CheckFile("Cannot find this Application:`n" . primaryExe.FileFullPath)	; keeping this last so more descriptive errors will trigger first
						RLLog.Info("CheckSettings - Ended")
					}
					
					AltAppCheck(file,id,ByRef urlID) {
						If file {
							obj := new Process(file)
							urlID := If (StringUtils.SubStr(file,1,4)="http" || StringUtils.SubStr(file,1,3)="ste") ? 1:""
							If urlID
								RLLog.Info("PCLauncher - " . id . " is a URL or Steam Browser Protocol: " . file)
							Else {
								StringUtils.BackslashCheck(obj.FileFullPath,id)
								obj.CheckFile("Cannot find this " . id . " application:`n" . obj.FileFullPath)
							}
							Return obj
						}
					}
					
					HaltEmu:
						CustomFunction.HaltGame()
					Return
					
					RestoreEmu:
						CustomFunction.RestoreGame()
					Return
					
					CloseProcess:
						If (ExitMethod != "InGame") {
							FadeOutStart()
							If (ExitMethod = "Process Close AppWaitExe" && AppWaitExe) {
								RLLog.Info("CloseProcess - ExitMethod is ""Process Close AppWaitExe""")
								AppWaitExe.Process("Close")
							} Else If (ExitMethod = "WinClose AppWaitExe" && AppWaitExe) {
								RLLog.Info("CloseProcess - ExitMethod is ""WinClose AppWaitExe""")
								AppWaitExe.Process("Exist")
								AppWaitWindow := new Window(new WindowTitle(,,,,AppWaitExe.PID))
								AppWaitWindow.Close()
							} Else If (ExitMethod = "Process Close Application") {
								RLLog.Info("CloseProcess - ExitMethod is ""Process Close Application""")
								primaryExe.Process("Close")
							} Else If (ExitMethod = "WinClose Application" && FadeTitle) {
								RLLog.Info("CloseProcess - ExitMethod is ""WinClose Close Application""")
								appPrimaryWindow.Close()
							} Else If (ExitMethod = "Send Alt+F4") {
								RLLog.Info("CloseProcess - ExitMethod is ""Send Alt+F4""")
								KeyUtils.Send("!{F4}")
							} Else {
								RLLog.Info("CloseProcess - Default ExitMethod`, using ""WinClose""")
								appPrimaryWindow.Close()
							}
						}
					Return

10:55:15:448 | RL |      INFO  | +0     | BuildScript - Loaded Multi-Player scripts
10:55:15:448 | RL |      INFO  | +0     | BuildScript - Loaded Statistics.ahk script
10:55:15:448 | RL |      INFO  | +0     | BuildScript - "D:\Games\RocketLauncher\Lib\User Functions\Global.ahk" not found
10:55:15:449 | RL |      INFO  | +0     | BuildScript - "D:\Games\RocketLauncher\Lib\User Functions\PC Games.ahk" not found
10:55:15:449 | RL |      INFO  | +0     | BuildScript - "D:\Games\RocketLauncher\Lib\User Functions\Emulators\PCLauncher.ahk" not found
10:55:15:449 | RL |      INFO  | +0     | BuildScript - "D:\Games\RocketLauncher\Lib\User Functions\PC Games\Emulators\PCLauncher.ahk" not found
10:55:15:449 | RL |      INFO  | +0     | BuildScript - "D:\Games\RocketLauncher\Lib\User Functions\PC Games\Killer Instinct.ahk" not found
10:55:15:449 | RL |      INFO  | +0     | BuildScript - Finished injecting functions into module
10:55:15:449 | RL |      INFO  | +0     | Main - Module is built
10:55:15:449 | RL |      INFO  | +0     | CheckFile - Checking if D:\Games\RocketLauncher\AutoHotkey.dll exists
10:55:15:452 | RL |      INFO  | +16    | Main - Starting timer to watch if Front End gets displaced and restore it if it does.
10:55:15:452 | RL |      INFO  | +0     | Main - Running module
10:55:15:660 | MD |      INFO  | +N/A   | Module initialized
10:55:15:660 | MD |      INFO  | +0     | LoadPreferredControllers - Started
10:55:15:660 | MD |      INFO  | +0     | GetJoystickArray - Started
10:55:15:687 | MD |      INFO  | +31    | GetJoystickGUID - Started
10:55:15:687 | MD |      INFO  | +0     | GetJoystickGUID - Ended and found GUID: C0017A235E3DEA118001444553540000
10:55:15:688 | MD |      INFO  | +0     | GetJoystickGUID - Started
10:55:15:689 | MD |      INFO  | +0     | GetJoystickGUID - Ended and found GUID: 30D42E4234ADE8118001444553540000
10:55:15:689 | MD |      INFO  | +0     | GetJoystickArray - Ended
10:55:15:689 | MD |      INFO  | +0     | LoadPreferredControllers - Sorting Currently Connected joysticks List to match the order of the Preferred Controller List
10:55:15:689 | MD |      INFO  | +0     | LoadPreferredControllers - Assigning the New Joystick IDs according to the preferred list for the active controllers
10:55:15:689 | MD |      INFO  | +0     | ChangeJoystickID - Started
10:55:15:689 | MD |      INFO  | +0     | ChangeJoystickID - Ended
10:55:15:689 | MD |      INFO  | +0     | ChangeJoystickID - Started
10:55:15:690 | MD |      INFO  | +0     | ChangeJoystickID - Ended
10:55:15:690 | MD |      INFO  | +0     | LoadPreferredControllers - Ended
10:55:15:690 | MD |      INFO  | +0     | CheckFile - Checking if D:\Games\HyperSpin\Utilities\JoyToKey\JoyToKey.exe exists
10:55:15:691 | MD |      INFO  | +0     | Keymapper - Loading joytokey
10:55:15:691 | MD |      INFO  | +0     | RunKeymapper - Started, using method "load"
10:55:15:691 | MD |      INFO  | +0     | GetJoystickArray - Started
10:55:15:783 | MD |      INFO  | +94    | GetJoystickGUID - Started
10:55:15:784 | MD |      INFO  | +0     | GetJoystickGUID - Ended and found GUID: C0017A235E3DEA118001444553540000
10:55:15:786 | MD |      INFO  | +0     | GetJoystickGUID - Started
10:55:15:787 | MD |      INFO  | +0     | GetJoystickGUID - Ended and found GUID: 30D42E4234ADE8118001444553540000
10:55:15:787 | MD |      INFO  | +0     | GetJoystickArray - Ended
10:55:15:787 | MD |   WARNING  | +0     | GetProfile - Keymapper support is enabled for "joytokey", but could not find a "Killer Instinct", "PCLauncher", "PC Games", default, a "" player 1 profile or a blank profile in "D:\Games\RocketLauncher\Profiles\joytokey" for controller ""
10:55:15:787 | MD |      INFO  | +0     | RunJoyToKey - Started
10:55:15:787 | MD |      INFO  | +0     | Process - Exist Xpadder.exe 
10:55:15:823 | MD |      INFO  | +31    | WinClose - Closing: JoyToKey ahk_class TMainForm
10:55:16:055 | MD |      INFO  | +234   | Process - WaitClose JoyToKey.exe 2
10:55:16:086 | MD |      INFO  | +32    | RunJoyToKey - Ended
10:55:16:086 | MD |      INFO  | +0     | RunKeymapper - Ended
10:55:16:086 | MD |      INFO  | +0     | StartModule - Started
10:55:16:086 | MD |      INFO  | +0     | StartModule - MEmu: PCLauncher
					MEmuV: N/A
					MURL: http://www.rlauncher.com/wiki/index.php?title=PCLauncher
					MAuthor: djvj
					MVersion: 2.2.7
					MCRC: 5814E2E
					iCRC: 28F444EF
					MID: 635243126483565041
					MSystem: American Laser Games|Arcade PC|Doujin Soft|Examu eX-BOARD|Fan Remakes|Games for Windows|Konami e-Amusement|Konami Bemani|Microsoft Windows|PCLauncher|PC Games|Singstar|Steam|Steam Big Picture|Taito Type X|Taito Type X2|Touhou|Touhou Project|Ultrastar|Ultrastar Deluxe|Windows Games
10:55:16:086 | MD |      INFO  | +0     | StartModule - You have a supported System Name for this module: "PC Games"
10:55:16:086 | MD |      INFO  | +0     | LocaleUtils.i18n - Started
10:55:16:086 | MD |      INFO  | +0     | LocaleUtils.i18n - Ended, using "Open" for "dialog.open"
10:55:16:086 | MD |      INFO  | +0     | LocaleUtils.i18n - Started
10:55:16:087 | MD |      INFO  | +0     | LocaleUtils.i18n - Ended, using "Start" for "dialog.start"
10:55:16:087 | MD |      INFO  | +0     | PluginInit - Started
10:55:16:087 | MD |      INFO  | +0     | CheckFile - Checking if D:\Games\HyperSpin\Databases\PC Games\PC Games.xml exists
10:55:16:088 | MD |      INFO  | +0     | PluginInit - Ended
10:55:16:177 | MD |      INFO  | +93    | StartModule - Ended
10:55:16:177 | MD |      INFO  | +0     | RIniFile.Read - Module {GlobalModuleIni} - [Killer Instinct] - Application: ..\PC Games FREE\Killer Instinct (Windows 10 bat exe launcher)\Killer Instinct.exe
10:55:16:177 | MD |      INFO  | +0     | RIniFile.Read - Module - AppWaitExe: (NO VALUE)
10:55:16:177 | MD |      INFO  | +0     | RIniFile.Read - Module - DiscImage: (NO VALUE)
10:55:16:177 | MD |      INFO  | +0     | RIniFile.Read - Module - DXWndGame: (NO VALUE)
10:55:16:177 | MD |      INFO  | +0     | RIniFile.Read - Module - DXWndMaximizeWindow: (NO VALUE)
10:55:16:177 | MD |      INFO  | +0     | RIniFile.Read - Module - ExitMethod: (NO VALUE)
10:55:16:177 | MD |      INFO  | +0     | RIniFile.Read - Module - FadeTitle: (NO VALUE)
10:55:16:177 | MD |      INFO  | +0     | RIniFile.Read - Module - FadeTitleWaitTillActive: true (DEFAULT)
10:55:16:177 | MD |      INFO  | +0     | RIniFile.Read - Module - FadeTitleTimeout: (NO VALUE)
10:55:16:177 | MD |      INFO  | +0     | RIniFile.Read - Module - FadeInExitSleep: (NO VALUE)
10:55:16:177 | MD |      INFO  | +0     | RIniFile.Read - Module - HideConsole: (NO VALUE)
10:55:16:177 | MD |      INFO  | +0     | RIniFile.Read - Module - OriginGame: (NO VALUE)
10:55:16:177 | MD |      INFO  | +0     | RIniFile.Read - Module - Parameters: (NO VALUE)
10:55:16:178 | MD |      INFO  | +0     | RIniFile.Read - Module - PostLaunch: (NO VALUE)
10:55:16:178 | MD |      INFO  | +0     | RIniFile.Read - Module - PostLaunchParameters: (NO VALUE)
10:55:16:178 | MD |      INFO  | +0     | RIniFile.Read - Module - PostLaunchSleep: (NO VALUE)
10:55:16:178 | MD |      INFO  | +0     | RIniFile.Read - Module - PostExit: (NO VALUE)
10:55:16:178 | MD |      INFO  | +0     | RIniFile.Read - Module - PostExitParameters: (NO VALUE)
10:55:16:178 | MD |      INFO  | +0     | RIniFile.Read - Module - PostExitSleep: (NO VALUE)
10:55:16:178 | MD |      INFO  | +0     | RIniFile.Read - Module - PreLaunch: (NO VALUE)
10:55:16:178 | MD |      INFO  | +0     | RIniFile.Read - Module - PreLaunchParameters: (NO VALUE)
10:55:16:178 | MD |      INFO  | +0     | RIniFile.Read - Module - PreLaunchMode: (NO VALUE)
10:55:16:178 | MD |      INFO  | +0     | RIniFile.Read - Module - PreLaunchSleep: (NO VALUE)
10:55:16:178 | MD |      INFO  | +0     | RIniFile.Read - Module - SteamID: (NO VALUE)
10:55:16:178 | MD |      INFO  | +0     | RIniFile.Read - Module - WorkingFolder: (NO VALUE)
10:55:16:178 | MD |      INFO  | +0     | RIniFile.Read - Module - BezelTopOffset: 0 (DEFAULT)
10:55:16:178 | MD |      INFO  | +0     | RIniFile.Read - Module - BezelBottomOffset: 0 (DEFAULT)
10:55:16:178 | MD |      INFO  | +0     | RIniFile.Read - Module - BezelLeftOffset: 0 (DEFAULT)
10:55:16:178 | MD |      INFO  | +0     | RIniFile.Read - Module - BezelRightOffset: 0 (DEFAULT)
10:55:16:178 | MD |      INFO  | +0     | RIniFile.Read - Module - BezelFixedResMode: false (DEFAULT)
10:55:16:178 | MD |      INFO  | +0     | RIniFile.Read - Module - HideWindowTitleBar: true (DEFAULT)
10:55:16:178 | MD |      INFO  | +0     | RIniFile.Read - Module - HideWindowBorder: true (DEFAULT)
10:55:16:178 | MD |      INFO  | +0     | RIniFile.Read - Module - HideWindowMenuBar: true (DEFAULT)
10:55:16:178 | MD |      INFO  | +0     | RIniFile.Read - Module - HideDecoratorsAfterWindowMove: false (DEFAULT)
10:55:16:178 | MD |      INFO  | +0     | RIniFile.Read - Module - HideWindowBorderFirst: false (DEFAULT)
10:55:16:178 | MD |      INFO  | +0     | RIniFile.Read - Module - Fullscreen: (NO VALUE)
10:55:16:178 | MD |      INFO  | +0     | BezelGUI - Started
10:55:16:304 | MD |      INFO  | +125   | BezelGUI - Ended
10:55:16:304 | MD |      INFO  | +0     | BezelStart - Started
10:55:16:335 | MD |      INFO  | +32    | BezelStart - Game will be moved to monitor 1 if RL finds a valid bezel to be show.
10:55:16:336 | MD |   WARNING  | +0     | BezelFilesPath - Bezels are enabled, however none of the Bezel files, with extensions png|gif|tif|bmp|jpg exist on the bezel folders.
10:55:16:336 | MD |      INFO  | +0     | BezelStart - Ended
10:55:16:336 | MD |      INFO  | +0     | CheckSettings - Started
10:55:16:336 | MD |      INFO  | +0     | PCLauncher - Setting mode to: "standard"
10:55:16:336 | MD |      INFO  | +0     | File.CheckFile - Checking if "D:\Games\PC Games FREE\Killer Instinct (Windows 10 bat exe launcher)\Killer Instinct.exe" exists
10:55:16:337 | MD |      INFO  | +0     | CheckSettings - Ended
10:55:16:337 | MD |      INFO  | +0     | PCLauncher - Launching a standard application.
10:55:16:337 | MD |      INFO  | +0     | Process.Run - Running: "D:\Games\PC Games FREE\Killer Instinct (Windows 10 bat exe launcher)\Killer Instinct.exe"
10:55:16:406 | MD |      INFO  | +78    | PCLauncher - FadeTitle and AppWaitExe not set by user, but a PID for the primary application was found. Waiting for PID: 8796
10:55:16:406 | MD |      INFO  | +0     | BezelDraw - Started
10:55:16:406 | MD |      INFO  | +0     | BezelDraw - Ended
10:55:16:406 | MD |      INFO  | +0     | PCLauncher - Creating a window based on the Primary Application "Killer Instinct.exe" because FadeTitle nor AppWaitExe were set
10:55:16:406 | MD |      INFO  | +0     | Window.Wait - Waiting for window "ahk_pid 8796"
10:55:16:528 | MD |      INFO  | +125   | PCLauncher - Waiting for the Primary Application PID "8796" to close.
10:55:16:528 | MD |      INFO  | +0     | Process.Process - "WaitClose" "Killer Instinct.exe" 
10:55:16:882 | MD |      INFO  | +344   | BezelExit - Started
10:55:16:904 | MD |      INFO  | +31    | BezelExit - Ended
10:55:16:904 | MD |      INFO  | +0     | ExitModule - Started
10:55:16:904 | MD |      INFO  | +0     | UpdateStatistics - Starting Updating Statistics
10:55:17:040 | MD |      INFO  | +125   | UpdateStatistics - Game section statistics updated.
10:55:17:040 | MD |      INFO  | +0     | RunKeymapper - Started, using method "unload"
10:55:17:040 | MD |      INFO  | +0     | GetJoystickArray - Started
10:55:17:096 | MD |      INFO  | +62    | GetJoystickGUID - Started
10:55:17:096 | MD |      INFO  | +0     | GetJoystickGUID - Ended and found GUID: C0017A235E3DEA118001444553540000
10:55:17:098 | MD |      INFO  | +0     | GetJoystickGUID - Started
10:55:17:098 | MD |      INFO  | +0     | GetJoystickGUID - Ended and found GUID: 30D42E4234ADE8118001444553540000
10:55:17:098 | MD |      INFO  | +0     | GetJoystickArray - Ended
10:55:17:098 | MD |      INFO  | +0     | GetProfile - Loading Player 1 Profile -> D:\Games\RocketLauncher\Profiles\joytokey\RocketLauncherUI\RocketLauncherUI.cfg
10:55:17:098 | MD |      INFO  | +0     | RunJoyToKey - Started
10:55:17:098 | MD |      INFO  | +0     | Process - Exist Xpadder.exe 
10:55:17:104 | MD |      INFO  | +0     | WinClose - Closing: JoyToKey ahk_class TMainForm
10:55:17:245 | MD |      INFO  | +141   | Process - WaitClose JoyToKey.exe 2
10:55:17:277 | MD |      INFO  | +31    | Run - Running: D:\Games\HyperSpin\Utilities\JoyToKey\JoyToKey.exe "D:\Games\RocketLauncher\Profiles\joytokey\RocketLauncherUI\RocketLauncherUI.cfg"
10:55:17:314 | MD |      INFO  | +47    | RunJoyToKey - Ended
10:55:17:314 | MD |      INFO  | +0     | RunKeymapper - Ended
10:55:17:314 | MD |      INFO  | +0     | ExitModule - Ended
End of Module Logs
10:55:17:398 | RL |      INFO  | +1937  | Main - Module ended, exiting RocketLauncher normally
10:55:17:398 | RL |      INFO  | +0     | ExitScript - Started
10:55:17:404 | RL |      INFO  | +16    | ExitScript - Restoring HyperSpin.exe to x0 y0 w h1080
10:55:17:534 | RL |      INFO  | +125   | ExitScript - Restoring and Clicking HyperSpin.exe to attempt to put it into focus
10:55:17:534 | RL |      INFO  | +0     | ExitScript - Checking what application is currently in focus.
10:55:17:534 | RL |      INFO  | +0     | ExitScript - Killer Instinct is currently active. Putting focus back on HyperSpin.exe with PID of 3772
10:55:28:840 | RL |     ERROR  | +11312 | ExitScript - Timed out trying to put HyperSpin.exe back in focus.
10:55:28:854 | RL |      INFO  | +0     | SystemCursor - Restoring mouse cursor
10:55:28:869 | RL |      INFO  | +16    | ExitScript - Restored cursor
10:55:28:869 | RL |      INFO  | +0     | ExitScript - Ended
[/code]
 

tonesmalone

Active member
RL Member
How are you exiting the game? From inside the game or exit key?

You?ve identified the key line in the log. I?ll try and look into this more for you tomorrow.

As for AppWaitExe - exactly, wouldn?t be the bat file. If you click the button next to the text box it will run a tool which detects the game exe. Whether or not this fixes the issue, you?ll need either AppWaitExe or FadeTitle set or fade won?t work.



Sent from my iPhone using Tapatalk Pro
 

mankin

Member
RL Member
I am exiting in-game.

I tried the appwaitexe but it didn't the game exe I just pointed it to the same exe and it made no difference.

Thanks for taking the time to look into this, Tonesmalone.
 

tonesmalone

Active member
RL Member
The process inspector should have should a list of exe?s - what did you use?


Sent from my iPhone using Tapatalk Pro
 
Status
Not open for further replies.
Top