Jump to content

Hyperspin tried for 15 seconds to send Romname error ?


kr0nic

Recommended Posts

Posted

Hi Guys,

 

im having a problem with hyperspin, it gives a error

 

 post-104599-0-42440700-1461665803_thumb.png

 

 

As soon as i try and launch this game (Metal gear solid 1 using Epsxe) hyperspin seems to freeze and become unresponsive, it stops playing the game preview video. I can only regain control of hyperspin after this error by pressing Alt + F4. I think when i press Alt + F4 it is closing Epsxe in the background ? 

Do you think this is a hyperspin / rocket launch problem or Epsxe ?


Thanks

Posted

That error comes from RocketLauncher. It could be a problem with your ROM or the cue file not having the correct info or matching the database. You will need to open it also to check it's correct.

 

Posting your RocketLauncher log would help also.

56uIzxg.png

Posted

I believe this problem has just randomly started happening. This game has been launching fine the last few times iv played it. 
 

I think this is my RL log

Thanks for your help

20:15:37:104 | RL |     INFO  | +N/A   | Main - RocketLauncher v1.1.0.1 (www.rlauncher.com)
20:15:37:203 | RL |     INFO  | +94    | Main - System Specs:
					RocketLauncher Dir: G:\RocketLauncher
					RocketLauncher is: 32-bit
					OS: Microsoft Windows 8.1 Pro
					SKU: Professional
					Total Memory: 8086.02 MB
					Free Memory: 4600.96 MB
					Used Memory: 3485.063 MB
					SystemType: 64-bit
					Physical Processors: 1
					Logical Processors: 4
					GPU 1 Name: Intel(R) HD Graphics 4000
					GPU 1 RAM: -1984.00 MB
					GPU 1 Driver Version: 10.18.10.3958
					GPU 2 Name: NVIDIA GeForce GTX 970
					GPU 2 RAM: -1.00 MB
					GPU 2 Driver Version: 9.18.13.5286
					Sound 1 Device: NVIDIA High Definition Audio
					Sound 1 Status: Enabled
					Sound 2 Device: NVIDIA Miracast Audio
					Sound 2 Status: Enabled
					Sound 3 Device: Realtek High Definition Audio
					Sound 3 Status: Enabled
					Sound 4 Device: High Definition Audio Device
					Sound 4 Status: Enabled
					Sound 5 Device: NVIDIA Virtual Audio Device (Wave Extensible) (WDM)
					Sound 5 Status: Enabled
					OS Language: English_United_States
					System Locale: en-AU
					Formats Locale: en-AU
					Windows UI Language: en-US
					Text Encoding: Windows-1252
					OS Admin Status: No
					RL Compatibility Flags: 
					Latest .Net Version: v4.0.30319
					Monitor #1 (\\.\DISPLAY1): 1920x1080 (1920x1040 work) [32bit] [60hz] [Landscape]  (Primary)
					Current AHK Desktop Width: 1920
					Current AHK Desktop Height: 1080
					Monitor #1 DPI: 100
					AutoHotkey Path: 
					AHK Version: 1.1.09.04
					Unicode: No
