Jump to content

PCSX2 Not returning to HS properly


demonseed

Recommended Posts

Posted

so I have had issues with PCSX2 and Gzip.. finally got it running and not crashing, but still having two issues.  After I run a couple games, when I exit PCSX2 it is not returning to HS properly.  I get my desktop showing, no task bar, but can hear HS running.  It is running just not getting focus.

The other issue is, when I click to load a game, PCSX2 shows windowed then loads... does this on exit too.... This emulator has been a battle.. if you can help thanks so much.

 

Thanks
jim 

Ok So ..... I tried changing the times of 150 and 30 it did not work.. so then I tried deleting the above IF.... and it worked BUT after usually four games.. when PCSX2 goes back to HS, HS is running but not maximixed... so I see the desktop but hear HS.... I am not sure if its the code I deleted or something else? It worked fine Until Jeremy Super cross then it did not return properly



Code:
13:53:58:944 | RL |     INFO  | +N/A   | Main - RocketLauncher v1.0.1.2 (www.rlauncher.com)
13:53:58:944 | RL |  WARNING  | +0     | Main - You have "Logging_Show_Command_Window" enabled. This is only for showing errors being dumped to the command window from an executable. This may cause issues with running some executables and needs to be turned off when you are done.
13:53:58:954 | RL |  WARNING  | +16    | Main - You have "Logging_Log_Command_Window" enabled. This is only for logging errors being dumped to the command window from an executable. This may cause issues with running some executables and needs to be turned off when you are done.
13:53:58:954 | RL |  WARNING  | +0     | Main - You cannot use debug console and show/log a console for an emulator simultaneously. Turning off debug console to avoid errors launching.
13:53:59:034 | RL |     INFO  | +78    | Main - System Specs:
					RocketLauncher Dir: E:\Rocketlauncher
					RocketLauncher is: 32-bit
					OS: Microsoft Windows 7 Professional 
					SKU: Professional
					Total Memory: 8016.31 MB
					Free Memory: 6635.36 MB
					Used Memory: 1380.957 MB
					SystemType: 64-bit
					Physical Processors: 1
					Logical Processors: 4
					GPU 1 Name: Intel(R) HD Graphics
					GPU 1 RAM: -1924.00 MB
					GPU 1 Driver Version: 9.17.10.3347
					Sound 1 Device: High Definition Audio Device
					Sound 1 Status: Enabled
					Sound 2 Device: High Definition Audio Device
					Sound 2 Status: Enabled
					OS Language: English_United_States
					OS Admin Status: Yes
					Monitor #1 (\\.\DISPLAY1): 1440x900 (1440x860 work) [Landscape] (Primary)
					Current AHK Desktop Width: 1440
					Current AHK Desktop Height: 900
					AutoHotkey Path: C:\Program Files\AutoHotkey\AutoHotkey.exe
					AHK Version: 1.1.09.04
					Unicode: No
