Jump to content
Download Section Back Up, Navigate the Right Hand Menu to find files, ignore the 0s

Hyperspin slow to launch PS2


drphilgood

Recommended Posts

Hey everyone I am in the process of setting up my PS2 wheel.  I have PCSX2.0 1.4.0 which runs fine stand alone.  I noticed that when launching the games through RL or HS the emulator takes several mins to load the game.  Approx 3-5 mins.  Once it finally loads the game the controller pad doesn't work neither.  If i open the emulator stand alone everything runs fine including the boot time and the controller.  Anybody with suggestions?  Thanks

Link to comment
Share on other sites


15:39:31:657 | RL |      INFO  | +N/A   | Main - RocketLauncher v1.1.1.1 (www.rlauncher.com)
15:39:31:832 | RL |      INFO  | +172   | Main - System Specs:
RocketLauncher Dir: C:\RocketLauncher
RocketLauncher is: 32-bit
OS: Microsoft Windows 7 Professional 
SKU: Professional
Total Memory: 6135.12 MB
Free Memory: 2934.43 MB
Used Memory: 3200.684 MB
SystemType: 64-bit
Physical Processors: 1
Logical Processors: 8
GPU 1 Name: AMD Radeon HD 5700 Series
GPU 1 RAM: 1024.00 MB
GPU 1 Driver Version: 15.200.1062.1004
Sound 1 Device: Realtek High Definition Audio
Sound 1 Status: Enabled
Sound 2 Device: AMD High Definition Audio Device
Sound 2 Status: Enabled
OS Language: English_United_States
System Locale: en-US
Formats Locale: en-US
Windows UI Language: en-US
Text Encoding: Windows-1252
OS Admin Status: No
RL Compatibility Flags:  HIGHDPIAWARE
Latest .Net Version: v4.0.30319
Monitor #1 (\\.\DISPLAY1): 1920x1080 (1920x1024 work) [32bit] [60hz] [Landscape]  (Primary)
Current AHK Desktop Width: 1920
Current AHK Desktop Height: 1080
Monitor #1 DPI: 150
ErrorMode: 0
AutoHotkey Path: 
AHK Version: 1.1.13.00
Unicode: No
15:39:31:832 | RL |      INFO  | +0     | CheckFile - Checking if C:\RocketLauncher\RocketLauncher.exe exists
15:39:31:833 | RL |      INFO  | +0     | Main - Raw CLI received: "-s Sony Playstation 2 -r Dragon Quest VIII - Journey of the Cursed King (USA) -f C:\Hyperspin\HyperSpin.exe -p HyperSpin -c 1 -o 1"
15:39:31:833 | RL |      INFO  | +0     | Main - Loading Front End Plugin: "HyperSpin"
15:39:31:833 | RL |      INFO  | +0     | Main - RocketLauncher received "Sony Playstation 2" and "Dragon Quest VIII - Journey of the Cursed King (USA)"
15:39:31:841 | RL |      INFO  | +15    | Main - Did not find a "C:\RocketLauncher\Settings\Sony Playstation 2\Game Options.ini" file, skipping any game-specific options.
15:39:31:841 | RL |      INFO  | +0     | Main - Dragon Quest VIII - Journey of the Cursed King (USA) is using the default emulator: PCSX2
15:39:31:841 | RL |      INFO  | +0     | Main - Checking for a [PCSX2] section in C:\RocketLauncher\Settings\Sony Playstation 2\Emulators.ini
15:39:31:841 | RL |      INFO  | +0     | Main - Checking for a [PCSX2] section in C:\RocketLauncher\Settings\Global Emulators.ini
15:39:31:842 | RL |      INFO  | +0     | Main - Found [PCSX2] in C:\RocketLauncher\Settings\Global Emulators.ini
15:39:31:842 | RL |      INFO  | +0     | CheckFile - Checking if C:\RocketLauncher\Modules\PCSX2\PCSX2.ahk exists
15:39:31:847 | RL |   WARNING  | +0     | Main - CRC Check - CRC does not match official module and will not be supported. Continue using at your own risk.
15:39:31:847 | RL |      INFO  | +0     | Main - Dragon Quest VIII - Journey of the Cursed King (USA) will use module: C:\RocketLauncher\Modules\PCSX2\PCSX2.ahk
15:39:31:851 | RL |   WARNING  | +16    | RIniLoadVar - Created missing Global ini key: "Fade_Click_Through " in section: "Fade" in "C:\RocketLauncher\Settings\Global RocketLauncher.ini"
15:39:31:851 | RL |   WARNING  | +0     | RIniLoadVar - Created missing System ini key: "Fade_Click_Through " in section: "Fade" in "C:\RocketLauncher\Settings\Sony Playstation 2\RocketLauncher.ini"
15:39:31:880 | RL |      INFO  | +16    | Main - Using standard method with "Rom Extension" SkipChecks or without any SkipChecks.
15:39:31:881 | RL |      INFO  | +0     | CheckFile - Checking if C:\PCSX2\pcsx2.exe exists
15:39:31:898 | RL |      INFO  | +31    | Main - INI Keys read
15:39:31:899 | RL |      INFO  | +0     | CheckFile - Checking if C:\RocketLauncher\Module Extensions\7z.exe exists
15:39:31:900 | RL |      INFO  | +0     | CheckFile - Checking if C:\RocketLauncher\Module Extensions\7z.dll exists
15:39:31:903 | RL |      INFO  | +0     | Main - "Dragon Quest VIII - Journey of the Cursed King (USA)" does not qualify for MultiGame. Only roms with any of these strings in their name are acceptable: \(Disc|\(Disk|\(Cart|\(Tape|\(Cassette|\(Part|\(Side
15:39:31:904 | RL |      INFO  | +0     | CheckPaths - Started
15:39:31:904 | RL |      INFO  | +0     | CheckPaths - Looking for rom: G:\Games\Sony Playstation 2\Dragon Quest VIII - Journey of the Cursed King (USA).7z
15:39:31:904 | RL |      INFO  | +0     | CheckPaths - Found rom: G:\Games\Sony Playstation 2\Dragon Quest VIII - Journey of the Cursed King (USA).7z
15:39:31:904 | RL |      INFO  | +0     | CheckPaths - Ended
15:39:31:904 | RL |      INFO  | +0     | BuildScript - User Variables:
;----------------------------------------------------------------------------
; INJECTED VARIABLES
;----------------------------------------------------------------------------
 
#NoTrayIcon
#InstallKeybdHook
MiscUtils.DetectHiddenWindows("On")
SetTitleMatchMode, 2
SendMode, Event
0 = 12
rlPath = C:\RocketLauncher
pluginPath = C:\RocketLauncher\Plugins
pluginName = HyperSpin
pluginExt = .plugin
contextOnExit = 1
rlMode = 
rlTitle = RocketLauncher
rlVersion = 1.1.1.1
rlAuthor = djvj
rlURL = www.rlauncher.com
langFile = C:\RocketLauncher\Data\Language\Localization.ini
primMonitor = 1
frontendPID = 
frontendPath = C:\Hyperspin
frontendExe = HyperSpin.exe
frontendExt = exe
frontendName = HyperSpin
frontendDrive = C
exitEmulatorKey = ~Esc
restoreFE = false
exitScriptKey = Q
toggleCursorKey = ~e & ~t
emuFullPath = C:\PCSX2\pcsx2.exe
emuPath = C:\PCSX2
emuName = PCSX2
emuExt = exe
baseRomPath = G:\Sony Playstation 2
romPath = G:\Games\Sony Playstation 2
romPathFromIni = G:\Games\Sony Playstation 2|G:\Sony Playstation 2
romExtension = .7z
romExtensionOrig = .7z
romExtensions = 7z|zip|cue|iso|iso.bz2|bin.bz2
executable = pcsx2.exe
systemDbName = Sony Playstation 2
systemName = Sony Playstation 2
dbPath = 
dbName = Dragon Quest VIII - Journey of the Cursed King (USA)
dbExt = 
romName = Dragon Quest VIII - Journey of the Cursed King (USA)
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 = true
blockInputTime = 0
blockInputFile = C:\RocketLauncher\Module Extensions\BlockInput.exe
errorLevelReporting = false
lockLaunch = false
lockLaunchGame = 
screenRotationAngle = 0
screenRotationAngleGame = 
setResolution = 
logFile = 
logLabel := ["    INFO"," WARNING","   ERROR","   DEBUG","   TRACE"]
logLevel = 3
logShowDebugConsole = false
logShowCommandWindow = false
logCommandWindow = false
logIncludeModule = true
logIncludeFileProperties = true
logIncludeDLLLogs = false
errorSounds = true
rlDebugConsoleStdout = 
sysLang = English_United_States
sysType = 64-bit
broadcastWindowTitle = 
navUpKey = Up
navDownKey = Down
navLeftKey = Left
navRightKey = Right
navSelectKey = Enter
navP2UpKey = Numpad8
navP2DownKey = Numpad2
navP2LeftKey = Numpad4
navP2RightKey = Numpad6
navP2SelectKey = NumpadEnter
originalWidth = 1920
originalHeight = 1080
vdEnabled = false
vdFullPath = 
vdUseSCSI = true
vdDriveLetter = 
vdDriveLetterScsi = 
vdAddDrive = true
demulShooterPath = 
servoStikEnabled = false
servoStikExitMode = false
ledblinkyEnabled = false
ledblinkySystemName = 
ledblinkyFullPath = 
ledblinkyProfilePath = C:\RocketLauncher\Profiles\LEDBlinky
ledblinkyRLProfile = C:\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|Manufacturer|Genre|Rating
fadeRomInfoTextPlacement = User Defined
fadeRomInfoTextMargin = 7
fadeRomInfoText1Options = w1600|787 h90 x165 y870|1575 cFFE1E1E1 r4 s90 Left Regular
fadeRomInfoText2Options = w400 x8 y15 cFF555555 r4 s60 Bold
fadeRomInfoText3Options = w310 x165 y960|1665 cFFE1E1E1 r4 s66 Left Regular
fadeRomInfoText4Options = w1305|492 h66 x460 y960|1665 cFFE1E1E1 r4 s66 Left Regular
fadeRomInfoText5Options = cFF555555 r4 s42 Bold
fadeRomInfoText6Options = h135 x15 y885|1590 cFFCFCFCA r4 s120 Regular
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 = C:\RocketLauncher\Media\Fade
RLDataPath = C:\RocketLauncher\Data
RLMediaPath = C:\RocketLauncher\Media
RLErrSoundPath = C:\RocketLauncher\Media\Sounds\Error
modulesPath = C:\RocketLauncher\Modules
moduleFullName = C:\RocketLauncher\Modules\PCSX2\PCSX2.ahk
moduleName = PCSX2
modulePath = C:\RocketLauncher\Modules\PCSX2
moduleExtension = ahk
moduleExtensionsPath = C:\RocketLauncher\Module Extensions
libPath = C:\RocketLauncher\Lib
sevenZEnabled = true
sevenZPath = C:\RocketLauncher\Module Extensions\7z.exe
sevenZDllPath = C:\RocketLauncher\Module Extensions\7z.dll
sevenZExtractPath = C:\TEMP GAMES HS
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 = C:\TEMP GAMES HS
mgEnabled = false
mgKey = ~NumpadSub
mgBackgroundColor = FF000000
mgSidePadding = 0.2
mgWidthBaseRes = 1920
mgHeightBaseRes = 1080
mgYOffset = 500|800
mgFont = Arial
mgText1Options = x10p y250|500 w80p Center cBBFFFFFF r4 s100 BoldItalic
mgText1Text = Please select a game
mgText2Options = w96p cFFFFFFFF r4 s50 Center BoldItalic
mgText2Offset = 100
mgUseSound = true
mgSoundfreq = 300
mgExitEffect = none
mgSelectedEffect = rotate
mgUseGameArt = false
mgCandidate = 
mgValidTypes = \(Disc|\(Disk|\(Cart|\(Tape|\(Cassette|\(Part|\(Side
mgOnLaunch = false
pauseEnabled = true
pauseKey = ~NumpadAdd
pauseBackToMenuBarKey = X
pauseZoomInKey = C
pauseZoomOutKey = V
pauseScreenshotKey = ~PrintScreen
pauseHiToTextPath = C:\RocketLauncher\Module Extensions\HiToText.exe
pauseSaveStateKeyCodes = {F1 down}{F1 up}
pauseLoadStateKeyCodes = {F3 down}{F3 up}
keyboardEncoder = 
keyboardEncoderEnabled = false
keymapperEnabled = true
keymapperAHKMethod = false
keymapper = joytokey
xpadderFullPath = C:\Utilities\Xpadder\xpadder.exe
joyToKeyFullPath = C:\RocketLauncher\Profiles\JoyToKey\JoyToKey.exe
profilePath = C:\RocketLauncher\Profiles
keymapperProfilePath = C:\RocketLauncher\Profiles\joytokey
keymapperFrontEndProfileName = HyperSpin
keymapperFrontEndProfile = joytokey
keymapperRocketLauncherProfileEnabled = true
joyIDsEnabled = true
joyIDsPreferredControllersGlobal = 
joyIDsPreferredControllersSystem = use_global
joyIDsPreferredControllersOnExit = 
CustomJoyNamesEnabled = false
CustomJoyNames = 
rotateMethod = false
FEProfile = C:\RocketLauncher\Profiles\joytokey\HyperSpin
defaultProfile = C:\RocketLauncher\Profiles\joytokey\_Default
systemProfile = C:\RocketLauncher\Profiles\joytokey\Sony Playstation 2
xPadderSystemProfile = C:\RocketLauncher\Profiles\joytokey\Sony Playstation 2\_Default
emuProfile = C:\RocketLauncher\Profiles\joytokey\Sony Playstation 2\PCSX2
romProfile = C:\RocketLauncher\Profiles\joytokey\Sony Playstation 2\Dragon Quest VIII - Journey of the Cursed King (USA)
RocketLauncherProfile = C:\RocketLauncher\Profiles\joytokey\RocketLauncher
blankProfile = C:\RocketLauncher\Profiles\joytokey\blank
ahkFEProfile = C:\RocketLauncher\Profiles\AHK\HyperSpin
ahkDefaultProfile = C:\RocketLauncher\Profiles\AHK\_Default
ahkSystemProfile = C:\RocketLauncher\Profiles\AHK\Sony Playstation 2
ahkEmuProfile = C:\RocketLauncher\Profiles\AHK\Sony Playstation 2\PCSX2
ahkRomProfile = C:\RocketLauncher\Profiles\AHK\Sony Playstation 2\Dragon Quest VIII - Journey of the Cursed King (USA)
ahkRocketLauncherProfile = C:\RocketLauncher\Profiles\AHK\RocketLauncher
bezelEnabled = false
bezelICEnabled = false
shaderName = false
shaderColor = 
shaderTransparency = 
statisticsEnabled = true
pressDuration = -1
emuVolume = 1
dxwndIni = C:\RocketLauncher\Module Extensions\dxwnd\dxwnd.ini
dxwndFullPath = C:\RocketLauncher\Module Extensions\dxwnd\dxwnd.exe
qResFullPath = C:\RocketLauncher\Module Extensions\QRes.exe
mon1O = 
pacDrivedllFile = C:\RocketLauncher\Module Extensions\PacDrive32.dll
userFadeAnimIniFile = C:\RocketLauncher\Lib\User Fade Animations.ini
testFile = 
testDuration = 
initialErrorMode = 0
 
15:39:31:905 | RL |      INFO  | +0     | BuildScript - Loaded XHotkey Init.ahk scripts
15:39:31:906 | RL |      INFO  | +0     | BuildScript - Loaded Keymapper Init.ahk scripts
15:39:31:906 | RL |      INFO  | +0     | BuildScript - Loaded Pause Init.ahk scripts
15:39:31:906 | RL |      INFO  | +0     | BuildScript - Loaded Statistics Init.ahk scripts
15:39:31:906 | RL |   WARNING  | +0     | BuildScript - "C:\RocketLauncher\Lib\User Functions Init.ahk" not found
15:39:31:906 | RL |      INFO  | +0     | BuildScript - Validating module
15:39:31:910 | RL |      INFO  | +0     | BuildScript - Validation complete
15:39:31:910 | RL |      INFO  | +0     | BuildScript - Module:
MEmu = PCSX2
MEmuV = 1.5.0-dev-263
MURL = http://pcsx2.net/
MAuthor = djvj
MVersion = 2.2.1
MCRC = 5E3D250C
iCRC = 65DD0603
MID = 635038268913291718
MSystem = "Sony PlayStation 2"
;----------------------------------------------------------------------------
; Notes:
; This module has many settings that can be controlled via RocketLauncherUI
; If you want to customize settings per game, add the game to the module's ini using RocketLauncherUI
; If you use Daemon Tools, make sure you have a SCSI virtual drive setup. Not a DT one.
; Tested Virtual Drive support with the cdvdGigaherz CDVD plugin. Make sure you set it to use your SCSI Virtual Drive letter.
; If the incorrect drive is used, the emu will boot to the bios screen and emu will hang in your running processes on exit and require it to be force closed
; Module will set the CdvdSource to Plugin or Iso depending on if you have Virtual Drive enabled or not.
; If you have any problems closing the emulator, make sure noGUI module setting in RocketLauncherUI is set to default or false.
; Most stable bios is Japan v01.00(17/01/2000)
;
; Per-game memory cards
; This module supports per-game memory cards to prevent them from ever becoming full
; To use this feature, set the PerGameMemoryCards to true in RocketLauncherUI
; You need to create a default blank memory card in the path you have defined in pcsx's ini found in section [Folders], key MemoryCards.
; Make sure one of the current memory cards are blank, then copy it in that folder and rename it to "default.ps2". The module will copy this file to a romName.ps2 for each game launched.
; The module will only insert memory cards into Slot 1. So save your games there.
;
; Linuz cdvd plugin stores its settings in the registry @ HKEY_CURRENT_USER\Software\PS2Eplugin\CDVD\CDVDiso
;
; v1.4.0 setup guide:

;
; Run pcsx2 with the --help option to see current CLI parameters
; Known CLI options not currently supported by this module:
;  --console         forces the program log/console to be visible
;  --portable       enables portable mode operation (requires admin/root access)
;  --elf=<str>       executes an ELF image
;  --forcewiz       forces PCSX2 to start the First-time Wizard
;----------------------------------------------------------------------------
StartModule()
BezelGUI()
FadeInStart()
 
primaryExe := new Emulator(emuPath . "\" . executable) ; instantiate emulator executable object
emuPrimaryWindow := new Window(new WindowTitle("","wxWindowNR"),"","","PCSX2") ; instantiate primary emulator window object
emuGUIWindow := new Window(new WindowTitle("PCSX2","wxWindowNR"))
emuLoadingWindow := new Window(new WindowTitle("Speed","wxWindowNR"),"","PCSX2")
emuBootingWindow := new Window(new WindowTitle("Booting","wxWindowNR"))
 
Fullscreen := moduleIni.Read("Settings", "Fullscreen","true","",1)
AspectRatio := moduleIni.Read(romName . "|Settings", "AspectRatio","4:3","",1)
noGUI := moduleIni.Read("Settings", "noGUI","false","",1) ; disables display of the gui while running games
perGameMemCards := moduleIni.Read("Settings", "PerGameMemoryCards","false","",1)
hideConsole := moduleIni.Read("Settings", "HideConsole","true","",1) ; Hides console window from view if it shows up
cfgPath := moduleIni.Read("Settings", "cfgpath", emuPath . "\Game Configs","",1) ; specifies the config folder; applies to pcsx2 + plugins
autoCreateINIDir := moduleIni.Read("Settings", "AutoCreateINIDir","false","",1)  ; Enables the module to auto-create of per game ini files and directories
defaultINISPath := moduleIni.Read("Settings", "DefaultINISPath","","",1)  ; Path to default INIS folder of PCSX2.
fullboot := moduleIni.Read(romName . "|Settings", "fullboot","false","",1) ; disables the quick boot feature, forcing you to sit through the PS2 startup splash screens
gs := moduleIni.Read(romName . "|Settings", "gs","","",1) ; override for the GS plugin
pad := moduleIni.Read(romName . "|Settings", "pad","","",1) ; override for the PAD plugin
spu2 := moduleIni.Read(romName . "|Settings", "spu2","","",1) ; override for the SPU2 plugin
cdvd := moduleIni.Read(romName, "cdvd","","",1) ; override for the CDVD plugin
usb := moduleIni.Read(romName . "|Settings", "usb","","",1) ; override for the USB plugin
fw := moduleIni.Read(romName . "|Settings", "fw","","",1) ; override for the FW plugin
dev9 := moduleIni.Read(romName . "|Settings", "dev9","","",1) ; override for the DEV9 plugin
vdOveride := moduleIni.Read(romName, "VDOveride","","",1)
nohacks := moduleIni.Read(romName, "nohacks","false","",1) ; disables all speedhacks
gamefixes := moduleIni.Read(romName, "gamefixes","","",1) ; Enable specific gamefixes for this session. Use the specified comma or pipe-delimited list of gamefixes: VuAddSub,VuClipFlag,FpuCompare,FpuMul,FpuNeg,EETiming,SkipMpeg,OPHFlag,DMABusy,VIFFIFO,VI,FMVinSoftware
 
; GS plugin settings, primarily to fix upscaling issues in games. Game specific settings can be found here: http://www.neogaf.com/forum/showpost.php?p=27110555&postcount=2
userHacks_MSAA := If moduleIni.Read(romName, "MSAA",0,"",1) ; Applies hardware anti-aliasing
userHacks_SkipDraw := moduleIni.Read(romName, "Skipdraw",0,"",1) ; Can remove ghost images
userHacks_HalfPixelOffset := If moduleIni.Read(romName, "Half-pixel_Offset",0,"",1) ; Fixes blur or halo effects
userHacks_WildHack := If moduleIni.Read(romName, "Wild_Arms_Offset",0,"",1) ; Fixes fonts in many games
userHacks_unsafe_fbmask := If moduleIni.Read(romName, "Fast_Accurate_Blending",0,"",1) ; Accelerates blending operations, speeds up Xenosaga
userHacks_AlphaStencil := If moduleIni.Read(romName, "Alpha_Stencil",0,"",1) ; May improve drawing shadows
userHacks_align_sprite_X := If moduleIni.Read(romName, "Align_Sprite",0,"",1) ; Fixes issues with vertical lines in Ace Combat, Tekken, Soul Calibur
userHacks_AlphaHack := If moduleIni.Read(romName, "Alpha",0,"",1) ; Improves drawing fog-like effects
preload_frame_with_gs_data := If moduleIni.Read(romName, "Preload_Data_Frame",0,"",1) ; Fixes black screen issues in Armored Core: Last Raven
userHacks_round_sprite_offset := moduleIni.Read(romName, "Round_Sprite",0,"",1) ; Fixes lines in sprites in Ar tonelico
userHacks_SpriteHack := moduleIni.Read(romName, "Sprite",0,"",1) ; Fixes inner lines in sprites in Mana Khemia, Ar tonelico, Tales of Destiny
userHacks_TCOffset := moduleIni.Read(romName, "TC_Offset",0,"",1) ; Fixes misaligned textures in Persona 3, Haunting Ground, Xenosaga
; Set the userHacks variable to 1 if any of the hacks are used.
userHacks := If (userHacks_MSAA || userHacks_SkipDraw || userHacks_HalfPixelOffset || userHacks_WildHack || userHacks_unsafe_fbmask || userHacks_AlphaStencil || userHacks_align_sprite_X || userHacks_AlphaHack || preload_frame_with_gs_data || userHacks_round_sprite_offset || userHacks_SpriteHack || userHacks_TCOffset) ? 1 : ""
 
cfgPath := new Folder(GetFullName(cfgPath))
If !cfgPath.Exist()
cfgPath.CreateDir() ; create the cfg folder if it does not exist
 
; PCSX2_ui.ini = default ini that contains memory card info and general settings
portableIni := new File(emuPath . "\portable.ini")
If portableIni.Exist() { ; portable install
RLLog.Info("Module - PCSX2 is operating in a portable mode")
pcsx2IniFolder := emuPath . "\inis_1.4.0"
pcsx2_GS_IniFile := CheckFile(emuPath . "\inis_1.4.0\GSdx.ini", "Could not find the default GSdx.ini file. Please manually run and configure PCSX2 first so this file is created with all your default settings.")
} Else { ; default not portable install
RLLog.Info("Module - PCSX2 is operating in a standard installation mode")
pcsx2IniFolder := Registry.Read("HKCU", "Software\PCSX2", "SettingsFolder")
}
pcsx2Ini := new IniFile(pcsx2IniFolder . "\PCSX2_ui.ini")
pcsx2Ini.CheckFile("Could not find the default PCSX2_ui.ini file. Please manually run and configure PCSX2 first so this file is created with all your default settings.")
pcsx2GSdxIni := new IniFile(pcsx2IniFolder . "\GSdx.ini")
pcsx2GSdxIni.CheckFile("Could not find the default GSdx.ini file. Please manually run and configure PCSX2 first so this file is created with all your default settings.")
pcsx2IniFolder := new Folder(pcsx2IniFolder)
 
; Create INIs subfolder for the game if it does not exist and if AutoCreateINIDir is true
perGameINIPath := new Folder(cfgPath.FileFullPath . "\" . romName)
If (autoCreateINIDir = "true") {
RLLog.Info("Module - PerGameIni - perGameINIPath = " . perGameINIPath.FileFullPath)
If !perGameINIPath.Exist() {
perGameINIPath.CreateDir()
If (defaultINISPath != "") {
defaultINISPath := new Folder(defaultINISPath)
RLLog.Info("Module - PerGameIni - perGameINIPath does not exist.  So we will create it at " . perGameINIPath.FileFullPath)
RLLog.Info("Module - PerGameIni - Now copying the ini files from " . defaultINISPath.FileFullPath . " to " . perGameINIPath.FileFullPath)
defaultINISPath.Copy(perGameINIPath.FileFullPath,0,"\*.ini")
} Else {
RLLog.Info("Module - PerGameIni - perGameINIPath does not exist.  So we will create it at " . perGameINIPath.FileFullPath)
RLLog.Info("Module - PerGameIni - Now copying the ini files from " . pcsx2IniFolder.FileFullPath . " to " . perGameINIPath.FileFullPath)
pcsx2IniFolder.Copy(perGameINIPath.FileFullPath,0,"\*.ini")
}
}
}
 
BezelStart()
 
Fullscreen := If Fullscreen = "true" ? " --fullscreen" : ""
noGUI := If noGUI = "true" ? " --nogui" : ""
If (noGUI != "")
RLLog.Warning("Module - noGUI is set to true, THIS MAY PREVENT PCSX2 FROM CLOSING PROPERLY. If you have any issues, set it to false or default in RocketLauncherUI.")
fullboot := If fullboot = "true" ? " --fullboot" : ""
nohacks := If nohacks = "true" ? " --nohacks" : ""
gamefixes := If gamefixes ? " --gamefixes=" . gamefixes : ""
gs := If gs ? " --gs=""" . GetFullName(gs) . """" : ""
pad := If pad ? " --pad=""" . GetFullName(pad) . """" : ""
spu2 := If spu2 ? " --spu2=""" . GetFullName(spu2) . """" : ""
usb := If usb ? " --usb=""" . GetFullName(usb) . """" : ""
fw := If fw ? " --fw=""" . GetFullName(fw) . """" : ""
dev9 := If dev9 ? " --dev9=""" . GetFullName(dev9) . """" : ""
 
; cfgRomPath := new File(cfgPath . "\" . romName)
cfgPathCLI := If perGameINIPath.Exist() ? " --cfgpath=""" . perGameINIPath.FileFullPath . """" : ""
 
; Specify what main ini PCSX2 should use
pcsx2GameIni := new File(perGameINIPath.FileFullPath . "\PCSX2_ui.ini")
If (cfgPathCLI && pcsx2GameIni.Exist()) {
;We can't set both cfgpath and cfg CLI switches, so if only PCSX2_ui.ini file exists we use cfg otherwise we use cfgpath
;--cfg specifies a custom configuration file to use instead of PCSX2.ini (does not affect plugins)
filecount := 0 
Loop % perGameINIPath.FileFullPath . "\*.ini"
filecount++
If (filecount = 1)
{
;Only PCSX2_ui.ini found
pcsx2IniFile := pcsx2GameIni
RLLog.Info("Module - Found a game-specific PCSX2_ui.ini in the cfgPath. Telling PCSX2 to use this one instead: " . pcsx2IniFile.FileFullPath)
cfg := " --cfg=""" . pcsx2IniFile.FileFullPath . """"
cfgPathCLI := ""
}
}
RLLog.Info("Module - " . (If cfgPathCLI != "" ? "Setting PCSX2's config path to """ . perGameINIPath.FileFullPath . """" : "Using PCSX2's default configuration folder: """ . pcsx2IniFolder.FileFullPath . """"))
 
; Update the aspect ratio if the user selected one.
If AspectRatio {
   pcsx2Ini.Write(AspectRatio, "GSWindow", "AspectRatio") ; Write the aspect ratio value to the pcsx2Ini.
}
 
; Update the GS plugin settings if hacks were selected.
If userHacks {
RLLog.Info("Module - UserHacks are being used. Updating GSdx.ini")
pcsx2GSdxIni.Write(userHacks, "Settings", "UserHacks")
pcsx2GSdxIni.Write(userHacks_MSAA, "Settings", "UserHacks_MSAA")
pcsx2GSdxIni.Write(userHacks_SkipDraw, "Settings", "UserHacks_SkipDraw")
pcsx2GSdxIni.Write(userHacks_HalfPixelOffset, "Settings", "UserHacks_HalfPixelOffset")
pcsx2GSdxIni.Write(userHacks_WildHack, "Settings", "UserHacks_WildHack")
pcsx2GSdxIni.Write(userHacks_unsafe_fbmask, "Settings", "UserHacks_unsafe_fbmask")
pcsx2GSdxIni.Write(userHacks_AlphaStencil, "Settings", "UserHacks_AlphaStencil")
pcsx2GSdxIni.Write(userHacks_align_sprite_X, "Settings", "UserHacks_align_sprite_X")
pcsx2GSdxIni.Write(userHacks_AlphaHack, "Settings", "UserHacks_AlphaHack")
pcsx2GSdxIni.Write(preload_frame_with_gs_data, "Settings", "preload_frame_with_gs_data")
pcsx2GSdxIni.Write(userHacks_round_sprite_offset, "Settings", "UserHacks_round_sprite_offset")
pcsx2GSdxIni.Write(userHacks_SpriteHack, "Settings", "UserHacks_SpriteHack")
pcsx2GSdxIni.Write(userHacks_TCOffset, "Settings", "UserHacks_TCOffset")
} Else {
; Make sure hacks are disabled.
pcsx2GSdxIni.Write(UserHacks, "Settings", "UserHacks")
}
 
; Memory Cards
If (perGameMemCards = "true")
{ currentMemCard1 := pcsx2Ini.Read("MemoryCards", "Slot1_Filename")
memCardPath := pcsx2Ini.Read("Folders", "MemoryCards") ; folder where memory cards are stored
memCardPathLeft := StringUtils.SubStr(memCardPath,1,3) ; get left 3 characters
memCardPathIsAbsolute := If (StringUtils.RegExMatch(memCardPathLeft, "[a-zA-Z]:\\") && (StringUtils.StringLength(memCardPath) >= 3)) ; this is 1 only when path looks like this "C:\"
memCardPath := If memCardPathIsAbsolute ? memCardPath : emuPath . "\" . memCardPath ; if only a folder name is defined for the memory card path, tack on the emuPath to find the memory cards, otherwise leave the full path as is
defaultMemCard := new File(memCardPath . "\default.ps2") ; defining default blank memory card for slot 1
RLLog.Info("Module - Default memory card for Slot 1 should be: " . defaultMemCard.FileFullPath)
romMemCard1 := new File(memCardPath . "\" . romName . ".ps2") ; defining name for rom's memory card for slot 1
RLLog.Info("Module - Rom memory card for Slot 1 should be: " . romMemCard1.FileFullPath)
RLLog.Info("Module - Current memory card inserted in PCSX2's ini in Slot 1 is: " . currentMemCard1.FileFullPath)
 
If (currentMemCard1 != romName . ".ps2") { ; if current memory card in slot 1 does not match this romName, switch to one that does if exist or load a default one
If !romMemCard1.Exist() ; first check if romName.ps2 memory card exists
If !defaultMemCard.Exist()
RLLog.Error("Module - A default memory card for Slot 1 was not found in """ . memCardPath . """. Please create an empty memory card called ""default.ps2"" in this folder for per-game memory card support.")
Else {
defaultMemCard.Copy(romMemCard1.FileFullPath) ; create a new blank memory card for this game
RLLog.Info("Module - Creating a new blank memory card for this game in Slot 1: " . romMemCard1.FileFullPath)
}
pcsx2Ini.Write(romName . ".ps2", "MemoryCards", "Slot1_Filename") ; update the ini to use this rom's card
RLLog.Info("Module - Switched memory card in Slot 1 to: " . romMemCard1.FileFullPath)
}
}
 
hideEmuObj := Object(emuBootingWindow,0,emuGUIWindow,0,emuPrimaryWindow,1)
7z(romPath, romName, romExtension, SevenZExtractPath)
 
pcsx2Ini := LoadProperties(pcsx2IniFile.FileFullPath) ; load the config into memory
dvdSource := ReadProperty(pcsx2Ini,"CdvdSource") ; read value
 
If (vdEnabled != "true" && romExtension = ".cue") {
RLLog.Warning("Module - Virtual Drive is disabled but you supplied a .cue as your rom which is not supported by PCSX2")
pcsx2GameBin := new File(romPath . "\" . romName . ".bin")
pcsx2GameIso := new File(romPath . "\" . romName . ".iso")
If pcsx2GameBin.Exist() {
romExtension := ".bin"
RLLog.Warning("Module - Found a .bin file with the same name as your cue, using it instead. Please change the order of your rom extensions if you want bins to be found first.")
} Else If pcsx2GameIso.Exist() {
romExtension := ".iso"
RLLog.Warning("Module - Found a .iso file with the same name as your cue, using it instead. Please change the order of your rom extensions if you want isos to be found first.")
}
}
 
; Mount the CD using a Virtual Drive
If vdOveride ; this allows per-game Virtual Drive support because some games boot to black when Virtual Drive is enabled
vdEnabled := vdOveride
If (vdEnabled = "true" && StringUtils.Contains(romExtension,"\.mds|\.mdx|\.b5t|\.b6t|\.bwt|\.ccd|\.cue|\.isz|\.nrg|\.cdi|\.iso|\.ape|\.flac")) { ; if Virtual Drive is enabled and using an image type Virtual Drive can load
If !cdvd {
vdCDVDPlugin := moduleIni.Read("Settings", "VD_CDVD_Plugin","","",1)
If vdCDVDPlugin
cdvd := vdCDVDPlugin
}
cdvd := If cdvd ? " --cdvd=""" . GetFullName(cdvd) . """" : ""
If (dvdSource != "Plugin")
{ RLLog.Info("Module - CdvdSource was not set to ""Plugin"", changing it so PCSX2 can read from Virtual Drive.")
WriteProperty(pcsx2Ini,"CdvdSource","Plugin") ; write a new value to the pcsx2IniFile
SaveProperties(pcsx2IniFile.FileFullPath,pcsx2Ini) ; save pcsx2IniFile to disk
}
 
pcsx2cdvdIni := new IniFile(pcsx2IniFolder . "\cdvdGigaherz.ini")
dvdDrive := pcsx2cdvdIni.Read("Config", "Source") ; cdvd drive
If StringUtils.InStr(dvdDrive,"@") {
If (vdDriveLetter != "")
pcsx2cdvdIni.Write(vdDriveLetter, "Config", "Source")
Else
ScriptError("You are using a Virtual Drive but have not selected the drive you want to use in PCSX2 CDVD Plugin settings. Select your drive first, either in RLUI Virtual Drive Third Party Settings or within the PCSX2's plugin settings, then try launching again.")
} Else If (dvdDrive != vdDriveLetter) {
RLLog.Warning("Module - PCSX2 is set to use drive """ . dvdDrive . """ but RocketLauncher is set to use """ . vdDriveLetter . """. Ignore this warning if this is expected.")
}
VirtualDrive("mount",romPath . "\" . romName . romExtension)
HideAppStart(hideEmuObj,hideEmu)
errLvl := primaryExe.Run(" --usecd" . noGUI . Fullscreen . fullboot . nohacks . gamefixes . cfg . cfgPathCLI . gs . pad . spu2 . cdvd . usb . fw . dev9, "UseErrorLevel")
usedVD := 1 ; tell the rest of the script to use VD methods
} Else If StringUtils.Contains(romExtension,"\.iso|\.mdf|\.nrg|\.bin|\.img|\.gz|\.cso|\.dump") ; the only formats PCSX2 supports loading directly
{
If !cdvd {
imageCDVDPlugin := moduleIni.Read("Settings", "Image_CDVD_Plugin","","",1)
If imageCDVDPlugin
cdvd := imageCDVDPlugin
}
cdvd := If cdvd ? " --cdvd=""" . GetFullName(cdvd) . """" : ""
If (dvdSource != "Iso")
{ RLLog.Info("Module - CdvdSource was not set to ""Iso"", changing it so PCSX2 can launch this " . romExtension . " image directly")
WriteProperty(pcsx2Ini,"CdvdSource","Iso") ; write a new value to the pcsx2IniFile
SaveProperties(pcsx2IniFile.FileFullPath,pcsx2Ini) ; save pcsx2IniFile to disk
}
HideAppStart(hideEmuObj,hideEmu)
errLvl := primaryExe.Run(" """ . romPath . "\" . romName . romExtension . """ " . noGUI . Fullscreen . fullboot . nohacks . gamefixes . cfg . cfgPathCLI . gs . pad . spu2 . cdvd . usb . fw . dev9, "UseErrorLevel")
} Else If StringUtils.Contains(romExtension,"\.bz2") ; special case format that requires plugin mode and pcsx2 loads it directly
{
If !cdvd {
linuzCDVDPlugin := moduleIni.Read("Settings", "Linuz_CDVD_Plugin","","",1)
If linuzCDVDPlugin
cdvd := linuzCDVDPlugin
}
cdvd := If cdvd ? " --cdvd=""" . GetFullName(cdvd) . """" : ""
If (dvdSource != "plugin")
{ RLLog.Info("Module - CdvdSource was not set to ""Plugin"", changing it so PCSX2 can launch this " . romExtension . " image directly")
WriteProperty(pcsx2Ini,"CdvdSource","Plugin") ; write a new value to the pcsx2IniFile
SaveProperties(pcsx2IniFile.FileFullPath,pcsx2Ini) ; save pcsx2IniFile to disk
}
oldHex := Registry.Read("HKEY_CURRENT_USER", "Software\PS2Eplugin\CDVD\CDVDiso", "IsoFile") ; read last used bz2 image
newHex := StringUtils.StringToHex(romPath . "\" . romName . romExtension) ; convert new bz2 image path to hex
i := 512 - StringUtils.StringLength(newHex) ; get total amount of 0's to add to end of hex to make it 512 bytes
Loop % i
newHex := newHex . "0" ; add required bytes to end
If (oldHex != newHex) {
RLLog.Info("Module - Writing new bz2 path to registry")
Registry.Write("REG_BINARY", "HKEY_CURRENT_USER", "Software\PS2Eplugin\CDVD\CDVDiso", "IsoFile", newHex) ; write new bz2 path to registry
}
HideAppStart(hideEmuObj,hideEmu)
errLvl := primaryExe.Run(" """ . romPath . "\" . romName . romExtension . """ " . noGUI . Fullscreen . fullboot . nohacks . gamefixes . cfg . cfgPathCLI . gs . pad . spu2 . cdvd . usb . fw . dev9, "UseErrorLevel")
} Else
ScriptError("You are trying to run a rom type of """ . romExtension . """ but PCSX2 only supports loading iso|mdf|nrg|bin|img|gz directly. Please turn on Virtual Drive and/or 7z support or put ""cue"" last in your rom extensions for " . MEmu . " instead.")
 
If errLvl
ScriptError("Error launching emulator, closing script.")
 
emuPrimaryWindow.Wait()
emuPrimaryWindow.WaitActive()
 
BezelDraw()
 
; If (hideConsole = "true") { ; should not be needed anymore
; TimerUtils.SetTimerF("HidePCSX2Console", 10)
; SetTimerF("HidePCSX2Console", 10)
; emuBootingWindow.Set("Transparent",0) ; ,"Booting ahk_class wxWindowNR","","fps:","fps:") ; hiding the console window
; emuGUIWindow.Set("Transparent",0) ;,"PCSX2 ahk_class wxWindowNR","","fps:","fps:") ; hiding the GUI window with the menubar
; }
 
SetTitleMatchMode 2 ; Wrong window might be detected in the next loop if we only use the class name for WinGetTitle so we will add fps to it
Loop { ; Looping until pcsx2 is done loading game
Sleep, 200
loopWinTitle := emuLoadingWindow.GetTitle(0) ; Excluding the title of the GUI window so we can read the title of the game window instead
StringUtils.RegExMatch(loopWinTitle,"(?<=\()(.*?)(?=\))",winText) ;,1,0) ; Only get value between parenthesis
If (winText > 0) { ; If FPS shows any value, break out
RLLog.Debug("Module - Game is now running, waiting for exit")
Break
}
If A_Index > 150 ; After 30 seconds, error out
ScriptError("There was an error detecting when PCSX2 finished loading your game. Please report this so the module can be fixed.")
 
; Old method here in case devs change something back
; StringSplit, winTextSplit, winTitle, |, %A_Space%
; If (winTextSplit10 != "") ; 10th position in the array is empty until game actually starts
; Break
; tipText:= 
; Loop % winTextSplit0
; tipText .= "`nposition " . A_Index . ": " . winTextSplit%A_Index%
; ToolTip, % "Loop: " . A_Index . "`ntitle: " . winTitle . "`ntext: " . winText . tipText,0,0
}
 
HideAppEnd(hideEmuObj,hideEmu)
FadeInExit()
primaryExe.Process("WaitClose")
 
If usedVD
VirtualDrive("unmount")
 
7zCleanUp()
BezelExit()
FadeOutExit()
ExitModule()
 
 
MultiGame:
; msgbox % "selectedRom = " . selectedRom . "`nselected game = " . currentButton . "`nmgRomPath = " . mgRomPath . "`nmgRomExt = " . mgRomExt . "`nmgRomName = "  . mgRomName
; Unmount the CD from Virtual Drive
If usedVD
VirtualDrive("unmount")
Sleep, 500 ; Required to prevent your Virtual Drive from bugging
; Mount the CD using Virtual Drive
If usedVD
VirtualDrive("mount",selectedRom)
Return
 
; HidePCSX2Console:
; hideConsoleTimer++
; If emuBootingWindow.Exist()
; { RLLog.Info("Module - HidePCSX2Console - Console window found, hiding it out of view.")
; emuBootingWindow.Set("Transparent",0) ; ,"Booting ahk_class wxWindowNR","","fps:","fps:") ; hiding the console window
; emuGUIWindow.Set("Transparent",0) ; ,"PCSX2 ahk_class wxWindowNR","","fps:","fps:") ; hiding the GUI window with the menubar
; SetTimer("HidePCSX2Console", "Off")
; } Else If (hideConsoleTimer >= 200)
; SetTimer("HidePCSX2Console", "Off")
; Return
; HidePCSX2Console() {
; Static hideConsoleTimer
; hideConsoleTimer++
; If emuBootingWindow.Exist()
; { RLLog.Info("Module - HidePCSX2Console - Console window found, hiding it out of view.")
; emuBootingWindow.Set("Transparent",0) ; ,"Booting ahk_class wxWindowNR","","fps:","fps:") ; hiding the console window
; emuGUIWindow.Set("Transparent",0) ; ,"PCSX2 ahk_class wxWindowNR","","fps:","fps:") ; hiding the GUI window with the menubar
; TimerUtils.SetTimerF("HidePCSX2Console", "Off")
; } Else If (hideConsoleTimer >= 200)
; TimerUtils.SetTimerF("HidePCSX2Console", "Off")
; }
 
CloseProcess:
FadeOutStart()
If (fullscreen = "true") {
; emuPrimaryWindow.CreateControl("wxWindowNR1") ; instantiate new control for wxWindowNR1
; emuPrimaryWindow.GetControl("wxWindowNR1").Send("Esc") ; Send ESC to the main window when fullscreen is true to close the emu
emuPrimaryWindow.Close()
} Else {
emuGUIWindow.MenuSelectItem("System","Pause")
emuGUIWindow.Close()
}
Return
 
15:39:31:929 | RL |      INFO  | +31    | BuildScript - Loaded Pause scripts
15:39:31:931 | RL |      INFO  | +0     | BuildScript - Loaded Multi-Player scripts
15:39:31:933 | RL |      INFO  | +0     | BuildScript - Loaded Statistics.ahk script
15:39:31:933 | RL |   WARNING  | +0     | BuildScript - "C:\RocketLauncher\Lib\User Functions.ahk" not found
15:39:31:933 | RL |      INFO  | +0     | BuildScript - Finished injecting functions into module
15:39:31:935 | RL |      INFO  | +0     | Main - Module is built
15:39:31:935 | RL |      INFO  | +0     | CheckFile - Checking if C:\RocketLauncher\AutoHotkey.dll exists
15:39:31:940 | RL |      INFO  | +0     | Main - Running module
15:39:32:172 | MD |      INFO  | +N/A   | Module initialized
15:39:32:173 | MD |      INFO  | +0     | LoadPreferredControllers - Started
15:39:32:173 | MD |      INFO  | +0     | GetJoystickArray - Started
15:39:32:200 | MD |      INFO  | +31    | GetJoystickGUID - Started
15:39:32:200 | MD |      INFO  | +0     | GetJoystickGUID - Ended and found GUID: 002263C20480E6118001444553540000
15:39:32:202 | MD |      INFO  | +0     | GetJoystickGUID - Started
15:39:32:202 | MD |      INFO  | +0     | GetJoystickGUID - Ended and found GUID: 002263C20480E6118002444553540000
15:39:32:203 | MD |      INFO  | +0     | GetJoystickGUID - Started
15:39:32:204 | MD |      INFO  | +0     | GetJoystickGUID - Ended and found GUID: 002263C20480E6118003444553540000
15:39:32:205 | MD |      INFO  | +0     | GetJoystickGUID - Started
15:39:32:205 | MD |      INFO  | +0     | GetJoystickGUID - Ended and found GUID: 002263C20480E6118004444553540000
15:39:32:205 | MD |      INFO  | +0     | GetJoystickArray - Ended
15:39:32:205 | MD |      INFO  | +0     | LoadPreferredControllers - Sorting Currently Connected joysticks List to match the order of the Preferred Controller List
15:39:32:205 | MD |      INFO  | +0     | LoadPreferredControllers - Assigning the New Joystick IDs according to the preferred list for the active controllers
15:39:32:205 | MD |      INFO  | +0     | ChangeJoystickID - Started
15:39:32:206 | MD |      INFO  | +0     | ChangeJoystickID - Ended
15:39:32:206 | MD |      INFO  | +0     | ChangeJoystickID - Started
15:39:32:206 | MD |      INFO  | +0     | ChangeJoystickID - Ended
15:39:32:206 | MD |      INFO  | +0     | ChangeJoystickID - Started
15:39:32:206 | MD |      INFO  | +0     | ChangeJoystickID - Ended
15:39:32:206 | MD |      INFO  | +0     | ChangeJoystickID - Started
15:39:32:206 | MD |      INFO  | +0     | ChangeJoystickID - Ended
15:39:32:206 | MD |      INFO  | +0     | LoadPreferredControllers - Ended
15:39:32:206 | MD |      INFO  | +0     | CheckFile - Checking if C:\RocketLauncher\Profiles\JoyToKey\JoyToKey.exe exists
15:39:32:207 | MD |      INFO  | +0     | Keymapper - Loading joytokey
15:39:32:207 | MD |      INFO  | +0     | RunKeymapper - Started, using method "load"
15:39:32:207 | MD |      INFO  | +0     | GetJoystickArray - Started
15:39:32:233 | MD |      INFO  | +31    | GetJoystickGUID - Started
15:39:32:233 | MD |      INFO  | +0     | GetJoystickGUID - Ended and found GUID: 002263C20480E6118001444553540000
15:39:32:235 | MD |      INFO  | +0     | GetJoystickGUID - Started
15:39:32:236 | MD |      INFO  | +0     | GetJoystickGUID - Ended and found GUID: 002263C20480E6118002444553540000
15:39:32:238 | MD |      INFO  | +0     | GetJoystickGUID - Started
15:39:32:238 | MD |      INFO  | +0     | GetJoystickGUID - Ended and found GUID: 002263C20480E6118003444553540000
15:39:32:257 | MD |      INFO  | +32    | GetJoystickGUID - Started
15:39:32:257 | MD |      INFO  | +0     | GetJoystickGUID - Ended and found GUID: 002263C20480E6118004444553540000
15:39:32:257 | MD |      INFO  | +0     | GetJoystickArray - Ended
15:39:32:257 | MD |   WARNING  | +0     | GetProfile - Keymapper support is enabled for "joytokey", but could not find a "Dragon Quest VIII - Journey of the Cursed King (USA)", "PCSX2", "Sony Playstation 2", default, a "" player 1 profile or a blank profile in "C:\RocketLauncher\Profiles\joytokey" for controller ""
15:39:32:257 | MD |      INFO  | +0     | RunJoyToKey - Started
15:39:32:268 | MD |      INFO  | +0     | WinClose - Closing: JoyToKey ahk_class TMainForm
15:39:32:499 | MD |      INFO  | +234   | Process - WaitClose JoyToKey.exe 2
15:39:32:500 | MD |      INFO  | +0     | RunJoyToKey - Ended
15:39:32:500 | MD |      INFO  | +0     | RunKeymapper - Ended
15:39:32:500 | MD |      INFO  | +0     | StartModule - Started
15:39:32:501 | MD |      INFO  | +0     | StartModule - MEmu: PCSX2
MEmuV: 1.5.0-dev-263
MURL: http://pcsx2.net/
MAuthor: djvj
MVersion: 2.2.1
MCRC: 5E3D250C
iCRC: 65DD0603
MID: 
MSystem: "Sony PlayStation 2"
15:39:32:501 | MD |      INFO  | +0     | StartModule - You have a supported System Name for this module: "Sony Playstation 2"
15:39:32:501 | MD |      INFO  | +0     | PluginInit - Started
15:39:32:501 | MD |      INFO  | +0     | CheckFile - Checking if C:\Hyperspin\Databases\Sony Playstation 2\Sony Playstation 2.xml exists
15:39:32:505 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: Game Logo|System Logo
15:39:32:526 | MD |      INFO  | +31    | BuildAssetsTable - Ended
15:39:32:526 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: Artwork1|Box Art|Cartridge|Flyers|Letters|Other
15:39:32:559 | MD |      INFO  | +31    | BuildAssetsTable - Ended
15:39:32:559 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: Game Video|System Video
15:39:32:560 | MD |      INFO  | +0     | BuildAssetsTable - Ended
15:39:32:560 | MD |      INFO  | +0     | PluginInit - Ended
15:39:32:563 | MD |      INFO  | +0     | StartModule - Ended
15:39:32:563 | MD |      INFO  | +0     | RIniFile.Read - Module - Fullscreen: true (DEFAULT)
15:39:32:563 | MD |      INFO  | +0     | RIniFile.Read - Module {GlobalModuleIni} - [Settings] - AspectRatio: Stretch
15:39:32:563 | MD |      INFO  | +0     | RIniFile.Read - Module - noGUI: false (DEFAULT)
15:39:32:564 | MD |      INFO  | +0     | RIniFile.Read - Module - PerGameMemoryCards: false (DEFAULT)
15:39:32:564 | MD |      INFO  | +0     | RIniFile.Read - Module - HideConsole: true (DEFAULT)
15:39:32:564 | MD |      INFO  | +0     | RIniFile.Read - Module - cfgpath: C:\PCSX2\Game Configs (DEFAULT)
15:39:32:564 | MD |      INFO  | +0     | RIniFile.Read - Module - AutoCreateINIDir: false (DEFAULT)
15:39:32:564 | MD |      INFO  | +0     | RIniFile.Read - Module {GlobalModuleIni} - [Settings] - DefaultINISPath: ..\Users\Beta\Documents\PCSX2\inis_1.4.0
15:39:32:564 | MD |      INFO  | +0     | RIniFile.Read - Module - fullboot: false (DEFAULT)
15:39:32:564 | MD |      INFO  | +0     | RIniFile.Read - Module - gs: (NO VALUE)
15:39:32:565 | MD |      INFO  | +0     | RIniFile.Read - Module - pad: (NO VALUE)
15:39:32:565 | MD |      INFO  | +0     | RIniFile.Read - Module - spu2: (NO VALUE)
15:39:32:565 | MD |      INFO  | +0     | RIniFile.Read - Module - cdvd: (NO VALUE)
15:39:32:565 | MD |      INFO  | +0     | RIniFile.Read - Module - usb: (NO VALUE)
15:39:32:565 | MD |      INFO  | +0     | RIniFile.Read - Module - fw: (NO VALUE)
15:39:32:565 | MD |      INFO  | +0     | RIniFile.Read - Module - dev9: (NO VALUE)
15:39:32:566 | MD |      INFO  | +0     | RIniFile.Read - Module - VDOveride: (NO VALUE)
15:39:32:566 | MD |      INFO  | +0     | RIniFile.Read - Module - nohacks: false (DEFAULT)
15:39:32:566 | MD |      INFO  | +0     | RIniFile.Read - Module - gamefixes: (NO VALUE)
15:39:32:566 | MD |      INFO  | +0     | RIniFile.Read - Module - MSAA: 0 (DEFAULT)
15:39:32:566 | MD |      INFO  | +0     | RIniFile.Read - Module - Skipdraw: 0 (DEFAULT)
15:39:32:566 | MD |      INFO  | +0     | RIniFile.Read - Module - Half-pixel_Offset: 0 (DEFAULT)
15:39:32:566 | MD |      INFO  | +0     | RIniFile.Read - Module - Wild_Arms_Offset: 0 (DEFAULT)
15:39:32:566 | MD |      INFO  | +0     | RIniFile.Read - Module - Fast_Accurate_Blending: 0 (DEFAULT)
15:39:32:566 | MD |      INFO  | +0     | RIniFile.Read - Module - Alpha_Stencil: 0 (DEFAULT)
15:39:32:567 | MD |      INFO  | +0     | RIniFile.Read - Module - Align_Sprite: 0 (DEFAULT)
15:39:32:567 | MD |      INFO  | +0     | RIniFile.Read - Module - Alpha: 0 (DEFAULT)
15:39:32:567 | MD |      INFO  | +0     | RIniFile.Read - Module - Preload_Data_Frame: 0 (DEFAULT)
15:39:32:567 | MD |      INFO  | +0     | RIniFile.Read - Module - Round_Sprite: 0 (DEFAULT)
15:39:32:567 | MD |      INFO  | +0     | RIniFile.Read - Module - Sprite: 0 (DEFAULT)
15:39:32:567 | MD |      INFO  | +0     | RIniFile.Read - Module - TC_Offset: 0 (DEFAULT)
15:39:32:586 | MD |      INFO  | +31    | Module - PCSX2 is operating in a standard installation mode
15:39:32:586 | MD |      INFO  | +0     | File.CheckFile - Checking if "C:\Users\Beta\Documents\PCSX2\inis_1.4.0\PCSX2_ui.ini" exists
15:39:32:588 | MD |      INFO  | +0     | File.CheckFile - Checking if "C:\Users\Beta\Documents\PCSX2\inis_1.4.0\GSdx.ini" exists
15:39:32:589 | MD |      INFO  | +0     | Module - Using PCSX2's default configuration folder: "C:\Users\Beta\Documents\PCSX2\inis_1.4.0"
15:39:32:589 | MD |      INFO  | +0     | IniFile.Write - SECTION: [GSWindow] - KEY: AspectRatio - VALUE: Stretch - FILE: C:\Users\Beta\Documents\PCSX2\inis_1.4.0\PCSX2_ui.ini
15:39:32:589 | MD |      INFO  | +0     | IniFile.Write - SECTION: [Settings] - KEY: UserHacks - VALUE:  - FILE: C:\Users\Beta\Documents\PCSX2\inis_1.4.0\GSdx.ini
15:39:32:589 | MD |      INFO  | +0     | 7z - Started, received G:\Games\Sony Playstation 2\Dragon Quest VIII - Journey of the Cursed King (USA).7z. If rom is an archive, it will extract to C:\TEMP GAMES HS
15:39:32:590 | MD |      INFO  | +0     | CheckFile - Checking if G:\Games\Sony Playstation 2\Dragon Quest VIII - Journey of the Cursed King (USA).7z exists
15:39:32:787 | MD |      INFO  | +203   | 7z - Archive name matches rom name; DLL found rom inside archive using "findFileInZip": "Dragon Quest VIII - Journey of the Cursed King (USA).iso"
15:39:32:789 | MD |      INFO  | +0     | 7z - The sevenZExtractPath has 11114 MB of free space which is enough to extract this game: 4180 MB
15:39:32:789 | MD |      INFO  | +0     | 7z - Starting 7z extraction of G:\Games\Sony Playstation 2\Dragon Quest VIII - Journey of the Cursed King (USA).7z  to C:\TEMP GAMES HS\Dragon Quest VIII - Journey of the Cursed King (USA)
15:42:42:593 | MD |      INFO  | +189806 | 7z - Finished 7z extraction which took 310 seconds
15:42:42:593 | MD |   WARNING  | +0     | 7z - romPath changed from "G:\Games\Sony Playstation 2" to "C:\TEMP GAMES HS\Dragon Quest VIII - Journey of the Cursed King (USA)"
15:42:42:593 | MD |   WARNING  | +0     | 7z - romName changed from "Dragon Quest VIII - Journey of the Cursed King (USA)" to "Dragon Quest VIII - Journey of the Cursed King (USA)"
15:42:42:593 | MD |   WARNING  | +0     | 7z - romExtension changed from ".7z" to ".iso"
15:42:42:593 | MD |      INFO  | +0     | 7z - Ended
15:42:42:593 | MD |      INFO  | +0     | LoadProperties - Started and loading this cfg into memory: 
15:42:42:593 | MD |      INFO  | +0     | LoadProperties - Ended
15:42:42:593 | MD |      INFO  | +0     | RIniFile.Read - Module - Image_CDVD_Plugin: (NO VALUE)
15:42:42:593 | MD |      INFO  | +0     | Module - CdvdSource was not set to "Iso", changing it so PCSX2 can launch this .iso image directly
15:42:42:593 | MD |      INFO  | +0     | SaveProperties - Started and saving this cfg to disk: 
15:42:42:593 | MD |      INFO  | +0     | SaveProperties - Ended
15:42:42:594 | MD |      INFO  | +0     | Process.Run - Running: C:\PCSX2\pcsx2.exe "C:\TEMP GAMES HS\Dragon Quest VIII - Journey of the Cursed King (USA)\Dragon Quest VIII - Journey of the Cursed King (USA).iso"  --fullscreen
15:42:42:675 | MD |      INFO  | +78    | Window.Wait - Waiting for window "ahk_class wxWindowNR"
15:42:42:906 | MD |      INFO  | +234   | Window.WaitActive - Waiting for "ahk_class wxWindowNR"
15:42:45:167 | MD |      INFO  | +2262  | Process.Process - "WaitClose" "pcsx2.exe" 
15:43:30:065 | MD |      INFO  | +44897 | CloseProcess - Started, user requested to end launched application
15:43:30:926 | MD |      INFO  | +858   | CloseProcess - Ended
15:43:31:476 | MD |      INFO  | +546   | 7zCleanUp - Started
15:43:31:616 | MD |      INFO  | +141   | 7zCleanUp - Deleted C:\TEMP GAMES HS\Dragon Quest VIII - Journey of the Cursed King (USA)
15:43:31:616 | MD |      INFO  | +0     | 7zCleanUp - Ended
15:43:31:616 | MD |      INFO  | +0     | ExitModule - Started
15:43:31:616 | MD |      INFO  | +0     | Starting Updating Statistics:
15:43:31:746 | MD |      INFO  | +125   | Game section statistics updated.
15:43:31:746 | MD |      INFO  | +0     | RunKeymapper - Started, using method "unload"
15:43:31:746 | MD |      INFO  | +0     | GetJoystickArray - Started
15:43:31:766 | MD |      INFO  | +31    | GetJoystickGUID - Started
15:43:31:766 | MD |      INFO  | +0     | GetJoystickGUID - Ended and found GUID: 002263C20480E6118001444553540000
15:43:31:766 | MD |      INFO  | +0     | GetJoystickGUID - Started
15:43:31:776 | MD |      INFO  | +0     | GetJoystickGUID - Ended and found GUID: 002263C20480E6118002444553540000
15:43:31:776 | MD |      INFO  | +0     | GetJoystickGUID - Started
15:43:31:776 | MD |      INFO  | +0     | GetJoystickGUID - Ended and found GUID: 002263C20480E6118003444553540000
15:43:31:776 | MD |      INFO  | +0     | GetJoystickGUID - Started
15:43:31:776 | MD |      INFO  | +0     | GetJoystickGUID - Ended and found GUID: 002263C20480E6118004444553540000
15:43:31:776 | MD |      INFO  | +0     | GetJoystickArray - Ended
15:43:31:776 | MD |      INFO  | +0     | RunJoyToKey - Started
15:43:31:776 | MD |      INFO  | +0     | WinClose - Closing: JoyToKey ahk_class TMainForm
15:43:31:876 | MD |      INFO  | +109   | Process - WaitClose JoyToKey.exe 2
15:43:31:876 | MD |      INFO  | +0     | RunJoyToKey - Ended
15:43:31:876 | MD |      INFO  | +0     | RunKeymapper - Ended
15:43:31:876 | MD |      INFO  | +0     | ExitModule - Ended
End of Module Logs
15:43:31:986 | RL |      INFO  | +240054 | Main - Module ended, exiting RocketLauncher normally
15:43:31:986 | RL |      INFO  | +0     | ExitScript - Started
15:43:31:986 | RL |      INFO  | +0     | ExitScript - Restoring taskbar
15:43:32:211 | RL |      INFO  | +219   | SystemCursor - Restoring mouse cursor
15:43:32:221 | RL |      INFO  | +15    | ExitScript - Restored cursor

 

Link to comment
Share on other sites

Thanks.  I realized after looking at the log it was extracting the .7z version of the game.  I have the .ISO in the same directory but I guess it was defaulting to the .7z file.  Is it recommended to leave the .7z archives and just temp the files every time or should i use .gz format?  Does it do the same for .gz format?  meaning the load times?  Thanks.

Link to comment
Share on other sites

On the long run, you end up needing more space.

 

I prefer leaving the roms on .7z. This happened to me and now my 5tb HDD is full. If I didn't have the majority of the PS2 collection on .7z, I would have had to get another hdd by this time. The 7z made a big difference.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...