Hyperspin loses focus after minimising jukebox

Potts43

New member
RL Member
Hi, I am currently launching skjukebox from the wheel. That works great. Skjukebox has a hard wired function which by pressing a key it will minimise but HS has lost focus and you have to mouse click to regain focus. If I select skjukebox from the wheel it restores it's position so my issue is HS not automatically regaining focus when the jukebox is minimised.

I've tried numerous ahk scripts but nothing seems to work. Is it possible for this feature to be implemented?

Thanks
 

djvj

Administrator
Staff member
Developer
HyperLaunch does not support something launching and not exiting completely on exit. I do not see adding this in either. What you can try is using pclauncher. You can probably launch it as a pre or post app, so hyperlaunch does not monitor it's process in order to properly return to your FE.

Sent from my Samsung S3 using Tapatalk
 

brolly

Administrator
Developer
This can't even be fixed from HL I think.

I'm not sure what module you're using, but I can only think on 2 scenarios:
1) If you use PCLauncher or any other official module HyperLaunch will stay running until SKJukebox is closed which means going back to HS doesn't make much sense as you won't be able to launch another game since HL is still running;
2) You created your own module that doesn't wait for SkJukebox to exit, which means HyperLaunch will be unloaded as soon as SkJukebox started so you won't have HL running when you get back to HyperSpin anyway;
 

Potts43

New member
RL Member
Thanks for the swift replies chaps. I used the DWjukebox module only to get it setup and working on a wheel from the main menu wheel. I made no edits. I will check but I'm sure that during testing I was able to :

1 run HS
2 run SKj
3 minimise SKj
4 mouse click HS to regain focus
5 load another emulator with music from SKj still audible
6 play game whilst SKj running but minimised
7 quit game and return to main wheel
8 click SKj wheel to maximise SKj again - same instance not another version running.

Should this not be possible?
Thanks
 

brolly

Administrator
Developer
If you used the DWJukebox module without any edits then yes that would be possible as the module will fail all window title/class name conditions and will exit almost immediately after launching the jukebox. You will be under the scenario #2 that I posted ie HL is no longer running when you minimize SKJukebox. Which means there's no way for HL to activate HS since it's no longer running.
 

Potts43

New member
RL Member
If you used the DWJukebox module without any edits then yes that would be possible as the module will fail all window title/class name conditions and will exit almost immediately after launching the jukebox. You will be under the scenario #2 that I posted ie HL is no longer running when you minimize SKJukebox. Which means there's no way for HL to activate HS since it's no longer running.

I was hoping that I could run an extra ahk script as a catch all...something like:

Ifwinnotactive, skjukebox

WinActivate hyperspin
Winmaximize hyperspin

Return

My knowledge of ahk is basic

Thanks
 

brolly

Administrator
Developer
Sure you can do that, but you'll need to have that script continuously running and must be done outside HyperLaunch since like I said HL is no longer running.
The code you posted would fail badly though because in that case HS would become active constantly when you don't have skjukebox running which means you wouldn't even be able to run an emulator.
 

djvj

Administrator
Staff member
Developer
You have one other major hurdle preventing you from making a module and having skjukebox set as an emulator. HL looks for the executable as a running process, and if found, will not launch because HL prevents duplicate launches.

I was thinking, it might work if you create a module that never launches your executable (your emu set in HL), much like PCLauncher. In the module, you have a hardcoded path to the exe you want to run. You can add script to check if the process is already running and if it is, add script to bring it into focus, and if not, run it.

You do need a method to pause the module from ending. Normally we use the Process("WaitClose"...) line. So instead of this, you can do a WinWaitNotActive...

Put this together in a few minutes, open it up and set the settings found in the notes section so they reflect your app.

http://pastebin.com/GsSBpHTS

Not tested, so read the comments and let me know if you have any issues.

Also, set Skip Checks to Rom and Emu.
 

Potts43

New member
RL Member
You have one other major hurdle preventing you from making a module and having skjukebox set as an emulator. HL looks for the executable as a running process, and if found, will not launch because HL prevents duplicate launches.

I was thinking, it might work if you create a module that never launches your executable (your emu set in HL), much like PCLauncher. In the module, you have a hardcoded path to the exe you want to run. You can add script to check if the process is already running and if it is, add script to bring it into focus, and if not, run it.

You do need a method to pause the module from ending. Normally we use the Process("WaitClose"...) line. So instead of this, you can do a WinWaitNotActive...

Put this together in a few minutes, open it up and set the settings found in the notes section so they reflect your app.

http://pastebin.com/GsSBpHTS

Not tested, so read the comments and let me know if you have any issues.

Also, set Skip Checks to Rom and Emu.

Thanks for having a go at resolving this issue. At work at moment - nights! Will check it thoroughly later.

Great to have this level of support!
 

Potts43

New member
RL Member
Hi,
I'm not sure I have sufficient understanding of how the modules work to have edited it correctly as nothing extra happened.

In HLHQ I changed the checks
I duplicated the DWJukebox ahk and pasted over it's code with yours and added

; Notes:
; Allows an app to stay running when HL exits and returns to your FE
myAppFullPath := "J:\HyperSpin\Emulators\SK Jukebox\skjukebox.exe"
myAppWindowTitle := "skjukebox ahk_class ThunderRT6FormDC"
params := ""
keyToMinimizeMyApp = \ ; \

the result was as before ie Skjukebox minimised leaving HS in a paused unfocused state. I know it is down to me but I'm just not confident on the exact steps to implement your code\module

I know you are busy so I guess I will have to be patient...
 

Potts43

New member
RL Member
Hi,

I changed my HLHQ to troubleshooting. I notice instantly that HS was smoother...shouldn't troubleshooting make it more sluggish?

HyperLaunch.log

Code:
11:56:25:268 | HL |     INFO  | +N/A   | Main - HyperLaunch v3.0.1.1c
11:56:25:348 | HL |     INFO  | +78    | Main - System Specs:
					HyperLaunch Dir: J:\HyperSpin\HyperLaunch
					OS: Microsoft Windows 7 Ultimate 
					SKU: Ultimate
					Total Memory: 12286.49 MB
					Free Memory: 7025.16 MB
					Used Memory: 5261.328 MB
					SystemType: x64-based PC
					Physical Processors: 1
					Logical Processors: 8
					GPU 1 Name: AMD Radeon HD 5800 Series
					GPU 1 RAM: 1024.00 MB
					GPU 1 Driver Version: 13.350.1005.0
					Sound 1 Device: VB-Audio Virtual Cable
					Sound 1 Status: Enabled
					Sound 2 Device: Screaming Bee Audio
					Sound 2 Status: Enabled
					Sound 3 Device: M-Audio MIDISPORT 2x2
					Sound 3 Status: Enabled
					Sound 4 Device: AMD High Definition Audio Device
					Sound 4 Status: Enabled
					Sound 5 Device: High Definition Audio Device
					Sound 5 Status: Enabled
					Sound 6 Device: MOTU Audio Wave for 64 bit
					Sound 6 Status: Enabled
					OS Language: English_United_States
					OS Admin Status: No
					Monitor #1 (\\.\DISPLAY1): 1920x1080 (1920x1080 work)
					Monitor #2 (\\.\DISPLAY2): 3840x1080 (3840x1040 work)
					AutoHotkey Path: C:\Program Files (x86)\AutoHotkey\AutoHotkey.exe
					AHK Version: 1.1.09.04
					Unicode: No
11:56:25:348 | HL |     INFO  | +0     | Main - HyperSpin.exe coordinates are x y w h
11:56:25:348 | HL |     INFO  | +0     | CheckFile - Checking if J:\HyperSpin\HyperLaunch\HyperLaunch.exe exists
11:56:25:348 | HL |     INFO  | +0     | CheckFile - Checking if J:\HyperSpin\Databases\Main Menu\Main Menu.xml exists
11:56:25:468 | HL |     INFO  | +109   | Main - HyperLaunch launched directly
11:56:27:319 | HL |     INFO  | +1856  | GuiClose - User exited via GUI
11:56:27:319 | HL |     INFO  | +0     | ExitScript - Started
11:56:27:339 | HL |     INFO  | +16    | SystemCursor - Restoring mouse cursor
11:56:27:379 | HL |     INFO  | +47    | ExitScript - Ended



As SKJukebox was already configure to use 'a' module to get it running I left it referring to DWJukebox.ahk but the code was overwritten with this:

MEmu = MyApp
MEmuV = N/A
MURL = N/A
MAuthor = djvj
MVersion = 1.0
MCRC =
iCRC =
MID =
MSystem = "SKJukeBox"
;----------------------------------------------------------------------------
; Notes:
; Allows an app to stay running when HL exits and returns to your FE
myAppFullPath := "J:\HyperSpin\Emulators\SK Jukebox\skjukebox.exe"
myAppWindowTitle := "skjukebox ahk_class ThunderRT6FormDC"
params := ""
keyToMinimizeMyApp = \ ; \
;----------------------------------------------------------------------------
StartModule()
FadeInStart()

SplitPath, myAppFullPath, myAppName, myAppPath
myAppIsRunning := Process("Exist", myAppName) ; see if this app is running first

hideEmuObj := Object(myAppWindowTitle,1) ; Hide_Emu will hide these windows. 0 = will never unhide, 1 = will unhide later
HideEmuStart()

DetectHiddenWindows, On ; sometimes this is needed to determine is a window exists when minimized
myAppWindowID := WinExist(myAppWindowTitle) ; returns the hwnd ID of the window
If (myAppIsRunning && !myAppWindowID)
Log("Module - Could not find the active window: """ . myAppWindowID . """",2) ; might need to handle this scenario if an app's window cannot be found but is running

HotKey, %keyToMinimizeMyApp%, MinimizeMyApp

If myAppIsRunning {
; probably don't need both of these, but in for testing
WinActivate, %myAppWindowTitle%
WinMaximize, %myAppWindowTitle%
} Else
Run(myAppName . " " . params, myAppPath)

WinWait(myAppWindowTitle)
WinWaitActive(myAppWindowTitle)

HideEmuEnd()
FadeInExit()

WinWaitNotActive, %myAppWindowTitle%

FadeOutExit()
ExitModule()


; Don't need to use this if the app never should be closed, can only use CloseProcess instead
MinimizeMyApp:
FadeOutStart()
WinMinimize, %myAppWindowTitle%
Return

CloseProcess:
FadeOutStart()
WinMinimize, %myAppWindowTitle%
; WinClose(myAppWindowTitle)
Return


Result:

HS runs
I select SKJukebox
I minimise SKJukebox
HS has no focus until I click the screen

thanks, hoping this is right but the HL log looks alittle empty.
 

djvj

Administrator
Staff member
Developer
That log is not correct. It's a log when you ran HL directly and exited, not when you run skjukebox.

Sent from my Samsung S3 using Tapatalk
 

Potts43

New member
RL Member
That log is not correct. It's a log when you ran HL directly and exited, not when you run skjukebox.

Sent from my Samsung S3 using Tapatalk

Very odd as I ran it from hyperspin.
What is the name and location of the log you require?
 

djvj

Administrator
Staff member
Developer
Run the game from hs, then immediately open your log and paste it here. Same log as before.

Sent from my Samsung S3 using Tapatalk
 

Potts43

New member
RL Member
Hi,

at first I realised I had HSHQ set to run SKJukebox as normal and not by HL. I changed that and ran it again via HS. I realised that your script ran SKJukebox and then pressed the hotkey to minimise SKJ. This isn't what I wanted. I made that line a quote and tried again. This time it did run but it wasn't in focus. If I pressed "1" it would run the program again from HS which still had focus(although at the back) this time it was in focus. I then could minimise SK and carry on with HS which was in focus. If I wanted SK back I just ran it again etc. However, if I exit SKJ using the Esc key as per the program then it exits but HS hasn't got focus.
It is progress but just not quite right yet.

Here are the module changes...very minor and my HL log

Module:

MEmu = MyApp
MEmuV = N/A
MURL = N/A
MAuthor = djvj
MVersion = 1.0
MCRC =
iCRC =
MID =
MSystem = "SKJukeBox"
;----------------------------------------------------------------------------
; Notes:
; Allows an app to stay running when HL exits and returns to your FE
myAppFullPath := "J:\HyperSpin\Emulators\SK Jukebox\skjukebox.exe"
myAppWindowTitle := "SK Jukebox"
params := ""
keyToMinimizeMyApp = \ ; \
;----------------------------------------------------------------------------
StartModule()
FadeInStart()

SplitPath, myAppFullPath, myAppName, myAppPath
myAppIsRunning := Process("Exist", myAppName) ; see if this app is running first

hideEmuObj := Object(myAppWindowTitle,1) ; Hide_Emu will hide these windows. 0 = will never unhide, 1 = will unhide later
HideEmuStart()

DetectHiddenWindows, On ; sometimes this is needed to determine is a window exists when minimized
myAppWindowID := WinExist(myAppWindowTitle) ; returns the hwnd ID of the window
If (myAppIsRunning && !myAppWindowID)
Log("Module - Could not find the active window: """ . myAppWindowID . """",2) ; might need to handle this scenario if an app's window cannot be found but is running

; HotKey, %keyToMinimizeMyApp%, MinimizeMyApp

If myAppIsRunning {
; probably don't need both of these, but in for testing
WinActivate, %myAppWindowTitle%
WinMaximize, %myAppWindowTitle%
} Else
Run(myAppName . " " . params, myAppPath)

WinWait(myAppWindowTitle)
WinWaitActive(myAppWindowTitle)

HideEmuEnd()
FadeInExit()

WinWaitNotActive, %myAppWindowTitle%

FadeOutExit()
ExitModule()


; Don't need to use this if the app never should be closed, can only use CloseProcess instead
MinimizeMyApp:
FadeOutStart()
WinMinimize, %myAppWindowTitle%
Return

CloseProcess:
FadeOutStart()
WinMinimize, %myAppWindowTitle%
; WinClose(myAppWindowTitle)
WinActivate, Hyperspin
Return


HL LOG:

Code:
11:39:16:908 | HL |     INFO  | +N/A   | Main - HyperLaunch v3.0.1.1c
11:39:16:984 | HL |     INFO  | +78    | Main - System Specs:
					HyperLaunch Dir: J:\HyperSpin\HyperLaunch
					OS: Microsoft Windows 7 Ultimate 
					SKU: Ultimate
					Total Memory: 12286.49 MB
					Free Memory: 8971.08 MB
					Used Memory: 3315.414 MB
					SystemType: x64-based PC
					Physical Processors: 1
					Logical Processors: 8
					GPU 1 Name: AMD Radeon HD 5800 Series
					GPU 1 RAM: 1024.00 MB
					GPU 1 Driver Version: 13.350.1005.0
					Sound 1 Device: VB-Audio Virtual Cable
					Sound 1 Status: Enabled
					Sound 2 Device: Screaming Bee Audio
					Sound 2 Status: Enabled
					Sound 3 Device: M-Audio MIDISPORT 2x2
					Sound 3 Status: Enabled
					Sound 4 Device: AMD High Definition Audio Device
					Sound 4 Status: Enabled
					Sound 5 Device: High Definition Audio Device
					Sound 5 Status: Enabled
					Sound 6 Device: MOTU Audio Wave for 64 bit
					Sound 6 Status: Enabled
					OS Language: English_United_States
					OS Admin Status: Yes
					Monitor #1 (\\.\DISPLAY1): 1920x1080 (1920x1080 work)
					Monitor #2 (\\.\DISPLAY2): 3840x1080 (3840x1040 work)
					AutoHotkey Path: C:\Program Files (x86)\AutoHotkey\AutoHotkey.exe
					AHK Version: 1.1.09.04
					Unicode: No
11:39:16:990 | HL |     INFO  | +16    | Main - HyperSpin.exe coordinates are x125 y125 w1440 h790
11:39:16:991 | HL |     INFO  | +0     | CheckFile - Checking if J:\HyperSpin\HyperLaunch\HyperLaunch.exe exists
11:39:16:992 | HL |   DEBUG1  | +0     | CheckFile - Attributes:
					FileDescription         	Your favorite Front End companion!
					FileVersion             	3.0.1.1
					LegalCopyright          	©2013 HL squad
					ProductName             	djvj's one swell guy!
					ProductVersion          	1.1.9.4
					CompanyName             	djvj's one swell guy!
					File Size:			910336 bytes
					Created:			10/1/2013 - 12:40:26 AM
					Modified:			1/27/2014 - 3:56:36 PM
11:39:16:992 | HL |     INFO  | +0     | CheckFile - Checking if J:\HyperSpin\HyperLaunch\Module Extensions\itextsharp.dll exists
11:39:16:994 | HL |   DEBUG1  | +0     | CheckFile - Attributes:
					FileDescription         	iTextSharp
					FileVersion             	5.4.2.0
					InternalName            	itextsharp.dll
					LegalCopyright          	Copyright (C) 1999-2013 by Bruno Lowagie and Paulo Soares. All Rights Reserved.
					OriginalFilename        	itextsharp.dll
					ProductName             	iTextSharp
					ProductVersion          	5.4.2.0
					CompanyName             	1T3XT BVBA
					File Size:			3743744 bytes
					Created:			10/1/2013 - 12:40:29 AM
					Modified:			10/1/2013 - 12:40:29 AM
11:39:16:995 | HL |     INFO  | +0     | CheckFile - Checking if J:\HyperSpin\HyperLaunch\Module Extensions\SevenZipSharp.dll exists
11:39:16:996 | HL |   DEBUG1  | +0     | CheckFile - Attributes:
					FileDescription         	SevenZipSharp
					FileVersion             	0.64.4841.31212
					InternalName            	SevenZipSharp.dll
					LegalCopyright          	Copyright (C) Markovtsev Vadim 2009, 2010, licenced under LGPLv3
					OriginalFilename        	SevenZipSharp.dll
					ProductName             	SevenZipSharp
					ProductVersion          	0.64.4841.31212
					CompanyName             	Markovtsev Vadim
					File Size:			165888 bytes
					Created:			10/1/2013 - 12:40:28 AM
					Modified:			10/1/2013 - 12:40:28 AM
11:39:16:997 | HL |     INFO  | +0     | CheckFile - Checking if J:\HyperSpin\HyperLaunch\Module Extensions\gsdll32.dll exists
11:39:16:998 | HL |   DEBUG1  | +0     | CheckFile - Attributes:
					File Size:			8818688 bytes
					Created:			10/1/2013 - 12:40:29 AM
					Modified:			10/1/2013 - 12:40:29 AM
11:39:16:999 | HL |     INFO  | +0     | CheckFile - Checking if J:\HyperSpin\HyperLaunch\Module Extensions\BlockInput.exe exists
11:39:16:000 | HL |   DEBUG1  | +0     | CheckFile - Attributes:
					FileDescription         	 
					FileVersion             	1.1.09.04
					InternalName            	 
					OriginalFilename        	 
					ProductName             	 
					ProductVersion          	1.1.09.04
					File Size:			657920 bytes
					Created:			1/3/2014 - 11:35:35 AM
					Modified:			1/3/2014 - 11:35:35 AM
11:39:17:001 | HL |     INFO  | +0     | CheckFile - Checking if J:\HyperSpin\HyperLaunch\Module Extensions\gdip.ahk exists
11:39:17:010 | HL |   DEBUG1  | +15    | CRC Check - CRC matches, this is an official unedited Extension.
11:39:17:012 | HL |   DEBUG1  | +0     | CheckFile - Attributes:
					File Size:			88789 bytes
					Created:			10/1/2013 - 12:40:28 AM
					Modified:			10/1/2013 - 12:40:28 AM
11:39:17:013 | HL |     INFO  | +0     | CheckFile - Checking if J:\HyperSpin\HyperLaunch\Module Extensions\RIni.ahk exists
11:39:17:017 | HL |   DEBUG1  | +16    | CRC Check - CRC matches, this is an official unedited Extension.
11:39:17:019 | HL |   DEBUG1  | +0     | CheckFile - Attributes:
					File Size:			67561 bytes
					Created:			10/1/2013 - 12:40:28 AM
					Modified:			10/1/2013 - 12:40:28 AM
11:39:17:020 | HL |     INFO  | +0     | CheckFile - Checking if J:\HyperSpin\HyperLaunch\Module Extensions\CLR.ahk exists
11:39:17:022 | HL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Extension.
11:39:17:024 | HL |   DEBUG1  | +0     | CheckFile - Attributes:
					File Size:			10586 bytes
					Created:			10/1/2013 - 12:40:28 AM
					Modified:			10/1/2013 - 12:40:28 AM
11:39:17:024 | HL |     INFO  | +0     | CheckFile - Checking if J:\HyperSpin\HyperLaunch\Module Extensions\COM.ahk exists
11:39:17:026 | HL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Extension.
11:39:17:028 | HL |   DEBUG1  | +0     | CheckFile - Attributes:
					File Size:			26342 bytes
					Created:			10/1/2013 - 12:40:28 AM
					Modified:			10/1/2013 - 12:40:28 AM
11:39:17:029 | HL |     INFO  | +0     | CheckFile - Checking if J:\HyperSpin\HyperLaunch\Module Extensions\JSON.ahk exists
11:39:17:043 | HL |   DEBUG1  | +15    | CRC Check - CRC matches, this is an official unedited Extension.
11:39:17:044 | HL |   DEBUG1  | +0     | CheckFile - Attributes:
					File Size:			9203 bytes
					Created:			10/1/2013 - 12:40:28 AM
					Modified:			10/1/2013 - 12:40:28 AM
11:39:17:045 | HL |     INFO  | +0     | CheckFile - Checking if J:\HyperSpin\HyperLaunch\Lib\Fade Init.ahk exists
11:39:17:046 | HL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
11:39:17:048 | HL |   DEBUG1  | +16    | CheckFile - Attributes:
					File Size:			1145 bytes
					Created:			10/1/2013 - 12:40:27 AM
					Modified:			10/1/2013 - 12:40:27 AM
11:39:17:048 | HL |     INFO  | +0     | CheckFile - Checking if J:\HyperSpin\HyperLaunch\Lib\HyperPause Init.ahk exists
11:39:17:050 | HL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
11:39:17:051 | HL |   DEBUG1  | +0     | CheckFile - Attributes:
					File Size:			691 bytes
					Created:			10/1/2013 - 12:40:27 AM
					Modified:			10/1/2013 - 12:40:27 AM
11:39:17:052 | HL |     INFO  | +0     | CheckFile - Checking if J:\HyperSpin\HyperLaunch\Lib\Keymapper Init.ahk exists
11:39:17:053 | HL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
11:39:17:054 | HL |   DEBUG1  | +0     | CheckFile - Attributes:
					File Size:			3435 bytes
					Created:			10/1/2013 - 12:40:27 AM
					Modified:			12/21/2013 - 9:05:36 PM
11:39:17:055 | HL |     INFO  | +0     | CheckFile - Checking if J:\HyperSpin\HyperLaunch\Lib\MultiGame Init.ahk exists
11:39:17:057 | HL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
11:39:17:058 | HL |   DEBUG1  | +0     | CheckFile - Attributes:
					File Size:			161 bytes
					Created:			10/1/2013 - 12:40:27 AM
					Modified:			10/1/2013 - 12:40:27 AM
11:39:17:059 | HL |     INFO  | +0     | CheckFile - Checking if J:\HyperSpin\HyperLaunch\Lib\Statistics Init.ahk exists
11:39:17:061 | HL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
11:39:17:063 | HL |   DEBUG1  | +0     | CheckFile - Attributes:
					File Size:			167 bytes
					Created:			10/1/2013 - 12:40:27 AM
					Modified:			10/1/2013 - 12:40:27 AM
11:39:17:065 | HL |     INFO  | +16    | CheckFile - Checking if J:\HyperSpin\HyperLaunch\Lib\Fade.ahk exists
11:39:17:068 | HL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
11:39:17:069 | HL |   DEBUG1  | +0     | CheckFile - Attributes:
					File Size:			25516 bytes
					Created:			10/1/2013 - 12:40:27 AM
					Modified:			10/1/2013 - 12:40:27 AM
11:39:17:070 | HL |     INFO  | +0     | CheckFile - Checking if J:\HyperSpin\HyperLaunch\Lib\HyperPause.ahk exists
11:39:17:086 | HL |    ERROR  | +15    | CRC Check - CRC does not match for this Library. Please re-download this file to continue using HyperLaunch: J:\HyperSpin\HyperLaunch\Lib\HyperPause.ahk
11:39:17:087 | HL |   DEBUG1  | +0     | CheckFile - Attributes:
					File Size:			367477 bytes
					Created:			3/21/2014 - 12:53:46 AM
					Modified:			2/21/2014 - 3:38:27 AM
11:39:17:088 | HL |     INFO  | +0     | CheckFile - Checking if J:\HyperSpin\HyperLaunch\Lib\Keymapper.ahk exists
11:39:17:091 | HL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
11:39:17:093 | HL |   DEBUG1  | +0     | CheckFile - Attributes:
					File Size:			30775 bytes
					Created:			10/1/2013 - 12:40:27 AM
					Modified:			1/18/2014 - 1:34:12 PM
11:39:17:094 | HL |     INFO  | +0     | CheckFile - Checking if J:\HyperSpin\HyperLaunch\Lib\MultiGame.ahk exists
11:39:17:097 | HL |   DEBUG1  | +16    | CRC Check - CRC matches, this is an official unedited Library.
11:39:17:098 | HL |   DEBUG1  | +0     | CheckFile - Attributes:
					File Size:			36816 bytes
					Created:			10/1/2013 - 12:40:27 AM
					Modified:			12/21/2013 - 9:05:36 PM
11:39:17:099 | HL |     INFO  | +0     | CheckFile - Checking if J:\HyperSpin\HyperLaunch\Lib\Bezel.ahk exists
11:39:17:106 | HL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
11:39:17:114 | HL |   DEBUG1  | +15    | CheckFile - Attributes:
					File Size:			83952 bytes
					Created:			3/21/2014 - 8:21:45 PM
					Modified:			3/21/2014 - 8:21:45 PM
11:39:17:116 | HL |     INFO  | +0     | CheckFile - Checking if J:\HyperSpin\HyperLaunch\Lib\Statistics.ahk exists
11:39:17:119 | HL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
11:39:17:122 | HL |   DEBUG1  | +0     | CheckFile - Attributes:
					File Size:			26153 bytes
					Created:			10/1/2013 - 12:40:27 AM
					Modified:			10/1/2013 - 12:40:27 AM
11:39:17:122 | HL |     INFO  | +0     | CheckFile - Checking if J:\HyperSpin\HyperLaunch\Lib\Rom Mapping Launch Menu.ahk exists
11:39:17:126 | HL |   DEBUG1  | +16    | CRC Check - CRC matches, this is an official unedited Library.
11:39:17:128 | HL |   DEBUG1  | +0     | CheckFile - Attributes:
					File Size:			69261 bytes
					Created:			3/21/2014 - 12:53:46 AM
					Modified:			2/5/2014 - 11:22:55 PM
11:39:17:128 | HL |     INFO  | +0     | CheckFile - Checking if J:\HyperSpin\HyperLaunch\Lib\Shared.ahk exists
11:39:17:134 | HL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
11:39:17:136 | HL |   DEBUG1  | +0     | CheckFile - Attributes:
					File Size:			81966 bytes
					Created:			10/1/2013 - 12:40:27 AM
					Modified:			3/9/2014 - 2:16:36 PM
11:39:17:136 | HL |     INFO  | +0     | CheckFile - Checking if J:\HyperSpin\HyperLaunch\Lib\XHotkey.ahk exists
11:39:17:138 | HL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
11:39:17:140 | HL |   DEBUG1  | +0     | CheckFile - Attributes:
					File Size:			28374 bytes
					Created:			10/1/2013 - 12:40:27 AM
					Modified:			10/1/2013 - 12:40:27 AM
11:39:17:140 | HL |     INFO  | +0     | CheckFile - Checking if J:\HyperSpin\HyperLaunch\Lib\Fade Animations.ahk exists
11:39:17:144 | HL |   DEBUG1  | +16    | CRC Check - CRC matches, this is an official unedited Library.
11:39:17:146 | HL |   DEBUG1  | +0     | CheckFile - Attributes:
					File Size:			55205 bytes
					Created:			10/1/2013 - 12:40:27 AM
					Modified:			10/1/2013 - 12:57:03 AM
11:39:17:146 | HL |     INFO  | +0     | Main - HyperLaunch received "Jukebox" and "Jukebox"
11:39:17:156 | HL |     INFO  | +0     | Main - Jukebox is using the default emulator: DWJukebox
11:39:17:165 | HL |     INFO  | +15    | Main - Checking for a [DWJukebox] section in J:\HyperSpin\HyperLaunch\Settings\Jukebox\Emulators.ini
11:39:17:166 | HL |     INFO  | +0     | Main - Checking for a [DWJukebox] section in J:\HyperSpin\HyperLaunch\Settings\Global Emulators.ini
11:39:17:167 | HL |     INFO  | +0     | Main - Found [DWJukebox] in J:\HyperSpin\HyperLaunch\Settings\Global Emulators.ini
11:39:17:168 | HL |     INFO  | +0     | CheckFile - Checking if J:\HyperSpin\HyperLaunch\Modules\DWJukebox\DWJukebox.ahk exists
11:39:17:169 | HL |   DEBUG1  | +0     | CheckFile - Attributes:
					File Size:			1907 bytes
					Created:			10/1/2013 - 12:40:29 AM
					Modified:			7/14/2014 - 11:34:26 AM
11:39:17:171 | HL |  WARNING  | +0     | Main - CRC Check - Module has no CRC defined on the header.
11:39:17:171 | HL |     INFO  | +0     | Main - Jukebox will use module: J:\HyperSpin\HyperLaunch\Modules\DWJukebox\DWJukebox.ahk
11:39:17:190 | HL |     INFO  | +31    | Main - Using SkipChecks method "Rom and Emu" or emuName = "PCLauncher".
11:39:17:200 | HL |     INFO  | +0     | Main - INI Keys read
11:39:17:203 | HL |     INFO  | +0     | CheckFile - Checking if J:\HyperSpin\HyperLaunch\Module Extensions\7z.exe exists
11:39:17:205 | HL |   DEBUG1  | +16    | CheckFile - Attributes:
					FileDescription         	7-Zip Console
					FileVersion             	9.20
					InternalName            	7z
					LegalCopyright          	Copyright (c) 1999-2010 Igor Pavlov
					OriginalFilename        	7z.exe
					ProductName             	7-Zip
					ProductVersion          	9.20
					CompanyName             	Igor Pavlov
					File Size:			163840 bytes
					Created:			10/1/2013 - 12:40:28 AM
					Modified:			10/1/2013 - 12:40:28 AM
11:39:17:207 | HL |     INFO  | +0     | CheckFile - Checking if J:\HyperSpin\HyperLaunch\Module Extensions\7z.dll exists
11:39:17:213 | HL |   DEBUG1  | +0     | CheckFile - Attributes:
					FileDescription         	7z Standalone Plugin
					FileVersion             	9.20
					InternalName            	7za
					LegalCopyright          	Copyright (c) 1999-2010 Igor Pavlov
					OriginalFilename        	7za.dll
					ProductName             	7-Zip
					ProductVersion          	9.20
					CompanyName             	Igor Pavlov
					File Size:			914432 bytes
					Created:			10/1/2013 - 12:40:28 AM
					Modified:			10/1/2013 - 12:40:28 AM
11:39:17:216 | HL |  WARNING  | +0     | Main - SkipChecks is enabled and set to: Rom and Emu
11:39:17:218 | HL |     INFO  | +0     | CheckPaths - Started
11:39:17:219 | HL |   DEBUG1  | +0     | CheckPaths - Looking for rom: E:\mp3\Jukebox.ini
11:39:17:221 | HL |   DEBUG1  | +16    | CheckPaths - Looking for rom by name in subfolder: E:\mp3\Jukebox\Jukebox.ini
11:39:17:223 | HL |   DEBUG1  | +0     | CheckPaths - Looking for rom by extension: E:\mp3\Jukebox\*.ini
11:39:17:225 | HL |   DEBUG1  | +0     | CheckPaths - Current romName: 
11:39:17:227 | HL |   DEBUG1  | +0     | CheckPaths - Current romPath: E:\mp3
11:39:17:228 | HL |   DEBUG1  | +0     | CheckPaths - Current romExtension: 
11:39:17:229 | HL |     INFO  | +0     | CheckPaths - Ended
11:39:17:231 | HL |     INFO  | +0     | BuildScript - User Variables:
					;----------------------------------------------------------------------------
					; INJECTED VARIABLES
					;----------------------------------------------------------------------------
					
					#NoTrayIcon
					#InstallKeybdHook
					DetectHiddenWindows, ON
					SetTitleMatchMode, 2
					SendMode, Event
					0 = 2
					hlMode = 
					frontendPID = 9068
					frontendPath = J:\HyperSpin
					frontendExe = HyperSpin.exe
					frontendExt = exe
					frontendName = HyperSpin
					frontendDrive = J:
					exitEmulatorKey = Esc
					exitEmulatorKeyWait = 0
					forceHoldKey = ~Esc
					restoreFE = Restore and Click
					exitScriptKey = ~q & ~s
					toggleCursorKey = ~e & ~t
					emuFullPath = J:\HyperSpin\Emulators\DWJukebox\wincab.exe
					emuPath = J:\HyperSpin\Emulators\DWJukebox
					emuName = DWJukebox
					emuExt = exe
					romPath = E:\mp3
					romPathFromIni = E:\mp3
					romExtension = 
					romExtensionOrig = 
					romExtensions = ini
					executable = wincab.exe
					systemName = Jukebox
					dbName = Jukebox
					romName = 
					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 = J:\HyperSpin\HyperLaunch\Module Extensions\BlockInput.exe
					errorLevelReporting = 0
					logFile = J:\HyperSpin\HyperLaunch\HyperLaunch.log
					logLabel := ["    INFO"," WARNING","   ERROR","  DEBUG1","  DEBUG2"]
					logLevel = 10
					logIncludeModule = true
					logIncludeFileProperties = true
					logShowCommandWindow = false
					logCommandWindow = false
					sysLang = English_United_States
					navUpKey = Up
					navDownKey = Down
					navLeftKey = Left
					navRightKey = Right
					navSelectKey = 1
					navP2UpKey = R
					navP2DownKey = F
					navP2LeftKey = D
					navP2RightKey = G
					navP2SelectKey = 2
					originalWidth = 1920
					originalHeight = 1080
					dtEnabled = true
					dtPath = J:\HyperSpin\Emulators\New folder\DAEMON Tools Lite\DTLite.exe
					dtUseSCSI = true
					dtAddDrive = true
					emuIdleShutdown = 0
					hideCursor = false
					hideEmu = false
					hideFE = false
					fadeIn = true
					fadeInDuration = 500
					fadeInTransitionAnimation = DefaultAnimateFadeIn
					fadeInDelay = 6000
					fadeInExitDelay = 0
					fadeOutExitDelay = 0
					fadeOut = true
					fadeOutExtraScreen = true
					fadeOutDuration = 500
					fadeOutTransitionAnimation = DefaultAnimateFadeOut
					fadeOutDelay = 700
					fadeLyrInterpolation = 7
					fadeLyr1Color = FF000000
					fadeLyr1AlignImage = Stretch and Lose Aspect
					fadeLyr2Pos = Center
					fadeLyr2X = 300
					fadeLyr2Y = 300
					fadeLyr2Adjust = 1
					fadeLyr2PicPad = 0
					fadeLyr3Pos = Center
					fadeLyr3X = 300
					fadeLyr3Y = 300
					fadeLyr3Adjust = 0.75
					fadeLyr3Speed = 750
					fadeLyr3Animation = ZeroDreamsFade
					fadeLyr37zAnimation = ZeroDreamsFade
					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 = true
					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 = J:\HyperSpin\HyperLaunch\Media\Fade
					HLDataPath = J:\HyperSpin\HyperLaunch\Data
					HLMediaPath = J:\HyperSpin\HyperLaunch\Media
					HLErrSoundPath = J:\HyperSpin\HyperLaunch\Media\Sounds\Error
					modulesPath = J:\HyperSpin\HyperLaunch\Modules
					moduleFullName = J:\HyperSpin\HyperLaunch\Modules\DWJukebox\DWJukebox.ahk
					moduleName = DWJukebox
					modulePath = J:\HyperSpin\HyperLaunch\Modules\DWJukebox
					moduleExtension = ahk
					moduleExtensionsPath = J:\HyperSpin\HyperLaunch\Module Extensions
					libPath = J:\HyperSpin\HyperLaunch\Lib
					7zEnabled = true
					7zPath = J:\HyperSpin\HyperLaunch\Module Extensions\7z.exe
					7zDllPath = J:\HyperSpin\HyperLaunch\Module Extensions\7z.dll
					7zExtractPath = J:\HyperSpin\HyperLaunch\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 = 1
					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 = true
					hpKey = NumpadSub
					hpBackToMenuBarKey = 3
					hpZoomInKey = 8
					hpZoomOutKey = 9
					hpScreenshotKey = 4
					hpHiToTextPath = J:\HyperSpin\HyperLaunch\Module Extensions\HiToText.exe
					hpSaveStateKeyCodes = 
					hpLoadStateKeyCodes = 
					keymapperEnabled = false
					keymapperAHKMethod = External
					keymapper = xpadder
					xpadderFullPath = J:\HyperSpin\Xpadder.2013.07.18\Xpadder.exe
					joyToKeyFullPath = J:\HyperSpin\Utilities\JoyToKey\JoyToKey.exe
					keymapperProfilePath = J:\HyperSpin\HyperLaunch\Profiles\xpadder
					keymapperFrontEndProfileName = HyperSpin
					keymapperFrontEndProfile = xpadder
					keymapperHyperLaunchProfileEnabled = true
					JoyIDsEnabled = true
					JoyIDsPreferredControllersSystem = Controller (XBOX 360 For Windows)
					JoyIDsPreferredControllersGlobal = use_global
					CustomJoyNamesEnabled = false
					CustomJoyNames = 
					FEProfile = J:\HyperSpin\HyperLaunch\Profiles\xpadder\HyperSpin
					defaultProfile = J:\HyperSpin\HyperLaunch\Profiles\xpadder\_Default
					systemProfile = J:\HyperSpin\HyperLaunch\Profiles\xpadder\Jukebox
					xPadderSystemProfile = J:\HyperSpin\HyperLaunch\Profiles\xpadder\Jukebox\_Default
					emuProfile = J:\HyperSpin\HyperLaunch\Profiles\xpadder\Jukebox\DWJukebox
					romProfile = J:\HyperSpin\HyperLaunch\Profiles\xpadder\Jukebox\Jukebox
					HyperLaunchProfile = J:\HyperSpin\HyperLaunch\Profiles\xpadder\HyperLaunch
					blankProfile = J:\HyperSpin\HyperLaunch\Profiles\xpadder\_Default\blank
					ahkFEProfile = J:\HyperSpin\HyperLaunch\Profiles\AHK\HyperSpin
					ahkDefaultProfile = J:\HyperSpin\HyperLaunch\Profiles\AHK\_Default
					ahkSystemProfile = J:\HyperSpin\HyperLaunch\Profiles\AHK\Jukebox
					ahkEmuProfile = J:\HyperSpin\HyperLaunch\Profiles\AHK\Jukebox\DWJukebox
					ahkRomProfile = J:\HyperSpin\HyperLaunch\Profiles\AHK\Jukebox\Jukebox
					ahkHyperLaunchProfile = J:\HyperSpin\HyperLaunch\Profiles\AHK\HyperLaunch
					bezelEnabled = true
					statisticsEnabled = true

11:39:17:233 | HL |     INFO  | +0     | BuildScript - Loaded XHotkey Init.ahk scripts
11:39:17:234 | HL |     INFO  | +0     | BuildScript - Loaded Keymapper Init.ahk scripts
11:39:17:235 | HL |     INFO  | +0     | BuildScript - Loaded Fade Init.ahk scripts
11:39:17:236 | HL |     INFO  | +15    | CheckFile - Checking if J:\HyperSpin\HyperLaunch\Module Extensions\VA.ahk exists
11:39:17:238 | HL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Extension.
11:39:17:240 | HL |   DEBUG1  | +0     | CheckFile - Attributes:
					File Size:			34688 bytes
					Created:			10/1/2013 - 12:40:28 AM
					Modified:			10/1/2013 - 12:40:28 AM
11:39:17:240 | HL |     INFO  | +0     | BuildScript - Loaded HyperPause Init.ahk scripts
11:39:17:242 | HL |     INFO  | +0     | BuildScript - Loaded Statistics Init.ahk scripts
11:39:17:243 | HL |     INFO  | +0     | BuildScript - Loaded User Functions Init.ahk script
11:39:17:244 | HL |   DEBUG1  | +0     | BuildScript - Module starts on line: 2
11:39:17:246 | HL |     INFO  | +0     | BuildScript - Module:
					MEmu = MyApp
					MEmuV = N/A
					MURL = N/A
					MAuthor = djvj
					MVersion = 1.0
					MCRC = 
					iCRC =
					MID = 
					MSystem = "SKJukeBox"
					;----------------------------------------------------------------------------
					; Notes:
					; Allows an app to stay running when HL exits and returns to your FE
					myAppFullPath := "J:\HyperSpin\Emulators\SK Jukebox\skjukebox.exe"
					myAppWindowTitle := "SK Jukebox"
					params := ""
					keyToMinimizeMyApp = \	; \
					;----------------------------------------------------------------------------
					StartModule()
					FadeInStart()
					
					SplitPath, myAppFullPath, myAppName, myAppPath
					myAppIsRunning := Process("Exist", myAppName)	; see if this app is running first
					
					hideEmuObj := Object(myAppWindowTitle,1)	; Hide_Emu will hide these windows. 0 = will never unhide, 1 = will unhide later
					HideEmuStart()
					
					DetectHiddenWindows, On	; sometimes this is needed to determine is a window exists when minimized
					myAppWindowID := WinExist(myAppWindowTitle)	; returns the hwnd ID of the window
					If (myAppIsRunning && !myAppWindowID)
						Log("Module - Could not find the active window: """ . myAppWindowID . """",2)	; might need to handle this scenario if an app's window cannot be found but is running
					
					; HotKey, %keyToMinimizeMyApp%, MinimizeMyApp
					
					If myAppIsRunning {
						; probably don't need both of these, but in for testing
						WinActivate, %myAppWindowTitle%
						WinMaximize, %myAppWindowTitle%
					} Else
						Run(myAppName . " " . params, myAppPath)
					
					WinWait(myAppWindowTitle)
					WinWaitActive(myAppWindowTitle)
					
					HideEmuEnd()
					FadeInExit()
					
					WinWaitNotActive, %myAppWindowTitle%
					
					FadeOutExit()
					ExitModule()
					
					
					; Don't need to use this if the app never should be closed, can only use CloseProcess instead
					MinimizeMyApp:
						FadeOutStart()
						WinMinimize, %myAppWindowTitle%
					Return
					
					CloseProcess:
						FadeOutStart()
						WinMinimize, %myAppWindowTitle%
						; WinClose(myAppWindowTitle)
					WinActivate, Hyperspin
					Return

11:39:17:247 | HL |     INFO  | +0     | BuildScript - Loaded HyperPause scripts
11:39:17:248 | HL |     INFO  | +0     | BuildScript - Loaded Statistics.ahk script
11:39:17:250 | HL |     INFO  | +0     | BuildScript - Loaded User Functions.ahk script
11:39:17:251 | HL |     INFO  | +16    | BuildScript - Finished injecting functions into module
11:39:17:251 | HL |     INFO  | +0     | Main - Module is built
11:39:17:253 | HL |     INFO  | +0     | CheckFile - Checking if J:\HyperSpin\HyperLaunch\AutoHotkey.dll exists
11:39:17:255 | HL |   DEBUG1  | +0     | CheckFile - Attributes:
					FileDescription         	AutoHotkey_H ANSI 32-bit
					FileVersion             	1.1.09.04
					InternalName            	AutoHotkey_H
					LegalCopyright          	Copyright (C) 2012
					OriginalFilename        	AutoHotkey.exe
					ProductName             	AutoHotkey_H
					ProductVersion          	1.1.09.04
					File Size:			785408 bytes
					Created:			10/1/2013 - 12:40:21 AM
					Modified:			10/1/2013 - 12:40:21 AM
11:39:17:257 | HL |     INFO  | +0     | Main - Running module
11:39:17:258 | HL |     INFO  | +0     | Main - Starting timer to watch if Front End gets displaced and restore it if it does.
11:39:17:479 | MD |     INFO  | +N/A   | Module initialized
11:39:17:481 | MD |   DEBUG2  | +0     | Keymapper - Checking for the JoyIDs_Preferred_Controllers key  in J:\HyperSpin\HyperLaunch\Settings\Jukebox\Games JoyIDs.ini under section [Jukebox]
11:39:17:483 | MD |   DEBUG2  | +0     | Keymapper - JoyIDsPreferredControllers = Controller (XBOX 360 For Windows)
11:39:17:483 | MD |   DEBUG2  | +0     | Keymapper - Creating a list of currently connected joysticks
11:39:17:517 | MD |   DEBUG2  | +47    | Keymapper - Joysticks Detected: 0000000000000000
11:39:17:518 | MD |     INFO  | +0     | Keymapper - Sorting Currently Connected joysticks List to match the order of the Preferred Controller List
11:39:17:519 | MD |     INFO  | +0     | Keymapper - Assigning the New Joystick IDs according to the preferred list for the active controllers
11:39:17:519 | MD |     INFO  | +0     | Keymapper - Loading External AHK Keymapping
11:39:17:520 | MD |     INFO  | +0     | CheckFile - Checking if J:\HyperSpin\HyperLaunch\Module Extensions\AhkLauncher.exe exists
11:39:17:522 | MD |   DEBUG1  | +0     | CheckFile - Attributes:
					FileDescription         	AhkLauncher
					FileVersion             	1.0.0.0
					InternalName            	AhkLauncher.exe
					LegalCopyright          	Copyright ©  2013
					OriginalFilename        	AhkLauncher.exe
					ProductName             	AhkLauncher
					ProductVersion          	1.0.0.0
					File Size:			11264 bytes
					Created:			10/1/2013 - 12:40:28 AM
					Modified:			10/1/2013 - 12:40:28 AM
11:39:17:522 | MD |     INFO  | +0     | RunAHKKeymapper - Started
11:39:17:523 | MD |   DEBUG1  | +0     | RunAHKKeymapper - Loading Jukebox, DWJukebox, Jukebox, or _Default AHK Keymapper profile
11:39:17:525 | MD |     INFO  | +0     | GetAHKProfile - Started
11:39:17:526 | MD |   DEBUG2  | +0     | GetAHKProfile - Searching for: J:\HyperSpin\HyperLaunch\Profiles\AHK\Jukebox\Jukebox.ahk
11:39:17:526 | MD |   DEBUG2  | +0     | GetAHKProfile - Searching for: J:\HyperSpin\HyperLaunch\Profiles\AHK\Jukebox\DWJukebox.ahk
11:39:17:527 | MD |   DEBUG2  | +0     | GetAHKProfile - Searching for: J:\HyperSpin\HyperLaunch\Profiles\AHK\Jukebox.ahk
11:39:17:528 | MD |   DEBUG2  | +0     | GetAHKProfile - Searching for: J:\HyperSpin\HyperLaunch\Profiles\AHK\_Default.ahk
11:39:17:529 | MD |     INFO  | +0     | GetAHKProfile - Ended and no profile found
11:39:17:530 | MD |   DEBUG1  | +0     | RunAHKKeymapper - If AhkLauncher.exe is running, need to close it first before a new profile can be loaded
11:39:17:531 | MD |     INFO  | +0     | Process - Exist AhkLauncher.exe 
11:39:17:555 | MD |     INFO  | +31    | RunAHKKeymapper - Ended
11:39:17:556 | MD |   DEBUG1  | +0     | fadeInTransitionAnimation: DefaultAnimateFadeIn
11:39:17:557 | MD |   DEBUG1  | +0     | fadeOutTransitionAnimation: DefaultAnimateFadeOut
11:39:17:558 | MD |   DEBUG1  | +0     | fadeLyr3Animation: ZeroDreamsFade
11:39:17:559 | MD |   DEBUG1  | +0     | fadeLyr37zAnimation: ZeroDreamsFade
11:39:17:561 | MD |     INFO  | +0     | StartModule - Started
11:39:17:562 | MD |     INFO  | +0     | StartModule - MEmu: MyApp
					MEmuV: N/A
					MURL: N/A
					MAuthor: djvj
					MVersion: 1.0
					MCRC: 
					iCRC: 
					MID: 
					MSystem: "SKJukeBox"
11:39:17:562 | MD |     INFO  | +0     | StartModule - You have a supported System Name for this module: "Jukebox"
11:39:17:563 | MD |   DEBUG1  | +16    | StartModule - Setting romName to the dbName sent to HyperLaunch: Jukebox
11:39:17:564 | MD |     INFO  | +0     | StartModule - Ended
11:39:17:565 | MD |   DEBUG1  | +0     | FadeInStart - Started
11:39:17:569 | MD |   DEBUG1  | +0     | GetFadePicFile - Checking if any Fade Layer 1 images exist in: J:\HyperSpin\HyperLaunch\Media\Fade\Jukebox\Jukebox\Layer 1*.*
11:39:17:570 | MD |   DEBUG1  | +0     | GetFadePicFile - Checking if any Fade Layer 1 images exist in: J:\HyperSpin\HyperLaunch\Media\Fade\Jukebox\_Default\Layer 1*.*
11:39:17:571 | MD |   DEBUG1  | +0     | GetFadePicFile - Checking if any Fade Layer 1 images exist in: J:\HyperSpin\HyperLaunch\Media\Fade\_Default\Layer 1*.*
11:39:17:571 | MD |   DEBUG1  | +0     | GetFadePicFile - Looking for Fade Layer 1 pic: J:\HyperSpin\HyperLaunch\Media\Fade\_Default\Layer 1*.png
11:39:17:572 | MD |   DEBUG1  | +0     | GetFadePicFile - Found Fade Layer 1 pic: J:\HyperSpin\HyperLaunch\Media\Fade\_Default\Layer 1.png
11:39:17:574 | MD |   DEBUG1  | +0     | GetFadePicFile - Looking for Fade Layer 1 pic: J:\HyperSpin\HyperLaunch\Media\Fade\_Default\Layer 1*.gif
11:39:17:574 | MD |   DEBUG1  | +0     | GetFadePicFile - Looking for Fade Layer 1 pic: J:\HyperSpin\HyperLaunch\Media\Fade\_Default\Layer 1*.tif
11:39:17:575 | MD |   DEBUG1  | +0     | GetFadePicFile - Looking for Fade Layer 1 pic: J:\HyperSpin\HyperLaunch\Media\Fade\_Default\Layer 1*.bmp
11:39:17:576 | MD |   DEBUG1  | +0     | GetFadePicFile - Looking for Fade Layer 1 pic: J:\HyperSpin\HyperLaunch\Media\Fade\_Default\Layer 1*.jpg
11:39:17:577 | MD |     INFO  | +0     | GetFadePicFile - Randomized images and Fade Layer 1 will use J:\HyperSpin\HyperLaunch\Media\Fade\_Default\Layer 1.png
11:39:17:578 | MD |   DEBUG1  | +0     | GetFadePicFile - Checking if any Fade Layer 2 images exist in: J:\HyperSpin\HyperLaunch\Media\Fade\Jukebox\Jukebox\Layer 2*.*
11:39:17:579 | MD |   DEBUG1  | +15    | GetFadePicFile - Checking if any Fade Layer 2 images exist in: J:\HyperSpin\HyperLaunch\Media\Fade\Jukebox\_Default\Layer 2*.*
11:39:17:580 | MD |   DEBUG1  | +0     | GetFadePicFile - Looking for Fade Layer 2 pic: J:\HyperSpin\HyperLaunch\Media\Fade\Jukebox\_Default\Layer 2*.png
11:39:17:580 | MD |   DEBUG1  | +0     | GetFadePicFile - Found Fade Layer 2 pic: J:\HyperSpin\HyperLaunch\Media\Fade\Jukebox\_Default\Layer 2.png
11:39:17:582 | MD |   DEBUG1  | +0     | GetFadePicFile - Looking for Fade Layer 2 pic: J:\HyperSpin\HyperLaunch\Media\Fade\Jukebox\_Default\Layer 2*.gif
11:39:17:583 | MD |   DEBUG1  | +0     | GetFadePicFile - Looking for Fade Layer 2 pic: J:\HyperSpin\HyperLaunch\Media\Fade\Jukebox\_Default\Layer 2*.tif
11:39:17:584 | MD |   DEBUG1  | +0     | GetFadePicFile - Looking for Fade Layer 2 pic: J:\HyperSpin\HyperLaunch\Media\Fade\Jukebox\_Default\Layer 2*.bmp
11:39:17:584 | MD |   DEBUG1  | +0     | GetFadePicFile - Looking for Fade Layer 2 pic: J:\HyperSpin\HyperLaunch\Media\Fade\Jukebox\_Default\Layer 2*.jpg
11:39:17:585 | MD |     INFO  | +0     | GetFadePicFile - Randomized images and Fade Layer 2 will use J:\HyperSpin\HyperLaunch\Media\Fade\Jukebox\_Default\Layer 2.png
11:39:17:793 | MD |     INFO  | +203   | DefaultAnimateFadeIn - Started
11:39:17:794 | MD |     INFO  | +0     | DefaultAnimateFadeIn - Drawing First FadeIn Image.
11:39:18:299 | MD |     INFO  | +515   | DefaultAnimateFadeIn - Ended
11:39:18:301 | MD |   DEBUG1  | +0     | GetFadePicFile - Checking if any Fade Layer 1bg images exist in: J:\HyperSpin\HyperLaunch\Media\Fade\Jukebox\Jukebox\Layer 1bg*.*
11:39:18:301 | MD |   DEBUG1  | +0     | GetFadePicFile - Checking if any Fade Layer 1bg images exist in: J:\HyperSpin\HyperLaunch\Media\Fade\Jukebox\_Default\Layer 1bg*.*
11:39:18:302 | MD |   DEBUG1  | +0     | GetFadePicFile - Checking if any Fade Layer 1bg images exist in: J:\HyperSpin\HyperLaunch\Media\Fade\_Default\Layer 1bg*.*
11:39:18:394 | MD |   DEBUG1  | +94    | GetFadePicFile - Checking if any Fade Layer 2 - rom name bar images exist in: J:\HyperSpin\HyperLaunch\Media\Fade\Jukebox\Jukebox\Layer 2 - rom name bar*.*
11:39:18:395 | MD |   DEBUG1  | +0     | GetFadePicFile - Checking if any Fade Layer 2 - rom name bar images exist in: J:\HyperSpin\HyperLaunch\Media\Fade\Jukebox\_Default\Layer 2 - rom name bar*.*
11:39:18:396 | MD |   DEBUG1  | +0     | GetFadePicFile - Checking if any Fade Layer 2 - rom name bar images exist in: J:\HyperSpin\HyperLaunch\Media\Fade\_Default\Layer 2 - rom name bar*.*
11:39:18:397 | MD |     INFO  | +0     | DefaultFadeAnimation - Started
11:39:18:398 | MD |   DEBUG1  | +0     | GetFadePicFile - Checking if any Fade Layer 3 images exist in: J:\HyperSpin\HyperLaunch\Media\Fade\Jukebox\Jukebox\Layer 3*.*
11:39:18:399 | MD |   DEBUG1  | +0     | GetFadePicFile - Checking if any Fade Layer 3 images exist in: J:\HyperSpin\HyperLaunch\Media\Fade\Jukebox\_Default\Layer 3*.*
11:39:18:400 | MD |   DEBUG1  | +0     | GetFadePicFile - Looking for Fade Layer 3 pic: J:\HyperSpin\HyperLaunch\Media\Fade\Jukebox\_Default\Layer 3*.png
11:39:18:400 | MD |   DEBUG1  | +0     | GetFadePicFile - Found Fade Layer 3 pic: J:\HyperSpin\HyperLaunch\Media\Fade\Jukebox\_Default\Layer 3.png
11:39:18:401 | MD |   DEBUG1  | +0     | GetFadePicFile - Looking for Fade Layer 3 pic: J:\HyperSpin\HyperLaunch\Media\Fade\Jukebox\_Default\Layer 3*.gif
11:39:18:402 | MD |   DEBUG1  | +0     | GetFadePicFile - Looking for Fade Layer 3 pic: J:\HyperSpin\HyperLaunch\Media\Fade\Jukebox\_Default\Layer 3*.tif
11:39:18:402 | MD |   DEBUG1  | +0     | GetFadePicFile - Looking for Fade Layer 3 pic: J:\HyperSpin\HyperLaunch\Media\Fade\Jukebox\_Default\Layer 3*.bmp
11:39:18:403 | MD |   DEBUG1  | +0     | GetFadePicFile - Looking for Fade Layer 3 pic: J:\HyperSpin\HyperLaunch\Media\Fade\Jukebox\_Default\Layer 3*.jpg
11:39:18:404 | MD |     INFO  | +0     | GetFadePicFile - Randomized images and Fade Layer 3 will use J:\HyperSpin\HyperLaunch\Media\Fade\Jukebox\_Default\Layer 3.png
11:39:18:408 | MD |     INFO  | +15    | ReadHyperSpinXML - Started
11:39:18:409 | MD |  WARNING  | +0     | Database name Jukebox not found on Jukebox.xml
11:39:18:410 | MD |     INFO  | +0     | ReadHyperSpinXML - Ended
11:39:18:411 | MD |     INFO  | +0     | CreateRomTable - Started
11:39:18:412 | MD |   DEBUG1  | +0     | CreateRomTable - Checking for match: "Jukebox" and "(Disc"
11:39:18:413 | MD |   DEBUG1  | +0     | CreateRomTable - Checking for match: "Jukebox" and "(Disk"
11:39:18:414 | MD |   DEBUG1  | +0     | CreateRomTable - Checking for match: "Jukebox" and "(Cart"
11:39:18:414 | MD |   DEBUG1  | +0     | CreateRomTable - Checking for match: "Jukebox" and "(Tape"
11:39:18:415 | MD |   DEBUG1  | +0     | CreateRomTable - Checking for match: "Jukebox" and "(Cassette"
11:39:18:416 | MD |   DEBUG1  | +0     | CreateRomTable - Checking for match: "Jukebox" and "(Part"
11:39:18:416 | MD |   DEBUG1  | +0     | CreateRomTable - Checking for match: "Jukebox" and "(Side"
11:39:18:417 | MD |     INFO  | +0     | CreateRomTable - Ended, 7 Loops to create table.
11:39:19:229 | MD |     INFO  | +811   | DefaultFadeAnimation - Ended
11:39:19:230 | MD |   DEBUG1  | +0     | FadeInDelay - Started
11:39:24:351 | MD |   DEBUG1  | +5133  | FadeInDelay - Ended
11:39:24:352 | MD |   DEBUG1  | +0     | FadeInStart - Ended
11:39:24:353 | MD |     INFO  | +0     | StartGlobalUserFeatures - Starting
11:39:24:354 | MD |     INFO  | +0     | StartGlobalUserFeatures - Ending
11:39:24:354 | MD |   DEBUG1  | +0     | CoverFE - Started
11:39:24:358 | MD |   DEBUG1  | +0     | CoverFE - Ended
11:39:24:358 | MD |     INFO  | +0     | Process - Exist skjukebox.exe 
11:39:24:386 | MD |     INFO  | +31    | CreateMGRomTable - Started
11:39:24:387 | MD |   DEBUG1  | +0     | CreateMGRomTable - romTable already exists, skipping table creation.
11:39:24:388 | MD |     INFO  | +0     | CreateMGRomTable - Ended
11:39:24:600 | MD |   DEBUG1  | +219   | GetActiveWindowStatus - Title: SK Jukebox | Class: ThunderRT6FormDC | State: 1 | X: -8 | Y: -8 | Width: 1936 | Height: 1096 | Window HWND: 0xa807ae | Process ID: 4728 | Process Path: J:\HyperSpin\Emulators\SK Jukebox\SKJukebox.exe
11:39:24:600 | MD |     INFO  | +0     | WinWait - Waiting for "SK Jukebox"
11:39:24:709 | MD |   DEBUG1  | +109   | GetActiveWindowStatus - Title: SK Jukebox | Class: ThunderRT6FormDC | State: 1 | X: -8 | Y: -8 | Width: 1936 | Height: 1096 | Window HWND: 0xa807ae | Process ID: 4728 | Process Path: J:\HyperSpin\Emulators\SK Jukebox\SKJukebox.exe
11:39:24:710 | MD |   DEBUG1  | +0     | GetActiveWindowStatus - Title: SK Jukebox | Class: ThunderRT6FormDC | State: 1 | X: -8 | Y: -8 | Width: 1936 | Height: 1096 | Window HWND: 0xa807ae | Process ID: 4728 | Process Path: J:\HyperSpin\Emulators\SK Jukebox\SKJukebox.exe
11:39:24:710 | MD |     INFO  | +0     | WinWaitActive - Waiting for "SK Jukebox"
11:39:24:822 | MD |   DEBUG1  | +109   | GetActiveWindowStatus - Title: SK Jukebox | Class: ThunderRT6FormDC | State: 1 | X: -8 | Y: -8 | Width: 1936 | Height: 1096 | Window HWND: 0xa807ae | Process ID: 4728 | Process Path: J:\HyperSpin\Emulators\SK Jukebox\SKJukebox.exe
11:39:24:837 | MD |   DEBUG1  | +16    | FadeInExit - Started
11:39:24:838 | MD |     INFO  | +0     | DefaultAnimateFadeIn - Started
11:39:25:356 | MD |     INFO  | +514   | DefaultAnimateFadeIn - Ended
11:39:25:371 | MD |   DEBUG1  | +16    | FadeInExit - Ended, waiting for user to close launched application
11:39:31:948 | MD |     INFO  | +6583  | StopGlobalUserFeatures - Starting
11:39:31:949 | MD |     INFO  | +0     | StopGlobalUserFeatures - Ending
11:39:31:950 | MD |   DEBUG1  | +0     | FadeOutExit - Started
11:39:31:951 | MD |     INFO  | +0     | DefaultAnimateFadeOut - Started
11:39:32:461 | MD |     INFO  | +515   | DefaultAnimateFadeOut - Ended
11:39:32:462 | MD |   DEBUG1  | +0     | FadeOutExit - Ended
11:39:32:462 | MD |     INFO  | +0     | ExitModule - Started
11:39:32:463 | MD |     INFO  | +0     | Starting Updating Statistics:
11:39:32:464 | MD |   DEBUG2  | +0     | Total Elapsed Time in Pause in seconds: 0
11:39:32:464 | MD |   DEBUG2  | +0     | gameSectionStartTime:2436158
11:39:32:465 | MD |   DEBUG2  | +0     | ElapsedTime:7
11:39:32:466 | MD |   DEBUG2  | +0     | Statistics cleared game name: Jukebox
11:39:32:493 | MD |   DEBUG2  | +31    | Loaded game statistics from ini files:
					Number_of_Times_Played: 29
					Last_Time_Played: Monday July 14, 2014 11:39:04 AM
					Average_Time_Played: 11
					Total_Time_Played: 320
					System_Total_Played_Time: 320
					Total_Global_Played_Time: 1045
11:39:32:494 | MD |   DEBUG2  | +0     | Updated Statistics: Number_of_Times_Played: 30
					Last_Time_Played: Monday July 14, 2014 11:39:25 AM
					Average_Time_Played: 11
					Total_Time_Played: 327
					System_Total_Played_Time: 327
					Total_Global_Played_Time: 1052
11:39:32:524 | MD |     INFO  | +31    | Game section statistics updated.
11:39:32:524 | MD |     INFO  | +0     | RunAHKKeymapper - Started
11:39:32:525 | MD |     INFO  | +0     | RunAHKKeymapper - Ended
11:39:32:527 | MD |     INFO  | +0     | ExitModule - Ended
11:39:32:528 | MD |     INFO  | +0     | End of Module Logs
11:39:32:559 | HL |     INFO  | +15304 | Main - Module ended, exiting HyperLaunch normally
11:39:32:559 | HL |     INFO  | +0     | ExitScript - Started
11:39:32:565 | HL |   DEBUG1  | +0     | ExitScript - Restoring HyperSpin.exe to x125 y125 w1440 h790
11:39:32:696 | HL |   DEBUG1  | +140   | ExitScript - Clicking HyperSpin.exe to attempt to put it into focus
11:39:32:698 | HL |   DEBUG1  | +0     | ExitScript - Checking what application is currently in focus.
11:39:32:699 | HL |   DEBUG1  | +0     | ExitScript -  is currently active. Putting focus back on HyperSpin.exe
11:39:32:820 | HL |   DEBUG1  | +125   | ExitScript - Took 1 attempts to put HyperSpin.exe back in focus.
11:39:32:827 | HL |     INFO  | +0     | SystemCursor - Restoring mouse cursor
11:39:32:833 | HL |     INFO  | +0     | ExitScript - Ended


many thanks Potts43
 

djvj

Administrator
Staff member
Developer
First, you should really turn off features for a system when you are not using it and/or troubleshooting. You have AHK keymapper enabled, but doesn't appear you are using it. FadeIn and FadeOut should both be disabled. Only enable them after your system is up and running 100%. They muddy up the logs searching for the important stuff.

Unfortunately the log is of no help because there isn't enough logging in the module to see what's really going on in your system. Something is happening in between these 2 lines:
Code:
11:39:25:371 | MD |   DEBUG1  | +16    | FadeInExit - Ended, waiting for user to close launched application
11:39:31:948 | MD |     INFO  | +6583  | StopGlobalUserFeatures - Starting

But I can't tell what. Whatever is happening is taking 6.5 seconds. You can try adding more logs to the module to see the status of your system at certain parts. Right now I am a bit busy working on some big HL stuff on my free time. The module I made you should give you a good idea of the order the events need to take place to get the outcome you initially proposed. You might need to add something more to it, but you need some pauses in the module to figure out what's not working or what you need to add.
 
Last edited:

Potts43

New member
RL Member
First, you should really turn off features for a system when you are not using it and/or troubleshooting. You have AHK keymapper enabled, but doesn't appear you are using it. FadeIn and FadeOut should both be disabled. Only enable them after your system is up and running 100%. They muddy up the logs searching for the important stuff.

Unfortunately the log is of no help because there isn't enough logging in the module to see what's really going on in your system. Something is happening in between these 2 lines:
Code:
11:39:25:371 | MD |   DEBUG1  | +16    | FadeInExit - Ended, waiting for user to close launched application
11:39:31:948 | MD |     INFO  | +6583  | StopGlobalUserFeatures - Starting

But I can't tell what. Whatever is happening is taking 6.5 seconds. You can try adding more logs to the module to see the status of your system at certain parts. Right now I am a bit busy working on some big HL stuff on my free time. The module I made you should give you a good idea of the order the events need to take place to get the outcome you initially proposed. You might need to add something more to it, but you need some pauses in the module to figure out what's not working or what you need to add.

Ok thanks for the pointers
 
Top