13:53:59:034 | RL |     INFO  | +0     | CheckFile - Checking if E:\Rocketlauncher\RocketLauncher.exe exists
13:53:59:034 | RL |     INFO  | +0     | CheckFile - Checking if E:\Rocketlauncher\Module Extensions\BinHexRW.ahk exists
13:53:59:044 | RL |   DEBUG1  | +16    | CRC Check - CRC matches, this is an official unedited Library.
13:53:59:044 | RL |     INFO  | +0     | CheckFile - Checking if E:\Rocketlauncher\Module Extensions\BlockInput.exe exists
13:53:59:054 | RL |     INFO  | +0     | CheckFile - Checking if E:\Rocketlauncher\Module Extensions\CLR.ahk exists
13:53:59:054 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Extension.
13:53:59:054 | RL |     INFO  | +0     | CheckFile - Checking if E:\Rocketlauncher\Module Extensions\COM.ahk exists
13:53:59:074 | RL |   DEBUG1  | +31    | CRC Check - CRC matches, this is an official unedited Extension.
13:53:59:074 | RL |     INFO  | +0     | CheckFile - Checking if E:\Rocketlauncher\Module Extensions\Control_AniGif.ahk exists
13:53:59:084 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Extension.
13:53:59:084 | RL |     INFO  | +0     | CheckFile - Checking if E:\Rocketlauncher\Module Extensions\gdip.ahk exists
13:53:59:094 | RL |   DEBUG1  | +15    | CRC Check - CRC matches, this is an official unedited Extension.
13:53:59:104 | RL |     INFO  | +16    | CheckFile - Checking if E:\Rocketlauncher\Module Extensions\gdip_alt.ahk exists
13:53:59:114 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
13:53:59:114 | RL |   DEBUG1  | +0     | gdip_alt.ahk Version: 1.0.2
13:53:59:114 | RL |     INFO  | +0     | CheckFile - Checking if E:\Rocketlauncher\Module Extensions\gsdll32.dll exists
13:53:59:124 | RL |     INFO  | +16    | CheckFile - Checking if E:\Rocketlauncher\Module Extensions\itextsharp.dll exists
13:53:59:124 | RL |     INFO  | +0     | CheckFile - Checking if E:\Rocketlauncher\Module Extensions\Java.ahk exists
13:53:59:124 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
13:53:59:134 | RL |   DEBUG1  | +15    | Java.ahk Version: 1.0.0
13:53:59:134 | RL |     INFO  | +0     | CheckFile - Checking if E:\Rocketlauncher\Module Extensions\JSON.ahk exists
13:53:59:134 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Extension.
13:53:59:134 | RL |     INFO  | +0     | CheckFile - Checking if E:\Rocketlauncher\Module Extensions\Origin.ahk exists
13:53:59:144 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
13:53:59:144 | RL |   DEBUG1  | +0     | Origin.ahk Version: 1.0.2
13:53:59:144 | RL |     INFO  | +0     | CheckFile - Checking if E:\Rocketlauncher\Module Extensions\RegRW64.ahk exists
13:53:59:154 | RL |   DEBUG1  | +16    | CRC Check - CRC matches, this is an official unedited Extension.
13:53:59:154 | RL |     INFO  | +0     | CheckFile - Checking if E:\Rocketlauncher\Module Extensions\RIni.ahk exists
13:53:59:164 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Extension.
13:53:59:174 | RL |     INFO  | +15    | CheckFile - Checking if E:\Rocketlauncher\Module Extensions\SevenZipSharp.dll exists
13:53:59:174 | RL |     INFO  | +0     | CheckFile - Checking if E:\Rocketlauncher\Module Extensions\Steam.ahk exists
13:53:59:184 | RL |   DEBUG1  | +16    | CRC Check - CRC matches, this is an official unedited Library.
13:53:59:184 | RL |   DEBUG1  | +0     | Steam.ahk Version: 1.0.2
13:53:59:194 | RL |     INFO  | +0     | CheckFile - Checking if E:\Rocketlauncher\Module Extensions\VA.ahk exists
13:53:59:194 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Extension.
13:53:59:204 | RL |     INFO  | +16    | CheckFile - Checking if E:\Rocketlauncher\Module Extensions\VA_Extension.ahk exists
13:53:59:204 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
13:53:59:204 | RL |   DEBUG1  | +0     | VA_Extension.ahk Version: 1.0.1
13:53:59:204 | RL |     INFO  | +0     | CheckFile - Checking if E:\Rocketlauncher\Lib\7z.ahk exists
13:53:59:214 | RL |   DEBUG1  | +15    | CRC Check - CRC matches, this is an official unedited Library.
13:53:59:224 | RL |   DEBUG1  | +0     | 7z.ahk Version: 1.0.0
13:53:59:224 | RL |     INFO  | +0     | CheckFile - Checking if E:\Rocketlauncher\Lib\Bezel.ahk exists
13:53:59:234 | RL |   DEBUG1  | +16    | CRC Check - CRC matches, this is an official unedited Library.
13:53:59:234 | RL |   DEBUG1  | +0     | Bezel.ahk Version: 1.1.2
13:53:59:244 | RL |     INFO  | +15    | CheckFile - Checking if E:\Rocketlauncher\Lib\Fade.ahk exists
13:53:59:254 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
13:53:59:254 | RL |   DEBUG1  | +0     | Fade.ahk Version: 1.1.0
13:53:59:264 | RL |     INFO  | +16    | CheckFile - Checking if E:\Rocketlauncher\Lib\Fade Init.ahk exists
13:53:59:274 | RL |   DEBUG1  | +16    | CRC Check - CRC matches, this is an official unedited Library.
13:53:59:274 | RL |   DEBUG1  | +0     | Fade Init.ahk Version: 1.0.1
13:53:59:274 | RL |     INFO  | +0     | CheckFile - Checking if E:\Rocketlauncher\Lib\Fade Animations.ahk exists
13:53:59:294 | RL |   DEBUG1  | +15    | CRC Check - CRC matches, this is an official unedited Library.
13:53:59:294 | RL |   DEBUG1  | +0     | Fade Animations.ahk Version: 1.1.6
13:53:59:304 | RL |     INFO  | +0     | CheckFile - Checking if E:\Rocketlauncher\Lib\Pause.ahk exists
13:53:59:314 | RL |   DEBUG1  | +16    | CRC Check - CRC matches, this is an official unedited Library.
13:53:59:334 | RL |   DEBUG1  | +15    | Pause.ahk Version: 1.1.3
13:53:59:334 | RL |     INFO  | +0     | CheckFile - Checking if E:\Rocketlauncher\Lib\Pause Init.ahk exists
13:53:59:344 | RL |   DEBUG1  | +16    | CRC Check - CRC matches, this is an official unedited Library.
13:53:59:344 | RL |   DEBUG1  | +0     | Pause Init.ahk Version: 1.0.2
13:53:59:344 | RL |     INFO  | +0     | CheckFile - Checking if E:\Rocketlauncher\Lib\Keymapper.ahk exists
13:53:59:354 | RL |   DEBUG1  | +16    | CRC Check - CRC matches, this is an official unedited Library.
13:53:59:354 | RL |   DEBUG1  | +0     | Keymapper.ahk Version: 1.1.2
13:53:59:364 | RL |     INFO  | +0     | CheckFile - Checking if E:\Rocketlauncher\Lib\Keymapper Init.ahk exists
13:53:59:374 | RL |   DEBUG1  | +15    | CRC Check - CRC matches, this is an official unedited Library.
13:53:59:374 | RL |   DEBUG1  | +0     | Keymapper Init.ahk Version: 1.0.4
13:53:59:374 | RL |     INFO  | +0     | CheckFile - Checking if E:\Rocketlauncher\Lib\MultiGame.ahk exists
13:53:59:384 | RL |   DEBUG1  | +16    | CRC Check - CRC matches, this is an official unedited Library.
13:53:59:384 | RL |   DEBUG1  | +0     | MultiGame.ahk Version: 1.0.7
13:53:59:394 | RL |     INFO  | +0     | CheckFile - Checking if E:\Rocketlauncher\Lib\MultiGame Init.ahk exists
13:53:59:394 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
13:53:59:404 | RL |   DEBUG1  | +15    | MultiGame Init.ahk Version: 1.0.0
13:53:59:404 | RL |     INFO  | +0     | CheckFile - Checking if E:\Rocketlauncher\Lib\MultiPlayer.ahk exists
13:53:59:404 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
13:53:59:414 | RL |   DEBUG1  | +16    | MultiPlayer.ahk Version: 1.0.6
13:53:59:414 | RL |     INFO  | +0     | CheckFile - Checking if E:\Rocketlauncher\Lib\Password.ahk exists
13:53:59:424 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
13:53:59:434 | RL |   DEBUG1  | +16    | Password.ahk Version: 1.0.1
13:53:59:434 | RL |     INFO  | +0     | CheckFile - Checking if E:\Rocketlauncher\Lib\Rom Mapping Launch Menu.ahk exists
13:53:59:444 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
13:53:59:454 | RL |   DEBUG1  | +15    | Rom Mapping Launch Menu.ahk Version: 1.0.5
13:53:59:454 | RL |     INFO  | +0     | CheckFile - Checking if E:\Rocketlauncher\Lib\Shared.ahk exists
13:53:59:474 | RL |   DEBUG1  | +16    | CRC Check - CRC matches, this is an official unedited Library.
13:53:59:484 | RL |   DEBUG1  | +15    | Shared.ahk Version: 1.3.1
13:53:59:484 | RL |     INFO  | +0     | CheckFile - Checking if E:\Rocketlauncher\Lib\Statistics.ahk exists
13:53:59:494 | RL |   DEBUG1  | +16    | CRC Check - CRC matches, this is an official unedited Library.
13:53:59:504 | RL |   DEBUG1  | +0     | Statistics.ahk Version: 1.0.3
13:53:59:504 | RL |     INFO  | +0     | CheckFile - Checking if E:\Rocketlauncher\Lib\Statistics Init.ahk exists
13:53:59:504 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
13:53:59:514 | RL |   DEBUG1  | +16    | Statistics Init.ahk Version: 1.0.1
13:53:59:514 | RL |     INFO  | +0     | CheckFile - Checking if E:\Rocketlauncher\Lib\Virtual Drive.ahk exists
13:53:59:514 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
13:53:59:524 | RL |   DEBUG1  | +15    | Virtual Drive.ahk Version: 1.0.0
13:53:59:524 | RL |     INFO  | +0     | CheckFile - Checking if E:\Rocketlauncher\Lib\XHotkey.ahk exists
13:53:59:524 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
13:53:59:534 | RL |   DEBUG1  | +0     | XHotkey.ahk Version: 1.0.3
13:53:59:534 | RL |     INFO  | +0     | CheckFile - Checking if E:\Rocketlauncher\Lib\XHotkey Init.ahk exists
13:53:59:534 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
13:53:59:544 | RL |   DEBUG1  | +16    | XHotkey Init.ahk Version: 1.0.0
13:53:59:544 | RL |   DEBUG1  | +0     | Main - Raw CLI received: "Sony Playstation 2 Jeremy McGrath Supercross World (USA)"
13:53:59:544 | RL |   DEBUG1  | +0     | Main - Received this dbName with no path via CLI: "Jeremy McGrath Supercross World (USA)"
13:53:59:544 | RL |   DEBUG1  | +0     | Main - dbName: Jeremy McGrath Supercross World (USA)
13:53:59:554 | RL |  WARNING  | +0     | Main - No frontendPath was sent via CLI. Defaulting to use HyperSpin in "..\HyperSpin\HyperSpin.exe". If you want to use a different FE Path, please make sure you set up your Front End so it sends this parameter to RocketLauncher: "-f <PATH_TO_MY_FE\FRONTEND.exe>"
13:53:59:564 | RL |     INFO  | +15    | Main - HyperSpin.exe coordinates are x100 y100 w1080 h625
13:53:59:564 | RL |  WARNING  | +0     | Main - Front End plugin was not sent via CLI. Defaulting to the "HyperSpin" Plugin. If you want to load a different Front End Plugin, please make sure you set up your Front End so it sends this parameter to RocketLauncher: "-p <PLUGINTYPE>"
13:53:59:574 | RL |     INFO  | +16    | CheckFile - Checking if E:\Rocketlauncher\Plugins\HyperSpin.plugin exists
13:53:59:574 | RL |     INFO  | +0     | Main - RocketLauncher received "Sony Playstation 2" and "Jeremy McGrath Supercross World (USA)"
13:53:59:584 | RL |     INFO  | +0     | Main - Did not find a "E:\Rocketlauncher\Settings\Sony Playstation 2\Game Options.ini" file, skipping any game-specific options.
13:53:59:584 | RL |     INFO  | +0     | Main - Jeremy McGrath Supercross World (USA) is using the default emulator: PCSX2
13:53:59:584 | RL |     INFO  | +0     | Main - Checking for a [PCSX2] section in E:\Rocketlauncher\Settings\Sony Playstation 2\Emulators.ini
13:53:59:604 | RL |     INFO  | +31    | Main - Checking for a [PCSX2] section in E:\Rocketlauncher\Settings\Global Emulators.ini
13:53:59:604 | RL |     INFO  | +0     | Main - Found [PCSX2] in E:\Rocketlauncher\Settings\Global Emulators.ini
13:53:59:604 | RL |     INFO  | +0     | CheckFile - Checking if E:\Rocketlauncher\Modules\PCSX2\PCSX2.ahk exists
13:53:59:604 | RL |  WARNING  | +0     | Main - CRC Check - CRC does not match official module and will not be supported. Continue using at your own risk.
13:53:59:614 | RL |     INFO  | +0     | Main - Jeremy McGrath Supercross World (USA) will use module: E:\Rocketlauncher\Modules\PCSX2\PCSX2.ahk
13:53:59:624 | RL |     INFO  | +16    | Main - Using standard method with "Rom Extension" SkipChecks or without any SkipChecks.
13:53:59:634 | RL |     INFO  | +15    | CheckFile - Checking if E:\Hyperspin\Emulators\Sony Playstation 2\pcsx2.exe exists
13:53:59:634 | RL |     INFO  | +0     | Main - INI Keys read
13:53:59:644 | RL |     INFO  | +0     | CheckFile - Checking if E:\Rocketlauncher\Module Extensions\7z.exe exists
13:53:59:644 | RL |     INFO  | +0     | CheckFile - Checking if E:\Rocketlauncher\Module Extensions\7z.dll exists
13:53:59:644 | RL |     INFO  | +0     | Main - "Jeremy McGrath Supercross World (USA)" does not qualify for MultiGame. Only roms with any of these strings in their name are acceptable: (Disc,(Disk,(Cart,(Tape,(Cassette,(Part,(Side
13:53:59:644 | RL |     INFO  | +0     | CheckPaths - Started
13:53:59:654 | RL |   DEBUG1  | +16    | CheckPaths - Looking for rom: E:\Hyperspin\Emulators\Sony Playstation 2\PS2Roms\Jeremy McGrath Supercross World (USA).7z
13:53:59:654 | RL |   DEBUG1  | +0     | CheckPaths - Looking for rom by name in subfolder: E:\Hyperspin\Emulators\Sony Playstation 2\PS2Roms\Jeremy McGrath Supercross World (USA)\Jeremy McGrath Supercross World (USA).7z
13:53:59:654 | RL |   DEBUG1  | +0     | CheckPaths - Rom not found
13:53:59:664 | RL |   DEBUG1  | +16    | CheckPaths - Looking for rom: E:\Hyperspin\Emulators\Sony Playstation 2\PS2Roms\Jeremy McGrath Supercross World (USA).zip
13:53:59:664 | RL |   DEBUG1  | +0     | CheckPaths - Looking for rom by name in subfolder: E:\Hyperspin\Emulators\Sony Playstation 2\PS2Roms\Jeremy McGrath Supercross World (USA)\Jeremy McGrath Supercross World (USA).zip
13:53:59:664 | RL |   DEBUG1  | +0     | CheckPaths - Rom not found
13:53:59:664 | RL |   DEBUG1  | +0     | CheckPaths - Looking for rom: E:\Hyperspin\Emulators\Sony Playstation 2\PS2Roms\Jeremy McGrath Supercross World (USA).rar
13:53:59:664 | RL |   DEBUG1  | +0     | CheckPaths - Looking for rom by name in subfolder: E:\Hyperspin\Emulators\Sony Playstation 2\PS2Roms\Jeremy McGrath Supercross World (USA)\Jeremy McGrath Supercross World (USA).rar
13:53:59:674 | RL |   DEBUG1  | +0     | CheckPaths - Rom not found
13:53:59:674 | RL |   DEBUG1  | +0     | CheckPaths - Looking for rom: E:\Hyperspin\Emulators\Sony Playstation 2\PS2Roms\Jeremy McGrath Supercross World (USA).cue
13:53:59:674 | RL |   DEBUG1  | +0     | CheckPaths - Looking for rom by name in subfolder: E:\Hyperspin\Emulators\Sony Playstation 2\PS2Roms\Jeremy McGrath Supercross World (USA)\Jeremy McGrath Supercross World (USA).cue
13:53:59:674 | RL |   DEBUG1  | +0     | CheckPaths - Rom not found
13:53:59:684 | RL |   DEBUG1  | +15    | CheckPaths - Looking for rom: E:\Hyperspin\Emulators\Sony Playstation 2\PS2Roms\Jeremy McGrath Supercross World (USA).iso
13:53:59:684 | RL |   DEBUG1  | +0     | CheckPaths - Looking for rom by name in subfolder: E:\Hyperspin\Emulators\Sony Playstation 2\PS2Roms\Jeremy McGrath Supercross World (USA)\Jeremy McGrath Supercross World (USA).iso
13:53:59:684 | RL |   DEBUG1  | +0     | CheckPaths - Rom not found
13:53:59:684 | RL |   DEBUG1  | +0     | CheckPaths - Looking for rom: E:\Hyperspin\Emulators\Sony Playstation 2\PS2Roms\Jeremy McGrath Supercross World (USA).iso.bz2
13:53:59:684 | RL |   DEBUG1  | +0     | CheckPaths - Looking for rom by name in subfolder: E:\Hyperspin\Emulators\Sony Playstation 2\PS2Roms\Jeremy McGrath Supercross World (USA)\Jeremy McGrath Supercross World (USA).iso.bz2
13:53:59:694 | RL |   DEBUG1  | +0     | CheckPaths - Rom not found
13:53:59:694 | RL |   DEBUG1  | +0     | CheckPaths - Looking for rom: E:\Hyperspin\Emulators\Sony Playstation 2\PS2Roms\Jeremy McGrath Supercross World (USA).bin.bz2
13:53:59:694 | RL |   DEBUG1  | +0     | CheckPaths - Looking for rom by name in subfolder: E:\Hyperspin\Emulators\Sony Playstation 2\PS2Roms\Jeremy McGrath Supercross World (USA)\Jeremy McGrath Supercross World (USA).bin.bz2
13:53:59:694 | RL |   DEBUG1  | +0     | CheckPaths - Rom not found
13:53:59:704 | RL |   DEBUG1  | +16    | CheckPaths - Looking for rom: E:\Hyperspin\Emulators\Sony Playstation 2\PS2Roms\Jeremy McGrath Supercross World (USA).bin
13:53:59:704 | RL |   DEBUG1  | +0     | CheckPaths - Looking for rom by name in subfolder: E:\Hyperspin\Emulators\Sony Playstation 2\PS2Roms\Jeremy McGrath Supercross World (USA)\Jeremy McGrath Supercross World (USA).bin
13:53:59:704 | RL |   DEBUG1  | +0     | CheckPaths - Rom not found
13:53:59:704 | RL |   DEBUG1  | +0     | CheckPaths - Looking for rom: E:\Hyperspin\Emulators\Sony Playstation 2\PS2Roms\Jeremy McGrath Supercross World (USA).gz
13:53:59:724 | RL |     INFO  | +15    | CheckPaths - Found rom: E:\Hyperspin\Emulators\Sony Playstation 2\PS2Roms\Jeremy McGrath Supercross World (USA).gz
13:53:59:724 | RL |   DEBUG1  | +0     | CheckPaths - Current romName: Jeremy McGrath Supercross World (USA)
13:53:59:724 | RL |   DEBUG1  | +0     | CheckPaths - Current romPath: E:\Hyperspin\Emulators\Sony Playstation 2\PS2Roms
13:53:59:724 | RL |   DEBUG1  | +0     | CheckPaths - Current romExtension: .gz
13:53:59:724 | RL |     INFO  | +0     | CheckPaths - Ended
13:53:59:734 | RL |     INFO  | +16    | BuildScript - User Variables:
					;----------------------------------------------------------------------------
					; INJECTED VARIABLES
					;----------------------------------------------------------------------------
					
					#NoTrayIcon
					#InstallKeybdHook
					DetectHiddenWindows, ON
					SetTitleMatchMode, 2
					SendMode, Event
					0 = 2
					pluginPath = E:\Rocketlauncher\Plugins
					pluginName = HyperSpin
					pluginExt = .plugin
					contextOnExit = 
					rlMode = 
					rlTitle = RocketLauncher
					rlVersion = 1.0.1.2
					rlAuthor = djvj
					rlURL = www.rlauncher.com
					langFile = E:\Rocketlauncher\Data\Language\Localization.ini
					primMonitor = 1
					frontendPID = 2548
					frontendPath = E:\HyperSpin
					frontendExe = HyperSpin.exe
					frontendExt = exe
					frontendName = HyperSpin
					frontendDrive = E:
					exitEmulatorKey = ~Esc
					exitEmulatorKeyWait = 0
					forceHoldKey = ~Esc
					restoreFE = false
					exitScriptKey = ~q & ~s
					toggleCursorKey = ~e & ~t
					emuFullPath = E:\Hyperspin\Emulators\Sony Playstation 2\pcsx2.exe
					emuPath = E:\Hyperspin\Emulators\Sony Playstation 2
					emuName = PCSX2
					emuExt = exe
					romPath = E:\Hyperspin\Emulators\Sony Playstation 2\PS2Roms
					romPathFromIni = E:\Hyperspin\Emulators\Sony Playstation 2\PS2Roms
					romExtension = .gz
					romExtensionOrig = .gz
					romExtensions = 7z|zip|rar|cue|iso|iso.bz2|bin.bz2|bin|gz
					executable = pcsx2.exe
					systemDbName = Sony Playstation 2
					systemName = Sony Playstation 2
					dbPath = 
					dbName = Jeremy McGrath Supercross World (USA)
					dbExt = 
					romName = Jeremy McGrath Supercross World (USA)
					romMapPath = 
					romMappingEnabled = false
					romMappingLaunchMenuEnabled = false
					romMappingFirstMatchingExt = false
					romMappingShowAllRomsInArchive = true
					romMappingNumberOfGamesByScreen = 7
					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
					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 = E:\Rocketlauncher\Module Extensions\BlockInput.exe
					errorLevelReporting = false
					lockLaunch = false
					lockLaunchGame = 
					screenRotationAngle = 0
					screenRotationAngleGame = 
					logFile = E:\Rocketlauncher\RocketLauncher.log
					logLabel := ["    INFO"," WARNING","   ERROR","  DEBUG1","  DEBUG2"]
					logLevel = 10
					logShowDebugConsole = false
					logIncludeModule = true
					logIncludeFileProperties = false
					logShowCommandWindow = true
					logCommandWindow = true
					rlDebugConsoleStdout = 
					sysLang = English_United_States
					sysType = 64-bit
					broadcastWindowTitle = 
					navUpKey = Up
					navDownKey = Down
					navLeftKey = Left
					navRightKey = Right
					navSelectKey = 1
					navP2UpKey = Numpad8
					navP2DownKey = Numpad2
					navP2LeftKey = Numpad4
					navP2RightKey = Numpad6
					navP2SelectKey = NumpadEnter
					originalWidth = 1440
					originalHeight = 900
					vdEnabled = false
					vdFullPath = 
					vdUseSCSI = true
					vdDriveLetter = 
					vdAddDrive = true
					servoStikEnabled = false
					ledblinkyEnabled = false
					ledblinkyFullPath = 
					ledblinkyProfilePath = E:\Rocketlauncher\Profiles\LEDBlinky
					ledblinkyRLProfile = E:\Rocketlauncher\Profiles\LEDBlinky\RocketLauncher
					emuIdleShutdown = 0
					launchPasswordHash = UpUpDownDownLeftRightLeftRight
					hideCursor = false
					hideEmu = false
					hideFE = false
					fadeIn = false
					fadeInDuration = 0
					fadeInTransitionAnimation = DefaultAnimateFadeIn
					fadeInDelay = 0
					fadeInExitDelay = 0
					fadeOutExitDelay = 
					fadeOut = false
					fadeOutExtraScreen = true
					fadeOutDuration = 
					fadeOutTransitionAnimation = DefaultAnimateFadeOut
					fadeOutDelay = 0
					fadeLyrInterpolation = 7
					fadeMuteEmulator = false
					fadeUseBackgrounds = false
					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 = 128
					fadeLyr4H = 
					fadeLyr4Pos = No Alignment
					fadeLyr4FPS = 50
					fadeLyr4PicPad = 0
					fadeTranspGifColor = FFFFFF
					fadeBarWindow = Image
					fadeBarWindowX = 
					fadeBarWindowY = 
					fadeBarWindowW = 900
					fadeBarWindowH = 
					fadeBarWindowR = 30
					fadeBarWindowM = 30
					fadeBarWindowHatchStyle = 8
					fadeBar = 7zOnly
					fadeBarNon7zProgressTime = 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
					fadeRomInfoManufacturer = text with label
					fadeRomInfoGenre = disabled
					fadeRomInfoRating = image
					fadeRomInfoOrder = Description|SystemName|Year|Manufacturer|Genre|Rating
					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
					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 = false
					fadeImgPath = E:\Rocketlauncher\Media\Fade
					RLDataPath = E:\Rocketlauncher\Data
					RLMediaPath = E:\Rocketlauncher\Media
					RLErrSoundPath = E:\Rocketlauncher\Media\Sounds\Error
					modulesPath = E:\Rocketlauncher\Modules
					moduleFullName = E:\Rocketlauncher\Modules\PCSX2\PCSX2.ahk
					moduleName = PCSX2
					modulePath = E:\Rocketlauncher\Modules\PCSX2
					moduleExtension = ahk
					moduleExtensionsPath = E:\Rocketlauncher\Module Extensions
					libPath = E:\Rocketlauncher\Lib
					7zEnabled = true
					7zPath = E:\Rocketlauncher\Module Extensions\7z.exe
					7zDllPath = E:\Rocketlauncher\Module Extensions\7z.dll
					7zExtractPath = C:\Users\Lenovo\AppData\Local\Temp\HS
					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
					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 = m
					pauseBackToMenuBarKey = n
					pauseZoomInKey = C
					pauseZoomOutKey = V
					pauseScreenshotKey = ~PrintScreen
					pauseHiToTextPath = E:\Rocketlauncher\Module Extensions\HiToText.exe
					pauseSaveStateKeyCodes = {F1 down}{F1 up}
					pauseLoadStateKeyCodes = {F3 down}{F3 up}
					keymapperEnabled = true
					keymapperAHKMethod = External
					keymapper = xpadder
					xpadderFullPath = E:\Hyperspin\Utilities\Xpadder\Xpadder.exe
					joyToKeyFullPath = E:\Utilities\JoyToKey\JoyToKey.exe
					keymapperProfilePath = E:\Rocketlauncher\Profiles\xpadder
					keymapperFrontEndProfileName = RocketLauncherUI
					keymapperFrontEndProfile = xpadder
					keymapperRocketLauncherProfileEnabled = true
					joyIDsEnabled = true
					joyIDsPreferredControllersGlobal = Controller (Xbox 360 Wireless Receiver for Windows)
					joyIDsPreferredControllersSystem = use_global
					joyIDsPreferredControllersOnExit = 
					CustomJoyNamesEnabled = false
					CustomJoyNames = 
					rotateMethod = false
					FEProfile = E:\Rocketlauncher\Profiles\xpadder\RocketLauncherUI
					defaultProfile = E:\Rocketlauncher\Profiles\xpadder\_Default
					systemProfile = E:\Rocketlauncher\Profiles\xpadder\Sony Playstation 2
					xPadderSystemProfile = E:\Rocketlauncher\Profiles\xpadder\Sony Playstation 2\_Default
					emuProfile = E:\Rocketlauncher\Profiles\xpadder\Sony Playstation 2\PCSX2
					romProfile = E:\Rocketlauncher\Profiles\xpadder\Sony Playstation 2\Jeremy McGrath Supercross World (USA)
					RocketLauncherProfile = E:\Rocketlauncher\Profiles\xpadder\RocketLauncher
					blankProfile = E:\Rocketlauncher\Profiles\xpadder\_Default\blank
					ahkFEProfile = E:\Rocketlauncher\Profiles\AHK\RocketLauncherUI
					ahkDefaultProfile = E:\Rocketlauncher\Profiles\AHK\_Default
					ahkSystemProfile = E:\Rocketlauncher\Profiles\AHK\Sony Playstation 2
					ahkEmuProfile = E:\Rocketlauncher\Profiles\AHK\Sony Playstation 2\PCSX2
					ahkRomProfile = E:\Rocketlauncher\Profiles\AHK\Sony Playstation 2\Jeremy McGrath Supercross World (USA)
					ahkRocketLauncherProfile = E:\Rocketlauncher\Profiles\AHK\RocketLauncher
					bezelEnabled = false
					bezelICEnabled = false
					statisticsEnabled = true
					pressDuration = -1
					emuVolume = 1
					dxwndIni = E:\Rocketlauncher\Module Extensions\dxwnd\dxwnd.ini
					dxwndFullPath = E:\Rocketlauncher\Module Extensions\dxwnd\dxwnd.exe
					mon1O = 
					pacDrivedllFile = E:\Rocketlauncher\Module Extensions\PacDrive32.dll
					userFadeAnimIniFile = E:\Rocketlauncher\Lib\User Fade Animations.ini

13:53:59:734 | RL |     INFO  | +0     | BuildScript - Loaded XHotkey Init.ahk scripts
13:53:59:734 | RL |     INFO  | +0     | BuildScript - Loaded Keymapper Init.ahk scripts
13:53:59:744 | RL |     INFO  | +16    | BuildScript - Loaded Statistics Init.ahk scripts
13:53:59:744 | RL |  WARNING  | +0     | BuildScript - "E:\Rocketlauncher\Lib\User Functions Init.ahk" not found
13:53:59:744 | RL |   DEBUG1  | +0     | BuildScript - Module starts on line: 2
13:53:59:744 | RL |     INFO  | +0     | BuildScript - Validating module
13:53:59:754 | RL |     INFO  | +0     | BuildScript - Validation complete
13:53:59:754 | RL |     INFO  | +0     | BuildScript - Module:
					MEmu = PCSX2
					MEmuV =  1.1.0.r5695
					MURL = http://pcsx2.net/
					MAuthor = djvj
					MVersion = 2.1.4
					MCRC = 17664BEB
					iCRC = 776E3DD9
					MID = 635038268913291718
					MSystem = "Sony PlayStation 2"
					;----------------------------------------------------------------------------
					; Notes:
					; This module has many settings that can be controlled via RocketLauncherUI
					; If you want to customize settings per game, add the game to the module's ini using RocketLauncherUI
					; If you use Daemon Tools, make sure you have a SCSI virtual drive setup. Not a DT one.
					; Tested Virtual Drive support with the cdvdGigaherz CDVD plugin. Make sure you set it to use your SCSI Virtual Drive letter.
					; Module will set the CdvdSource to Plugin or Iso depending on if you have Virtual Drive enabled or not.
					; If you have any problems closing the emulator, make sure noGUI module setting in RocketLauncherUI is set to default or false.
					;
					; Per-game memory cards
					; This module supports per-game memory cards to prevent them from ever becoming full
					; To use this feature, set the PerGameMemoryCards to true in RocketLauncherUI
					; You need to create a default blank memory card in the path you have defined in pcsx's ini found in section [Folders], key MemoryCards.
					; Make sure one of the current memory cards are blank, then copy it in that folder and rename it to "default.ps2". The module will copy this file to a romName.ps2 for each game launched.
					; The module will only insert memory cards into Slot 1. So save your games there.
					;
					; Linuz cdvd plugin stores its settings in the registry @ HKEY_CURRENT_USER\Software\PS2Eplugin\CDVD\CDVDiso
					;
					; Run pcsx2 with the --help option to see current CLI parameters
					;
					; Known CLI options not currently supported by this module:
					;  --console        	forces the program log/console to be visible
					;  --portable       	enables portable mode operation (requires admin/root access)
					;  --elf=<str>      	executes an ELF image
					;  --forcewiz       	forces PCSX2 to start the First-time Wizard
					;----------------------------------------------------------------------------
					StartModule()
					BezelGUI()
					FadeInStart()
					
					; PCSX2_ui.ini = default ini that contains memory card info and general settings
					If FileExist(emuPath . "\portable.ini") {	; portable install
						Log("Module - PCSX2 is operating in a portable mode")
						pcsx2IniFile := CheckFile(emuPath . "\inis\PCSX2_ui.ini", "Could not find the default PCSX2_ui.ini file. Please manually run and configure PCSX2 first so this file is created with all your default settings.")
					} Else {	; default not portable install
						Log("Module - PCSX2 is operating in a standard installation mode")
						RegRead, pcsx2IniFolder, HKCU, Software\PCSX2, SettingsFolder
						pcsx2IniFile := CheckFile(pcsx2IniFolder . "\PCSX2_ui.ini", "Could not find the default PCSX2_ui.ini file. Please manually run and configure PCSX2 first so this file is created with all your default settings.")
					}
					settingsFile := modulePath . "\" . moduleName . ".ini"
					
					; global settings
					Fullscreen := IniReadCheck(settingsFile, "Settings", "Fullscreen","true",,1)
					noGUI := IniReadCheck(settingsFile, "Settings", "noGUI","false",,1)	; disables display of the gui while running games
					fullboot := IniReadCheck(settingsFile, "Settings", "fullboot","false",,1)	; disables the quick boot feature, forcing you to sit through the PS2 startup splash screens
					perGameMemCards := IniReadCheck(settingsFile, "Settings", "PerGameMemoryCards","true",,1)
					hideConsole := IniReadCheck(settingsFile, "Settings", "HideConsole","true",,1)	; Hides console window from view if it shows up
					cfgPath := IniReadCheck(settingsFile, "Settings", "cfgpath", emuPath . "\Game Configs",,1)	; specifies the config folder; applies to pcsx2 + plugins
					autoCreateINIDir := IniReadCheck(settingsFile, "Settings", "AutoCreateINIDir","false",,1)  ; Enables the module to auto-create of per game ini files and directories
					defaultINISPath := IniReadCheck(settingsFile, "Settings", "DefaultINISPath",,,1)  ; Path to default INIS folder of PCSX2.
					gs := IniReadCheck(settingsFile, "Settings|" . romName, "gs",,,1)	; override for the GS plugin
					pad := IniReadCheck(settingsFile, "Settings|" . romName, "pad",,,1)	; override for the PAD plugin
					spu2 := IniReadCheck(settingsFile, "Settings|" . romName, "spu2",,,1)	; override for the SPU2 plugin
					cdvd := IniReadCheck(settingsFile, romName, "cdvd",,,1)	; override for the CDVD plugin
					usb := IniReadCheck(settingsFile, "Settings|" . romName, "usb",,,1)	; override for the USB plugin
					fw := IniReadCheck(settingsFile, "Settings|" . romName, "fw",,,1)	; override for the FW plugin
					dev9 := IniReadCheck(settingsFile, "Settings|" . romName, "dev9",,,1)	; override for the DEV9 plugin
					vdOveride := IniReadCheck(settingsFile, romName, "VDOveride","false",,1)
					nohacks := IniReadCheck(settingsFile, romName, "nohacks","false",,1)	; disables all speedhacks
					gamefixes := IniReadCheck(settingsFile, romName, "gamefixes",,,1)	; Enable specific gamefixes for this session. Use the specified comma or pipe-delimited list of gamefixes: VuAddSub,VuClipFlag,FpuCompare,FpuMul,FpuNeg,EETiming,SkipMpeg,OPHFlag,DMABusy,VIFFIFO,VI,FMVinSoftware
					
					cfgPath := GetFullName(cfgPath)
					IfNotExist % cfgPath
						FileCreateDir, %cfgPath%	; create the cfg folder if it does not exist
					
					; Create INIs subfolder for the game if it does not exist and if AutoCreateINIDir is true
					If (autoCreateINIDir = "true") {
						perINIPath := cfgPath . "\" . romName
						Log("Module - PerGameIni - perINIPath = " . perINIPath,4)
						If !FileExist(perINIPath) {
							If (defaultINISPath != "") {
								Log("Module - PerGameIni - perINIPath does not exist.  So we will create it at " . PerINIPath,4)
								FileCreateDir, %perINIPath%
								Log("Module - PerGameIni - Now to copy the ini files from " . defaultINISPath . " to " . perINIPath . ".",4)
								FileCopy, %defaultINISPath%\*.ini, %perINIPath%
							} Else {
								Log("Module - PerGameIni - perINIPath does not exist.  So we will create it at " . PerINIPath,4)
								FileCreateDir, %perINIPath%
								Log("Module - PerGameIni - Now to copy the ini files from " . emuPath . "\inis" . " to " . perINIPath . ".",4)
								FileCopy, %emuPath%\inis\*.ini, %perINIPath%
							}
						}
					}
					
					BezelStart()
					
					Fullscreen := If Fullscreen = "true" ? " --fullscreen" : ""
					noGUI := If noGUI = "true" ? " --nogui" : ""
					If (noGUI != "")
						Log("Module - noGUI is set to true, THIS MAY PREVENT PCSX2 FROM CLOSING PROPERLY. If you have any issues, set it to false or default in RocketLauncherUI.",2)
					fullboot := If fullboot = "true" ? " --fullboot" : ""
					nohacks := If nohacks = "true" ? " --nohacks" : ""
					gamefixes := If gamefixes ? " --gamefixes=" . gamefixes : ""
					gs := If gs ? " --gs=""" . GetFullName(gs) . """" : ""
					pad := If pad ? " --pad=""" . GetFullName(pad) . """" : ""
					spu2 := If spu2 ? " --spu2=""" . GetFullName(spu2) . """" : ""
					usb := If usb ? " --usb=""" . GetFullName(usb) . """" : ""
					fw := If fw ? " --fw=""" . GetFullName(fw) . """" : ""
					dev9 := If dev9 ? " --dev9=""" . GetFullName(dev9) . """" : ""
					
					cfgRomPath := cfgPath . "\" . romName
					cfgPathCLI := If FileExist(cfgRomPath) ? " --cfgpath=""" . GetFullName(cfgRomPath) . """" : ""
					
					; Specify what main ini PCSX2 should use
					If (cfgPathCLI && FileExist(cfgRomPath . "\PCSX2_ui.ini")) {
						;We can't set both cfgpath and cfg CLI switches, so if only PCSX2_ui.ini file exists we use cfg otherwise we use cfgpath
						;--cfg specifies a custom configuration file to use instead of PCSX2.ini (does not affect plugins)
						filecount := 0 
						Loop, %cfgRomPath%\*.ini
							filecount++
						If (filecount == 1)
						{
							;Only PCSX2_ui.ini found
							pcsx2IniFile := cfgRomPath . "\PCSX2_ui.ini"
							Log("Module - Found a game-specific PCSX2_ui.ini in the cfgPath. Telling PCSX2 to use this one instead: " . pcsx2IniFile)
							cfg := " --cfg=""" . pcsx2IniFile . """"
							cfgPathCLI := ""
						}
					}
					Log("Module - " . (If cfgPathCLI != "" ? "Setting PCSX2's config path to """ . cfgRomPath . """" : "Using PCSX2's default configuration folder: """ . emuPath . "\inis"""))
					
					; Memory Cards
					If perGameMemCards = true
					{	IniRead, currentMemCard1, %pcsx2IniFile%, MemoryCards, Slot1_Filename
						IniRead, memCardPath, %pcsx2IniFile%, Folders, MemoryCards	; folder where memory cards are stored
						StringLeft, memCardPathLeft, memCardPath, 3
						memCardPathIsAbsolute := If (RegExMatch(memCardPathLeft, "[a-zA-Z]:\\") && (StrLen(memCardPath) >= 3))	; this is 1 only when path looks like this "C:\"
						memCardPath := If memCardPathIsAbsolute ? memCardPath : emuPath . "\" . memCardPath	; if only a folder name is defined for the memory card path, tack on the emuPath to find the memory cards, otherwise leave the full path as is
						defaultMemCard := memCardPath . "\default.ps2"	; defining default blank memory card for slot 1
						Log("Module - Default memory card for Slot 1 should be: " . defaultMemCard,4)
						romMemCard1 := memCardPath . "\" . romName . ".ps2"	; defining name for rom's memory card for slot 1
						Log("Module - Rom memory card for Slot 1 should be: " . romMemCard1,4)
						Log("Module - Current memory card inserted in PCSX2's ini in Slot 1 is: " . currentMemCard1)
					
						If (currentMemCard1 != romName . ".ps2") {	; if current memory card in slot 1 does not match this romName, switch to one that does if exist or load a default one
							IfNotExist, %romMemCard1%	; first check if romName.ps2 memory card exists
								IfNotExist, %defaultMemCard%
									Log("Module - A default memory card for Slot 1 was not found in """ . memCardPath . """. Please create an empty memory card called ""default.ps2"" in this folder for per-game memory card support.",3)
								Else {
									FileCopy, %defaultMemCard%, %romMemCard1%	; create a new blank memory card for this game
									Log("Module - Creating a new blank memory card for this game in Slot 1: " . romMemCard1)
								}
							IniWrite, %romName%.ps2, %pcsx2IniFile%, MemoryCards, Slot1_Filename	; update the ini to use this rom's card
							Log("Module - Switched memory card in Slot 1 to: " . romMemCard1)
						}
					}
					
					hideEmuObj := Object("ahk_class wxWindowNR",1)	; Hide_Emu will hide these windows. 0 = will never unhide, 1 = will unhide later
					7z(romPath, romName, romExtension, 7zExtractPath)
					
					pcsx2Ini := LoadProperties(pcsx2IniFile)	; load the config into memory
					dvdSource := ReadProperty(pcsx2Ini,"CdvdSource")	; read value
					
					; Mount the CD using a Virtual Drive
					If (vdOveride = "true")	; this allows per-game Virtual Drive support because some games boot to black when Virtual Drive is enabled
						vdEnabled := vdOveride
					If (vdEnabled = "true" && InStr(".mds|.mdx|.b5t|.b6t|.bwt|.ccd|.cue|.isz|.nrg|.cdi|.iso|.ape|.flac", romExtension)) {	; if Virtual Drive is enabled and using an image type Virtual Drive can load
						If !cdvd {
							vdCDVDPlugin := IniReadCheck(settingsFile, "Settings", "VD_CDVD_Plugin",,,1)
							If vdCDVDPlugin
								cdvd := vdCDVDPlugin
						}
						cdvd := If cdvd ? " --cdvd=""" . GetFullName(cdvd) . """" : ""
						If dvdSource != Plugin
						{	Log("Module - CdvdSource was not set to ""Plugin"", changing it so PCSX2 can read from Virtual Drive.")
							WriteProperty(pcsx2Ini,"CdvdSource","Plugin")	; write a new value to the pcsx2IniFile
							SaveProperties(pcsx2IniFile,pcsx2Ini)	; save pcsx2IniFile to disk
						}
						VirtualDrive("mount",romPath . "\" . romName . romExtension)
						HideEmuStart()
						errLvl := Run(executable . " --usecd" . noGUI . Fullscreen . fullboot . nohacks . gamefixes . cfg . cfgPathCLI . gs . pad . spu2 . cdvd . usb . fw . dev9, emuPath,  "UseErrorLevel")
						usedVD = 1	; tell the rest of the script to use VD methods
					} Else If romExtension in .iso,.mdf,.nrg,.bin,.img,.gz	; the only formats PCSX2 supports loading directly
					{
						If !cdvd {
							imageCDVDPlugin := IniReadCheck(settingsFile, "Settings", "Image_CDVD_Plugin",,,1)
							If imageCDVDPlugin
								cdvd := imageCDVDPlugin
						}
						cdvd := If cdvd ? " --cdvd=""" . GetFullName(cdvd) . """" : ""
						If dvdSource != Iso
						{	Log("Module - CdvdSource was not set to ""Iso"", changing it so PCSX2 can launch this " . romExtension . " image directly")
							WriteProperty(pcsx2Ini,"CdvdSource","Iso")	; write a new value to the pcsx2IniFile
							SaveProperties(pcsx2IniFile,pcsx2Ini)	; save pcsx2IniFile to disk
						}
						HideEmuStart()
						errLvl := Run(executable . " """ . romPath . "\" . romName . romExtension . """ " . noGUI . Fullscreen . fullboot . nohacks . gamefixes . cfg . cfgPathCLI . gs . pad . spu2 . cdvd . usb . fw . dev9, emuPath,  "UseErrorLevel")
					} Else If romExtension in .bz2	; special case format that requires plugin mode and pcsx2 loads it directly
					{
						If !cdvd {
							linuzCDVDPlugin := IniReadCheck(settingsFile, "Settings", "Linuz_CDVD_Plugin",,,1)
							If linuzCDVDPlugin
								cdvd := linuzCDVDPlugin
						}
						cdvd := If cdvd ? " --cdvd=""" . GetFullName(cdvd) . """" : ""
						If dvdSource != plugin
						{	Log("Module - CdvdSource was not set to ""Plugin"", changing it so PCSX2 can launch this " . romExtension . " image directly")
							WriteProperty(pcsx2Ini,"CdvdSource","Plugin")	; write a new value to the pcsx2IniFile
							SaveProperties(pcsx2IniFile,pcsx2Ini)	; save pcsx2IniFile to disk
						}
						oldHex := ReadReg("IsoFile")	; read last used bz2 image
						newHex := StrToHex(romPath . "\" . romName . romExtension)	; convert new bz2 image path to hex
						i := 512 - StrLen(newHex)	; get total amount of 0's to add to end of hex to make it 512 bytes
						Loop, %i%
							newHex := newHex . "0"	; add required bytes to end
						If (oldHex != newHex) {
							Log("Module - Writing new bz2 path to registry",4)
							WriteReg("IsoFile", newHex)	; write new bz2 path to registry
						}
						HideEmuStart()
						errLvl := Run(executable . " """ . romPath . "\" . romName . romExtension . """ " . noGUI . Fullscreen . fullboot . nohacks . gamefixes . cfg . cfgPathCLI . gs . pad . spu2 . cdvd . usb . fw . dev9, emuPath,  "UseErrorLevel")
					} Else
						ScriptError("You are trying to run a rom type of """ . romExtension . """ but PCSX2 only supports loading iso|mdf|nrg|bin|img|gz directly. Please turn on Virtual Drive and/or 7z support or put ""cue"" last in your rom extensions for " . MEmu . " instead.")
					 
					If errLvl
						ScriptError("Error launching emulator, closing script.")
					
					WinWait("ahk_class wxWindowNR",,, "PCSX2")
					WinWaitActive("ahk_class wxWindowNR",,, "PCSX2")
					
					BezelDraw()
					
					If hideConsole = true
						SetTimer, HideConsole, 10
					
					SetTitleMatchMode 2 ;Wrong window might be detected in the next loop if we only use the class name for WinGetTitle so we will add fps to it
					Loop { ; looping until pcsx2 is done loading game
						; tooltip, loop %A_Index%,0,0
						Sleep, 200
						WinGetTitle, winTitle, fps ahk_class wxWindowNR,, PCSX2 ; excluding the title of the GUI window so we can read the title of the game window instead
						Log("Detected Window Title is " . winTitle,4)
						StringSplit, winTextSplit, winTitle, |, %A_Space%
						If ( winTextSplit10 != "" ) ; 10th position in the array is empty until game actually starts
							break
						
					}
					
					HideEmuEnd()
					FadeInExit()
					Process("WaitClose", executable)
					
					If usedVD
						VirtualDrive("unmount")
					
					7zCleanUp()
					BezelExit()
					FadeOutExit()
					ExitModule()
					
					
					ReadReg(var1) {
						regValue := RegRead("HKEY_CURRENT_USER", "Software\PS2Eplugin\CDVD\CDVDiso", var1) 
						Return %regValue%
					}
					
					WriteReg(var1, var2, ValueType="REG_BINARY") {
						RegWrite(ValueType, "HKEY_CURRENT_USER", "Software\PS2Eplugin\CDVD\CDVDiso", var1, var2)
					}
					
					StrToHex(S) {
						Return S="" ? "":Chr((*&S>>4)+48) Chr((x:=*&S&15)+48+(x>9)*7) StrToHex(SubStr(S,2))
					}
					
					MultiGame:
						; msgbox % "selectedRom = " . selectedRom . "`nselected game = " . currentButton . "`nmgRomPath = " . mgRomPath . "`nmgRomExt = " . mgRomExt . "`nmgRomName = "  . mgRomName
						; Unmount the CD from Virtual Drive
						If usedVD
							VirtualDrive("unmount")
						Sleep, 500	; Required to prevent your Virtual Drive from bugging
						; Mount the CD using Virtual Drive
						If usedVD
							VirtualDrive("mount",selectedRom)
					Return
					
					HideConsole:
						hideConsoleTimer++
						IfWinExist, Booting ahk_class wxWindowNR
						{	Log("Module - HideConsole - Console window found, hiding it out of view.")
							WinSet, Transparent, 0, Booting ahk_class wxWindowNR,,fps:,fps:	; hiding the console window
							WinSet, Transparent, 0, PCSX2 ahk_class wxWindowNR,,fps:,fps:	; hiding the GUI window with the menubar
							SetTimer, HideConsole, Off
						} Else If hideConsoleTimer >= 200
							SetTimer, HideConsole, Off
					Return
					
					CloseProcess:
						FadeOutStart()
						WinMenuSelectItem, PCSX2 ahk_class wxWindowNR,, System, Pause
						WinClose("PCSX2 ahk_class wxWindowNR") ; sending command to the GUI window to properly close the entire emu
					Return

13:53:59:764 | RL |     INFO  | +15    | BuildScript - Loaded Multi-Player scripts
13:53:59:774 | RL |     INFO  | +16    | BuildScript - Loaded Statistics.ahk script
13:53:59:774 | RL |  WARNING  | +0     | BuildScript - "E:\Rocketlauncher\Lib\User Functions.ahk" not found
13:53:59:774 | RL |     INFO  | +0     | BuildScript - Finished injecting functions into module
13:53:59:774 | RL |     INFO  | +0     | Main - Module is built
13:53:59:784 | RL |     INFO  | +0     | CheckFile - Checking if E:\Rocketlauncher\AutoHotkey.dll exists
13:53:59:784 | RL |     INFO  | +0     | Main - Running module
13:53:59:794 | RL |     INFO  | +15    | Main - Starting timer to watch if Front End gets displaced and restore it if it does.
13:53:59:914 | MD |     INFO  | +N/A   | Module initialized
13:53:59:924 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Using standard Hotkey method for key(s): "~Esc" to call label: "CloseProcess"
13:53:59:954 | MD |   DEBUG2  | +31    | Keymapper - Checking for the JoyIDs_Preferred_Controllers key  in E:\Rocketlauncher\Settings\Sony Playstation 2\Games JoyIDs.ini under section [Jeremy McGrath Supercross World (USA)]
13:53:59:954 | MD |     INFO  | +0     | LoadPreferredControllers - Started
13:53:59:954 | MD |   DEBUG2  | +0     | LoadPreferredControllers - JoyIDsPreferredControllers = Controller (Xbox 360 Wireless Receiver for Windows)
13:53:59:954 | MD |   DEBUG2  | +0     | LoadPreferredControllers - Creating a list of currently connected joysticks
13:53:59:984 | MD |     INFO  | +32    | GetJoystickArray - Started
13:54:00:044 | MD |   DEBUG2  | +62    | GetJoystickArray - Joysticks Detected: 1000000000000000
13:54:00:044 | MD |     INFO  | +0     | GetJoystickGUID - Started
13:54:00:074 | MD |     INFO  | +31    | GetJoystickGUID - Ended and found GUID: 5041DB96E6EDE4118001444553540000
13:54:00:074 | MD |   DEBUG2  | +0     | GetJoystickArray - ID: 1 | Port: 0 | Name: Controller (Xbox 360 Wireless Receiver for Windows) | MID: 045e | PID: 02a1 | GUID: 5041DB96E6EDE4118001444553540000
13:54:00:074 | MD |     INFO  | +0     | GetJoystickArray - Ended
13:54:00:074 | MD |   DEBUG2  | +0     | LoadPreferredControllers - Preferred Order Sorting List -> 1.01|045e|02a1|5041DB96E6EDE4118001444553540000
13:54:00:084 | MD |     INFO  | +0     | LoadPreferredControllers - Sorting Currently Connected joysticks List to match the order of the Preferred Controller List
13:54:00:084 | MD |     INFO  | +0     | LoadPreferredControllers - Assigning the New Joystick IDs according to the preferred list for the active controllers
13:54:00:084 | MD |     INFO  | +0     | ChangeJoystickID - Started
13:54:00:084 | MD |   DEBUG2  | +0     | ChangeJoystickID - Swapping Joystick ID: 00000000 to the New Joystick ID: 00000000, for the Joystick VID_045e&PID_02a1&GUID_5041DB96E6EDE4118001444553540000
13:54:00:104 | MD |     INFO  | +31    | ChangeJoystickID - Ended
13:54:00:114 | MD |     INFO  | +0     | LoadPreferredControllers - Ended
13:54:00:114 | MD |     INFO  | +0     | CheckFile - Checking if E:\Hyperspin\Utilities\Xpadder\Xpadder.exe exists
13:54:00:134 | MD |     INFO  | +32    | Keymapper - Loading xpadder
13:54:00:134 | MD |     INFO  | +0     | RunKeymapper - Started, using method "load"
13:54:00:134 | MD |     INFO  | +0     | GetJoystickArray - Started
13:54:00:144 | MD |   DEBUG2  | +0     | GetJoystickArray - Joysticks Detected: 1000000000000000
13:54:00:164 | MD |     INFO  | +31    | GetJoystickGUID - Started
13:54:00:164 | MD |     INFO  | +0     | GetJoystickGUID - Ended and found GUID: 5041DB96E6EDE4118001444553540000
13:54:00:164 | MD |   DEBUG2  | +0     | GetJoystickArray - ID: 1 | Port: 0 | Name: Controller (Xbox 360 Wireless Receiver for Windows) | MID: 045e | PID: 02a1 | GUID: 5041DB96E6EDE4118001444553540000
13:54:00:174 | MD |     INFO  | +0     | GetJoystickArray - Ended
13:54:00:174 | MD |   DEBUG2  | +0     | RunKeymapper - Found your keymapper application here: "E:\Hyperspin\Utilities\Xpadder\Xpadder.exe"
13:54:00:174 | MD |   DEBUG2  | +0     | RunKeymapper - Looping through controllers to find xpadder profiles for each one
13:54:00:174 | MD |   DEBUG2  | +0     | RunKeymapper - ID: 1 Now searching for a matching profile for this controller: "Controller (Xbox 360 Wireless Receiver for Windows)"
13:54:00:194 | MD |   DEBUG2  | +31    | GetProfile - Searching for these profiles (| delimited): E:\Rocketlauncher\Profiles\xpadder\Sony Playstation 2\Jeremy McGrath Supercross World (USA)|E:\Rocketlauncher\Profiles\xpadder\Sony Playstation 2\PCSX2|E:\Rocketlauncher\Profiles\xpadder\Sony Playstation 2\_Default|E:\Rocketlauncher\Profiles\xpadder\_Default|E:\Rocketlauncher\Profiles\xpadder\_Default\blank
13:54:00:194 | MD |   DEBUG2  | +0     | GetProfile - Searching for a Player 1 profile -> E:\Rocketlauncher\Profiles\xpadder\Sony Playstation 2\Jeremy McGrath Supercross World (USA)\Controller (Xbox 360 Wireless Receiver for Windows)\p1.xpadderprofile
13:54:00:194 | MD |   DEBUG2  | +0     | GetProfile - Searching for a Player 1 profile -> E:\Rocketlauncher\Profiles\xpadder\Sony Playstation 2\Jeremy McGrath Supercross World (USA)\p1.xpadderprofile
13:54:00:204 | MD |   DEBUG2  | +0     | GetProfile - Searching for a Player 1 profile -> E:\Rocketlauncher\Profiles\xpadder\Sony Playstation 2\PCSX2\Controller (Xbox 360 Wireless Receiver for Windows)\p1.xpadderprofile
13:54:00:204 | MD |   DEBUG2  | +0     | GetProfile - Searching for a Player 1 profile -> E:\Rocketlauncher\Profiles\xpadder\Sony Playstation 2\PCSX2\p1.xpadderprofile
13:54:00:234 | MD |   DEBUG2  | +31    | GetProfile - Searching for a Player 1 profile -> E:\Rocketlauncher\Profiles\xpadder\Sony Playstation 2\_Default\Controller (Xbox 360 Wireless Receiver for Windows)\p1.xpadderprofile
13:54:00:264 | MD |   DEBUG2  | +31    | GetProfile - Searching for a Player 1 profile -> E:\Rocketlauncher\Profiles\xpadder\Sony Playstation 2\_Default\p1.xpadderprofile
13:54:00:264 | MD |   DEBUG2  | +0     | GetProfile - Searching for a Player 1 profile -> E:\Rocketlauncher\Profiles\xpadder\_Default\Controller (Xbox 360 Wireless Receiver for Windows)\p1.xpadderprofile
13:54:00:264 | MD |   DEBUG2  | +0     | GetProfile - Searching for a Player 1 profile -> E:\Rocketlauncher\Profiles\xpadder\_Default\p1.xpadderprofile
13:54:00:264 | MD |     INFO  | +0     | GetProfile - Loading Player 1 Profile -> E:\Rocketlauncher\Profiles\xpadder\_Default\p1.xpadderprofile
13:54:00:294 | MD |     INFO  | +32    | RunXpadder - Started
13:54:00:294 | MD |     INFO  | +0     | Process - Exist JoyToKey.exe 
13:54:00:294 | MD |   DEBUG2  | +0     | RunXpadder - Closing xpadder to refresh controllers seen by xpadder
13:54:00:304 | MD |     INFO  | +0     | Run - Running: E:\Hyperspin\Utilities\Xpadder\Xpadder.exe /C
13:54:00:404 | MD |   DEBUG1  | +109   | Run - "Xpadder.exe /C" Process ID: 1252
13:54:00:404 | MD |   DEBUG2  | +0     | RunXpadder - Creating an array of connected controllers and profiles to arrange according to the order found in E:\Hyperspin\Utilities\Xpadder\xpadder.ini
13:54:00:404 | MD |     INFO  | +0     | Process - WaitClose Xpadder.exe 2
13:54:00:514 | MD |   DEBUG2  | +109   | RunXpadder - Reading the order in E:\Hyperspin\Utilities\Xpadder\xpadder.ini and arranging profiles found to match that order
13:54:00:514 | MD |   DEBUG2  | +0     | RunXpadder - No more controllers to be found
13:54:00:514 | MD |     INFO  | +0     | Run - Running: E:\Hyperspin\Utilities\Xpadder\Xpadder.exe "E:\Rocketlauncher\Profiles\xpadder\_Default\p1.xpadderprofile" /M
13:54:00:574 | MD |   DEBUG1  | +62    | Run - "Xpadder.exe "E:\Rocketlauncher\Profiles\xpadder\_Default\p1.xpadderprofile" /M" Process ID: 3776
13:54:00:574 | MD |     INFO  | +0     | RunXpadder - Ended
13:54:00:574 | MD |     INFO  | +0     | RunKeymapper - Ended
13:54:00:604 | MD |     INFO  | +32    | Keymapper - Loading External AHK Keymapping
13:54:00:604 | MD |     INFO  | +0     | CheckFile - Checking if E:\Rocketlauncher\Module Extensions\AhkLauncher.exe exists
13:54:00:604 | MD |     INFO  | +0     | RunAHKKeymapper - Started
13:54:00:604 | MD |   DEBUG1  | +0     | RunAHKKeymapper - Loading Jeremy McGrath Supercross World (USA), PCSX2, Sony Playstation 2, or _Default AHK Keymapper profile
13:54:00:614 | MD |     INFO  | +0     | GetAHKProfile - Started
13:54:00:614 | MD |   DEBUG2  | +0     | GetAHKProfile - Searching for: E:\Rocketlauncher\Profiles\AHK\Sony Playstation 2\Jeremy McGrath Supercross World (USA).ahk
13:54:00:614 | MD |   DEBUG2  | +0     | GetAHKProfile - Searching for: E:\Rocketlauncher\Profiles\AHK\Sony Playstation 2\PCSX2.ahk
13:54:00:614 | MD |   DEBUG2  | +0     | GetAHKProfile - Searching for: E:\Rocketlauncher\Profiles\AHK\Sony Playstation 2.ahk
13:54:00:614 | MD |   DEBUG2  | +0     | GetAHKProfile - Searching for: E:\Rocketlauncher\Profiles\AHK\_Default.ahk
13:54:00:614 | MD |     INFO  | +0     | GetAHKProfile - Ended and no profile found
13:54:00:634 | MD |   DEBUG1  | +31    | RunAHKKeymapper - If AhkLauncher.exe is running, need to close it first before a new profile can be loaded
13:54:00:634 | MD |     INFO  | +0     | Process - Exist AhkLauncher.exe 
13:54:00:634 | MD |     INFO  | +0     | RunAHKKeymapper - Ended
13:54:00:634 | MD |     INFO  | +0     | StartModule - Started
13:54:00:644 | MD |     INFO  | +0     | StartModule - MEmu: PCSX2
					MEmuV: 1.1.0.r5695
					MURL: http://pcsx2.net/
					MAuthor: djvj
					MVersion: 2.1.4
					MCRC: 17664BEB
					iCRC: 776E3DD9
					MID: 
					MSystem: "Sony PlayStation 2"
13:54:00:644 | MD |     INFO  | +0     | StartModule - You have a supported System Name for this module: "Sony Playstation 2"
13:54:00:644 | MD |     INFO  | +0     | PluginInit - Started
13:54:00:644 | MD |   DEBUG1  | +0     | BuildDatabaseTable - Started - Building Table for: Name|Cloneof|Manufacturer|Year|Genre|Rating
13:54:00:644 | MD |     INFO  | +0     | CheckFile - Checking if E:\HyperSpin\Databases\Sony Playstation 2\Sony Playstation 2.xml exists
13:54:00:664 | MD |   DEBUG1  | +31    | BuildDatabaseTable - Searching for a "Game Name" in the database
13:54:00:664 | MD |   DEBUG1  | +0     | BuildDatabaseTable - Found "Game Name" in the database!
13:54:00:664 | MD |   DEBUG1  | +0     | BuildDatabaseTable - Searching database for: Name
13:54:00:664 | MD |   DEBUG1  | +0     | BuildDatabaseTable - Found "Name" with a value: "Jeremy McGrath Supercross World (USA)"
13:54:00:664 | MD |   DEBUG1  | +0     | BuildDatabaseTable - Searching database for: Cloneof
13:54:00:674 | MD |   DEBUG1  | +0     | BuildDatabaseTable - Could not find: Cloneof
13:54:00:674 | MD |   DEBUG1  | +0     | BuildDatabaseTable - Searching database for: Manufacturer
13:54:00:674 | MD |   DEBUG1  | +0     | BuildDatabaseTable - Found "Manufacturer" with a value: "Acclaim"
13:54:00:674 | MD |   DEBUG1  | +0     | BuildDatabaseTable - Searching database for: Year
13:54:00:674 | MD |   DEBUG1  | +0     | BuildDatabaseTable - Found "Year" with a value: "2001"
13:54:00:694 | MD |   DEBUG1  | +31    | BuildDatabaseTable - Searching database for: Genre
13:54:00:704 | MD |   DEBUG1  | +0     | BuildDatabaseTable - Found "Genre" with a value: "Motorcycle"
13:54:00:704 | MD |   DEBUG1  | +0     | BuildDatabaseTable - Searching database for: Rating
13:54:00:704 | MD |   DEBUG1  | +0     | BuildDatabaseTable - Found "Rating" with a value: "Other - NR (Not Rated)"
13:54:00:704 | MD |   DEBUG2  | +0     | PluginInit - GameInfo:
					GameInfo Label: Genre | GameInfo Value: 
					GameInfo Label: Manufacturer | GameInfo Value: 
					GameInfo Label: Name | GameInfo Value: 
					GameInfo Label: Rating | GameInfo Value: 
					GameInfo Label: Year | GameInfo Value: 
13:54:00:734 | MD |   DEBUG1  | +31    | BuildDatabaseTable - Ended
13:54:00:734 | MD |   DEBUG1  | +0     | BuildAssetsTable - Started - Building Table for: Game Logo|System Logo
13:54:00:734 | MD |   DEBUG1  | +0     | BuildAssetsTable - Searching for a Game Logo: E:\HyperSpin\Media\Sony Playstation 2\Images\Wheel\Jeremy McGrath Supercross World (USA).png
13:54:00:734 | MD |   DEBUG1  | +0     | BuildAssetsTable - Searching for a System Logo: E:\HyperSpin\Media\Main Menu\Images\Wheel\Sony Playstation 2.png
13:54:00:734 | MD |   DEBUG2  | +0     | BuildAssetsTable - Media assets found: 
					Asset Label: Game Logo | Asset Path1:  E:\HyperSpin\Media\Sony Playstation 2\Images\Wheel\Jeremy McGrath Supercross World (USA).png | Asset Extension1:  png | Asset Type1:  game
					Asset Label: System Logo | Asset Path1:  E:\HyperSpin\Media\Main Menu\Images\Wheel\Sony Playstation 2.png | Asset Extension1:  png | Asset Type1:  system
13:54:00:764 | MD |   DEBUG1  | +32    | BuildAssetsTable - Ended
13:54:00:794 | MD |   DEBUG1  | +31    | BuildAssetsTable - Started - Building Table for: Artwork1|Box Art|Cartridge|Flyers|Letters|Other
13:54:00:794 | MD |   DEBUG1  | +0     | BuildAssetsTable - Searching for a Artwork1: E:\HyperSpin\Media\Sony Playstation 2\Images\Artwork1\Jeremy McGrath Supercross World (USA).png
13:54:00:794 | MD |   DEBUG1  | +0     | BuildAssetsTable - Searching for a Box Art: E:\HyperSpin\Media\Sony Playstation 2\Images\Artwork2\Jeremy McGrath Supercross World (USA).png
13:54:00:824 | MD |   DEBUG1  | +31    | BuildAssetsTable - Searching for a Cartridge: E:\HyperSpin\Media\Sony Playstation 2\Images\Artwork3\Jeremy McGrath Supercross World (USA).png
13:54:00:834 | RL |  WARNING  | +1046  | HyperSpin.exe was displaced to x0 y0 w1440 h900 by PCSX2. It is probably running in true fullscreen mode.
13:54:00:854 | MD |   DEBUG1  | +31    | BuildAssetsTable - Searching for a Flyers: E:\HyperSpin\Media\Sony Playstation 2\Images\Artwork4\Jeremy McGrath Supercross World (USA).png
13:54:00:854 | MD |   DEBUG1  | +0     | BuildAssetsTable - Searching for a Letters: E:\HyperSpin\Media\Sony Playstation 2\Images\Letters
13:54:00:884 | MD |   DEBUG1  | +31    | BuildAssetsTable - Searching for a Other: E:\HyperSpin\Media\Sony Playstation 2\Images\Other
13:54:00:914 | MD |   DEBUG2  | +32    | BuildAssetsTable - Media assets found: 
					Asset Label: Letters | Asset Path1:  E:\Hyperspin\Media\Sony Playstation 2\Images\Letters\!.png | Asset Extension1:  png | Asset Type1:  system
					Asset Label: Letters | Asset Path2:  E:\Hyperspin\Media\Sony Playstation 2\Images\Letters\'.png | Asset Extension2:  png | Asset Type2:  system
					Asset Label: Letters | Asset Path3:  E:\Hyperspin\Media\Sony Playstation 2\Images\Letters\(.png | Asset Extension3:  png | Asset Type3:  system
					Asset Label: Letters | Asset Path4:  E:\Hyperspin\Media\Sony Playstation 2\Images\Letters\0.png | Asset Extension4:  png | Asset Type4:  system
					Asset Label: Letters | Asset Path5:  E:\Hyperspin\Media\Sony Playstation 2\Images\Letters\1.png | Asset Extension5:  png | Asset Type5:  system
					Asset Label: Letters | Asset Path6:  E:\Hyperspin\Media\Sony Playstation 2\Images\Letters\2.png | Asset Extension6:  png | Asset Type6:  system
					Asset Label: Letters | Asset Path7:  E:\Hyperspin\Media\Sony Playstation 2\Images\Letters\3.png | Asset Extension7:  png | Asset Type7:  system
					Asset Label: Letters | Asset Path8:  E:\Hyperspin\Media\Sony Playstation 2\Images\Letters\4.png | Asset Extension8:  png | Asset Type8:  system
					Asset Label: Letters | Asset Path9:  E:\Hyperspin\Media\Sony Playstation 2\Images\Letters\5.png | Asset Extension9:  png | Asset Type9:  system
					Asset Label: Letters | Asset Path10:  E:\Hyperspin\Media\Sony Playstation 2\Images\Letters\6.png | Asset Extension10:  png | Asset Type10:  system
					Asset Label: Letters | Asset Path11:  E:\Hyperspin\Media\Sony Playstation 2\Images\Letters\7.png | Asset Extension11:  png | Asset Type11:  system
					Asset Label: Letters | Asset Path12:  E:\Hyperspin\Media\Sony Playstation 2\Images\Letters\8.png | Asset Extension12:  png | Asset Type12:  system
					Asset Label: Letters | Asset Path13:  E:\Hyperspin\Media\Sony Playstation 2\Images\Letters\9.png | Asset Extension13:  png | Asset Type13:  system
					Asset Label: Letters | Asset Path14:  E:\Hyperspin\Media\Sony Playstation 2\Images\Letters\a.png | Asset Extension14:  png | Asset Type14:  system
					Asset Label: Letters | Asset Path15:  E:\Hyperspin\Media\Sony Playstation 2\Images\Letters\b.png | Asset Extension15:  png | Asset Type15:  system
					Asset Label: Letters | Asset Path16:  E:\Hyperspin\Media\Sony Playstation 2\Images\Letters\c.png | Asset Extension16:  png | Asset Type16:  system
					Asset Label: Letters | Asset Path17:  E:\Hyperspin\Media\Sony Playstation 2\Images\Letters\d.png | Asset Extension17:  png | Asset Type17:  system
					Asset Label: Letters | Asset Path18:  E:\Hyperspin\Media\Sony Playstation 2\Images\Letters\e.png | Asset Extension18:  png | Asset Type18:  system
					Asset Label: Letters | Asset Path19:  E:\Hyperspin\Media\Sony Playstation 2\Images\Letters\f.png | Asset Extension19:  png | Asset Type19:  system
					Asset Label: Letters | Asset Path20:  E:\Hyperspin\Media\Sony Playstation 2\Images\Letters\g.png | Asset Extension20:  png | Asset Type20:  system
					Asset Label: Letters | Asset Path21:  E:\Hyperspin\Media\Sony Playstation 2\Images\Letters\h.png | Asset Extension21:  png | Asset Type21:  system
					Asset Label: Letters | Asset Path22:  E:\Hyperspin\Media\Sony Playstation 2\Images\Letters\i.png | Asset Extension22:  png | Asset Type22:  system
					Asset Label: Letters | Asset Path23:  E:\Hyperspin\Media\Sony Playstation 2\Images\Letters\j.png | Asset Extension23:  png | Asset Type23:  system
					Asset Label: Letters | Asset Path24:  E:\Hyperspin\Media\Sony Playstation 2\Images\Letters\k.png | Asset Extension24:  png | Asset Type24:  system
					Asset Label: Letters | Asset Path25:  E:\Hyperspin\Media\Sony Playstation 2\Images\Letters\l.png | Asset Extension25:  png | Asset Type25:  system
					Asset Label: Letters | Asset Path26:  E:\Hyperspin\Media\Sony Playstation 2\Images\Letters\m.png | Asset Extension26:  png | Asset Type26:  system
					Asset Label: Letters | Asset Path27:  E:\Hyperspin\Media\Sony Playstation 2\Images\Letters\n.png | Asset Extension27:  png | Asset Type27:  system
					Asset Label: Letters | Asset Path28:  E:\Hyperspin\Media\Sony Playstation 2\Images\Letters\o.png | Asset Extension28:  png | Asset Type28:  system
					Asset Label: Letters | Asset Path29:  E:\Hyperspin\Media\Sony Playstation 2\Images\Letters\p.png | Asset Extension29:  png | Asset Type29:  system
					Asset Label: Letters | Asset Path30:  E:\Hyperspin\Media\Sony Playstation 2\Images\Letters\q.png | Asset Extension30:  png | Asset Type30:  system
					Asset Label: Letters | Asset Path31:  E:\Hyperspin\Media\Sony Playstation 2\Images\Letters\r.png | Asset Extension31:  png | Asset Type31:  system
					Asset Label: Letters | Asset Path32:  E:\Hyperspin\Media\Sony Playstation 2\Images\Letters\s.png | Asset Extension32:  png | Asset Type32:  system
					Asset Label: Letters | Asset Path33:  E:\Hyperspin\Media\Sony Playstation 2\Images\Letters\t.png | Asset Extension33:  png | Asset Type33:  system
					Asset Label: Letters | Asset Path34:  E:\Hyperspin\Media\Sony Playstation 2\Images\Letters\u.png | Asset Extension34:  png | Asset Type34:  system
					Asset Label: Letters | Asset Path35:  E:\Hyperspin\Media\Sony Playstation 2\Images\Letters\v.png | Asset Extension35:  png | Asset Type35:  system
					Asset Label: Letters | Asset Path36:  E:\Hyperspin\Media\Sony Playstation 2\Images\Letters\w.png | Asset Extension36:  png | Asset Type36:  system
					Asset Label: Letters | Asset Path37:  E:\Hyperspin\Media\Sony Playstation 2\Images\Letters\x.png | Asset Extension37:  png | Asset Type37:  system
					Asset Label: Letters | Asset Path38:  E:\Hyperspin\Media\Sony Playstation 2\Images\Letters\y.png | Asset Extension38:  png | Asset Type38:  system
					Asset Label: Letters | Asset Path39:  E:\Hyperspin\Media\Sony Playstation 2\Images\Letters\z.png | Asset Extension39:  png | Asset Type39:  system
					Asset Label: Other | Asset Path1:  E:\Hyperspin\Media\Sony Playstation 2\Images\Other\Pointer.png | Asset Extension1:  png | Asset Type1:  system
13:54:00:924 | MD |   DEBUG1  | +0     | BuildAssetsTable - Ended
13:54:00:944 | MD |   DEBUG1  | +31    | BuildAssetsTable - Started - Building Table for: Game Video|System Video
13:54:00:954 | MD |   DEBUG1  | +0     | BuildAssetsTable - Searching for a Game Video: E:\HyperSpin\Media\Sony Playstation 2\Video\Jeremy McGrath Supercross World (USA).* 
13:54:00:954 | MD |   DEBUG1  | +0     | BuildAssetsTable - Searching for a System Video: E:\HyperSpin\Media\Main Menu\Video\Sony Playstation 2.*
13:54:00:974 | MD |   DEBUG2  | +31    | BuildAssetsTable - Media assets found: 
					Asset Label: System Video | Asset Path1:  E:\HyperSpin\Media\Main Menu\Video\Sony Playstation 2.mp4 | Asset Extension1:  mp4 | Asset Type1:  system
13:54:00:974 | MD |   DEBUG1  | +0     | BuildAssetsTable - Ended
13:54:00:974 | MD |     INFO  | +0     | PluginInit - Ended
13:54:00:984 | MD |   DEBUG1  | +0     | StartModule - Setting romName to the dbName sent to RocketLauncher: Jeremy McGrath Supercross World (USA)
13:54:00:984 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Using standard Hotkey method for key(s): "~e & ~t" to call label: "ToggleCursor"
13:54:00:984 | MD |     INFO  | +0     | StartModule - Ended
13:54:01:044 | MD |     INFO  | +62    | Module - PCSX2 is operating in a portable mode
13:54:01:044 | MD |     INFO  | +0     | CheckFile - Checking if E:\Hyperspin\Emulators\Sony Playstation 2\inis\PCSX2_ui.ini exists
13:54:01:044 | MD |     INFO  | +0     | Module Setting - [Settings] - Fullscreen: false
13:54:01:044 | MD |     INFO  | +0     | Module Setting - [Settings] - noGUI: true
13:54:01:044 | MD |     INFO  | +0     | Module Setting - [Settings] - fullboot: false
13:54:01:074 | MD |     INFO  | +32    | Module Setting - [Settings] - PerGameMemoryCards: true
13:54:01:074 | MD |     INFO  | +0     | Module Setting - [Settings] - HideConsole: true
13:54:01:074 | MD |     INFO  | +0     | Module Setting - [Settings] - cfgpath: E:\Hyperspin\Emulators\Sony Playstation 2\Game Configs
13:54:01:074 | MD |     INFO  | +0     | Module Setting - [Settings] - AutoCreateINIDir: false
13:54:01:074 | MD |     INFO  | +0     | Module Setting - [Settings] - DefaultINISPath: 
13:54:01:104 | MD |     INFO  | +31    | Module Setting - [Settings] - gs: 
13:54:01:104 | MD |     INFO  | +0     | Module Setting - [Jeremy McGrath Supercross World (USA)] - gs: 
13:54:01:104 | MD |     INFO  | +0     | Module Setting - [Settings] - pad: 
13:54:01:104 | MD |     INFO  | +0     | Module Setting - [Jeremy McGrath Supercross World (USA)] - pad: 
13:54:01:114 | MD |     INFO  | +0     | Module Setting - [Settings] - spu2: 
13:54:01:114 | MD |     INFO  | +0     | Module Setting - [Jeremy McGrath Supercross World (USA)] - spu2: 
13:54:01:114 | MD |     INFO  | +0     | Module Setting - [Jeremy McGrath Supercross World (USA)] - cdvd: 
13:54:01:114 | MD |     INFO  | +0     | Module Setting - [Settings] - usb: 
13:54:01:114 | MD |     INFO  | +0     | Module Setting - [Jeremy McGrath Supercross World (USA)] - usb: 
13:54:01:134 | MD |     INFO  | +31    | Module Setting - [Settings] - fw: 
13:54:01:144 | MD |     INFO  | +0     | Module Setting - [Jeremy McGrath Supercross World (USA)] - fw: 
13:54:01:144 | MD |     INFO  | +0     | Module Setting - [Settings] - dev9: 
13:54:01:144 | MD |     INFO  | +0     | Module Setting - [Jeremy McGrath Supercross World (USA)] - dev9: 
13:54:01:164 | MD |     INFO  | +31    | Module Setting - [Jeremy McGrath Supercross World (USA)] - VDOveride: false
13:54:01:164 | MD |     INFO  | +0     | Module Setting - [Jeremy McGrath Supercross World (USA)] - nohacks: false
13:54:01:164 | MD |     INFO  | +0     | Module Setting - [Jeremy McGrath Supercross World (USA)] - gamefixes: 
13:54:01:164 | MD |  WARNING  | +0     | Module - noGUI is set to true, THIS MAY PREVENT PCSX2 FROM CLOSING PROPERLY. If you have any issues, set it to false or default in RocketLauncherUI.
13:54:01:174 | MD |     INFO  | +0     | Module - Using PCSX2's default configuration folder: "E:\Hyperspin\Emulators\Sony Playstation 2\inis"
13:54:01:174 | MD |   DEBUG1  | +0     | Module - Default memory card for Slot 1 should be: E:\Hyperspin\Emulators\Sony Playstation 2\memcards\default.ps2
13:54:01:174 | MD |   DEBUG1  | +0     | Module - Rom memory card for Slot 1 should be: E:\Hyperspin\Emulators\Sony Playstation 2\memcards\Jeremy McGrath Supercross World (USA).ps2
13:54:01:174 | MD |     INFO  | +0     | Module - Current memory card inserted in PCSX2's ini in Slot 1 is: Island Xtreme Stunts (USA).ps2
13:54:01:174 | MD |    ERROR  | +0     | Module - A default memory card for Slot 1 was not found in "E:\Hyperspin\Emulators\Sony Playstation 2\memcards". Please create an empty memory card called "default.ps2" in this folder for per-game memory card support.
13:54:01:194 | MD |     INFO  | +31    | Module - Switched memory card in Slot 1 to: E:\Hyperspin\Emulators\Sony Playstation 2\memcards\Jeremy McGrath Supercross World (USA).ps2
13:54:01:204 | MD |     INFO  | +0     | 7z - Started, received E:\Hyperspin\Emulators\Sony Playstation 2\PS2Roms\Jeremy McGrath Supercross World (USA).gz. If rom is an archive, it will extract to C:\Users\Lenovo\AppData\Local\Temp\HS
13:54:01:204 | MD |     INFO  | +0     | 7z - This rom type does not need 7z: ".gz"
13:54:01:204 | MD |   DEBUG1  | +0     | 7z - Starting non-7z FadeIn animation.
13:54:01:224 | MD |   DEBUG1  | +32    | 7z - romPath changed from "E:\Hyperspin\Emulators\Sony Playstation 2\PS2Roms" to "E:\Hyperspin\Emulators\Sony Playstation 2\PS2Roms"
13:54:01:224 | MD |   DEBUG1  | +0     | 7z - romName changed from "Jeremy McGrath Supercross World (USA)" to "Jeremy McGrath Supercross World (USA)"
13:54:01:224 | MD |   DEBUG1  | +0     | 7z - romExtension changed from ".gz" to ".gz"
13:54:01:224 | MD |     INFO  | +0     | 7z - Ended
13:54:01:224 | MD |   DEBUG1  | +0     | LoadProperties - Started and loading this cfg into memory: E:\Hyperspin\Emulators\Sony Playstation 2\inis\PCSX2_ui.ini
13:54:01:224 | MD |   DEBUG1  | +0     | LoadProperties - Ended
13:54:01:234 | MD |   DEBUG1  | +0     | ReadProperty - Started
13:54:01:234 | MD |     INFO  | +0     | Module Setting - [Settings] - Image_CDVD_Plugin: 
13:54:01:234 | MD |     INFO  | +0     | Run - Running: E:\Hyperspin\Emulators\Sony Playstation 2\pcsx2.exe "E:\Hyperspin\Emulators\Sony Playstation 2\PS2Roms\Jeremy McGrath Supercross World (USA).gz"  --nogui
13:54:01:354 | MD |     INFO  | +124   | Run - Showing Command Window to troubleshoot launching. ProcessID: 3288
13:54:01:744 | MD |   DEBUG1  | +390   | Run - "pcsx2.exe "E:\Hyperspin\Emulators\Sony Playstation 2\PS2Roms\Jeremy McGrath Supercross World (USA).gz"  --nogui" Process ID: 3288
13:54:01:744 | MD |   DEBUG1  | +0     | GetActiveWindowStatus - Title: Administrator: C:\Windows\system32\cmd.exe - pcsx2.exe  "E:\Hyperspin\Emulators\Sony Playstation 2\PS2Roms\Jeremy McGrath Supercross World (USA).gz"  --nogui  | Class: ConsoleWindowClass | State: 0 | X: 175 | Y: 175 | Width: 677 | Height: 342 | Window HWND: 0x50262 | Process ID: 3288 | Process Path: C:\Windows\SysWOW64\cmd.exe
13:54:01:744 | MD |     INFO  | +0     | WinWait - Waiting for "ahk_class wxWindowNR"
13:54:03:698 | MD |   DEBUG1  | +1950  | GetActiveWindowStatus - Title: Administrator: C:\Windows\system32\cmd.exe | Class: ConsoleWindowClass | State: 0 | X: 175 | Y: 175 | Width: 677 | Height: 342 | Window HWND: 0x50262 | Process ID: 3288 | Process Path: C:\Windows\SysWOW64\cmd.exe
13:54:03:700 | MD |   DEBUG1  | +0     | GetActiveWindowStatus - Title: Administrator: C:\Windows\system32\cmd.exe | Class: ConsoleWindowClass | State: 0 | X: 175 | Y: 175 | Width: 677 | Height: 342 | Window HWND: 0x50262 | Process ID: 3288 | Process Path: C:\Windows\SysWOW64\cmd.exe
13:54:03:703 | MD |     INFO  | +0     | WinWaitActive - Waiting for "ahk_class wxWindowNR"
13:54:04:259 | MD |   DEBUG1  | +562   | GetActiveWindowStatus - Title: GSdx D3D9 HW | Progressive (field) | Limiter: Normal | fps:   0.00 | EE:  26% | GS:  44% | UI:   4% | State 0 | Class: wxWindowNR | State: 0 | X: 0 | Y: 0 | Width: 1440 | Height: 900 | Window HWND: 0x40280 | Process ID: 2772 | Process Path: E:\Hyperspin\Emulators\Sony Playstation 2\pcsx2.exe
13:54:04:329 | MD |     INFO  | +78    | Module - HideConsole - Console window found, hiding it out of view.
13:54:04:519 | MD |   DEBUG1  | +187   | Detected Window Title is GSdx D3D9 HW | Progressive (field) | Limiter: Normal | fps:   0.00 | EE:  22% | GS:  22% | UI:   4% | State 0
13:54:04:721 | MD |   DEBUG1  | +203   | Detected Window Title is GSdx D3D9 HW | Progressive (field) | Limiter: Normal | fps:   0.00 | EE:  22% | GS:  22% | UI:   4% | State 0
13:54:04:956 | MD |   DEBUG1  | +234   | Detected Window Title is GSdx D3D9 HW | Progressive (field) | Limiter: Normal | fps:   0.00 | EE:  30% | GS:  15% | UI:   3% | State 0
13:54:05:188 | MD |   DEBUG1  | +234   | Detected Window Title is GSdx D3D9 HW | Progressive (field) | Limiter: Normal | fps:   0.00 | EE:  34% | GS:   0% | UI:   1% | State 0
13:54:05:391 | MD |   DEBUG1  | +203   | Detected Window Title is GSdx D3D9 HW | Progressive (field) | Limiter: Normal | fps:   0.00 | EE:  34% | GS:   0% | UI:   1% | State 0
13:54:05:593 | MD |   DEBUG1  | +203   | Detected Window Title is GSdx D3D9 HW | Progressive (field) | Limiter: Normal | fps:   0.00 | EE:  37% | GS:   0% | UI:   0% | State 0
13:54:05:803 | MD |   DEBUG1  | +202   | Detected Window Title is GSdx D3D9 HW | Progressive (field) | Limiter: Normal | fps:   0.00 | EE:  37% | GS:   0% | UI:   0% | State 0
13:54:06:033 | MD |   DEBUG1  | +234   | Detected Window Title is GSdx D3D9 HW | Progressive (field) | Limiter: Normal | fps:   0.00 | EE:  33% | GS:   0% | UI:   0% | State 0
13:54:06:237 | MD |   DEBUG1  | +203   | Detected Window Title is GSdx D3D9 HW | Progressive (field) | Limiter: Normal | fps:   0.00 | EE:  24% | GS:   0% | UI:   0% | State 0
13:54:06:469 | MD |   DEBUG1  | +234   | Detected Window Title is GSdx D3D9 HW | Progressive (field) | Limiter: Normal | fps:   0.00 | EE:  24% | GS:   0% | UI:   0% | State 0
13:54:06:673 | MD |   DEBUG1  | +203   | Detected Window Title is GSdx D3D9 HW | Progressive (field) | Limiter: Normal | fps:   0.00 | EE:  19% | GS:   0% | UI:   0% | State 0
13:54:06:903 | MD |   DEBUG1  | +234   | Detected Window Title is GSdx D3D9 HW | Progressive (field) | Limiter: Normal | fps:   0.00 | EE:  15% | GS:   0% | UI:   0% | State 0
13:54:07:141 | MD |   DEBUG1  | +234   | Detected Window Title is GSdx D3D9 HW | Progressive (field) | Limiter: Normal | fps:   0.00 | EE:  15% | GS:   0% | UI:   0% | State 0
13:54:07:347 | MD |   DEBUG1  | +203   | Detected Window Title is GSdx D3D9 HW | Progressive (field) | Limiter: Normal | fps:   0.00 | EE:  24% | GS:   0% | UI:   0% | State 0
13:54:07:580 | MD |   DEBUG1  | +234   | Detected Window Title is GSdx D3D9 HW | Progressive (field) | Limiter: Normal | fps:   0.00 | EE:  28% | GS:   0% | UI:   0% | State 0
13:54:07:817 | MD |   DEBUG1  | +234   | Detected Window Title is GSdx D3D9 HW | Progressive (field) | Limiter: Normal | fps:   0.00 | EE:  28% | GS:   0% | UI:   0% | State 0
13:54:08:066 | MD |   DEBUG1  | +249   | Detected Window Title is GSdx D3D9 HW | Progressive (field) | Limiter: Normal | fps:   0.00 | EE:  37% | GS:   0% | UI:   0% | State 0
13:54:08:299 | MD |   DEBUG1  | +234   | Detected Window Title is GSdx D3D9 HW | Progressive (field) | Limiter: Normal | fps:   0.00 | EE:  34% | GS:   0% | UI:   0% | State 0
13:54:08:526 | MD |   DEBUG1  | +234   | Detected Window Title is GSdx D3D9 HW | Progressive (field) | Limiter: Normal | fps:   0.00 | EE:  34% | GS:   0% | UI:   0% | State 0
13:54:08:732 | MD |   DEBUG1  | +203   | Detected Window Title is GSdx D3D9 HW | Progressive (field) | Limiter: Normal | fps:   0.00 | EE:  34% | GS:   0% | UI:   0% | State 0
13:54:08:965 | MD |   DEBUG1  | +234   | Detected Window Title is GSdx D3D9 HW | Progressive (field) | Limiter: Normal | fps:   0.00 | EE:  30% | GS:   0% | UI:   0% | State 0
13:54:09:201 | MD |   DEBUG1  | +234   | Detected Window Title is GSdx D3D9 HW | Progressive (field) | Limiter: Normal | fps:   0.00 | EE:  30% | GS:   0% | UI:   0% | State 0
13:54:09:406 | MD |   DEBUG1  | +203   | Detected Window Title is GSdx D3D9 HW | Progressive (field) | Limiter: Normal | fps:   0.00 | EE:  36% | GS:   0% | UI:   0% | State 0
13:54:09:641 | MD |   DEBUG1  | +234   | Detected Window Title is GSdx D3D9 HW | Progressive (field) | Limiter: Normal | fps:   0.00 | EE:  42% | GS:   0% | UI:   0% | State 0
13:54:09:839 | MD |   DEBUG1  | +203   | Detected Window Title is GSdx D3D9 HW | Progressive (field) | Limiter: Normal | fps:   0.00 | EE:  42% | GS:   0% | UI:   0% | State 0
13:54:10:070 | MD |   DEBUG1  | +234   | Detected Window Title is GSdx D3D9 HW | Progressive (field) | Limiter: Normal | fps:   0.00 | EE:  44% | GS:   0% | UI:   0% | State 0
13:54:10:308 | MD |   DEBUG1  | +234   | Detected Window Title is GSdx D3D9 HW | Progressive (field) | Limiter: Normal | fps:   0.00 | EE:  44% | GS:   0% | UI:   0% | State 0
13:54:10:559 | MD |   DEBUG1  | +249   | Detected Window Title is GSdx D3D9 HW | Progressive (field) | Limiter: Normal | fps:   0.00 | EE:  36% | GS:   0% | UI:   0% | State 0
13:54:10:759 | MD |   DEBUG1  | +203   | Detected Window Title is GSdx D3D9 HW | Progressive (field) | Limiter: Normal | fps:   0.00 | EE:  31% | GS:   0% | UI:   0% | State 0
13:54:10:992 | MD |   DEBUG1  | +234   | Detected Window Title is GSdx D3D9 HW | Progressive (field) | Limiter: Normal | fps:   0.00 | EE:  31% | GS:   0% | UI:   0% | State 0
13:54:11:224 | MD |   DEBUG1  | +234   | Detected Window Title is GSdx D3D9 HW | Progressive (field) | Limiter: Normal | fps:   0.00 | EE:  30% | GS:   0% | UI:   0% | State 0
13:54:11:434 | MD |   DEBUG1  | +203   | Detected Window Title is GSdx D3D9 HW | Progressive (field) | Limiter: Normal | fps:   0.00 | EE:  33% | GS:   0% | UI:   0% | State 0
13:54:11:664 | MD |   DEBUG1  | +234   | Detected Window Title is GSdx D3D9 HW | Progressive (field) | Limiter: Normal | fps:   0.00 | EE:  33% | GS:   0% | UI:   0% | State 0
13:54:11:872 | MD |   DEBUG1  | +203   | Detected Window Title is GSdx D3D9 HW | Progressive (field) | Limiter: Normal | fps:   0.00 | EE:  39% | GS:   0% | UI:   0% | State 0
13:54:12:099 | MD |   DEBUG1  | +234   | Detected Window Title is GSdx D3D9 HW | Progressive (field) | Limiter: Normal | fps:   0.00 | EE:  39% | GS:   0% | UI:   0% | State 0
13:54:12:303 | MD |   DEBUG1  | +203   | Detected Window Title is GSdx D3D9 HW | Progressive (field) | Limiter: Normal | fps:   0.00 | EE:  39% | GS:   0% | UI:   0% | State 0
13:54:12:507 | MD |   DEBUG1  | +202   | Detected Window Title is GSdx D3D9 HW | Progressive (field) | Limiter: Normal | fps:   0.00 | EE:  36% | GS:   0% | UI:   0% | State 0
13:54:12:738 | MD |   DEBUG1  | +234   | Detected Window Title is GSdx D3D9 HW | Progressive (field) | Limiter: Normal | fps:   0.00 | EE:  27% | GS:   0% | UI:   0% | State 0
13:54:12:940 | MD |   DEBUG1  | +203   | Detected Window Title is GSdx D3D9 HW | Progressive (field) | Limiter: Normal | fps:   0.00 | EE:  27% | GS:   0% | UI:   0% | State 0
13:54:13:182 | MD |   DEBUG1  | +234   | Detected Window Title is GSdx D3D9 HW | Progressive (field) | Limiter: Normal | fps:   0.00 | EE:  31% | GS:   0% | UI:   0% | State 0
13:54:13:415 | MD |   DEBUG1  | +234   | Detected Window Title is GSdx D3D9 HW | Progressive (field) | Limiter: Normal | fps:   0.00 | EE:  36% | GS:   0% | UI:   0% | State 0
13:54:13:642 | MD |   DEBUG1  | +234   | Detected Window Title is GSdx D3D9 HW | Progressive (field) | Limiter: Normal | fps:   0.00 | EE:  36% | GS:   0% | UI:   0% | State 0
13:54:13:899 | MD |   DEBUG1  | +250   | Detected Window Title is GSdx D3D9 HW | Progressive (field) | Limiter: Normal | fps:   0.00 | EE:  36% | GS:   0% | UI:   0% | State 0
13:54:14:131 | MD |   DEBUG1  | +234   | Detected Window Title is GSdx D3D9 HW | Progressive (field) | Limiter: Normal | fps:   0.00 | EE:  28% | GS:   0% | UI:   0% | State 0
13:54:14:363 | MD |   DEBUG1  | +234   | Detected Window Title is GSdx D3D9 HW | Progressive (field) | Limiter: Normal | fps:   0.00 | EE:  28% | GS:   0% | UI:   0% | State 0
13:54:14:565 | MD |   DEBUG1  | +203   | Detected Window Title is GSdx D3D9 HW | Progressive (field) | Limiter: Normal | fps:   0.00 | EE:  25% | GS:   0% | UI:   0% | State 0
13:54:14:798 | MD |   DEBUG1  | +234   | Detected Window Title is GSdx D3D9 HW | Progressive (field) | Limiter: Normal | fps:   0.00 | EE:  27% | GS:   0% | UI:   0% | State 0
13:54:15:008 | MD |   DEBUG1  | +202   | Detected Window Title is GSdx D3D9 HW | Progressive (field) | Limiter: Normal | fps:   0.00 | EE:  27% | GS:   0% | UI:   0% | State 0
13:54:15:242 | MD |   DEBUG1  | +234   | Detected Window Title is GSdx D3D9 HW | Progressive (field) | Limiter: Normal | fps:   0.00 | EE:  31% | GS:   0% | UI:   0% | State 0
13:54:15:476 | MD |   DEBUG1  | +234   | Detected Window Title is GSdx D3D9 HW | Progressive (field) | Limiter: Normal | fps:   0.00 | EE:  33% | GS:   0% | UI:   0% | State 0
13:54:15:707 | MD |   DEBUG1  | +234   | Detected Window Title is GSdx D3D9 HW | Progressive (field) | Limiter: Normal | fps:   0.00 | EE:  33% | GS:   0% | UI:   0% | State 0
13:54:15:939 | MD |   DEBUG1  | +234   | Detected Window Title is GSdx D3D9 HW | Progressive (field) | Limiter: Normal | fps:   0.00 | EE:  37% | GS:   0% | UI:   0% | State 0
13:54:16:178 | MD |   DEBUG1  | +234   | Detected Window Title is GSdx D3D9 HW | Progressive (field) | Limiter: Normal | fps:   0.00 | EE:  36% | GS:   0% | UI:   0% | State 0
13:54:16:410 | MD |   DEBUG1  | +234   | Detected Window Title is GSdx D3D9 HW | Progressive (field) | Limiter: Normal | fps:   0.00 | EE:  36% | GS:   0% | UI:   0% | State 0
13:54:16:639 | MD |   DEBUG1  | +234   | Detected Window Title is GSdx D3D9 HW | Progressive (field) | Limiter: Normal | fps:   0.00 | EE:  31% | GS:   0% | UI:   0% | State 0
13:54:16:875 | MD |   DEBUG1  | +234   | Detected Window Title is GSdx D3D9 HW | Progressive (field) | Limiter: Normal | fps:   0.00 | EE:  28% | GS:   0% | UI:   0% | State 0
13:54:17:105 | MD |   DEBUG1  | +234   | Detected Window Title is GSdx D3D9 HW | Progressive (field) | Limiter: Normal | fps:   0.00 | EE:  28% | GS:   0% | UI:   0% | State 0
13:54:17:309 | MD |   DEBUG1  | +203   | Detected Window Title is GSdx D3D9 HW | Progressive (field) | Limiter: Normal | fps:   0.00 | EE:  34% | GS:   0% | UI:   0% | State 0
13:54:17:700 | MD |   DEBUG1  | +390   | Detected Window Title is GSdx D3D9 HW | Progressive (field) | Limiter: Normal | fps:   0.00 | EE:  34% | GS:   0% | UI:   0% | State 0
13:54:17:900 | MD |   DEBUG1  | +203   | Detected Window Title is GSdx D3D9 HW | Progressive (field) | Limiter: Normal | fps:   0.00 | EE:  34% | GS:   0% | UI:   0% | State 0
13:54:18:104 | MD |   DEBUG1  | +203   | Detected Window Title is GSdx D3D9 HW | Interlaced (frame) | Limiter: Normal | fps:   0.00 | EE:  40% | GS:   0% | UI:   0% | State 0
13:54:18:310 | MD |   DEBUG1  | +203   | Detected Window Title is GSdx D3D9 HW | Interlaced (frame) | Limiter: Normal | fps:   0.00 | EE:  40% | GS:   0% | UI:   0% | State 0
13:54:18:509 | MD |   DEBUG1  | +202   | Detected Window Title is GSdx D3D9 HW | Interlaced (frame) | Limiter: Normal | fps:  59.10 | EE:  29% | GS:   0% | UI:   0% | State 0
13:54:18:715 | MD |   DEBUG1  | +203   | Detected Window Title is GSdx D3D9 HW | Interlaced (frame) | Limiter: Normal | fps:  59.10 | EE:  29% | GS:   0% | UI:   0% | State 0
13:54:18:920 | MD |   DEBUG1  | +203   | Detected Window Title is GSdx D3D9 HW | Interlaced (frame) | Limiter: Normal | fps:  52.47 | EE:  30% | GS:   0% | UI:  16% | State 0
13:54:19:120 | MD |   DEBUG1  | +203   | Detected Window Title is GSdx D3D9 HW | Interlaced (frame) | Limiter: Normal | fps:  55.12 | EE:  22% | GS:   0% | UI:  18% | State 0
13:54:19:322 | MD |   DEBUG1  | +203   | Detected Window Title is GSdx D3D9 HW | Interlaced (frame) | Limiter: Normal | fps:  55.12 | EE:  22% | GS:   0% | UI:  18% | State 0
13:54:19:524 | MD |   DEBUG1  | +202   | Detected Window Title is GSdx D3D9 HW | Interlaced (frame) | Limiter: Normal | fps:  53.61 | EE:  25% | GS:   0% | UI:  18% | State 0
13:54:19:728 | MD |   DEBUG1  | +203   | Detected Window Title is GSdx D3D9 HW | Interlaced (frame) | Limiter: Normal | fps:  53.61 | EE:  25% | GS:   0% | UI:  18% | State 0
13:54:19:932 | MD |   DEBUG1  | +203   | Detected Window Title is GSdx D3D9 HW | Interlaced (frame) | Limiter: Normal | fps:  63.96 | EE:  28% | GS:   0% | UI:   1% | State 0
13:54:20:133 | MD |   DEBUG1  | +203   | Detected Window Title is GSdx D3D9 HW | 640x444 | Auto | Interlaced (field) | Limiter: Normal | fps:  60.00 | EE:  25% | GS:   9% | UI:   1% | State 0
13:54:20:136 | MD |     INFO  | +0     | Process - WaitClose pcsx2.exe 
13:55:46:560 | MD |   DEBUG1  | +86424 | CloseProcess - Started, user requested to end launched application
13:55:46:563 | MD |     INFO  | +0     | WinClose - Closing: PCSX2 ahk_class wxWindowNR
13:55:46:671 | MD |   DEBUG1  | +110   | CloseProcess - Ended
13:55:49:296 | MD |     INFO  | +2620  | 7zCleanUp - Started
13:55:49:296 | MD |   DEBUG1  | +0     | 7zCleanUp - Deleted 
13:55:49:296 | MD |     INFO  | +0     | 7zCleanUp - Ended
13:55:49:296 | MD |     INFO  | +0     | ExitModule - Started
13:55:49:296 | MD |     INFO  | +0     | Starting Updating Statistics:
13:55:49:296 | MD |   DEBUG2  | +0     | Total Elapsed Time in Pause in seconds: 0
13:55:49:327 | MD |   DEBUG2  | +32    | gameSectionStartTime:692176
13:55:49:359 | MD |   DEBUG2  | +31    | ElapsedTime:108
13:55:49:359 | MD |   DEBUG2  | +0     | Statistics cleared game name: Jeremy McGrath Supercross World
13:55:49:452 | MD |   DEBUG2  | +93    | Loaded game statistics from ini files:
					Number_of_Times_Played: 0
					Last_Time_Played: 0
					Average_Time_Played: 0
					Total_Time_Played: 0
					System_Total_Played_Time: 11101
					Total_Global_Played_Time: 36616
13:55:49:452 | MD |   DEBUG2  | +0     | Updated Statistics: Number_of_Times_Played: 1
					Last_Time_Played: Sunday August 23, 2015 01:54:00 PM
					Average_Time_Played: 108
					Total_Time_Played: 108
					System_Total_Played_Time: 11209
					Total_Global_Played_Time: 36724
13:55:49:546 | MD |     INFO  | +94    | Game section statistics updated.
13:55:49:546 | MD |     INFO  | +0     | RunKeymapper - Started, using method "unload"
13:55:49:546 | MD |     INFO  | +0     | GetJoystickArray - Started
13:55:49:577 | MD |   DEBUG2  | +31    | GetJoystickArray - Joysticks Detected: 1000000000000000
13:55:49:577 | MD |     INFO  | +0     | GetJoystickGUID - Started
13:55:49:577 | MD |     INFO  | +0     | GetJoystickGUID - Ended and found GUID: 5041DB96E6EDE4118001444553540000
13:55:49:608 | MD |   DEBUG2  | +31    | GetJoystickArray - ID: 1 | Port: 0 | Name: Controller (Xbox 360 Wireless Receiver for Windows) | MID: 045e | PID: 02a1 | GUID: 5041DB96E6EDE4118001444553540000
13:55:49:639 | MD |     INFO  | +32    | GetJoystickArray - Ended
13:55:49:639 | MD |   DEBUG2  | +0     | RunKeymapper - Looping through controllers to find xpadder profiles for each one
13:55:49:639 | MD |   DEBUG2  | +0     | RunKeymapper - ID: 1 Now searching for a matching profile for this controller: "Controller (Xbox 360 Wireless Receiver for Windows)"
13:55:49:639 | MD |   DEBUG2  | +0     | GetProfile - Searching for these profiles (| delimited): E:\Rocketlauncher\Profiles\xpadder\RocketLauncherUI|E:\Rocketlauncher\Profiles\xpadder\_Default\blank
13:55:49:639 | MD |   DEBUG2  | +0     | GetProfile - Searching for a Player 1 profile -> E:\Rocketlauncher\Profiles\xpadder\RocketLauncherUI\Controller (Xbox 360 Wireless Receiver for Windows)\p1.xpadderprofile
13:55:49:671 | MD |   DEBUG2  | +31    | GetProfile - Searching for a Player 1 profile -> E:\Rocketlauncher\Profiles\xpadder\RocketLauncherUI\p1.xpadderprofile
13:55:49:671 | MD |     INFO  | +0     | GetProfile - Loading Player 1 Profile -> E:\Rocketlauncher\Profiles\xpadder\RocketLauncherUI\p1.xpadderprofile
13:55:49:671 | MD |     INFO  | +0     | RunXpadder - Started
13:55:49:702 | MD |     INFO  | +31    | Process - Exist JoyToKey.exe 
13:55:49:733 | MD |   DEBUG2  | +31    | RunXpadder - Closing xpadder to refresh controllers seen by xpadder
13:55:49:733 | MD |     INFO  | +0     | Run - Running: E:\Hyperspin\Utilities\Xpadder\Xpadder.exe /C
13:55:49:795 | MD |   DEBUG1  | +63    | Run - "Xpadder.exe /C" Process ID: 1048
13:55:49:795 | MD |   DEBUG2  | +0     | RunXpadder - Creating an array of connected controllers and profiles to arrange according to the order found in E:\Hyperspin\Utilities\Xpadder\xpadder.ini
13:55:49:795 | MD |     INFO  | +0     | Process - WaitClose Xpadder.exe 2
13:55:50:014 | MD |   DEBUG2  | +218   | RunXpadder - Reading the order in E:\Hyperspin\Utilities\Xpadder\xpadder.ini and arranging profiles found to match that order
13:55:50:014 | MD |   DEBUG2  | +0     | RunXpadder - No more controllers to be found
13:55:50:014 | MD |     INFO  | +0     | Run - Running: E:\Hyperspin\Utilities\Xpadder\Xpadder.exe "E:\Rocketlauncher\Profiles\xpadder\RocketLauncherUI\p1.xpadderprofile" /M
13:55:50:061 | MD |   DEBUG1  | +47    | Run - "Xpadder.exe "E:\Rocketlauncher\Profiles\xpadder\RocketLauncherUI\p1.xpadderprofile" /M" Process ID: 3428
13:55:50:061 | MD |     INFO  | +0     | RunXpadder - Ended
13:55:50:061 | MD |     INFO  | +0     | RunKeymapper - Ended
13:55:50:061 | MD |     INFO  | +0     | RunAHKKeymapper - Started
13:55:50:061 | MD |   DEBUG1  | +0     | RunAHKKeymapper - Unloading AhkLauncher
13:55:50:061 | MD |   DEBUG1  | +0     | RunAHKKeymapper - If AhkLauncher.exe is running, need to close it first before a new profile can be loaded
13:55:50:061 | MD |     INFO  | +0     | Process - Exist AhkLauncher.exe 
13:55:50:061 | MD |     INFO  | +0     | RunAHKKeymapper - Ended
13:55:50:107 | MD |   DEBUG1  | +47    | ExitModule - Closing command window: cmd.exe PID: 3288
13:55:50:107 | MD |     INFO  | +0     | Process - Close cmd.exe 
13:55:50:107 | MD |     INFO  | +0     | ExitModule - Ended
13:55:50:107 | MD |     INFO  | +0     | End of Module Logs
13:55:50:201 | RL |     INFO  | +109356 | Main - Module ended, exiting RocketLauncher normally
13:55:50:201 | RL |     INFO  | +0     | ExitScript - Started
13:55:50:201 | RL |   DEBUG1  | +0     | ExitScript - Checking what application is currently in focus.
13:55:50:217 | RL |     INFO  | +16    | SystemCursor - Restoring mouse cursor
13:55:50:217 | RL |     INFO  | +0     | ExitScript - Ended


 HERE IS THE MODULE
 MEmu = PCSX2
 MEmuV = 1.1.0.r5695
 MURL = http://pcsx2.net/
 MAuthor = djvj
 MVersion = 2.1.4
 MCRC = 17664BEB
 iCRC = 776E3DD9
 MID = 635038268913291718
 MSystem = "Sony PlayStation 2"
 ;----------------------------------------------------------------------------
 ; Notes:
 ; This module has many settings that can be controlled via RocketLauncherUI
 ; If you want to customize settings per game, add the game to the module's ini using RocketLauncherUI
 ; If you use Daemon Tools, make sure you have a SCSI virtual drive setup. Not a DT one.
 ; Tested Virtual Drive support with the cdvdGigaherz CDVD plugin. Make sure you set it to use your SCSI Virtual Drive letter.
 ; Module will set the CdvdSource to Plugin or Iso depending on if you have Virtual Drive enabled or not.
 ; If you have any problems closing the emulator, make sure noGUI module setting in RocketLauncherUI is set to default or false.
 ;
 ; Per-game memory cards
 ; This module supports per-game memory cards to prevent them from ever becoming full
 ; To use this feature, set the PerGameMemoryCards to true in RocketLauncherUI
 ; You need to create a default blank memory card in the path you have defined in pcsx's ini found in section [Folders], key MemoryCards.
 ; Make sure one of the current memory cards are blank, then copy it in that folder and rename it to "default.ps2". The module will copy this file to a romName.ps2 for each game launched.
 ; The module will only insert memory cards into Slot 1. So save your games there.
 ;
 ; Linuz cdvd plugin stores its settings in the registry @ HKEY_CURRENT_USER\Software\PS2Eplugin\CDVD\CDVDiso
 ;
 ; Run pcsx2 with the --help option to see current CLI parameters
 ;
 ; Known CLI options not currently supported by this module:
 ; --console forces the program log/console to be visible
 ; --portable enables portable mode operation (requires admin/root access)
 ; --elf=<str> executes an ELF image
 ; --forcewiz forces PCSX2 to start the First-time Wizard
 ;----------------------------------------------------------------------------
 StartModule()
 BezelGUI()
 FadeInStart()

 ; PCSX2_ui.ini = default ini that contains memory card info and general settings
 If FileExist(emuPath . "\portable.ini") { ; portable install
 Log("Module - PCSX2 is operating in a portable mode")
 pcsx2IniFile := CheckFile(emuPath . "\inis\PCSX2_ui.ini", "Could not find the default PCSX2_ui.ini file. Please manually run and configure PCSX2 first so this file is created with all your default settings.")
 } Else { ; default not portable install
 Log("Module - PCSX2 is operating in a standard installation mode")
 RegRead, pcsx2IniFolder, HKCU, Software\PCSX2, SettingsFolder
 pcsx2IniFile := CheckFile(pcsx2IniFolder . "\PCSX2_ui.ini", "Could not find the default PCSX2_ui.ini file. Please manually run and configure PCSX2 first so this file is created with all your default settings.")
 }
 settingsFile := modulePath . "\" . moduleName . ".ini"

 ; global settings
 Fullscreen := IniReadCheck(settingsFile, "Settings", "Fullscreen","true",,1)
 noGUI := IniReadCheck(settingsFile, "Settings", "noGUI","false",,1) ; disables display of the gui while running games
 fullboot := IniReadCheck(settingsFile, "Settings", "fullboot","false",,1) ; disables the quick boot feature, forcing you to sit through the PS2 startup splash screens
 perGameMemCards := IniReadCheck(settingsFile, "Settings", "PerGameMemoryCards","true",,1)
 hideConsole := IniReadCheck(settingsFile, "Settings", "HideConsole","true",,1) ; Hides console window from view if it shows up
 cfgPath := IniReadCheck(settingsFile, "Settings", "cfgpath", emuPath . "\Game Configs",,1) ; specifies the config folder; applies to pcsx2 + plugins
 autoCreateINIDir := IniReadCheck(settingsFile, "Settings", "AutoCreateINIDir","false",,1) ; Enables the module to auto-create of per game ini files and directories
 defaultINISPath := IniReadCheck(settingsFile, "Settings", "DefaultINISPath",,,1) ; Path to default INIS folder of PCSX2.
 gs := IniReadCheck(settingsFile, "Settings|" . romName, "gs",,,1) ; override for the GS plugin
 pad := IniReadCheck(settingsFile, "Settings|" . romName, "pad",,,1) ; override for the PAD plugin
 spu2 := IniReadCheck(settingsFile, "Settings|" . romName, "spu2",,,1) ; override for the SPU2 plugin
 cdvd := IniReadCheck(settingsFile, romName, "cdvd",,,1) ; override for the CDVD plugin
 usb := IniReadCheck(settingsFile, "Settings|" . romName, "usb",,,1) ; override for the USB plugin
 fw := IniReadCheck(settingsFile, "Settings|" . romName, "fw",,,1) ; override for the FW plugin
 dev9 := IniReadCheck(settingsFile, "Settings|" . romName, "dev9",,,1) ; override for the DEV9 plugin
 vdOveride := IniReadCheck(settingsFile, romName, "VDOveride","false",,1)
 nohacks := IniReadCheck(settingsFile, romName, "nohacks","false",,1) ; disables all speedhacks
 gamefixes := IniReadCheck(settingsFile, romName, "gamefixes",,,1) ; Enable specific gamefixes for this session. Use the specified comma or pipe-delimited list of gamefixes: VuAddSub,VuClipFlag,FpuCompare,FpuMul,FpuNeg,EETim ing,SkipMpeg,OPHFlag,DMABusy,VIFFIFO,VI,FMVinSoftw are

 cfgPath := GetFullName(cfgPath)
 IfNotExist % cfgPath
 FileCreateDir, %cfgPath% ; create the cfg folder if it does not exist

 ; Create INIs subfolder for the game if it does not exist and if AutoCreateINIDir is true
 If (autoCreateINIDir = "true") {
 perINIPath := cfgPath . "\" . romName
 Log("Module - PerGameIni - perINIPath = " . perINIPath,4)
 If !FileExist(perINIPath) {
 If (defaultINISPath != "") {
 Log("Module - PerGameIni - perINIPath does not exist. So we will create it at " . PerINIPath,4)
 FileCreateDir, %perINIPath%
 Log("Module - PerGameIni - Now to copy the ini files from " . defaultINISPath . " to " . perINIPath . ".",4)
 FileCopy, %defaultINISPath%\*.ini, %perINIPath%
 } Else {
 Log("Module - PerGameIni - perINIPath does not exist. So we will create it at " . PerINIPath,4)
 FileCreateDir, %perINIPath%
 Log("Module - PerGameIni - Now to copy the ini files from " . emuPath . "\inis" . " to " . perINIPath . ".",4)
 FileCopy, %emuPath%\inis\*.ini, %perINIPath%
 }
 }
 }

 BezelStart()

 Fullscreen := If Fullscreen = "true" ? " --fullscreen" : ""
 noGUI := If noGUI = "true" ? " --nogui" : ""
 If (noGUI != "")
 Log("Module - noGUI is set to true, THIS MAY PREVENT PCSX2 FROM CLOSING PROPERLY. If you have any issues, set it to false or default in RocketLauncherUI.",2)
 fullboot := If fullboot = "true" ? " --fullboot" : ""
 nohacks := If nohacks = "true" ? " --nohacks" : ""
 gamefixes := If gamefixes ? " --gamefixes=" . gamefixes : ""
 gs := If gs ? " --gs=""" . GetFullName(gs) . """" : ""
 pad := If pad ? " --pad=""" . GetFullName(pad) . """" : ""
 spu2 := If spu2 ? " --spu2=""" . GetFullName(spu2) . """" : ""
 usb := If usb ? " --usb=""" . GetFullName(usb) . """" : ""
 fw := If fw ? " --fw=""" . GetFullName(fw) . """" : ""
 dev9 := If dev9 ? " --dev9=""" . GetFullName(dev9) . """" : ""

 cfgRomPath := cfgPath . "\" . romName
 cfgPathCLI := If FileExist(cfgRomPath) ? " --cfgpath=""" . GetFullName(cfgRomPath) . """" : ""

 ; Specify what main ini PCSX2 should use
 If (cfgPathCLI && FileExist(cfgRomPath . "\PCSX2_ui.ini")) {
 ;We can't set both cfgpath and cfg CLI switches, so if only PCSX2_ui.ini file exists we use cfg otherwise we use cfgpath
 ;--cfg specifies a custom configuration file to use instead of PCSX2.ini (does not affect plugins)
 filecount := 0 
 Loop, %cfgRomPath%\*.ini
 filecount++
 If (filecount == 1)
 {
 ;Only PCSX2_ui.ini found
 pcsx2IniFile := cfgRomPath . "\PCSX2_ui.ini"
 Log("Module - Found a game-specific PCSX2_ui.ini in the cfgPath. Telling PCSX2 to use this one instead: " . pcsx2IniFile)
 cfg := " --cfg=""" . pcsx2IniFile . """"
 cfgPathCLI := ""
 }
 }
 Log("Module - " . (If cfgPathCLI != "" ? "Setting PCSX2's config path to """ . cfgRomPath . """" : "Using PCSX2's default configuration folder: """ . emuPath . "\inis"""))

 ; Memory Cards
 If perGameMemCards = true
 { IniRead, currentMemCard1, %pcsx2IniFile%, MemoryCards, Slot1_Filename
 IniRead, memCardPath, %pcsx2IniFile%, Folders, MemoryCards ; folder where memory cards are stored
 StringLeft, memCardPathLeft, memCardPath, 3
 memCardPathIsAbsolute := If (RegExMatch(memCardPathLeft, "[a-zA-Z]:\\") && (StrLen(memCardPath) >= 3)) ; this is 1 only when path looks like this "C:\"
 memCardPath := If memCardPathIsAbsolute ? memCardPath : emuPath . "\" . memCardPath ; if only a folder name is defined for the memory card path, tack on the emuPath to find the memory cards, otherwise leave the full path as is
 defaultMemCard := memCardPath . "\default.ps2" ; defining default blank memory card for slot 1
 Log("Module - Default memory card for Slot 1 should be: " . defaultMemCard,4)
 romMemCard1 := memCardPath . "\" . romName . ".ps2" ; defining name for rom's memory card for slot 1
 Log("Module - Rom memory card for Slot 1 should be: " . romMemCard1,4)
 Log("Module - Current memory card inserted in PCSX2's ini in Slot 1 is: " . currentMemCard1)

 If (currentMemCard1 != romName . ".ps2") { ; if current memory card in slot 1 does not match this romName, switch to one that does if exist or load a default one
 IfNotExist, %romMemCard1% ; first check if romName.ps2 memory card exists
 IfNotExist, %defaultMemCard%
 Log("Module - A default memory card for Slot 1 was not found in """ . memCardPath . """. Please create an empty memory card called ""default.ps2"" in this folder for per-game memory card support.",3)
 Else {
 FileCopy, %defaultMemCard%, %romMemCard1% ; create a new blank memory card for this game
 Log("Module - Creating a new blank memory card for this game in Slot 1: " . romMemCard1)
 }
 IniWrite, %romName%.ps2, %pcsx2IniFile%, MemoryCards, Slot1_Filename ; update the ini to use this rom's card
 Log("Module - Switched memory card in Slot 1 to: " . romMemCard1)
 }
 }

 hideEmuObj := Object("ahk_class wxWindowNR",1) ; Hide_Emu will hide these windows. 0 = will never unhide, 1 = will unhide later
 7z(romPath, romName, romExtension, 7zExtractPath)

 pcsx2Ini := LoadProperties(pcsx2IniFile) ; load the config into memory
 dvdSource := ReadProperty(pcsx2Ini,"CdvdSource") ; read value

 ; Mount the CD using a Virtual Drive
 If (vdOveride = "true") ; this allows per-game Virtual Drive support because some games boot to black when Virtual Drive is enabled
 vdEnabled := vdOveride
 If (vdEnabled = "true" && InStr(".mds|.mdx|.b5t|.b6t|.bwt|.ccd|.cue|.isz|.nr g|.cdi|.iso|.ape|.flac", romExtension)) { ; if Virtual Drive is enabled and using an image type Virtual Drive can load
 If !cdvd {
 vdCDVDPlugin := IniReadCheck(settingsFile, "Settings", "VD_CDVD_Plugin",,,1)
 If vdCDVDPlugin
 cdvd := vdCDVDPlugin
 }
 cdvd := If cdvd ? " --cdvd=""" . GetFullName(cdvd) . """" : ""
 If dvdSource != Plugin
 { Log("Module - CdvdSource was not set to ""Plugin"", changing it so PCSX2 can read from Virtual Drive.")
 WriteProperty(pcsx2Ini,"CdvdSource","Plugin") ; write a new value to the pcsx2IniFile
 SaveProperties(pcsx2IniFile,pcsx2Ini) ; save pcsx2IniFile to disk
 }
 VirtualDrive("mount",romPath . "\" . romName . romExtension)
 HideEmuStart()
 errLvl := Run(executable . " --usecd" . noGUI . Fullscreen . fullboot . nohacks . gamefixes . cfg . cfgPathCLI . gs . pad . spu2 . cdvd . usb . fw . dev9, emuPath, "UseErrorLevel")
 usedVD = 1 ; tell the rest of the script to use VD methods
 } Else If romExtension in .iso,.mdf,.nrg,.bin,.img,.gz ; the only formats PCSX2 supports loading directly
 {
 If !cdvd {
 imageCDVDPlugin := IniReadCheck(settingsFile, "Settings", "Image_CDVD_Plugin",,,1)
 If imageCDVDPlugin
 cdvd := imageCDVDPlugin
 }
 cdvd := If cdvd ? " --cdvd=""" . GetFullName(cdvd) . """" : ""
 If dvdSource != Iso
 { Log("Module - CdvdSource was not set to ""Iso"", changing it so PCSX2 can launch this " . romExtension . " image directly")
 WriteProperty(pcsx2Ini,"CdvdSource","Iso") ; write a new value to the pcsx2IniFile
 SaveProperties(pcsx2IniFile,pcsx2Ini) ; save pcsx2IniFile to disk
 }
 HideEmuStart()
 errLvl := Run(executable . " """ . romPath . "\" . romName . romExtension . """ " . noGUI . Fullscreen . fullboot . nohacks . gamefixes . cfg . cfgPathCLI . gs . pad . spu2 . cdvd . usb . fw . dev9, emuPath, "UseErrorLevel")
 } Else If romExtension in .bz2 ; special case format that requires plugin mode and pcsx2 loads it directly
 {
 If !cdvd {
 linuzCDVDPlugin := IniReadCheck(settingsFile, "Settings", "Linuz_CDVD_Plugin",,,1)
 If linuzCDVDPlugin
 cdvd := linuzCDVDPlugin
 }
 cdvd := If cdvd ? " --cdvd=""" . GetFullName(cdvd) . """" : ""
 If dvdSource != plugin
 { Log("Module - CdvdSource was not set to ""Plugin"", changing it so PCSX2 can launch this " . romExtension . " image directly")
 WriteProperty(pcsx2Ini,"CdvdSource","Plugin") ; write a new value to the pcsx2IniFile
 SaveProperties(pcsx2IniFile,pcsx2Ini) ; save pcsx2IniFile to disk
 }
 oldHex := ReadReg("IsoFile") ; read last used bz2 image
 newHex := StrToHex(romPath . "\" . romName . romExtension) ; convert new bz2 image path to hex
 i := 512 - StrLen(newHex) ; get total amount of 0's to add to end of hex to make it 512 bytes
 Loop, %i%
 newHex := newHex . "0" ; add required bytes to end
 If (oldHex != newHex) {
 Log("Module - Writing new bz2 path to registry",4)
 WriteReg("IsoFile", newHex) ; write new bz2 path to registry
 }
 HideEmuStart()
 errLvl := Run(executable . " """ . romPath . "\" . romName . romExtension . """ " . noGUI . Fullscreen . fullboot . nohacks . gamefixes . cfg . cfgPathCLI . gs . pad . spu2 . cdvd . usb . fw . dev9, emuPath, "UseErrorLevel")
 } Else
 ScriptError("You are trying to run a rom type of """ . romExtension . """ but PCSX2 only supports loading iso|mdf|nrg|bin|img|gz directly. Please turn on Virtual Drive and/or 7z support or put ""cue"" last in your rom extensions for " . MEmu . " instead.")

 If errLvl
 ScriptError("Error launching emulator, closing script.")

 WinWait("ahk_class wxWindowNR",,, "PCSX2")
 WinWaitActive("ahk_class wxWindowNR",,, "PCSX2")

 BezelDraw()

 If hideConsole = true
 SetTimer, HideConsole, 10

 SetTitleMatchMode 2 ;Wrong window might be detected in the next loop if we only use the class name for WinGetTitle so we will add fps to it
 Loop { ; looping until pcsx2 is done loading game
 ; tooltip, loop %A_Index%,0,0
 Sleep, 200
 WinGetTitle, winTitle, fps ahk_class wxWindowNR,, PCSX2 ; excluding the title of the GUI window so we can read the title of the game window instead
 Log("Detected Window Title is " . winTitle,4)
 StringSplit, winTextSplit, winTitle, |, %A_Space%
 If ( winTextSplit10 != "" ) ; 10th position in the array is empty until game actually starts
 break

 }

 HideEmuEnd()
 FadeInExit()
 Process("WaitClose", executable)

 If usedVD
 VirtualDrive("unmount")

 7zCleanUp()
 BezelExit()
 FadeOutExit()
 ExitModule()


 ReadReg(var1) {
 regValue := RegRead("HKEY_CURRENT_USER", "Software\PS2Eplugin\CDVD\CDVDiso", var1) 
 Return %regValue%
 }

 WriteReg(var1, var2, ValueType="REG_BINARY") {
 RegWrite(ValueType, "HKEY_CURRENT_USER", "Software\PS2Eplugin\CDVD\CDVDiso", var1, var2)
 }

 StrToHex(S) {
 Return S="" ? "":Chr((*&S>>4)+48) Chr((x:=*&S&15)+48+(x>9)*7) StrToHex(SubStr(S,2))
 }

 MultiGame:
 ; msgbox % "selectedRom = " . selectedRom . "`nselected game = " . currentButton . "`nmgRomPath = " . mgRomPath . "`nmgRomExt = " . mgRomExt . "`nmgRomName = " . mgRomName
 ; Unmount the CD from Virtual Drive
 If usedVD
 VirtualDrive("unmount")
 Sleep, 500 ; Required to prevent your Virtual Drive from bugging
 ; Mount the CD using Virtual Drive
 If usedVD
 VirtualDrive("mount",selectedRom)
 Return

 HideConsole:
 hideConsoleTimer++
 IfWinExist, Booting ahk_class wxWindowNR
 { Log("Module - HideConsole - Console window found, hiding it out of view.")
 WinSet, Transparent, 0, Booting ahk_class wxWindowNR,,fps:,fps: ; hiding the console window
 WinSet, Transparent, 0, PCSX2 ahk_class wxWindowNR,,fps:,fps: ; hiding the GUI window with the menubar
 SetTimer, HideConsole, Off
 } Else If hideConsoleTimer >= 200
 SetTimer, HideConsole, Off
 Return

 CloseProcess:
 FadeOutStart()
 WinMenuSelectItem, PCSX2 ahk_class wxWindowNR,, System, Pause
 WinClose("PCSX2 ahk_class wxWindowNR") ; sending command to the GUI window to properly close the entire emu
 Return 
Posted

Hey

OK I think I solved it... RESTORE on exit.. seems to work.. I will test it more...

The only thing I find annoying is on exit from PCSX2 to HS it still flashes PCSX2 windowed over top of HS before closing PCSX2.. not sure how to eliminate that.

Archived

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

×
×
  • Create New...