20:15:37:204 | RL |     INFO  | +16    | CheckFile - Checking if G:\RocketLauncher\RocketLauncher.exe exists
20:15:37:205 | RL |     INFO  | +0     | Main - Raw CLI received: "Sony PlayStation Metal Gear Solid (USA) (Disc 1) (v1.1)"
20:15:37:205 | RL |     INFO  | +0     | Main - Loading Front End Plugin: "RocketLauncherUI"
20:15:37:205 | RL |     INFO  | +0     | Process.Process - "Exist" "RocketLauncherUI.exe" 
20:15:37:208 | RL |     INFO  | +0     | Main - Detected RocketLauncherUI.exe is currently running
20:15:37:209 | RL |     INFO  | +0     | Main - RocketLauncherUI.exe coordinates are x5 y4 w1211 h765
20:15:37:209 | RL |     INFO  | +0     | Main - RocketLauncher received "Sony PlayStation" and "Metal Gear Solid (USA) (Disc 1) (v1.1)"
20:15:37:221 | RL |     INFO  | +15    | Main - Found a "Games Options.ini" file, loading it into memory.
20:15:37:221 | RL |     INFO  | +0     | Main - Metal Gear Solid (USA) (Disc 1) (v1.1) is using the default emulator: ePSXe
20:15:37:221 | RL |     INFO  | +0     | Main - Checking for a [ePSXe] section in G:\RocketLauncher\Settings\Sony PlayStation\Emulators.ini
20:15:37:221 | RL |     INFO  | +0     | Main - Found [ePSXe] in G:\RocketLauncher\Settings\Sony PlayStation\Emulators.ini
20:15:37:221 | RL |     INFO  | +0     | CheckFile - Checking if G:\RocketLauncher\Modules\ePSXe\ePSXe.ahk exists
20:15:37:225 | RL |     INFO  | +0     | Main - CRC Check - CRC matches, this is an official unedited module.
20:15:37:225 | RL |     INFO  | +0     | Main - Metal Gear Solid (USA) (Disc 1) (v1.1) will use module: G:\RocketLauncher\Modules\ePSXe\ePSXe.ahk
20:15:37:251 | RL |     INFO  | +31    | Main - Using standard method with "Rom Extension" SkipChecks or without any SkipChecks.
20:15:37:253 | RL |     INFO  | +0     | CheckFile - Checking if G:\Emulators\ePSXe200\ePSXe.exe exists
20:15:37:254 | RL |     INFO  | +0     | Main - INI Keys read
20:15:37:254 | RL |     INFO  | +0     | CheckFile - Checking if G:\RocketLauncher\Module Extensions\7z.exe exists
20:15:37:255 | RL |     INFO  | +0     | CheckFile - Checking if G:\RocketLauncher\Module Extensions\7z.dll exists
20:15:37:257 | RL |     INFO  | +0     | Main - "Metal Gear Solid (USA) (Disc 1) (v1.1)" qualifies for MultiGame.
20:15:37:257 | RL |     INFO  | +0     | CheckPaths - Started
20:15:37:257 | RL |     INFO  | +0     | CheckPaths - Looking for rom: G:\Emulators\PS1 Games\Metal Gear Solid (USA) (Disc 1) (v1.1).bin
20:15:37:258 | RL |     INFO  | +0     | CheckPaths - Found rom: G:\Emulators\PS1 Games\Metal Gear Solid (USA) (Disc 1) (v1.1).bin
20:15:37:258 | RL |     INFO  | +0     | CheckPaths - Ended
20:15:37:258 | RL |     INFO  | +0     | BuildScript - User Variables:
					;----------------------------------------------------------------------------
					; INJECTED VARIABLES
					;----------------------------------------------------------------------------
					
					#NoTrayIcon
					#InstallKeybdHook
					MiscUtils.DetectHiddenWindows("On")
					SetTitleMatchMode, 2
					SendMode, Event
					0 = 2
					pluginPath = G:\RocketLauncher\Plugins
					pluginName = RocketLauncherUI
					pluginExt = .plugin
					contextOnExit = 
					rlMode = 
					rlTitle = RocketLauncher
					rlVersion = 1.1.0.1
					rlAuthor = djvj
					rlURL = www.rlauncher.com
					langFile = G:\RocketLauncher\Data\Language\Localization.ini
					primMonitor = 1
					frontendPID = 7140
					frontendPath = G:\RocketLauncher\RocketLauncherUI
					frontendExe = RocketLauncherUI.exe
					frontendExt = exe
					frontendName = RocketLauncherUI
					frontendDrive = G
					exitEmulatorKey = ~Esc
					restoreFE = Restore and Click
					exitScriptKey = ~q & ~s
					toggleCursorKey = ~e & ~t
					emuFullPath = G:\Emulators\ePSXe200\ePSXe.exe
					emuPath = G:\Emulators\ePSXe200
					emuName = ePSXe
					emuExt = exe
					baseRomPath = 
					romPath = G:\Emulators\PS1 Games
					romPathFromIni = G:\Emulators\PS1 Games
					romExtension = .bin
					romExtensionOrig = .bin
					romExtensions = bin|cue|ecm|zip|rar|7z
					executable = ePSXe.exe
					systemDbName = Sony PlayStation
					systemName = Sony PlayStation
					dbPath = 
					dbName = Metal Gear Solid (USA) (Disc 1) (v1.1)
					dbExt = 
					romName = Metal Gear Solid (USA) (Disc 1) (v1.1)
					romMapPath = 
					romMappingEnabled = false
					romMappingLaunchMenuEnabled = false
					romMappingFirstMatchingExt = false
					romMappingShowAllRomsInArchive = true
					romMappingNumberOfGamesByScreen = 7
					romMappingHideParent = false
					romMappingMenuWidth = 400
					romMappingMenuMargin = 65
					romMappingTextFont = Bebas Neue
					romMappingTextOptions = cFFFFFFFF r4 s60 Bold
					romMappingDisabledTextColor = ff888888
					romMappingTextSizeDifference = 7
					romMappingTextMargin = 15
					romMappingTitleTextFont = Bebas Neue
					romMappingTitleTextOptions = cFFFFFFFF r4 s90 Bold
					romMappingTitle2TextFont = Bebas Neue
					romMappingTitle2TextOptions = cFFFFFFFF r4 s22 Bold
					romMappingGameInfoTextFont = Bebas Neue
					romMappingGameInfoTextOptions = cFFFFFFFF r4 s22 Regular
					romMappingGameNameTextFont = Bebas Neue
					romMappingGameNameTextOptions = cFFFFFFFF r4 s40 Regular
					romMappingBackgroundBrush = aa000000
					romMappingColumnBrush = 33000000
					romMappingButtonBrush1 = 6f000000
					romMappingButtonBrush2 = 33000000
					romMappingBackgroundAlign = Stretch and Lose Aspect
					romMappingMenuFlagWidth = 55
					romMappingMenuFlagSeparation = 7
					romMappingDefaultMenuList = FullList
					romMappingSingleFilteredRomAutomaticLaunch = false
					altArchiveNameOnly = 
					altRomNameOnly = 
					altArchiveAndRomName = 
					altArchiveAndManyRomNames = 
					altRomNamesOnly = 
					romMapScenario = 
					skipchecks = false
					romMatchExt = false
					blockInputTime = 0
					blockInputFile = G:\RocketLauncher\Module Extensions\BlockInput.exe
					errorLevelReporting = false
					lockLaunch = false
					lockLaunchGame = 
					screenRotationAngle = 0
					screenRotationAngleGame = 
					setResolution = 
					logFile = 
					logLabel := ["    INFO"," WARNING","   ERROR","   DEBUG","   TRACE"]
					logLevel = 3
					logShowDebugConsole = false
					logIncludeModule = true
					logIncludeFileProperties = true
					logShowCommandWindow = false
					logCommandWindow = false
					rlDebugConsoleStdout = 
					sysLang = English_United_States
					sysType = 64-bit
					broadcastWindowTitle = 
					navUpKey = Up
					navDownKey = Down
					navLeftKey = Left
					navRightKey = Right
					navSelectKey = Enter
					navP2UpKey = Numpad8
					navP2DownKey = Numpad2
					navP2LeftKey = Numpad4
					navP2RightKey = Numpad6
					navP2SelectKey = NumpadEnter
					originalWidth = 1920
					originalHeight = 1080
					vdEnabled = false
					vdFullPath = 
					vdUseSCSI = true
					vdDriveLetter = 
					vdDriveLetterScsi = 
					vdAddDrive = true
					servoStikEnabled = false
					servoStikExitMode = false
					ledblinkyEnabled = false
					ledblinkySystemName = 
					ledblinkyFullPath = 
					ledblinkyProfilePath = G:\RocketLauncher\Profiles\LEDBlinky
					ledblinkyRLProfile = G:\RocketLauncher\Profiles\LEDBlinky\RocketLauncher
					winIPACFullPath = 
					ultraMapEnabled = false
					ultraMapFullPath = 
					emuIdleShutdown = 0
					launchPasswordHash = UpUpDownDownLeftRightLeftRight
					hideCursor = false
					hideEmu = false
					hideFE = false
					suspendFE = false
					fadeIn = false
					fadeInDuration = 500
					fadeInTransitionAnimation = DefaultAnimateFadeIn
					fadeInDelay = 0
					fadeInExitDelay = 0
					fadeOutExitDelay = 0
					fadeOut = false
					fadeOutExtraScreen = false
					fadeOutDuration = 500
					fadeOutTransitionAnimation = DefaultAnimateFadeOut
					fadeOutDelay = 0
					fadeLyrInterpolation = 7
					fadeMuteEmulator = false
					fadeUseBackgrounds = false
					fadeClickThrough = false
					fadeSounds = true
					fade7zProgressMode = extraction
					fadeWidthBaseRes = 1920
					fadeHeightBaseRes = 1080
					fadeLyr1Color = FF000000
					fadeLyr1AlignImage = Stretch and Lose Aspect
					fadeLyr2Pos = Stretch and Lose Aspect
					fadeLyr2X = 0
					fadeLyr2Y = 0
					fadeLyr2W = 
					fadeLyr2H = 
					fadeLyr2Adjust = 1
					fadeLyr2PicPad = 0
					fadeLyr2Prefix = Extra Layer 1 - Console
					fadeLyr3Pos = Center
					fadeLyr3X = 450
					fadeLyr3Y = 450
					fadeLyr3W = 
					fadeLyr3H = 
					fadeLyr3Adjust = 1
					fadeLyr3PicPad = 0
					fadeLyr3Speed = 750
					fadeLyr3Animation = DefaultFadeAnimation
					fadeLyr37zAnimation = DefaultFadeAnimation
					fadeLyr3Type = imageandbar
					fadeLyr3ImgFollow7zProgress = true
					fadeLyr3Repeat = 1
					fadeLyr3BackImageTransparency = 30
					fadeLyr3StaticPos = No Alignment
					fadeLyr3StaticX = 0
					fadeLyr3StaticY = 870|1575
					fadeLyr3StaticW = 
					fadeLyr3StaticH = 
					fadeLyr3StaticAdjust = 1
					fadeLyr3StaticPicPad = 0
					fadeLyr3StaticPrefix = Info Bar
					fadeLyr4Adjust = 1
					fadeLyr4X = 1792|952
					fadeLyr4Y = 891|1596
					fadeLyr4W = 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
					fadeProgressDuration = 0
					fadeBarBack = true
					fadeBarBackColor = FF555555
					fadeBarH = 30
					fadeBarR = 10
					fadeBarColor = DD00BFFF
					fadeBarHatchStyle = 8
					fadeBarPercentageText = true
					fadeBarInfoText = true
					fadeBarXOffset = 0
					fadeBarYOffset = 150
					fadeRomInfoDescription = filtered text
					fadeRomInfoSystemName = image
					fadeRomInfoYear = text with label
					fadeRomInfoDeveloper = text with label
					fadeRomInfoPublisher = text with label
					fadeRomInfoGenre = disabled
					fadeRomInfoRating = image
					fadeRomInfoOrder = Description|SystemName|Year|Developer|Genre|Rating|Publisher
					fadeRomInfoTextPlacement = User Defined
					fadeRomInfoTextMargin = 7
					fadeRomInfoText1Options = w1600|787 h90 x165 y870|1575 cFFE1E1E1 r4 s90 Left Regular
					fadeRomInfoText2Options = w400 x8 y15 cFF555555 r4 s60 Bold
					fadeRomInfoText3Options = w310 x165 y960|1665 cFFE1E1E1 r4 s66 Left Regular
					fadeRomInfoText4Options = w1305|492 h66 x460 y960|1665 cFFE1E1E1 r4 s66 Left Regular
					fadeRomInfoText5Options = cFF555555 r4 s42 Bold
					fadeRomInfoText6Options = h135 x15 y885|1590 cFFCFCFCA r4 s120 Regular
					fadeRomInfoText7Options = h135 x15 y885|1590 cFFCFCFCA r4 s120 Regular
					fadeStats_Number_of_Times_Played = text with label
					fadeStats_Last_Time_Played = text with label
					fadeStats_Average_Time_Played = text with label
					fadeStats_Total_Time_Played = text with label
					fadeStats_System_Total_Played_Time = text with label
					fadeStats_Total_Global_Played_Time = text with label
					fadeStatsInfoOrder = Number_of_Times_Played|Last_Time_Played|Average_Time_Played|Total_Time_Played|System_Total_Played_Time|Total_Global_Played_Time
					fadeStatsInfoTextPlacement = topRight
					fadeStatsInfoTextMargin = 7
					fadeStatsInfoText1Options = cFFB4B4B4 r4 s22 Bold
					fadeStatsInfoText2Options = cFFB4B4B4 r4 s22 Bold
					fadeStatsInfoText3Options = cFFB4B4B4 r4 s22 Bold
					fadeStatsInfoText4Options = cFFB4B4B4 r4 s22 Bold
					fadeStatsInfoText5Options = cFFB4B4B4 r4 s22 Bold
					fadeStatsInfoText6Options = cFFB4B4B4 r4 s22 Bold
					fadeText1X = 0
					fadeText1Y = 0
					fadeText1Options = cFFB4B4B4 r4 s30 Right Bold
					fadeText1 = Loading Game
					fadeText2X = 0
					fadeText2Y = 0
					fadeText2Options = cFFB4B4B4 r4 s30 Right Bold
					fadeText2 = Extraction Complete, Ready
					fadeText3 = Loading Game
					fadeText4 = Loading Complete
					fadeFont = Bebas Neue
					fadeSystemAndRomLayersOnly = false
					fadeExtractionTime = disabled
					fadeExtractionTimeTextX = 0
					fadeExtractionTimeTextY = 0
					fadeExtractionTimeTextOptions = cFF555555 r4 s20 Bold
					fadeInterruptKey = 
					detectFadeErrorEnabled = true
					fadeImgPath = G:\RocketLauncher\Media\Fade
					RLDataPath = G:\RocketLauncher\Data
					RLMediaPath = G:\RocketLauncher\Media
					RLErrSoundPath = G:\RocketLauncher\Media\Sounds\Error
					modulesPath = G:\RocketLauncher\Modules
					moduleFullName = G:\RocketLauncher\Modules\ePSXe\ePSXe.ahk
					moduleName = ePSXe
					modulePath = G:\RocketLauncher\Modules\ePSXe
					moduleExtension = ahk
					moduleExtensionsPath = G:\RocketLauncher\Module Extensions
					libPath = G:\RocketLauncher\Lib
					sevenZEnabled = true
					sevenZPath = G:\RocketLauncher\Module Extensions\7z.exe
					sevenZDllPath = G:\RocketLauncher\Module Extensions\7z.dll
					sevenZExtractPath = G:\TEMP
					sevenZExtractPathOrig = 
					sevenZAttachSystemName = false
					sevenZDelTemp = true
					sevenZFormats = .zip|.rar|.7z|.lzh|.gzip|.tar
					sevenZFormatsNoP = zip|rar|7z|lzh|gzip|tar
					sevenZFormatsRegEx = \.zip|\.rar|\.7z|\.lzh|\.gzip|\.tar
					7zExtractPath = G:\TEMP
					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 = 1
					mgValidTypes = \(Disc|\(Disk|\(Cart|\(Tape|\(Cassette|\(Part|\(Side
					mgOnLaunch = false
					pauseEnabled = false
					pauseKey = ~NumpadAdd
					pauseBackToMenuBarKey = X
					pauseZoomInKey = C
					pauseZoomOutKey = V
					pauseScreenshotKey = ~PrintScreen
					pauseHiToTextPath = G:\RocketLauncher\Module Extensions\HiToText.exe
					pauseSaveStateKeyCodes = 
					pauseLoadStateKeyCodes = 
					keyboardEncoder = 
					keyboardEncoderEnabled = false
					keymapperEnabled = true
					keymapperAHKMethod = false
					keymapper = joytokey
					xpadderFullPath = G:\hyperspin\Utilities\Xpadder.exe
					joyToKeyFullPath = G:\hyperspin\Utilities\JoyToKey_en\JoyToKey.exe
					profilePath = G:\RocketLauncher\Profiles
					keymapperProfilePath = G:\RocketLauncher\Profiles\joytokey
					keymapperFrontEndProfileName = Hyperspin
					keymapperFrontEndProfile = joytokey
					keymapperRocketLauncherProfileEnabled = true
					joyIDsEnabled = true
					joyIDsPreferredControllersGlobal = 
					joyIDsPreferredControllersSystem = use_global
					joyIDsPreferredControllersOnExit = 
					CustomJoyNamesEnabled = false
					CustomJoyNames = 
					rotateMethod = false
					FEProfile = G:\RocketLauncher\Profiles\joytokey\Hyperspin
					defaultProfile = G:\RocketLauncher\Profiles\joytokey\_Default
					systemProfile = G:\RocketLauncher\Profiles\joytokey\Sony PlayStation
					xPadderSystemProfile = G:\RocketLauncher\Profiles\joytokey\Sony PlayStation\_Default
					emuProfile = G:\RocketLauncher\Profiles\joytokey\Sony PlayStation\ePSXe
					romProfile = G:\RocketLauncher\Profiles\joytokey\Sony PlayStation\Metal Gear Solid (USA) (Disc 1) (v1.1)
					RocketLauncherProfile = G:\RocketLauncher\Profiles\joytokey\RocketLauncher
					blankProfile = G:\RocketLauncher\Profiles\joytokey\blank
					ahkFEProfile = G:\RocketLauncher\Profiles\AHK\Hyperspin
					ahkDefaultProfile = G:\RocketLauncher\Profiles\AHK\_Default
					ahkSystemProfile = G:\RocketLauncher\Profiles\AHK\Sony PlayStation
					ahkEmuProfile = G:\RocketLauncher\Profiles\AHK\Sony PlayStation\ePSXe
					ahkRomProfile = G:\RocketLauncher\Profiles\AHK\Sony PlayStation\Metal Gear Solid (USA) (Disc 1) (v1.1)
					ahkRocketLauncherProfile = G:\RocketLauncher\Profiles\AHK\RocketLauncher
					bezelEnabled = false
					bezelICEnabled = false
					shaderName = false
					shaderColor = 
					shaderTransparency = 
					shaderChangeKey = 
					statisticsEnabled = true
					pressDuration = -1
					emuVolume = 1
					dxwndIni = G:\RocketLauncher\Module Extensions\dxwnd\dxwnd.ini
					dxwndFullPath = G:\RocketLauncher\Module Extensions\dxwnd\dxwnd.exe
					qResFullPath = G:\RocketLauncher\Module Extensions\QRes.exe
					mon1O = 
					pacDrivedllFile = G:\RocketLauncher\Module Extensions\PacDrive32.dll
					userFadeAnimIniFile = G:\RocketLauncher\Lib\User Fade Animations.ini

20:15:37:259 | RL |     INFO  | +0     | BuildScript - Loaded XHotkey Init.ahk scripts
20:15:37:259 | RL |     INFO  | +0     | BuildScript - Loaded Keymapper Init.ahk scripts
20:15:37:259 | RL |     INFO  | +0     | BuildScript - Loaded Statistics Init.ahk scripts
20:15:37:259 | RL |  WARNING  | +0     | BuildScript - "G:\RocketLauncher\Lib\User Functions Init.ahk" not found
20:15:37:259 | RL |     INFO  | +0     | BuildScript - Validating module
20:15:37:260 | RL |     INFO  | +0     | BuildScript - Validation complete
20:15:37:260 | RL |     INFO  | +0     | BuildScript - Module:
					MEmu = ePSXe
					MEmuV =  v1.9.0
					MURL = http://www.epsxe.com/
					MAuthor = djvj,Shateredsoul,brolly,robbforce
					MVersion = 2.1.3
					MCRC = 1F6DC70F
					iCRC = 97B121A8
					MID = 635038268888210842
					MSystem = "Sony PlayStation"
					;----------------------------------------------------------------------------
					; Notes:
					; epsxe can't deal with bin/cue dumps with more than one audio track if you load the cue file directly.
					; For these to work you must mount the cue on Virtual Drive and let epsxe boot the game from there.
					; You need to make sure you have a SCSI virtual drive on Daemon Tools, NOT a DT one.
					; On first time use, 2 default memory card files will be created called _default_001.mcr and _default_002.mcr in emuPath\memcards
					;
					; Extract all your BIOS files to the bios subfolder. Then goto Config->Bios and select the bios you wish to use.
					;
					; Go to Config->Video then choose a plugin. Pete's OpenGL line is preffered
					; Click Configure (under video plugin) and choose fullscreen and set your desired resolution. Video options/results will vary based on the plugin you choose.
					;
					; If you are using images with multiple tracks, set your extension to cue (make sure all your cues are correctly pointing to their tracks).
					; Go to Config->Cdrom->Configure button and select the drive letter associated with your Virtual Drive virtual drive.
					;
					; ePSXe will ONLY close via Escape, it will bug out with all other forms of closing a normal program. Do not edit CloseProcess!
					;
					; TurboButton will only work with DX7 video plugin. Turbo key by Hypnoziz
					;
					; Requires at least Libs\Shared.ahk v1.1.3
					;
					; epsxe stores its settings in the registry @ HKEY_CURRENT_USER\Software\epsxe\config
					; plugins store their settings in the registry @ HKEY_CURRENT_USER\Software\Vision Thing\PSEmu Pro
					;----------------------------------------------------------------------------
					StartModule()
					BezelGUI()
					FadeInStart()
					
					settingsFile := modulePath . "\" . moduleName . ".ini"
					
					; Plugin settings are overridable per rom.
					GfxPlugin := IniReadCheck(settingsFile, "Settings|" . romName, "Graphics_Plugin","PeteOpenGL2",,1)	; Use the gfx plugin name
					HiresX := IniReadCheck(settingsFile, "Pete's OpenGL2 GPU Plugin|" . romName, "Internal_X_Resolution",0,,1)
					HiresY := IniReadCheck(settingsFile, "Pete's OpenGL2 GPU Plugin|" . romName, "Internal_Y_Resolution",0,,1)
					KeepRatio := IniReadCheck(settingsFile, "Pete's OpenGL2 GPU Plugin|" . romName, "Stretching_Mode",0,,1)
					NoRenderTexture := IniReadCheck(settingsFile, "Pete's OpenGL2 GPU Plugin|" . romName, "Render_Mode",0,,1)
					FilterType := IniReadCheck(settingsFile, "Pete's OpenGL2 GPU Plugin|" . romName, "Texture_Filtering",0,,1)
					HiResTextures := IniReadCheck(settingsFile, "Pete's OpenGL2 GPU Plugin|" . romName, "Hi-Res_Textures",0,,1)
					TWinShader := IniReadCheck(settingsFile, "Pete's OpenGL2 GPU Plugin|" . romName, "Pixel_Shader","false",,1)
					OffscreenDrawing := IniReadCheck(settingsFile, "Pete's OpenGL2 GPU Plugin|" . romName, "Offscreen_Drawing",0,,1)
					FrameTexType := IniReadCheck(settingsFile, "Pete's OpenGL2 GPU Plugin|" . romName, "Framebuffer_Effects",0,,1)
					FrameUpload := IniReadCheck(settingsFile, "Pete's OpenGL2 GPU Plugin|" . romName, "Framebuffer_Uploads",0,,1)
					ShaderDir := IniReadCheck(settingsFile, "Pete's OpenGL2 GPU Plugin|" . romName, "Shader_Dir",,,1)
					FullscreenShader := IniReadCheck(settingsFile, "Pete's OpenGL2 GPU Plugin|" . romName, "Fullscreen_Shader",0,,1)
					FSShaderLevel := IniReadCheck(settingsFile, "Pete's OpenGL2 GPU Plugin|" . romName, "Shader_Level",1,,1)
					
					Fullscreen := IniReadCheck(settingsFile, "Settings", "Fullscreen","true",,1)
					turboButton := IniReadCheck(settingsFile, "Settings", "turboButton","F12",,1)		; Key mapping for turbo button assignment
					slowBoot := IniReadCheck(settingsFile, "Settings", "slowBoot","false",,1)			; If true, force emulator to show bios screen at boot
					enableAnalog := IniReadCheck(settingsFile, "Settings|" . romName, "EnableAnalog","true",,1)	; If true, enables analog controls at start of game for you, so you don't have to press F5
					hideEpsxeGUIs := IniReadCheck(settingsFile, "Settings", "HideePSXeGUIs","true",,1)
					perGameMemCards := IniReadCheck(settingsFile, "Settings", "PerGameMemoryCards","true",,1)
					disableMemoryCard1 := IniReadCheck(settingsFile, romName, "DisableMemoryCard1","false",,1)	; If true, disables memory card 1 for this game. Some games may not boot if both memory cards are inserted.
					disableMemoryCard2 := IniReadCheck(settingsFile, romName, "DisableMemoryCard2","false",,1)	; If true, disables memory card 2 for this game. Some games may not boot if both memory cards are inserted.
					memCardPath := IniReadCheck(settingsFile, "Settings", "MemCardPath", emuPath . "\memcards",,1)
					memCardPath := AbsoluteFromRelative(emuPath, memCardPath)
					
					; dialogOpen := i18n("dialog.open")	; Looking up local translation
					dialogOpen := "Open"	; apparently ePSXe doesnt support multiple languages, forcing this until it does
					
					BezelStart()
					
					; Set the GPU plugin and it's settings.
					WriteReg("SZ", "epsxe\config", "VideoPlugin", "gpu" . GfxPlugin . ".dll")
					
					; TODO: The other video plugins might use the same settings and even if they don't, it probably won't hurt
					; to have these values in the registry for the selected plugin.
					; Only apply these settings if the user selected the OpenGL2 plugin.
					If (GfxPlugin = "PeteOpenGL2") {
						WriteReg("DWORD", "Vision Thing\PSEmu Pro\GPU\" . GfxPlugin, "HiresX", HiresX)
						WriteReg("DWORD", "Vision Thing\PSEmu Pro\GPU\" . GfxPlugin, "HiresY", HiresY)
						WriteReg("DWORD", "Vision Thing\PSEmu Pro\GPU\" . GfxPlugin, "KeepRatio", KeepRatio)
						WriteReg("DWORD", "Vision Thing\PSEmu Pro\GPU\" . GfxPlugin, "NoRenderTexture", NoRenderTexture)
						WriteReg("DWORD", "Vision Thing\PSEmu Pro\GPU\" . GfxPlugin, "FilterType", FilterType)
						WriteReg("DWORD", "Vision Thing\PSEmu Pro\GPU\" . GfxPlugin, "HiResTextures", HiResTextures)
						TWinShader := If TWinShader = "true" ? 1 : 0	; Convert texture shader bool into an int before writing to the registry
						WriteReg("DWORD", "Vision Thing\PSEmu Pro\GPU\" . GfxPlugin, "TWinShader", TWinShader)
						WriteReg("DWORD", "Vision Thing\PSEmu Pro\GPU\" . GfxPlugin, "OffscreenDrawing", OffscreenDrawing)
						WriteReg("DWORD", "Vision Thing\PSEmu Pro\GPU\" . GfxPlugin, "FrameTexType", FrameTexType)
						WriteReg("DWORD", "Vision Thing\PSEmu Pro\GPU\" . GfxPlugin, "FrameUpload", FrameUpload)
						
						; If the shader directory isn't set then disable the other shader settings if the fullscreen shader is 3 or 5.
						If (ShaderDir = "") {
							If (FullscreenShader in 3, 5) {
								WriteReg("DWORD", "Vision Thing\PSEmu Pro\GPU\" . GfxPlugin, "FullscreenShader", 0)
								WriteReg("DWORD", "Vision Thing\PSEmu Pro\GPU\" . GfxPlugin, "FSShaderLevel", 0)
							} Else {
								WriteReg("DWORD", "Vision Thing\PSEmu Pro\GPU\" . GfxPlugin, "FullscreenShader", FullscreenShader)
								WriteReg("DWORD", "Vision Thing\PSEmu Pro\GPU\" . GfxPlugin, "FSShaderLevel", FSShaderLevel)
							}
						} Else {
							ShaderDir := GetFullName(ShaderDir) . "\"
							; TODO: Should check that the shader folder/files exist.
							WriteReg("SZ", "Vision Thing\PSEmu Pro\GPU\" . GfxPlugin, "ShaderDir", ShaderDir)
							; TODO: Probably should check that FullscreenShader is set to 3 or 5.
							WriteReg("DWORD", "Vision Thing\PSEmu Pro\GPU\" . GfxPlugin, "FullscreenShader", FullscreenShader)
							WriteReg("DWORD", "Vision Thing\PSEmu Pro\GPU\" . GfxPlugin, "FSShaderLevel", FSShaderLevel)
					
							; Turn these settings off because they'll blur/alter the image before it gets to the shader.
							WriteReg("DWORD", "Vision Thing\PSEmu Pro\GPU\" . GfxPlugin, "FilterType", 0)
							WriteReg("DWORD", "Vision Thing\PSEmu Pro\GPU\" . GfxPlugin, "HiResTextures", 0)
							WriteReg("DWORD", "Vision Thing\PSEmu Pro\GPU\" . GfxPlugin, "FullscreenBlur", 0)
						}
					}
					
					; Changes fullscreen setting for the gpu plugin.
					If (Fullscreen = "true") {
						WriteReg("DWORD", "Vision Thing\PSEmu Pro\GPU\" . GfxPlugin, "WindowMode", 0)
					} Else {
						WriteReg("DWORD", "Vision Thing\PSEmu Pro\GPU\" . GfxPlugin, "WindowMode", 1)
					
						If (bezelEnabled = "true") {
							winSize := bezelScreenHeight * 65536 + bezelScreenWidth	; convert desired windowed resolution to Decimal
							WriteReg("DWORD", "Vision Thing\PSEmu Pro\GPU\" . GfxPlugin, "WinSize", winSize)
						}
					}
					
					; Memory Cards
					
					defaultMemCard1 := memCardPath . "\_default_001.mcr"	; defining default blank memory card for slot 1
					defaultMemCard2 := memCardPath . "\_default_002.mcr"	; defining default blank memory card for slot 2
					memCardName := If romTable[1,5] ? romTable[1,4] : romName	; defining rom name for multi disc rom
					romMemCard1 := memCardPath . "\" . memCardName . "_001.mcr"		; defining name for rom's memory card for slot 1
					romMemCard2 := memCardPath . "\" . memCardName . "_002.mcr"		; defining name for rom's memory card for slot 2
					memcardType := If perGameMemCards = "true" ? "rom" : "default"	; define the type of memory card we will create in the below loop
					If !FileExist(memCardPath)
						FileCreateDir, %memCardPath%	; create memcard folder if it doesn't exist
					Loop 2
					{	If !FileExist(%memcardType%MemCard%A_Index%)
						{	FileAppend,, % %memcardType%MemCard%A_Index%		; create a new blank memory card if one does not exist
							Log("Module - Created a new blank memory card in Slot " . A_Index . ":" . %memcardType%MemCard%A_Index%)
						}
						WriteReg("SZ", "epsxe\config", "Memcard" . A_Index, %memcardType%MemCard%A_Index%)
					
						; Now disable a memory card if required for the game to boot properly
						memcard%A_Index%Enable := ReadReg("epsxe\config", "Memcard" . A_Index . "Enable")
						If (disableMemoryCard%A_Index% = "true")
							WriteReg("SZ", "epsxe\config", "Memcard" . A_Index . "Enable", 0)
						Else
							WriteReg("SZ", "epsxe\config", "Memcard" . A_Index . "Enable", 1)
					}
					
					hideEmuObj := Object(dialogOpen . " PSX ISO ahk_class #32770",0,"ahk_class EPSXGUI",0,"ePSXe ahk_class EPSX",1)	; Hide_Emu will hide these windows. 0 = will never unhide, 1 = will unhide later
					7z(romPath, romName, romExtension, sevenZExtractPath)
					
					epsxeExtension := InStr(".ccd|.cue|.mds|.img|.iso|.pbp",romExtension)	; the psx extensions supported by the emu
					
					SetKeyDelay(50)
					; turboButton := xHotKeyVarEdit(turboButton,"turboButton","~","Add")
					xHotKeywrapper(turboButton,"TurboProcess")
					turboEnabled := 0				; Initialize turbo state
					
					RomTableCheck()	; make sure romTable is created already so the next line can calculate correctly
					noGUI := If romTable.MaxIndex() ? "" : " -nogui" ; multidisc games will not use nogui because we need to select an option in epsxe's gui to swap discs
					slowBoot := If slowBoot = "true" ? " -slowboot" : ""
					
					If (noGUI = "" && hideEpsxeGUIs = "true") {	; for multi disc games only
						Log("Module - Starting the HideGUIWindow timer to prevent them from showing")
						SetTimer, HideGUIWindow, 10	; start watching for gui window so it can be completely hidden
					}
					
					; Mount the CD using Virtual Drive
					If (epsxeExtension && vdEnabled = "true") {
						Log("Module - Virtual Drive is enabled and " . romExtension . " is a supported Virtual Drive extension")
					
						VirtualDrive("get")	; populates the vdDriveLetter variable with the drive letter to your scsi or dt virtual drive
						currentCDRomAscii := ReadReg("epsxe\config", "CdromLetter")	; read the current setting for ePSXe's cdrom it is using
						currentCDRomLetter := Chr(currentCDRomAscii)	; converts the ascii code to a letter
					
						If (currentCDRomLetter = "")
							Log("Module - " . MEmu . " is not configured with a CDRom Drive")
						Else If (currentCDRomAscii = 48)
							Log("Module - " . MEmu . " is configured to read from the FirstCdrom Drive and will be updated to a proper letter instead")
						Else
							Log("Module - " . MEmu . " is configured to read from Drive " . currentCDRomLetter . ":")
						
						If (currentCDRomLetter != vdDriveLetter) {
							newCDRomAscii := Asc(vdDriveLetter)	; converts the letter to an ascii code
							WriteReg("SZ", "epsxe\config", "CdromLetter", newCDRomAscii)
							Log("Module - Updated " . MEmu . " to use Drive " . vdDriveLetter . ": for all future launches.",2)
						} Else
							Log("Module - " . MEmu . " is configured to use the correct drive already")
					
						VirtualDrive("mount",romPath . "\" . romName . romExtension)
						HideEmuStart()	; This fully ensures windows are completely hidden even faster than winwait
						errorLvl := Run(executable . noGUI . slowBoot, emuPath)
						usedVD := 1
					} Else {
						If (romExtension = ".pbp") {
							Log("Module - Sending rom to emu directly with the load binary directive.")
							HideEmuStart()	; This fully ensures windows are completely hidden even faster than winwait
							errorLvl := Run(executable . noGUI . slowBoot . " -loadbin """ . romPath . "\" . romName . romExtension . """", emuPath)
						} Else {
							Log("Module - Sending rom to emu directly as Virtual Drive is not enabled or " . romExtension . " is not a supported Virtual Drive extension.")
							HideEmuStart()	; This fully ensures windows are completely hidden even faster than winwait
							errorLvl := Run(executable . noGUI . slowBoot . " -loadiso """ . romPath . "\" . romName . romExtension . """", emuPath)
						}
					}
					If errorLvl
						ScriptError("Error launching " . executable . "`, closing module.")
					
					epsxeLaunchType := If usedVD ? "CDROM" : "ISO"	; determines which command gets sent to epsxe
					
					If (noGUI = "") {	; for multi disc games only
						Log("Module - " . romName . " is a multi-disc game, so launching " . MEmu . " with GUI enabled so swapping can occur.")
						WinWait("ePSXe ahk_class EPSXGUI")
						If (epsxeLaunchType = "CDROM") {
							Log("Module - Telling ePSXe to run a CDROM")
							PostMessage, 0x111, 40001,,,ahk_class EPSXGUI	; Run CDROM
						} Else {
							Log("Module - Telling ePSXe to run an ISO")
							PostMessage, 0x111, 40003,,,ahk_class EPSXGUI	; Run ISO
						}
					} Else
						Log("Module - " . romName . " is not a multi-disc game, so launching " . MEmu . " with GUI disabled.")
					
					If (!usedVD && noGUI = "") {		; for some reason, epsxe still shows an open psx iso box even though it was provided on the run command when we don't also send -nogui. This handles loading the rom.
						Log("Module - " . MEmu . " GUI and DT support are both disabled. Loading rom via the Open PSX ISO window.")
						OpenROM(dialogOpen . " PSX ISO ahk_class #32770", romPath . "\" . romName . romExtension)
					}	
					
					WinWait("ePSXe ahk_class EPSX")
					WinWaitActive("ePSXe ahk_class EPSX")
					
					If (noGUI = "" && hideEpsxeGUIs = "true") {	; for multi disc games only
						Log("Module - Stopping the HideGUIWindow timer")
						SetTimer, HideGUIWindow, Off
					}
					
					BezelDraw()
					HideEmuEnd()
					FadeInExit()
					
					If (enableAnalog = "true")
					{	Sleep, 1500	; necessary otherwise epsxe doesn't register the key
						Send, {F5 down}{F5 up}
					}
					
					Process("WaitClose", executable)
					
					If usedVD
						VirtualDrive("unmount")
					
					7zCleanUp()
					BezelExit()
					FadeOutExit()
					ExitModule()
					
					
					ReadReg(var1, var2) {
						RegRead, regValue, HKEY_CURRENT_USER, Software\%var1%, %var2%
						Return %regValue%
					}
					
					WriteReg(type, var1, var2, var3) {
						RegWrite, REG_%type%, HKEY_CURRENT_USER, Software\%var1%, %var2%, %var3%
					}
					
					TurboProcess:
					    If (turboEnabled = 0) {
							Send, {Delete}{End}{End}{Delete}
							turboEnabled := 1
					    } Else {
							Send, {Delete}{End}{Delete}
							turboEnabled := 0
					    }
					Return
					
					HaltEmu:
						If turboButton
							XHotKeywrapper(turboButton,"TurboProcess","OFF")
						If (Fullscreen = "true")
						{	PostMessage, 0x111, 40001,,,ahk_class EPSXGUI	; Go fullscreen, same as alt+enter
							Sleep, 200
						}
					Return
					
					MultiGame:
						; msgbox % "selectedRom = " . selectedRom . "`nselected game = " . currentButton . "`nmgRomPath = " . mgRomPath . "`nmgRomExt = " . mgRomExt . "`nmgRomName = "  . mgRomName
						SetKeyDelay(50)
						If usedVD
						{	VirtualDrive("unmount")	; Unmount the CD from Virtual Drive
							Sleep, 500	; Required to prevent your Virtual Drive app from bugging
							VirtualDrive("mount",selectedRom)	; Mount the CD using Virtual Drive
						}
						ControlSend,, {ESC down}{ESC Up}, ahk_class EPSX	; this exits the game window and brings back ePSXe's gui menu window
						If (hideEpsxeGUIs = "true")
						{	Log("Module - Starting the HideGUIWindow timer to prevent them from showing")
							SetTimer, HideGUIWindow, 10
						}
					
						If (epsxeLaunchType = "CDROM") {
							Log("Module - Telling ePSXe to swap to another CDROM")
							PostMessage, 0x111, 40005,,,ahk_class EPSXGUI	; Change Disc CDROM
						} Else {
							Log("Module - Telling ePSXe to swap to another ISO")
							PostMessage, 0x111, 40006,,,ahk_class EPSXGUI	; Change Disc ISO
						}
					
						If usedVD
						{	WinWait("Change Disc Option ahk_class #32770")
							ControlSend,Button1,{Enter},Change Disc Option ahk_class #32770
						} Else {
							OpenROM(dialogOpen . " PSX ISO ahk_class #32770", selectedRom)
						}	
						If hideEpsxeGUIs := "true"
						{	Log("Module - Stopping the HideGUIWindow timer")
							SetTimer, HideGUIWindow, off
						}
						; If BezelEnabled
							; BezelDraw()
					Return
					
					RestoreEmu:
						WinActivate, ahk_id  %emulatorID%
						If (Fullscreen = "true")
							PostMessage, 0x111, 40001,,,ahk_class EPSXGUI	; Go fullscreen, same as alt+enter
						If turboButton
							XHotKeywrapper(turboButton,"TurboProcess","ON")
					Return
					
					HideGUIWindow:
						WinSet, Transparent, On, ePSXe ahk_class EPSXGUI
						WinSet, Transparent, On, Open PSX ISO ahk_class #32770	; when not using DT
						WinSet, Transparent, On, Change Disc Option ahk_class #32770	; when using DT
					Return
					
					CloseProcess:
						FadeOutStart()
						SetWinDelay, 50
						Log("Module - Sending Escape to close emulator")
						If (noGUI = "") {	; for multi disc games only
							PostMessage, 0x111, 40007,,,ahk_class EPSX	; Exit ePSXe, only works when guis are used though, basically when multigame supported games are launched
							WinWait("ePSXe ahk_class EPSXGUI")
							WinClose("ePSXe ahk_class EPSXGUI")
						} Else
							ControlSend,, {Esc down}{Esc up}, ePSXe ahk_class EPSX ; DO NOT CHANGE
					Return
					
					; PostMessage, 0x111, 40008,,,ahk_class EPSXGUI	; Continue
					; PostMessage, 0x111, 40009,,,ahk_class EPSXGUI	; Reset

20:15:37:275 | RL |     INFO  | +16    | BuildScript - Loaded Multi-Player scripts
20:15:37:276 | RL |     INFO  | +0     | BuildScript - Loaded Statistics.ahk script
20:15:37:276 | RL |  WARNING  | +0     | BuildScript - "G:\RocketLauncher\Lib\User Functions.ahk" not found
20:15:37:276 | RL |     INFO  | +0     | BuildScript - Finished injecting functions into module
20:15:37:277 | RL |     INFO  | +0     | Main - Module is built
20:15:37:277 | RL |     INFO  | +0     | CheckFile - Checking if G:\RocketLauncher\AutoHotkey.dll exists
20:15:37:278 | RL |     INFO  | +0     | Main - Starting timer to watch if Front End gets displaced and restore it if it does.
20:15:37:278 | RL |     INFO  | +0     | Main - Running module
20:15:37:434 | MD |     INFO  | +N/A   | Module initialized
20:15:37:437 | MD |     INFO  | +0     | LoadPreferredControllers - Started
20:15:37:437 | MD |     INFO  | +0     | GetJoystickArray - Started
20:15:37:469 | MD |     INFO  | +32    | GetJoystickGUID - Started
20:15:37:469 | MD |     INFO  | +0     | GetJoystickGUID - Ended and found GUID: 106A126571FBE5118002444553540000
20:15:37:490 | MD |     INFO  | +31    | GetJoystickGUID - Started
20:15:37:490 | MD |     INFO  | +0     | GetJoystickGUID - Ended and found GUID: C0005B8429F9E5118001444553540000
20:15:37:490 | MD |     INFO  | +0     | GetJoystickArray - Ended
20:15:37:490 | MD |     INFO  | +0     | LoadPreferredControllers - Sorting Currently Connected joysticks List to match the order of the Preferred Controller List
20:15:37:490 | MD |     INFO  | +0     | LoadPreferredControllers - Assigning the New Joystick IDs according to the preferred list for the active controllers
20:15:37:490 | MD |     INFO  | +0     | ChangeJoystickID - Started
20:15:37:491 | MD |     INFO  | +0     | ChangeJoystickID - Ended
20:15:37:491 | MD |     INFO  | +0     | ChangeJoystickID - Started
20:15:37:491 | MD |     INFO  | +0     | ChangeJoystickID - Ended
20:15:37:491 | MD |     INFO  | +0     | LoadPreferredControllers - Ended
20:15:37:491 | MD |     INFO  | +0     | CheckFile - Checking if G:\hyperspin\Utilities\JoyToKey_en\JoyToKey.exe exists
20:15:37:492 | MD |     INFO  | +0     | Keymapper - Loading joytokey
20:15:37:492 | MD |     INFO  | +0     | RunKeymapper - Started, using method "load"
20:15:37:492 | MD |     INFO  | +0     | GetJoystickArray - Started
20:15:37:495 | MD |     INFO  | +0     | GetJoystickGUID - Started
20:15:37:495 | MD |     INFO  | +0     | GetJoystickGUID - Ended and found GUID: 106A126571FBE5118002444553540000
20:15:37:496 | MD |     INFO  | +0     | GetJoystickGUID - Started
20:15:37:496 | MD |     INFO  | +0     | GetJoystickGUID - Ended and found GUID: C0005B8429F9E5118001444553540000
20:15:37:496 | MD |     INFO  | +0     | GetJoystickArray - Ended
20:15:37:496 | MD |     INFO  | +0     | GetProfile - Loading Player 1 Profile -> G:\RocketLauncher\Profiles\joytokey\Sony PlayStation\Sony PlayStation.cfg
20:15:37:496 | MD |     INFO  | +0     | RunJoyToKey - Started
20:15:37:496 | MD |     INFO  | +0     | WinClose - Closing: JoyToKey ahk_class TMainForm
20:15:37:725 | MD |     INFO  | +234   | Process - WaitClose JoyToKey.exe 2
20:15:37:970 | MD |     INFO  | +250   | Run - Running: G:\hyperspin\Utilities\JoyToKey_en\JoyToKey.exe "G:\RocketLauncher\Profiles\joytokey\Sony PlayStation\Sony PlayStation.cfg"
20:15:37:005 | MD |     INFO  | +31    | RunJoyToKey - Ended
20:15:38:005 | MD |     INFO  | +0     | RunKeymapper - Ended
20:15:38:005 | MD |     INFO  | +0     | StartModule - Started
20:15:38:005 | MD |     INFO  | +0     | StartModule - MEmu: ePSXe
					MEmuV: v1.9.0
					MURL: http://www.epsxe.com/
					MAuthor: djvj,Shateredsoul,brolly,robbforce
					MVersion: 2.1.3
					MCRC: 1F6DC70F
					iCRC: 97B121A8
					MID: 
					MSystem: "Sony PlayStation"
20:15:38:005 | MD |     INFO  | +0     | StartModule - You have a supported System Name for this module: "Sony PlayStation"
20:15:38:006 | MD |     INFO  | +0     | PluginInit - Started
20:15:38:006 | MD |     INFO  | +0     | CheckFile - Checking if G:\RocketLauncher\RocketLauncherUI\Databases\Sony PlayStation\Sony PlayStation.xml exists
20:15:38:006 | MD |  WARNING  | +0     | BuildDatabaseTable - Ended - no "Game Name" found. Assigning "Metal Gear Solid (USA) (Disc 1) (v1.1)" to the label "Name"
20:15:38:006 | MD |     INFO  | +0     | PluginInit - Ended
20:15:38:007 | MD |     INFO  | +0     | ModuleIniFileFinder.GetModuleIni - Creating new module ini object
20:15:38:007 | MD |     INFO  | +0     | ModuleIniFileFinder.GetModuleIni - Global module ini being used as it was found: G:\RocketLauncher\Modules\ePSXe\ePSXe.ini
20:15:38:007 | MD |     INFO  | +0     | StartModule - Ended
20:15:38:008 | MD |     INFO  | +0     | FadeApp - Hiding Frontend by making it transparent
20:15:38:011 | MD |     INFO  | +0     | 7z - Started, received G:\Emulators\PS1 Games\Metal Gear Solid (USA) (Disc 1) (v1.1).bin. If rom is an archive, it will extract to G:\TEMP
20:15:38:011 | MD |  WARNING  | +0     | 7z - Unhandled scenario, please report this and post your troubleshooting log
20:15:38:011 | MD |     INFO  | +0     | 7z - This rom type does not need 7z: ".bin"
20:15:38:011 | MD |     INFO  | +0     | 7z - Starting non-7z FadeIn animation.
20:15:38:012 | MD |  WARNING  | +0     | 7z - romPath changed from "G:\Emulators\PS1 Games" to "G:\Emulators\PS1 Games"
20:15:38:012 | MD |  WARNING  | +0     | 7z - romName changed from "Metal Gear Solid (USA) (Disc 1) (v1.1)" to "Metal Gear Solid (USA) (Disc 1) (v1.1)"
20:15:38:012 | MD |  WARNING  | +0     | 7z - romExtension changed from ".bin" to ".bin"
20:15:38:012 | MD |     INFO  | +0     | 7z - Ended
20:15:38:012 | MD |     INFO  | +0     | RomTableCheck - Started
20:15:38:025 | MD |     INFO  | +16    | CreateMGRomTable - Started
20:15:38:025 | MD |     INFO  | +0     | CreateRomTable - Started
20:15:38:025 | MD |     INFO  | +0     | CreateRomTable - Ended, 8 Loops to create table.
20:15:38:025 | MD |     INFO  | +0     | CreateMGRomTable - Ended
20:15:38:117 | MD |     INFO  | +94    | RomTableCheck - Ended
20:15:38:117 | MD |     INFO  | +0     | Module - Starting the HideGUIWindow timer to prevent them from showing
20:15:38:117 | MD |     INFO  | +0     | Module - Sending rom to emu directly as Virtual Drive is not enabled or .bin is not a supported Virtual Drive extension.
20:15:38:117 | MD |     INFO  | +0     | Run - Running: G:\Emulators\ePSXe200\ePSXe.exe -slowboot -loadiso "G:\Emulators\PS1 Games\Metal Gear Solid (USA) (Disc 1) (v1.1).bin"
20:15:38:125 | MD |     INFO  | +0     | Module - Metal Gear Solid (USA) (Disc 1) (v1.1) is a multi-disc game, so launching ePSXe with GUI enabled so swapping can occur.
20:15:38:125 | MD |     INFO  | +0     | WinWait - Waiting for "ePSXe ahk_class EPSXGUI"
20:15:38:290 | MD |     INFO  | +172   | Module - Telling ePSXe to run an ISO
20:15:38:290 | MD |     INFO  | +0     | Module - ePSXe GUI and DT support are both disabled. Loading rom via the Open PSX ISO window.
20:15:38:290 | MD |     INFO  | +0     | OpenROM - Started
20:15:38:290 | MD |     INFO  | +0     | WinWait - Waiting for "Open PSX ISO ahk_class #32770"
20:15:38:556 | MD |     INFO  | +265   | WinWaitActive - Waiting for "Open PSX ISO ahk_class #32770"
20:15:59:542 | MD |     INFO  | +20985 | 7zCleanUp - Started
20:15:59:542 | MD |     INFO  | +0     | 7zCleanUp - Deleted 
20:15:59:542 | MD |     INFO  | +0     | 7zCleanUp - Ended
20:16:04:404 | MD |    ERROR  | +4859  | ScriptError - Tried for 15 seconds to send the romName to ePSXe but was unsuccessful. Please try again with Fade and Bezel disabled and put the ePSXe in windowed mode to see if the problem persists.
20:16:04:405 | MD |     INFO  | +0     | ExitModule - Started
20:16:04:405 | MD |     INFO  | +0     | Starting Updating Statistics:
20:16:04:824 | MD |     INFO  | +422   | Game section statistics updated.
20:16:04:824 | MD |     INFO  | +0     | RunKeymapper - Started, using method "unload"
20:16:04:825 | MD |     INFO  | +0     | GetJoystickArray - Started
20:16:04:856 | MD |     INFO  | +31    | GetJoystickGUID - Started
20:16:04:856 | MD |     INFO  | +0     | GetJoystickGUID - Ended and found GUID: 106A126571FBE5118002444553540000
20:16:04:859 | MD |     INFO  | +0     | GetJoystickGUID - Started
20:16:04:859 | MD |     INFO  | +0     | GetJoystickGUID - Ended and found GUID: C0005B8429F9E5118001444553540000
20:16:04:859 | MD |     INFO  | +0     | GetJoystickArray - Ended
20:16:04:859 | MD |     INFO  | +0     | GetProfile - Loading Player 1 Profile -> G:\RocketLauncher\Profiles\joytokey\Hyperspin\Hyperspin.cfg
20:16:04:859 | MD |     INFO  | +0     | RunJoyToKey - Started
20:16:04:896 | MD |     INFO  | +47    | WinClose - Closing: JoyToKey ahk_class TMainForm
20:16:05:127 | MD |     INFO  | +234   | Process - WaitClose JoyToKey.exe 2
20:16:05:134 | MD |     INFO  | +0     | Run - Running: G:\hyperspin\Utilities\JoyToKey_en\JoyToKey.exe "G:\RocketLauncher\Profiles\joytokey\Hyperspin\Hyperspin.cfg"
20:16:05:182 | MD |     INFO  | +47    | RunJoyToKey - Ended
20:16:05:182 | MD |     INFO  | +0     | RunKeymapper - Ended
20:16:05:182 | MD |     INFO  | +0     | ExitModule - Ended
End of Module Logs
20:16:05:283 | RL |     INFO  | +28016 | Main - Module ended, exiting RocketLauncher normally
20:16:05:283 | RL |     INFO  | +0     | ExitScript - Started
20:16:05:287 | RL |     INFO  | +0     | ExitScript - Restoring RocketLauncherUI.exe to x5 y4 w h765
20:16:05:416 | RL |     INFO  | +125   | ExitScript - Restoring and Clicking RocketLauncherUI.exe to attempt to put it into focus
20:16:05:416 | RL |     INFO  | +0     | ExitScript - Checking what application is currently in focus.
20:16:05:416 | RL |     INFO  | +0     | ExitScript - Open PSX ISO is currently active. Putting focus back on RocketLauncherUI.exe with PID of 7140
20:16:05:536 | RL |    ERROR  | +125   | ExitScript - Timed out trying to put RocketLauncherUI.exe back in focus.
20:16:05:543 | RL |     INFO  | +0     | SystemCursor - Restoring mouse cursor
20:16:05:550 | RL |     INFO  | +15    | ExitScript - Restored cursor
[/code]

Posted

I may be wrong but RocketLauncher seems to be passing the bin file to ePSXe instead of the cue file, maybe that's possible I don't know. I have just run Lemmings on mine and it uses the cue file.

 

It also doesn't find a cue file only bin, so do you have it, perhaps it's because yours are not compressed and because of your extension order (bin|cue|ecm|zip|rar|7z) it is picking up bin first? 

Try changing the order so cue is first.

56uIzxg.png

Posted

Just tried changing the order so cue is first, did not make a difference. 

 

When it first started happening i was using .7z versions of the rom. I tried extracting them to see if it would make a difference, which it didnt. 

Posted

Yea ePSX2 2.0 . Been working fine for a few weeks. all other games work fine still. Just this one seems to not work. Even when i try and run it through a Backup of my RocketLauncher folder i made a week ago it gives the same error.

Posted

HI Agent47 ,

 

here is the log.

 

Its only happening on this particular game. All other PSX games launch fine through Hyperspin using ePSXe 2.0. 

12:03:41:425 | RL |     INFO  | +N/A   | Main - RocketLauncher v1.1.0.1 (www.rlauncher.com)
12:03:41:508 | RL |     INFO  | +78    | Main - System Specs:
					RocketLauncher Dir: G:\RocketLauncher
					RocketLauncher is: 32-bit
					OS: Microsoft Windows 8.1 Pro
					SKU: Professional
					Total Memory: 8086.02 MB
					Free Memory: 3728.29 MB
					Used Memory: 4357.727 MB
					SystemType: 64-bit
					Physical Processors: 1
					Logical Processors: 4
					GPU 1 Name: Intel(R) HD Graphics 4000
					GPU 1 RAM: -1984.00 MB
					GPU 1 Driver Version: 10.18.10.3958
					GPU 2 Name: NVIDIA GeForce GTX 970
					GPU 2 RAM: -1.00 MB
					GPU 2 Driver Version: 9.18.13.5286
					Sound 1 Device: NVIDIA High Definition Audio
					Sound 1 Status: Enabled
					Sound 2 Device: NVIDIA Miracast Audio
					Sound 2 Status: Enabled
					Sound 3 Device: Realtek High Definition Audio
					Sound 3 Status: Enabled
					Sound 4 Device: High Definition Audio Device
					Sound 4 Status: Enabled
					Sound 5 Device: NVIDIA Virtual Audio Device (Wave Extensible) (WDM)
					Sound 5 Status: Enabled
					OS Language: English_United_States
					System Locale: en-AU
					Formats Locale: en-AU
					Windows UI Language: en-US
					Text Encoding: Windows-1252
					OS Admin Status: No
					RL Compatibility Flags: 
					Latest .Net Version: v4.0.30319
					Monitor #1 (\\.\DISPLAY1): 1920x1080 (1920x1040 work) [32bit] [60hz] [Landscape]  (Primary)
					Current AHK Desktop Width: 1920
					Current AHK Desktop Height: 1080
					Monitor #1 DPI: 100
					AutoHotkey Path: 
					AHK Version: 1.1.09.04
					Unicode: No
12:03:41:508 | RL |     INFO  | +0     | CheckFile - Checking if G:\RocketLauncher\RocketLauncher.exe exists
12:03:41:509 | RL |     INFO  | +0     | Main - Raw CLI received: "Sony PlayStation Metal Gear Solid (USA) (Disc 1) (v1.1)"
12:03:41:509 | RL |     INFO  | +0     | Main - Loading Front End Plugin: "RocketLauncherUI"
12:03:41:509 | RL |     INFO  | +0     | Process.Process - "Exist" "RocketLauncherUI.exe" 
12:03:41:512 | RL |     INFO  | +0     | Main - RocketLauncherUI.exe is not currently running
12:03:41:512 | RL |     INFO  | +0     | Main - RocketLauncher received "Sony PlayStation" and "Metal Gear Solid (USA) (Disc 1) (v1.1)"
12:03:41:524 | RL |     INFO  | +16    | Main - Found a "Games Options.ini" file, loading it into memory.
12:03:41:524 | RL |     INFO  | +0     | Main - Metal Gear Solid (USA) (Disc 1) (v1.1) is using the default emulator: ePSXe
12:03:41:525 | RL |     INFO  | +0     | Main - Checking for a [ePSXe] section in G:\RocketLauncher\Settings\Sony PlayStation\Emulators.ini
12:03:41:525 | RL |     INFO  | +0     | Main - Found [ePSXe] in G:\RocketLauncher\Settings\Sony PlayStation\Emulators.ini
12:03:41:525 | RL |     INFO  | +0     | CheckFile - Checking if G:\RocketLauncher\Modules\ePSXe\ePSXe.ahk exists
12:03:41:528 | RL |     INFO  | +0     | Main - CRC Check - CRC matches, this is an official unedited module.
12:03:41:528 | RL |     INFO  | +0     | Main - Metal Gear Solid (USA) (Disc 1) (v1.1) will use module: G:\RocketLauncher\Modules\ePSXe\ePSXe.ahk
12:03:41:556 | RL |     INFO  | +31    | Main - Using standard method with "Rom Extension" SkipChecks or without any SkipChecks.
12:03:41:558 | RL |     INFO  | +0     | CheckFile - Checking if G:\Emulators\ePSXe200\ePSXe.exe exists
12:03:41:559 | RL |     INFO  | +0     | Main - INI Keys read
12:03:41:559 | RL |     INFO  | +0     | CheckFile - Checking if G:\RocketLauncher\Module Extensions\7z.exe exists
12:03:41:559 | RL |     INFO  | +0     | CheckFile - Checking if G:\RocketLauncher\Module Extensions\7z.dll exists
12:03:41:561 | RL |     INFO  | +0     | Main - "Metal Gear Solid (USA) (Disc 1) (v1.1)" qualifies for MultiGame.
12:03:41:561 | RL |     INFO  | +0     | CheckPaths - Started
12:03:41:562 | RL |     INFO  | +0     | CheckPaths - Looking for rom: G:\Emulators\PS1 Games\Metal Gear Solid (USA) (Disc 1) (v1.1).cue
12:03:41:576 | RL |     INFO  | +16    | CheckPaths - Found rom: G:\Emulators\PS1 Games\Metal Gear Solid (USA) (Disc 1) (v1.1).cue
12:03:41:576 | RL |     INFO  | +0     | CheckPaths - Ended
12:03:41:576 | RL |     INFO  | +0     | BuildScript - User Variables:
					;----------------------------------------------------------------------------
					; INJECTED VARIABLES
					;----------------------------------------------------------------------------
					
					#NoTrayIcon
					#InstallKeybdHook
					MiscUtils.DetectHiddenWindows("On")
					SetTitleMatchMode, 2
					SendMode, Event
					0 = 2
					pluginPath = G:\RocketLauncher\Plugins
					pluginName = RocketLauncherUI
					pluginExt = .plugin
					contextOnExit = 
					rlMode = 
					rlTitle = RocketLauncher
					rlVersion = 1.1.0.1
					rlAuthor = djvj
					rlURL = www.rlauncher.com
					langFile = G:\RocketLauncher\Data\Language\Localization.ini
					primMonitor = 1
					frontendPID = 0
					frontendPath = G:\RocketLauncher\RocketLauncherUI
					frontendExe = RocketLauncherUI.exe
					frontendExt = exe
					frontendName = RocketLauncherUI
					frontendDrive = G
					exitEmulatorKey = ~Esc
					restoreFE = Restore and Click
					exitScriptKey = ~q & ~s
					toggleCursorKey = ~e & ~t
					emuFullPath = G:\Emulators\ePSXe200\ePSXe.exe
					emuPath = G:\Emulators\ePSXe200
					emuName = ePSXe
					emuExt = exe
					baseRomPath = 
					romPath = G:\Emulators\PS1 Games
					romPathFromIni = G:\Emulators\PS1 Games
					romExtension = .cue
					romExtensionOrig = .cue
					romExtensions = cue|ecm|zip|rar|7z|bin
					executable = ePSXe.exe
					systemDbName = Sony PlayStation
					systemName = Sony PlayStation
					dbPath = 
					dbName = Metal Gear Solid (USA) (Disc 1) (v1.1)
					dbExt = 
					romName = Metal Gear Solid (USA) (Disc 1) (v1.1)
					romMapPath = 
					romMappingEnabled = false
					romMappingLaunchMenuEnabled = false
					romMappingFirstMatchingExt = false
					romMappingShowAllRomsInArchive = true
					romMappingNumberOfGamesByScreen = 7
					romMappingHideParent = false
					romMappingMenuWidth = 400
					romMappingMenuMargin = 65
					romMappingTextFont = Bebas Neue
					romMappingTextOptions = cFFFFFFFF r4 s60 Bold
					romMappingDisabledTextColor = ff888888
					romMappingTextSizeDifference = 7
					romMappingTextMargin = 15
					romMappingTitleTextFont = Bebas Neue
					romMappingTitleTextOptions = cFFFFFFFF r4 s90 Bold
					romMappingTitle2TextFont = Bebas Neue
					romMappingTitle2TextOptions = cFFFFFFFF r4 s22 Bold
					romMappingGameInfoTextFont = Bebas Neue
					romMappingGameInfoTextOptions = cFFFFFFFF r4 s22 Regular
					romMappingGameNameTextFont = Bebas Neue
					romMappingGameNameTextOptions = cFFFFFFFF r4 s40 Regular
					romMappingBackgroundBrush = aa000000
					romMappingColumnBrush = 33000000
					romMappingButtonBrush1 = 6f000000
					romMappingButtonBrush2 = 33000000
					romMappingBackgroundAlign = Stretch and Lose Aspect
					romMappingMenuFlagWidth = 55
					romMappingMenuFlagSeparation = 7
					romMappingDefaultMenuList = FullList
					romMappingSingleFilteredRomAutomaticLaunch = false
					altArchiveNameOnly = 
					altRomNameOnly = 
					altArchiveAndRomName = 
					altArchiveAndManyRomNames = 
					altRomNamesOnly = 
					romMapScenario = 
					skipchecks = false
					romMatchExt = false
					blockInputTime = 0
					blockInputFile = G:\RocketLauncher\Module Extensions\BlockInput.exe
					errorLevelReporting = false
					lockLaunch = false
					lockLaunchGame = 
					screenRotationAngle = 0
					screenRotationAngleGame = 
					setResolution = 
					logFile = 
					logLabel := ["    INFO"," WARNING","   ERROR","   DEBUG","   TRACE"]
					logLevel = 3
					logShowDebugConsole = false
					logIncludeModule = true
					logIncludeFileProperties = true
					logShowCommandWindow = false
					logCommandWindow = false
					rlDebugConsoleStdout = 
					sysLang = English_United_States
					sysType = 64-bit
					broadcastWindowTitle = 
					navUpKey = Up
					navDownKey = Down
					navLeftKey = Left
					navRightKey = Right
					navSelectKey = Enter
					navP2UpKey = Numpad8
					navP2DownKey = Numpad2
					navP2LeftKey = Numpad4
					navP2RightKey = Numpad6
					navP2SelectKey = NumpadEnter
					originalWidth = 1920
					originalHeight = 1080
					vdEnabled = false
					vdFullPath = 
					vdUseSCSI = true
					vdDriveLetter = 
					vdDriveLetterScsi = 
					vdAddDrive = true
					servoStikEnabled = false
					servoStikExitMode = false
					ledblinkyEnabled = false
					ledblinkySystemName = 
					ledblinkyFullPath = 
					ledblinkyProfilePath = G:\RocketLauncher\Profiles\LEDBlinky
					ledblinkyRLProfile = G:\RocketLauncher\Profiles\LEDBlinky\RocketLauncher
					winIPACFullPath = 
					ultraMapEnabled = false
					ultraMapFullPath = 
					emuIdleShutdown = 0
					launchPasswordHash = UpUpDownDownLeftRightLeftRight
					hideCursor = false
					hideEmu = false
					hideFE = false
					suspendFE = false
					fadeIn = false
					fadeInDuration = 500
					fadeInTransitionAnimation = DefaultAnimateFadeIn
					fadeInDelay = 0
					fadeInExitDelay = 0
					fadeOutExitDelay = 0
					fadeOut = false
					fadeOutExtraScreen = false
					fadeOutDuration = 500
					fadeOutTransitionAnimation = DefaultAnimateFadeOut
					fadeOutDelay = 0
					fadeLyrInterpolation = 7
					fadeMuteEmulator = false
					fadeUseBackgrounds = false
					fadeClickThrough = false
					fadeSounds = true
					fade7zProgressMode = extraction
					fadeWidthBaseRes = 1920
					fadeHeightBaseRes = 1080
					fadeLyr1Color = FF000000
					fadeLyr1AlignImage = Stretch and Lose Aspect
					fadeLyr2Pos = Stretch and Lose Aspect
					fadeLyr2X = 0
					fadeLyr2Y = 0
					fadeLyr2W = 
					fadeLyr2H = 
					fadeLyr2Adjust = 1
					fadeLyr2PicPad = 0
					fadeLyr2Prefix = Extra Layer 1 - Console
					fadeLyr3Pos = Center
					fadeLyr3X = 450
					fadeLyr3Y = 450
					fadeLyr3W = 
					fadeLyr3H = 
					fadeLyr3Adjust = 1
					fadeLyr3PicPad = 0
					fadeLyr3Speed = 750
					fadeLyr3Animation = DefaultFadeAnimation
					fadeLyr37zAnimation = DefaultFadeAnimation
					fadeLyr3Type = imageandbar
					fadeLyr3ImgFollow7zProgress = true
					fadeLyr3Repeat = 1
					fadeLyr3BackImageTransparency = 30
					fadeLyr3StaticPos = No Alignment
					fadeLyr3StaticX = 0
					fadeLyr3StaticY = 870|1575
					fadeLyr3StaticW = 
					fadeLyr3StaticH = 
					fadeLyr3StaticAdjust = 1
					fadeLyr3StaticPicPad = 0
					fadeLyr3StaticPrefix = Info Bar
					fadeLyr4Adjust = 1
					fadeLyr4X = 1792|952
					fadeLyr4Y = 891|1596
					fadeLyr4W = 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
					fadeProgressDuration = 0
					fadeBarBack = true
					fadeBarBackColor = FF555555
					fadeBarH = 30
					fadeBarR = 10
					fadeBarColor = DD00BFFF
					fadeBarHatchStyle = 8
					fadeBarPercentageText = true
					fadeBarInfoText = true
					fadeBarXOffset = 0
					fadeBarYOffset = 150
					fadeRomInfoDescription = filtered text
					fadeRomInfoSystemName = image
					fadeRomInfoYear = text with label
					fadeRomInfoDeveloper = text with label
					fadeRomInfoPublisher = text with label
					fadeRomInfoGenre = disabled
					fadeRomInfoRating = image
					fadeRomInfoOrder = Description|SystemName|Year|Developer|Genre|Rating|Publisher
					fadeRomInfoTextPlacement = User Defined
					fadeRomInfoTextMargin = 7
					fadeRomInfoText1Options = w1600|787 h90 x165 y870|1575 cFFE1E1E1 r4 s90 Left Regular
					fadeRomInfoText2Options = w400 x8 y15 cFF555555 r4 s60 Bold
					fadeRomInfoText3Options = w310 x165 y960|1665 cFFE1E1E1 r4 s66 Left Regular
					fadeRomInfoText4Options = w1305|492 h66 x460 y960|1665 cFFE1E1E1 r4 s66 Left Regular
					fadeRomInfoText5Options = cFF555555 r4 s42 Bold
					fadeRomInfoText6Options = h135 x15 y885|1590 cFFCFCFCA r4 s120 Regular
					fadeRomInfoText7Options = h135 x15 y885|1590 cFFCFCFCA r4 s120 Regular
					fadeStats_Number_of_Times_Played = text with label
					fadeStats_Last_Time_Played = text with label
					fadeStats_Average_Time_Played = text with label
					fadeStats_Total_Time_Played = text with label
					fadeStats_System_Total_Played_Time = text with label
					fadeStats_Total_Global_Played_Time = text with label
					fadeStatsInfoOrder = Number_of_Times_Played|Last_Time_Played|Average_Time_Played|Total_Time_Played|System_Total_Played_Time|Total_Global_Played_Time
					fadeStatsInfoTextPlacement = topRight
					fadeStatsInfoTextMargin = 7
					fadeStatsInfoText1Options = cFFB4B4B4 r4 s22 Bold
					fadeStatsInfoText2Options = cFFB4B4B4 r4 s22 Bold
					fadeStatsInfoText3Options = cFFB4B4B4 r4 s22 Bold
					fadeStatsInfoText4Options = cFFB4B4B4 r4 s22 Bold
					fadeStatsInfoText5Options = cFFB4B4B4 r4 s22 Bold
					fadeStatsInfoText6Options = cFFB4B4B4 r4 s22 Bold
					fadeText1X = 0
					fadeText1Y = 0
					fadeText1Options = cFFB4B4B4 r4 s30 Right Bold
					fadeText1 = Loading Game
					fadeText2X = 0
					fadeText2Y = 0
					fadeText2Options = cFFB4B4B4 r4 s30 Right Bold
					fadeText2 = Extraction Complete, Ready
					fadeText3 = Loading Game
					fadeText4 = Loading Complete
					fadeFont = Bebas Neue
					fadeSystemAndRomLayersOnly = false
					fadeExtractionTime = disabled
					fadeExtractionTimeTextX = 0
					fadeExtractionTimeTextY = 0
					fadeExtractionTimeTextOptions = cFF555555 r4 s20 Bold
					fadeInterruptKey = 
					detectFadeErrorEnabled = true
					fadeImgPath = G:\RocketLauncher\Media\Fade
					RLDataPath = G:\RocketLauncher\Data
					RLMediaPath = G:\RocketLauncher\Media
					RLErrSoundPath = G:\RocketLauncher\Media\Sounds\Error
					modulesPath = G:\RocketLauncher\Modules
					moduleFullName = G:\RocketLauncher\Modules\ePSXe\ePSXe.ahk
					moduleName = ePSXe
					modulePath = G:\RocketLauncher\Modules\ePSXe
					moduleExtension = ahk
					moduleExtensionsPath = G:\RocketLauncher\Module Extensions
					libPath = G:\RocketLauncher\Lib
					sevenZEnabled = true
					sevenZPath = G:\RocketLauncher\Module Extensions\7z.exe
					sevenZDllPath = G:\RocketLauncher\Module Extensions\7z.dll
					sevenZExtractPath = G:\TEMP
					sevenZExtractPathOrig = 
					sevenZAttachSystemName = false
					sevenZDelTemp = true
					sevenZFormats = .zip|.rar|.7z|.lzh|.gzip|.tar
					sevenZFormatsNoP = zip|rar|7z|lzh|gzip|tar
					sevenZFormatsRegEx = \.zip|\.rar|\.7z|\.lzh|\.gzip|\.tar
					7zExtractPath = G:\TEMP
					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 = 1
					mgValidTypes = \(Disc|\(Disk|\(Cart|\(Tape|\(Cassette|\(Part|\(Side
					mgOnLaunch = false
					pauseEnabled = false
					pauseKey = ~NumpadAdd
					pauseBackToMenuBarKey = X
					pauseZoomInKey = C
					pauseZoomOutKey = V
					pauseScreenshotKey = ~PrintScreen
					pauseHiToTextPath = G:\RocketLauncher\Module Extensions\HiToText.exe
					pauseSaveStateKeyCodes = 
					pauseLoadStateKeyCodes = 
					keyboardEncoder = 
					keyboardEncoderEnabled = false
					keymapperEnabled = true
					keymapperAHKMethod = false
					keymapper = joytokey
					xpadderFullPath = G:\hyperspin\Utilities\Xpadder.exe
					joyToKeyFullPath = G:\hyperspin\Utilities\JoyToKey_en\JoyToKey.exe
					profilePath = G:\RocketLauncher\Profiles
					keymapperProfilePath = G:\RocketLauncher\Profiles\joytokey
					keymapperFrontEndProfileName = Hyperspin
					keymapperFrontEndProfile = joytokey
					keymapperRocketLauncherProfileEnabled = true
					joyIDsEnabled = true
					joyIDsPreferredControllersGlobal = 
					joyIDsPreferredControllersSystem = use_global
					joyIDsPreferredControllersOnExit = 
					CustomJoyNamesEnabled = false
					CustomJoyNames = 
					rotateMethod = false
					FEProfile = G:\RocketLauncher\Profiles\joytokey\Hyperspin
					defaultProfile = G:\RocketLauncher\Profiles\joytokey\_Default
					systemProfile = G:\RocketLauncher\Profiles\joytokey\Sony PlayStation
					xPadderSystemProfile = G:\RocketLauncher\Profiles\joytokey\Sony PlayStation\_Default
					emuProfile = G:\RocketLauncher\Profiles\joytokey\Sony PlayStation\ePSXe
					romProfile = G:\RocketLauncher\Profiles\joytokey\Sony PlayStation\Metal Gear Solid (USA) (Disc 1) (v1.1)
					RocketLauncherProfile = G:\RocketLauncher\Profiles\joytokey\RocketLauncher
					blankProfile = G:\RocketLauncher\Profiles\joytokey\blank
					ahkFEProfile = G:\RocketLauncher\Profiles\AHK\Hyperspin
					ahkDefaultProfile = G:\RocketLauncher\Profiles\AHK\_Default
					ahkSystemProfile = G:\RocketLauncher\Profiles\AHK\Sony PlayStation
					ahkEmuProfile = G:\RocketLauncher\Profiles\AHK\Sony PlayStation\ePSXe
					ahkRomProfile = G:\RocketLauncher\Profiles\AHK\Sony PlayStation\Metal Gear Solid (USA) (Disc 1) (v1.1)
					ahkRocketLauncherProfile = G:\RocketLauncher\Profiles\AHK\RocketLauncher
					bezelEnabled = false
					bezelICEnabled = false
					shaderName = false
					shaderColor = 
					shaderTransparency = 
					shaderChangeKey = 
					statisticsEnabled = true
					pressDuration = -1
					emuVolume = 1
					dxwndIni = G:\RocketLauncher\Module Extensions\dxwnd\dxwnd.ini
					dxwndFullPath = G:\RocketLauncher\Module Extensions\dxwnd\dxwnd.exe
					qResFullPath = G:\RocketLauncher\Module Extensions\QRes.exe
					mon1O = 
					pacDrivedllFile = G:\RocketLauncher\Module Extensions\PacDrive32.dll
					userFadeAnimIniFile = G:\RocketLauncher\Lib\User Fade Animations.ini

12:03:41:577 | RL |     INFO  | +0     | BuildScript - Loaded XHotkey Init.ahk scripts
12:03:41:577 | RL |     INFO  | +0     | BuildScript - Loaded Keymapper Init.ahk scripts
12:03:41:577 | RL |     INFO  | +0     | BuildScript - Loaded Statistics Init.ahk scripts
12:03:41:577 | RL |  WARNING  | +0     | BuildScript - "G:\RocketLauncher\Lib\User Functions Init.ahk" not found
12:03:41:577 | RL |     INFO  | +0     | BuildScript - Validating module
12:03:41:579 | RL |     INFO  | +0     | BuildScript - Validation complete
12:03:41:579 | RL |     INFO  | +0     | BuildScript - Module:
					MEmu = ePSXe
					MEmuV =  v1.9.0
					MURL = http://www.epsxe.com/
					MAuthor = djvj,Shateredsoul,brolly,robbforce
					MVersion = 2.1.3
					MCRC = 1F6DC70F
					iCRC = 97B121A8
					MID = 635038268888210842
					MSystem = "Sony PlayStation"
					;----------------------------------------------------------------------------
					; Notes:
					; epsxe can't deal with bin/cue dumps with more than one audio track if you load the cue file directly.
					; For these to work you must mount the cue on Virtual Drive and let epsxe boot the game from there.
					; You need to make sure you have a SCSI virtual drive on Daemon Tools, NOT a DT one.
					; On first time use, 2 default memory card files will be created called _default_001.mcr and _default_002.mcr in emuPath\memcards
					;
					; Extract all your BIOS files to the bios subfolder. Then goto Config->Bios and select the bios you wish to use.
					;
					; Go to Config->Video then choose a plugin. Pete's OpenGL line is preffered
					; Click Configure (under video plugin) and choose fullscreen and set your desired resolution. Video options/results will vary based on the plugin you choose.
					;
					; If you are using images with multiple tracks, set your extension to cue (make sure all your cues are correctly pointing to their tracks).
					; Go to Config->Cdrom->Configure button and select the drive letter associated with your Virtual Drive virtual drive.
					;
					; ePSXe will ONLY close via Escape, it will bug out with all other forms of closing a normal program. Do not edit CloseProcess!
					;
					; TurboButton will only work with DX7 video plugin. Turbo key by Hypnoziz
					;
					; Requires at least Libs\Shared.ahk v1.1.3
					;
					; epsxe stores its settings in the registry @ HKEY_CURRENT_USER\Software\epsxe\config
					; plugins store their settings in the registry @ HKEY_CURRENT_USER\Software\Vision Thing\PSEmu Pro
					;----------------------------------------------------------------------------
					StartModule()
					BezelGUI()
					FadeInStart()
					
					settingsFile := modulePath . "\" . moduleName . ".ini"
					
					; Plugin settings are overridable per rom.
					GfxPlugin := IniReadCheck(settingsFile, "Settings|" . romName, "Graphics_Plugin","PeteOpenGL2",,1)	; Use the gfx plugin name
					HiresX := IniReadCheck(settingsFile, "Pete's OpenGL2 GPU Plugin|" . romName, "Internal_X_Resolution",0,,1)
					HiresY := IniReadCheck(settingsFile, "Pete's OpenGL2 GPU Plugin|" . romName, "Internal_Y_Resolution",0,,1)
					KeepRatio := IniReadCheck(settingsFile, "Pete's OpenGL2 GPU Plugin|" . romName, "Stretching_Mode",0,,1)
					NoRenderTexture := IniReadCheck(settingsFile, "Pete's OpenGL2 GPU Plugin|" . romName, "Render_Mode",0,,1)
					FilterType := IniReadCheck(settingsFile, "Pete's OpenGL2 GPU Plugin|" . romName, "Texture_Filtering",0,,1)
					HiResTextures := IniReadCheck(settingsFile, "Pete's OpenGL2 GPU Plugin|" . romName, "Hi-Res_Textures",0,,1)
					TWinShader := IniReadCheck(settingsFile, "Pete's OpenGL2 GPU Plugin|" . romName, "Pixel_Shader","false",,1)
					OffscreenDrawing := IniReadCheck(settingsFile, "Pete's OpenGL2 GPU Plugin|" . romName, "Offscreen_Drawing",0,,1)
					FrameTexType := IniReadCheck(settingsFile, "Pete's OpenGL2 GPU Plugin|" . romName, "Framebuffer_Effects",0,,1)
					FrameUpload := IniReadCheck(settingsFile, "Pete's OpenGL2 GPU Plugin|" . romName, "Framebuffer_Uploads",0,,1)
					ShaderDir := IniReadCheck(settingsFile, "Pete's OpenGL2 GPU Plugin|" . romName, "Shader_Dir",,,1)
					FullscreenShader := IniReadCheck(settingsFile, "Pete's OpenGL2 GPU Plugin|" . romName, "Fullscreen_Shader",0,,1)
					FSShaderLevel := IniReadCheck(settingsFile, "Pete's OpenGL2 GPU Plugin|" . romName, "Shader_Level",1,,1)
					
					Fullscreen := IniReadCheck(settingsFile, "Settings", "Fullscreen","true",,1)
					turboButton := IniReadCheck(settingsFile, "Settings", "turboButton","F12",,1)		; Key mapping for turbo button assignment
					slowBoot := IniReadCheck(settingsFile, "Settings", "slowBoot","false",,1)			; If true, force emulator to show bios screen at boot
					enableAnalog := IniReadCheck(settingsFile, "Settings|" . romName, "EnableAnalog","true",,1)	; If true, enables analog controls at start of game for you, so you don't have to press F5
					hideEpsxeGUIs := IniReadCheck(settingsFile, "Settings", "HideePSXeGUIs","true",,1)
					perGameMemCards := IniReadCheck(settingsFile, "Settings", "PerGameMemoryCards","true",,1)
					disableMemoryCard1 := IniReadCheck(settingsFile, romName, "DisableMemoryCard1","false",,1)	; If true, disables memory card 1 for this game. Some games may not boot if both memory cards are inserted.
					disableMemoryCard2 := IniReadCheck(settingsFile, romName, "DisableMemoryCard2","false",,1)	; If true, disables memory card 2 for this game. Some games may not boot if both memory cards are inserted.
					memCardPath := IniReadCheck(settingsFile, "Settings", "MemCardPath", emuPath . "\memcards",,1)
					memCardPath := AbsoluteFromRelative(emuPath, memCardPath)
					
					; dialogOpen := i18n("dialog.open")	; Looking up local translation
					dialogOpen := "Open"	; apparently ePSXe doesnt support multiple languages, forcing this until it does
					
					BezelStart()
					
					; Set the GPU plugin and it's settings.
					WriteReg("SZ", "epsxe\config", "VideoPlugin", "gpu" . GfxPlugin . ".dll")
					
					; TODO: The other video plugins might use the same settings and even if they don't, it probably won't hurt
					; to have these values in the registry for the selected plugin.
					; Only apply these settings if the user selected the OpenGL2 plugin.
					If (GfxPlugin = "PeteOpenGL2") {
						WriteReg("DWORD", "Vision Thing\PSEmu Pro\GPU\" . GfxPlugin, "HiresX", HiresX)
						WriteReg("DWORD", "Vision Thing\PSEmu Pro\GPU\" . GfxPlugin, "HiresY", HiresY)
						WriteReg("DWORD", "Vision Thing\PSEmu Pro\GPU\" . GfxPlugin, "KeepRatio", KeepRatio)
						WriteReg("DWORD", "Vision Thing\PSEmu Pro\GPU\" . GfxPlugin, "NoRenderTexture", NoRenderTexture)
						WriteReg("DWORD", "Vision Thing\PSEmu Pro\GPU\" . GfxPlugin, "FilterType", FilterType)
						WriteReg("DWORD", "Vision Thing\PSEmu Pro\GPU\" . GfxPlugin, "HiResTextures", HiResTextures)
						TWinShader := If TWinShader = "true" ? 1 : 0	; Convert texture shader bool into an int before writing to the registry
						WriteReg("DWORD", "Vision Thing\PSEmu Pro\GPU\" . GfxPlugin, "TWinShader", TWinShader)
						WriteReg("DWORD", "Vision Thing\PSEmu Pro\GPU\" . GfxPlugin, "OffscreenDrawing", OffscreenDrawing)
						WriteReg("DWORD", "Vision Thing\PSEmu Pro\GPU\" . GfxPlugin, "FrameTexType", FrameTexType)
						WriteReg("DWORD", "Vision Thing\PSEmu Pro\GPU\" . GfxPlugin, "FrameUpload", FrameUpload)
						
						; If the shader directory isn't set then disable the other shader settings if the fullscreen shader is 3 or 5.
						If (ShaderDir = "") {
							If (FullscreenShader in 3, 5) {
								WriteReg("DWORD", "Vision Thing\PSEmu Pro\GPU\" . GfxPlugin, "FullscreenShader", 0)
								WriteReg("DWORD", "Vision Thing\PSEmu Pro\GPU\" . GfxPlugin, "FSShaderLevel", 0)
							} Else {
								WriteReg("DWORD", "Vision Thing\PSEmu Pro\GPU\" . GfxPlugin, "FullscreenShader", FullscreenShader)
								WriteReg("DWORD", "Vision Thing\PSEmu Pro\GPU\" . GfxPlugin, "FSShaderLevel", FSShaderLevel)
							}
						} Else {
							ShaderDir := GetFullName(ShaderDir) . "\"
							; TODO: Should check that the shader folder/files exist.
							WriteReg("SZ", "Vision Thing\PSEmu Pro\GPU\" . GfxPlugin, "ShaderDir", ShaderDir)
							; TODO: Probably should check that FullscreenShader is set to 3 or 5.
							WriteReg("DWORD", "Vision Thing\PSEmu Pro\GPU\" . GfxPlugin, "FullscreenShader", FullscreenShader)
							WriteReg("DWORD", "Vision Thing\PSEmu Pro\GPU\" . GfxPlugin, "FSShaderLevel", FSShaderLevel)
					
							; Turn these settings off because they'll blur/alter the image before it gets to the shader.
							WriteReg("DWORD", "Vision Thing\PSEmu Pro\GPU\" . GfxPlugin, "FilterType", 0)
							WriteReg("DWORD", "Vision Thing\PSEmu Pro\GPU\" . GfxPlugin, "HiResTextures", 0)
							WriteReg("DWORD", "Vision Thing\PSEmu Pro\GPU\" . GfxPlugin, "FullscreenBlur", 0)
						}
					}
					
					; Changes fullscreen setting for the gpu plugin.
					If (Fullscreen = "true") {
						WriteReg("DWORD", "Vision Thing\PSEmu Pro\GPU\" . GfxPlugin, "WindowMode", 0)
					} Else {
						WriteReg("DWORD", "Vision Thing\PSEmu Pro\GPU\" . GfxPlugin, "WindowMode", 1)
					
						If (bezelEnabled = "true") {
							winSize := bezelScreenHeight * 65536 + bezelScreenWidth	; convert desired windowed resolution to Decimal
							WriteReg("DWORD", "Vision Thing\PSEmu Pro\GPU\" . GfxPlugin, "WinSize", winSize)
						}
					}
					
					; Memory Cards
					
					defaultMemCard1 := memCardPath . "\_default_001.mcr"	; defining default blank memory card for slot 1
					defaultMemCard2 := memCardPath . "\_default_002.mcr"	; defining default blank memory card for slot 2
					memCardName := If romTable[1,5] ? romTable[1,4] : romName	; defining rom name for multi disc rom
					romMemCard1 := memCardPath . "\" . memCardName . "_001.mcr"		; defining name for rom's memory card for slot 1
					romMemCard2 := memCardPath . "\" . memCardName . "_002.mcr"		; defining name for rom's memory card for slot 2
					memcardType := If perGameMemCards = "true" ? "rom" : "default"	; define the type of memory card we will create in the below loop
					If !FileExist(memCardPath)
						FileCreateDir, %memCardPath%	; create memcard folder if it doesn't exist
					Loop 2
					{	If !FileExist(%memcardType%MemCard%A_Index%)
						{	FileAppend,, % %memcardType%MemCard%A_Index%		; create a new blank memory card if one does not exist
							Log("Module - Created a new blank memory card in Slot " . A_Index . ":" . %memcardType%MemCard%A_Index%)
						}
						WriteReg("SZ", "epsxe\config", "Memcard" . A_Index, %memcardType%MemCard%A_Index%)
					
						; Now disable a memory card if required for the game to boot properly
						memcard%A_Index%Enable := ReadReg("epsxe\config", "Memcard" . A_Index . "Enable")
						If (disableMemoryCard%A_Index% = "true")
							WriteReg("SZ", "epsxe\config", "Memcard" . A_Index . "Enable", 0)
						Else
							WriteReg("SZ", "epsxe\config", "Memcard" . A_Index . "Enable", 1)
					}
					
					hideEmuObj := Object(dialogOpen . " PSX ISO ahk_class #32770",0,"ahk_class EPSXGUI",0,"ePSXe ahk_class EPSX",1)	; Hide_Emu will hide these windows. 0 = will never unhide, 1 = will unhide later
					7z(romPath, romName, romExtension, sevenZExtractPath)
					
					epsxeExtension := InStr(".ccd|.cue|.mds|.img|.iso|.pbp",romExtension)	; the psx extensions supported by the emu
					
					SetKeyDelay(50)
					; turboButton := xHotKeyVarEdit(turboButton,"turboButton","~","Add")
					xHotKeywrapper(turboButton,"TurboProcess")
					turboEnabled := 0				; Initialize turbo state
					
					RomTableCheck()	; make sure romTable is created already so the next line can calculate correctly
					noGUI := If romTable.MaxIndex() ? "" : " -nogui" ; multidisc games will not use nogui because we need to select an option in epsxe's gui to swap discs
					slowBoot := If slowBoot = "true" ? " -slowboot" : ""
					
					If (noGUI = "" && hideEpsxeGUIs = "true") {	; for multi disc games only
						Log("Module - Starting the HideGUIWindow timer to prevent them from showing")
						SetTimer, HideGUIWindow, 10	; start watching for gui window so it can be completely hidden
					}
					
					; Mount the CD using Virtual Drive
					If (epsxeExtension && vdEnabled = "true") {
						Log("Module - Virtual Drive is enabled and " . romExtension . " is a supported Virtual Drive extension")
					
						VirtualDrive("get")	; populates the vdDriveLetter variable with the drive letter to your scsi or dt virtual drive
						currentCDRomAscii := ReadReg("epsxe\config", "CdromLetter")	; read the current setting for ePSXe's cdrom it is using
						currentCDRomLetter := Chr(currentCDRomAscii)	; converts the ascii code to a letter
					
						If (currentCDRomLetter = "")
							Log("Module - " . MEmu . " is not configured with a CDRom Drive")
						Else If (currentCDRomAscii = 48)
							Log("Module - " . MEmu . " is configured to read from the FirstCdrom Drive and will be updated to a proper letter instead")
						Else
							Log("Module - " . MEmu . " is configured to read from Drive " . currentCDRomLetter . ":")
						
						If (currentCDRomLetter != vdDriveLetter) {
							newCDRomAscii := Asc(vdDriveLetter)	; converts the letter to an ascii code
							WriteReg("SZ", "epsxe\config", "CdromLetter", newCDRomAscii)
							Log("Module - Updated " . MEmu . " to use Drive " . vdDriveLetter . ": for all future launches.",2)
						} Else
							Log("Module - " . MEmu . " is configured to use the correct drive already")
					
						VirtualDrive("mount",romPath . "\" . romName . romExtension)
						HideEmuStart()	; This fully ensures windows are completely hidden even faster than winwait
						errorLvl := Run(executable . noGUI . slowBoot, emuPath)
						usedVD := 1
					} Else {
						If (romExtension = ".pbp") {
							Log("Module - Sending rom to emu directly with the load binary directive.")
							HideEmuStart()	; This fully ensures windows are completely hidden even faster than winwait
							errorLvl := Run(executable . noGUI . slowBoot . " -loadbin """ . romPath . "\" . romName . romExtension . """", emuPath)
						} Else {
							Log("Module - Sending rom to emu directly as Virtual Drive is not enabled or " . romExtension . " is not a supported Virtual Drive extension.")
							HideEmuStart()	; This fully ensures windows are completely hidden even faster than winwait
							errorLvl := Run(executable . noGUI . slowBoot . " -loadiso """ . romPath . "\" . romName . romExtension . """", emuPath)
						}
					}
					If errorLvl
						ScriptError("Error launching " . executable . "`, closing module.")
					
					epsxeLaunchType := If usedVD ? "CDROM" : "ISO"	; determines which command gets sent to epsxe
					
					If (noGUI = "") {	; for multi disc games only
						Log("Module - " . romName . " is a multi-disc game, so launching " . MEmu . " with GUI enabled so swapping can occur.")
						WinWait("ePSXe ahk_class EPSXGUI")
						If (epsxeLaunchType = "CDROM") {
							Log("Module - Telling ePSXe to run a CDROM")
							PostMessage, 0x111, 40001,,,ahk_class EPSXGUI	; Run CDROM
						} Else {
							Log("Module - Telling ePSXe to run an ISO")
							PostMessage, 0x111, 40003,,,ahk_class EPSXGUI	; Run ISO
						}
					} Else
						Log("Module - " . romName . " is not a multi-disc game, so launching " . MEmu . " with GUI disabled.")
					
					If (!usedVD && noGUI = "") {		; for some reason, epsxe still shows an open psx iso box even though it was provided on the run command when we don't also send -nogui. This handles loading the rom.
						Log("Module - " . MEmu . " GUI and DT support are both disabled. Loading rom via the Open PSX ISO window.")
						OpenROM(dialogOpen . " PSX ISO ahk_class #32770", romPath . "\" . romName . romExtension)
					}	
					
					WinWait("ePSXe ahk_class EPSX")
					WinWaitActive("ePSXe ahk_class EPSX")
					
					If (noGUI = "" && hideEpsxeGUIs = "true") {	; for multi disc games only
						Log("Module - Stopping the HideGUIWindow timer")
						SetTimer, HideGUIWindow, Off
					}
					
					BezelDraw()
					HideEmuEnd()
					FadeInExit()
					
					If (enableAnalog = "true")
					{	Sleep, 1500	; necessary otherwise epsxe doesn't register the key
						Send, {F5 down}{F5 up}
					}
					
					Process("WaitClose", executable)
					
					If usedVD
						VirtualDrive("unmount")
					
					7zCleanUp()
					BezelExit()
					FadeOutExit()
					ExitModule()
					
					
					ReadReg(var1, var2) {
						RegRead, regValue, HKEY_CURRENT_USER, Software\%var1%, %var2%
						Return %regValue%
					}
					
					WriteReg(type, var1, var2, var3) {
						RegWrite, REG_%type%, HKEY_CURRENT_USER, Software\%var1%, %var2%, %var3%
					}
					
					TurboProcess:
					    If (turboEnabled = 0) {
							Send, {Delete}{End}{End}{Delete}
							turboEnabled := 1
					    } Else {
							Send, {Delete}{End}{Delete}
							turboEnabled := 0
					    }
					Return
					
					HaltEmu:
						If turboButton
							XHotKeywrapper(turboButton,"TurboProcess","OFF")
						If (Fullscreen = "true")
						{	PostMessage, 0x111, 40001,,,ahk_class EPSXGUI	; Go fullscreen, same as alt+enter
							Sleep, 200
						}
					Return
					
					MultiGame:
						; msgbox % "selectedRom = " . selectedRom . "`nselected game = " . currentButton . "`nmgRomPath = " . mgRomPath . "`nmgRomExt = " . mgRomExt . "`nmgRomName = "  . mgRomName
						SetKeyDelay(50)
						If usedVD
						{	VirtualDrive("unmount")	; Unmount the CD from Virtual Drive
							Sleep, 500	; Required to prevent your Virtual Drive app from bugging
							VirtualDrive("mount",selectedRom)	; Mount the CD using Virtual Drive
						}
						ControlSend,, {ESC down}{ESC Up}, ahk_class EPSX	; this exits the game window and brings back ePSXe's gui menu window
						If (hideEpsxeGUIs = "true")
						{	Log("Module - Starting the HideGUIWindow timer to prevent them from showing")
							SetTimer, HideGUIWindow, 10
						}
					
						If (epsxeLaunchType = "CDROM") {
							Log("Module - Telling ePSXe to swap to another CDROM")
							PostMessage, 0x111, 40005,,,ahk_class EPSXGUI	; Change Disc CDROM
						} Else {
							Log("Module - Telling ePSXe to swap to another ISO")
							PostMessage, 0x111, 40006,,,ahk_class EPSXGUI	; Change Disc ISO
						}
					
						If usedVD
						{	WinWait("Change Disc Option ahk_class #32770")
							ControlSend,Button1,{Enter},Change Disc Option ahk_class #32770
						} Else {
							OpenROM(dialogOpen . " PSX ISO ahk_class #32770", selectedRom)
						}	
						If hideEpsxeGUIs := "true"
						{	Log("Module - Stopping the HideGUIWindow timer")
							SetTimer, HideGUIWindow, off
						}
						; If BezelEnabled
							; BezelDraw()
					Return
					
					RestoreEmu:
						WinActivate, ahk_id  %emulatorID%
						If (Fullscreen = "true")
							PostMessage, 0x111, 40001,,,ahk_class EPSXGUI	; Go fullscreen, same as alt+enter
						If turboButton
							XHotKeywrapper(turboButton,"TurboProcess","ON")
					Return
					
					HideGUIWindow:
						WinSet, Transparent, On, ePSXe ahk_class EPSXGUI
						WinSet, Transparent, On, Open PSX ISO ahk_class #32770	; when not using DT
						WinSet, Transparent, On, Change Disc Option ahk_class #32770	; when using DT
					Return
					
					CloseProcess:
						FadeOutStart()
						SetWinDelay, 50
						Log("Module - Sending Escape to close emulator")
						If (noGUI = "") {	; for multi disc games only
							PostMessage, 0x111, 40007,,,ahk_class EPSX	; Exit ePSXe, only works when guis are used though, basically when multigame supported games are launched
							WinWait("ePSXe ahk_class EPSXGUI")
							WinClose("ePSXe ahk_class EPSXGUI")
						} Else
							ControlSend,, {Esc down}{Esc up}, ePSXe ahk_class EPSX ; DO NOT CHANGE
					Return
					
					; PostMessage, 0x111, 40008,,,ahk_class EPSXGUI	; Continue
					; PostMessage, 0x111, 40009,,,ahk_class EPSXGUI	; Reset

12:03:41:594 | RL |     INFO  | +15    | BuildScript - Loaded Multi-Player scripts
12:03:41:595 | RL |     INFO  | +0     | BuildScript - Loaded Statistics.ahk script
12:03:41:595 | RL |  WARNING  | +0     | BuildScript - "G:\RocketLauncher\Lib\User Functions.ahk" not found
12:03:41:595 | RL |     INFO  | +0     | BuildScript - Finished injecting functions into module
12:03:41:602 | RL |     INFO  | +16    | Main - Module is built
12:03:41:602 | RL |     INFO  | +0     | CheckFile - Checking if G:\RocketLauncher\AutoHotkey.dll exists
12:03:41:603 | RL |     INFO  | +0     | Main - Starting timer to watch if Front End gets displaced and restore it if it does.
12:03:41:603 | RL |     INFO  | +0     | Main - Running module
12:03:41:747 | MD |     INFO  | +N/A   | Module initialized
12:03:41:770 | MD |     INFO  | +32    | LoadPreferredControllers - Started
12:03:41:770 | MD |     INFO  | +0     | GetJoystickArray - Started
12:03:41:781 | MD |     INFO  | +0     | GetJoystickGUID - Started
12:03:41:781 | MD |     INFO  | +0     | GetJoystickGUID - Ended and found GUID: 106A126571FBE5118002444553540000
12:03:41:782 | MD |     INFO  | +0     | GetJoystickGUID - Started
12:03:41:783 | MD |     INFO  | +0     | GetJoystickGUID - Ended and found GUID: C0005B8429F9E5118001444553540000
12:03:41:783 | MD |     INFO  | +0     | GetJoystickArray - Ended
12:03:41:783 | MD |     INFO  | +0     | LoadPreferredControllers - Sorting Currently Connected joysticks List to match the order of the Preferred Controller List
12:03:41:783 | MD |     INFO  | +0     | LoadPreferredControllers - Assigning the New Joystick IDs according to the preferred list for the active controllers
12:03:41:783 | MD |     INFO  | +0     | ChangeJoystickID - Started
12:03:41:783 | MD |     INFO  | +0     | ChangeJoystickID - Ended
12:03:41:783 | MD |     INFO  | +0     | ChangeJoystickID - Started
12:03:41:783 | MD |     INFO  | +0     | ChangeJoystickID - Ended
12:03:41:783 | MD |     INFO  | +0     | LoadPreferredControllers - Ended
12:03:41:783 | MD |     INFO  | +0     | CheckFile - Checking if G:\hyperspin\Utilities\JoyToKey_en\JoyToKey.exe exists
12:03:41:784 | MD |     INFO  | +0     | Keymapper - Loading joytokey
12:03:41:784 | MD |     INFO  | +0     | RunKeymapper - Started, using method "load"
12:03:41:784 | MD |     INFO  | +0     | GetJoystickArray - Started
12:03:41:807 | MD |     INFO  | +31    | GetJoystickGUID - Started
12:03:41:807 | MD |     INFO  | +0     | GetJoystickGUID - Ended and found GUID: 106A126571FBE5118002444553540000
12:03:41:808 | MD |     INFO  | +0     | GetJoystickGUID - Started
12:03:41:808 | MD |     INFO  | +0     | GetJoystickGUID - Ended and found GUID: C0005B8429F9E5118001444553540000
12:03:41:808 | MD |     INFO  | +0     | GetJoystickArray - Ended
12:03:41:808 | MD |     INFO  | +0     | GetProfile - Loading Player 1 Profile -> G:\RocketLauncher\Profiles\joytokey\Sony PlayStation\Sony PlayStation.cfg
12:03:41:808 | MD |     INFO  | +0     | RunJoyToKey - Started
12:03:41:808 | MD |     INFO  | +0     | WinClose - Closing: JoyToKey ahk_class TMainForm
12:03:42:042 | MD |     INFO  | +234   | Process - WaitClose JoyToKey.exe 2
12:03:42:045 | MD |     INFO  | +0     | Run - Running: G:\hyperspin\Utilities\JoyToKey_en\JoyToKey.exe "G:\RocketLauncher\Profiles\joytokey\Sony PlayStation\Sony PlayStation.cfg"
12:03:42:085 | MD |     INFO  | +47    | RunJoyToKey - Ended
12:03:42:085 | MD |     INFO  | +0     | RunKeymapper - Ended
12:03:42:085 | MD |     INFO  | +0     | StartModule - Started
12:03:42:085 | MD |     INFO  | +0     | StartModule - MEmu: ePSXe
					MEmuV: v1.9.0
					MURL: http://www.epsxe.com/
					MAuthor: djvj,Shateredsoul,brolly,robbforce
					MVersion: 2.1.3
					MCRC: 1F6DC70F
					iCRC: 97B121A8
					MID: 
					MSystem: "Sony PlayStation"
12:03:42:085 | MD |     INFO  | +0     | StartModule - You have a supported System Name for this module: "Sony PlayStation"
12:03:42:086 | MD |     INFO  | +0     | PluginInit - Started
12:03:42:086 | MD |     INFO  | +0     | CheckFile - Checking if G:\RocketLauncher\RocketLauncherUI\Databases\Sony PlayStation\Sony PlayStation.xml exists
12:03:42:086 | MD |  WARNING  | +0     | BuildDatabaseTable - Ended - no "Game Name" found. Assigning "Metal Gear Solid (USA) (Disc 1) (v1.1)" to the label "Name"
12:03:42:086 | MD |     INFO  | +0     | PluginInit - Ended
12:03:42:087 | MD |     INFO  | +0     | ModuleIniFileFinder.GetModuleIni - Creating new module ini object
12:03:42:087 | MD |     INFO  | +0     | ModuleIniFileFinder.GetModuleIni - Global module ini being used as it was found: G:\RocketLauncher\Modules\ePSXe\ePSXe.ini
12:03:42:088 | MD |     INFO  | +0     | StartModule - Ended
12:03:42:088 | MD |     INFO  | +0     | FadeApp - Hiding Frontend by making it transparent
12:03:42:117 | MD |     INFO  | +31    | CreateMGRomTable - Started
12:03:42:117 | MD |     INFO  | +0     | CreateRomTable - Started
12:03:42:144 | MD |     INFO  | +32    | CreateRomTable - Ended, 8 Loops to create table.
12:03:42:144 | MD |     INFO  | +0     | CreateMGRomTable - Ended
12:03:42:144 | MD |     INFO  | +0     | 7z - Started, received G:\Emulators\PS1 Games\Metal Gear Solid (USA) (Disc 1) (v1.1).cue. If rom is an archive, it will extract to G:\TEMP
12:03:42:144 | MD |  WARNING  | +0     | 7z - Unhandled scenario, please report this and post your troubleshooting log
12:03:42:144 | MD |     INFO  | +0     | 7z - This rom type does not need 7z: ".cue"
12:03:42:144 | MD |     INFO  | +0     | 7z - Starting non-7z FadeIn animation.
12:03:42:144 | MD |  WARNING  | +0     | 7z - romPath changed from "G:\Emulators\PS1 Games" to "G:\Emulators\PS1 Games"
12:03:42:144 | MD |  WARNING  | +0     | 7z - romName changed from "Metal Gear Solid (USA) (Disc 1) (v1.1)" to "Metal Gear Solid (USA) (Disc 1) (v1.1)"
12:03:42:144 | MD |  WARNING  | +0     | 7z - romExtension changed from ".cue" to ".cue"
12:03:42:144 | MD |     INFO  | +0     | 7z - Ended
12:03:42:144 | MD |     INFO  | +0     | RomTableCheck - Started
12:03:42:144 | MD |     INFO  | +0     | RomTableCheck - Ended
12:03:42:144 | MD |     INFO  | +0     | Module - Starting the HideGUIWindow timer to prevent them from showing
12:03:42:144 | MD |     INFO  | +0     | Module - Sending rom to emu directly as Virtual Drive is not enabled or .cue is not a supported Virtual Drive extension.
12:03:42:144 | MD |     INFO  | +0     | Run - Running: G:\Emulators\ePSXe200\ePSXe.exe -slowboot -loadiso "G:\Emulators\PS1 Games\Metal Gear Solid (USA) (Disc 1) (v1.1).cue"
12:03:42:192 | MD |     INFO  | +47    | Module - Metal Gear Solid (USA) (Disc 1) (v1.1) is a multi-disc game, so launching ePSXe with GUI enabled so swapping can occur.
12:03:42:192 | MD |     INFO  | +0     | WinWait - Waiting for "ePSXe ahk_class EPSXGUI"
12:03:42:316 | MD |     INFO  | +125   | Module - Telling ePSXe to run an ISO
12:03:42:316 | MD |     INFO  | +0     | Module - ePSXe GUI and DT support are both disabled. Loading rom via the Open PSX ISO window.
12:03:42:316 | MD |     INFO  | +0     | OpenROM - Started
12:03:42:316 | MD |     INFO  | +0     | WinWait - Waiting for "Open PSX ISO ahk_class #32770"
12:03:42:645 | MD |     INFO  | +328   | WinWaitActive - Waiting for "Open PSX ISO ahk_class #32770"
12:04:04:522 | MD |     INFO  | +21875 | 7zCleanUp - Started
12:04:04:522 | MD |     INFO  | +0     | 7zCleanUp - Deleted 
12:04:04:522 | MD |     INFO  | +0     | 7zCleanUp - Ended
12:04:07:045 | MD |    ERROR  | +2515  | ScriptError - Tried for 15 seconds to send the romName to ePSXe but was unsuccessful. Please try again with Fade and Bezel disabled and put the ePSXe in windowed mode to see if the problem persists.
12:04:07:045 | MD |     INFO  | +0     | ExitModule - Started
12:04:07:045 | MD |     INFO  | +0     | Starting Updating Statistics:
12:04:07:401 | MD |     INFO  | +360   | Game section statistics updated.
12:04:07:401 | MD |     INFO  | +0     | RunKeymapper - Started, using method "unload"
12:04:07:401 | MD |     INFO  | +0     | GetJoystickArray - Started
12:04:07:434 | MD |     INFO  | +31    | GetJoystickGUID - Started
12:04:07:434 | MD |     INFO  | +0     | GetJoystickGUID - Ended and found GUID: 106A126571FBE5118002444553540000
12:04:07:437 | MD |     INFO  | +0     | GetJoystickGUID - Started
12:04:07:437 | MD |     INFO  | +0     | GetJoystickGUID - Ended and found GUID: C0005B8429F9E5118001444553540000
12:04:07:437 | MD |     INFO  | +0     | GetJoystickArray - Ended
12:04:07:437 | MD |     INFO  | +0     | GetProfile - Loading Player 1 Profile -> G:\RocketLauncher\Profiles\joytokey\Hyperspin\Hyperspin.cfg
12:04:07:437 | MD |     INFO  | +0     | RunJoyToKey - Started
12:04:07:440 | MD |     INFO  | +0     | WinClose - Closing: JoyToKey ahk_class TMainForm
12:04:07:693 | MD |     INFO  | +266   | Process - WaitClose JoyToKey.exe 2
12:04:07:700 | MD |     INFO  | +0     | Run - Running: G:\hyperspin\Utilities\JoyToKey_en\JoyToKey.exe "G:\RocketLauncher\Profiles\joytokey\Hyperspin\Hyperspin.cfg"
12:04:07:745 | MD |     INFO  | +46    | RunJoyToKey - Ended
12:04:07:745 | MD |     INFO  | +0     | RunKeymapper - Ended
12:04:07:745 | MD |     INFO  | +0     | ExitModule - Ended
End of Module Logs
12:04:07:866 | RL |     INFO  | +26265 | Main - Module ended, exiting RocketLauncher normally
12:04:07:866 | RL |     INFO  | +0     | ExitScript - Started
12:04:07:879 | RL |     INFO  | +16    | SystemCursor - Restoring mouse cursor
12:04:07:887 | RL |     INFO  | +0     | ExitScript - Restored cursor
[/code]

Archived

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

×
×
  • Create New...