Jump to content
  • Announcement

    The HyperSpin 2 early access beta is here!

    We’re starting the first public testing phase with Platinum Members to keep the scope manageable while we test the current feature set and begin to add more. In the future, we’ll provide a version for basic members as well.  On behalf of the entire HyperSpin team, we look forward to another exciting adventure with our community.

Xpadder Not Working


Ibanezmike

Recommended Posts

Posted

Hey guys, I have a little problem with Xpadder. I have an F710 controller fully setup with Xpadder and it all works just fine and has done for a while now, but recently I ran into a problem.

I have Xpadder as the default keymapper in HyperlaunchHQ but when I load a game through either HyperlaunchHQ or Hyperspin my controller dosent work. If I use the keyboard (the keys that are assigned to my controller) it will work just fine. Another strange thing is that when I open the emulator outside of Hyperspin or HyperlaunchHQ and load up a game the controller works fine. Does anyone know what could be causing this? I know it must be a setting or something within Hyperspin that I have missed or something because the controller works fine with each emulator outside of Hyperspin.

Thanks -Mike

Posted

Could you post a hyperlaunch log so we can take a look?

Couple quick questions.

- How many controllers are you using? (I have 2 f710s and on a couple of occasions windows has swapped them in xpadder)

-I'm assuming you have a default profile in addition to xpadder profiles specific for your systems?

Lastly I'm happy to log in via teamviewer and take a look if you can't sort it out.

Posted

This is the log in my Hyperlaunch folder:

08:54:29:137 | HL |     INFO  | +N/A   | Main - HyperLaunch v3.0.1.1c
08:54:29:473 | HL |     INFO  | +343   | Main - System Specs:
				HyperLaunch Dir: K:\Hyperspin\HyperLaunch
				OS: Microsoft Windows 7 Home Premium 
				SKU: Home Premium
				Total Memory: 12279.11 MB
				Free Memory: 4856.07 MB
				Used Memory: 7423.043 MB
				SystemType: x64-based PC
				Physical Processors: 1
				Logical Processors: 8
				GPU 1 Name: ATI Radeon HD 4600 Series
				GPU 1 RAM: 1024.00 MB
				GPU 1 Driver Version: 8.970.100.1100
				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
				OS Admin Status: Yes
				Monitor #1 (\\.\DISPLAY1): 1920x1080 (1920x1040 work)
				AutoHotkey Path: 
				AHK Version: 1.1.09.04
				Unicode: No
08:54:29:473 | HL |     INFO  | +0     | Main - HyperSpin.exe coordinates are x0 y0 w1920 h1080
08:54:29:473 | HL |     INFO  | +0     | CheckFile - Checking if K:\Hyperspin\HyperLaunch\HyperLaunch.exe exists
08:54:29:473 | HL |     INFO  | +0     | Main - HyperLaunch received "Sony PlayStation" and "007 - The World Is Not Enough (USA)"
08:54:29:497 | HL |     INFO  | +16    | Main - 007 - The World Is Not Enough (USA) is using the default emulator: ePSXe
08:54:29:497 | HL |     INFO  | +0     | Main - Checking for a [ePSXe] section in K:\Hyperspin\HyperLaunch\Settings\Sony PlayStation\Emulators.ini
08:54:29:497 | HL |     INFO  | +0     | Main - Checking for a [ePSXe] section in K:\Hyperspin\HyperLaunch\Settings\Global Emulators.ini
08:54:29:497 | HL |     INFO  | +0     | Main - Found [ePSXe] in K:\Hyperspin\HyperLaunch\Settings\Global Emulators.ini
08:54:29:512 | HL |     INFO  | +16    | CheckFile - Checking if K:\Hyperspin\HyperLaunch\Modules\ePSXe\ePSXe.ahk exists
08:54:29:540 | HL |     INFO  | +31    | Main - CRC Check - CRC matches, this is an official unedited module.
08:54:29:540 | HL |     INFO  | +0     | Main - 007 - The World Is Not Enough (USA) will use module: K:\Hyperspin\HyperLaunch\Modules\ePSXe\ePSXe.ahk
08:54:29:555 | HL |     INFO  | +15    | Main - Using standard method with "Rom Extension" SkipChecks or without any SkipChecks.
08:54:29:555 | HL |     INFO  | +0     | Main - INI Keys read
08:54:29:555 | HL |     INFO  | +0     | CheckFile - Checking if k:\Hyperspin\HyperLaunch\Module Extensions\7z.exe exists
08:54:29:594 | HL |     INFO  | +47    | CheckFile - Checking if k:\Hyperspin\HyperLaunch\Module Extensions\7z.dll exists
08:54:29:680 | HL |     INFO  | +78    | CheckPaths - Started
08:54:29:731 | HL |     INFO  | +47    | CheckPaths - Found rom by matching name in subfolder: K:\Roms\Sony PlayStation\007 - The World Is Not Enough (USA)\007 - The World Is Not Enough (USA).cue
08:54:29:731 | HL |     INFO  | +0     | CheckFile - Checking if K:\Hyperspin\Emulators\ePSXe\ePSXe.exe exists
08:54:29:731 | HL |     INFO  | +0     | CheckPaths - Ended
08:54:29:735 | HL |     INFO  | +16    | BuildScript - User Variables:
				;----------------------------------------------------------------------------
				; INJECTED VARIABLES
				;----------------------------------------------------------------------------

				#NoTrayIcon
				#InstallKeybdHook
				DetectHiddenWindows, ON
				SetTitleMatchMode, 2
				SendMode, Event
				0 = 2
				hlMode = 
				frontendPID = 4688
				frontendPath = K:\Hyperspin
				frontendExe = HyperSpin.exe
				frontendExt = exe
				frontendName = HyperSpin
				frontendDrive = K:
				exitEmulatorKey = Esc
				exitEmulatorKeyWait = 0
				forceHoldKey = ~Esc
				restoreFE = false
				exitScriptKey = ~q & ~s
				toggleCursorKey = ~e & ~t
				emuFullPath = K:\Hyperspin\Emulators\ePSXe\ePSXe.exe
				emuPath = K:\Hyperspin\Emulators\ePSXe
				emuName = ePSXe
				emuExt = exe
				romPath = K:\Roms\Sony PlayStation\007 - The World Is Not Enough (USA)
				romPathFromIni = K:\Roms\Sony PlayStation
				romExtension = .cue
				romExtensionOrig = .cue
				romExtensions = 7z|zip|cue|bin|img|iso|mdf
				executable = ePSXe.exe
				systemName = Sony PlayStation
				dbName = 007 - The World Is Not Enough (USA)
				romName = 007 - The World Is Not Enough (USA)
				romMapPath = 
				romMappingEnabled = false
				romMappingLaunchMenuEnabled = false
				romMappingFirstMatchingExt = false
				romMappingShowAllRomsInArchive = true
				romMappingNumberOfWheelsByScreen = 7
				romMappingMenuWidth = 300
				romMappingMenuMargin = 50
				romMappingTextFont = Bebas Neue
				romMappingTextOptions = cFFFFFFFF r4 s40 Bold
				romMappingDisabledTextColor = ff888888
				romMappingTextSizeDifference = 5
				romMappingTextMargin = 10
				romMappingTitleTextFont = Bebas Neue
				romMappingTitleTextOptions = cFFFFFFFF r4 s60 Bold
				romMappingTitle2TextFont = Bebas Neue
				romMappingTitle2TextOptions = cFFFFFFFF r4 s15 Bold
				romMappingGameInfoTextFont = Bebas Neue
				romMappingGameInfoTextOptions = cFFFFFFFF r4 s15 Regular
				romMappingBackgroundBrush = aa000000
				romMappingColumnBrush = 33000000
				romMappingButtonBrush1 = 6f000000
				romMappingButtonBrush2 = 33000000
				romMappingBackgroundAlign = Stretch and Lose Aspect
				romMappingMenuFlagWidth = 40
				romMappingMenuFlagSeparation = 5
				romMappingDefaultMenuList = FullList
				romMappingSingleFilteredRomAutomaticLaunch = false
				skipchecks = false
				romMatchExt = true
				blockInputTime = 0
				blockInputFile = 
				errorLevelReporting = false
				logFile = K:\Hyperspin\HyperLaunch\HyperLaunch.log
				logLabel := ["    INFO"," WARNING","   ERROR","  DEBUG1","  DEBUG2"]
				logLevel = 3
				logIncludeModule = true
				logIncludeFileProperties = true
				logShowCommandWindow = false
				logCommandWindow = false
				sysLang = English_United_States
				navUpKey = Up
				navDownKey = Down
				navLeftKey = Left
				navRightKey = Right
				navSelectKey = Q
				navP2UpKey = Numpad8
				navP2DownKey = Numpad2
				navP2LeftKey = Numpad4
				navP2RightKey = Numpad6
				navP2SelectKey = R
				originalWidth = 1920
				originalHeight = 1080
				dtEnabled = false
				dtPath = K:\Hyperspin\DAEMON Tools Lite\DTLite.exe
				dtUseSCSI = false
				dtAddDrive = true
				emuIdleShutdown = 0
				hideCursor = true
				hideEmu = false
				hideFE = 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
				fadeLyr1Color = FF000000
				fadeLyr1AlignImage = Align to Top Left
				fadeLyr2Pos = Bottom Right Corner
				fadeLyr2X = 300
				fadeLyr2Y = 300
				fadeLyr2Adjust = 1
				fadeLyr2PicPad = 0
				fadeLyr3Pos = Center
				fadeLyr3X = 300
				fadeLyr3Y = 300
				fadeLyr3Adjust = 0.75
				fadeLyr3Speed = 750
				fadeLyr3Animation = DefaultFadeAnimation
				fadeLyr37zAnimation = DefaultFadeAnimation
				fadeLyr3Type = imageandbar
				fadeLyr3ImgFollow7zProgress = true
				fadeLyr3Repeat = 1
				fadeLyr3PicPad = 0
				fadeLyr4Adjust = 0.75
				fadeLyr4X = 100
				fadeLyr4Y = 100
				fadeLyr4Pos = Above Layer 3 - Left
				fadeLyr4FPS = 10
				fadeLyr4PicPad = 0
				fadeTranspGifColor = FFFFFF
				fadeBarWindow = false
				fadeBarWindowX = 
				fadeBarWindowY = 
				fadeBarWindowW = 600
				fadeBarWindowH = 120
				fadeBarWindowR = 20
				fadeBarWindowM = 20
				fadeBarWindowHatchStyle = 8
				fadeBarBack = true
				fadeBarBackColor = FF555555
				fadeBarH = 20
				fadeBarR = 5
				fadeBarColor = DD00BFFF
				fadeBarHatchStyle = 3
				fadeBarPercentageText = true
				fadeBarInfoText = true
				fadeBarXOffset = 0
				fadeBarYOffset = 100
				fadeRomInfoDescription = text
				fadeRomInfoSystemName = text
				fadeRomInfoYear = text
				fadeRomInfoManufacturer = text
				fadeRomInfoGenre = text
				fadeRomInfoRating = text
				fadeRomInfoOrder = Description|SystemName|Year|Manufacturer|Genre|Rating
				fadeRomInfoTextPlacement = topRight
				fadeRomInfoTextMargin = 5
				fadeRomInfoText1Options = cFF555555 r4 s20 Bold
				fadeRomInfoText2Options = cFF555555 r4 s20 Bold
				fadeRomInfoText3Options = cFF555555 r4 s20 Bold
				fadeRomInfoText4Options = cFF555555 r4 s20 Bold
				fadeRomInfoText5Options = cFF555555 r4 s20 Bold
				fadeRomInfoText6Options = cFF555555 r4 s20 Bold
				fadeStats_Number_of_Times_Played = text with label
				fadeStats_Last_Time_Played = text with label
				fadeStats_Average_Time_Played = text with label
				fadeStats_Total_Time_Played = text with label
				fadeStats_System_Total_Played_Time = text with label
				fadeStats_Total_Global_Played_Time = text with label
				fadeStatsInfoOrder = Number_of_Times_Played|Last_Time_Played|Average_Time_Played|Total_Time_Played|System_Total_Played_Time|Total_Global_Played_Time
				fadeStatsInfoTextPlacement = topLeft
				fadeStatsInfoTextMargin = 5
				fadeStatsInfoText1Options = cFF555555 r4 s20 Bold
				fadeStatsInfoText2Options = cFF555555 r4 s20 Bold
				fadeStatsInfoText3Options = cFF555555 r4 s20 Bold
				fadeStatsInfoText4Options = cFF555555 r4 s20 Bold
				fadeStatsInfoText5Options = cFF555555 r4 s20 Bold
				fadeStatsInfoText6Options = cFF555555 r4 s20 Bold
				fadeText1X = 0
				fadeText1Y = 0
				fadeText1Options = cFFFFFFFF r4 s20 Right Bold
				fadeText1 = Loading Game
				fadeText2X = 0
				fadeText2Y = 0
				fadeText2Options = cFFFFFFFF r4 s20 Right Bold
				fadeText2 = Extraction Complete
				fadeFont = Arial
				fadeSystemAndRomLayersOnly = false
				fadeInterruptKey = 
				detectFadeErrorEnabled = true
				fadeImgPath = K:\Hyperspin\HyperLaunch\Media\Fade
				HLDataPath = K:\Hyperspin\HyperLaunch\Data
				HLMediaPath = K:\Hyperspin\HyperLaunch\Media
				HLErrSoundPath = K:\Hyperspin\HyperLaunch\Media\Sounds\Error
				modulesPath = K:\Hyperspin\HyperLaunch\Modules
				moduleFullName = K:\Hyperspin\HyperLaunch\Modules\ePSXe\ePSXe.ahk
				moduleName = ePSXe
				modulePath = K:\Hyperspin\HyperLaunch\Modules\ePSXe
				moduleExtension = ahk
				moduleExtensionsPath = K:\Hyperspin\HyperLaunch\Module Extensions
				libPath = K:\Hyperspin\HyperLaunch\Lib
				7zEnabled = true
				7zPath = k:\Hyperspin\HyperLaunch\Module Extensions\7z.exe
				7zDllPath = k:\Hyperspin\HyperLaunch\Module Extensions\7z.dll
				7zExtractPath = K:\Hyperspin\Extracted Zip Files
				7zExtractPathOrig = 
				7zAttachSystemName = true
				7zDelTemp = true
				7zSounds = true
				7zFormats = .zip,.rar,.7z,.lzh,.gzip,.tar
				7zFormatsNoP = zip,rar,7z,lzh,gzip,tar
				mgEnabled = false
				mgKey = ~NumpadSub
				mgBackgroundColor = FF000000
				mgSidePadding = 0.2
				mgYOffset = 500
				mgImageAdjust = 1
				mgFont = Arial
				mgText1Options = x10p y30p w80p Center cBBFFFFFF r4 s100 BoldItalic
				mgText1Text = Please select a game
				mgText2Options = w96p cFFFFFFFF r4 s50 Center BoldItalic
				mgText2Offset = 70
				mgUseSound = true
				mgSoundfreq = 300
				mgExitEffect = none
				mgSelectedEffect = rotate
				mgUseGameArt = false
				mgArtworkDir = Artwork1
				hpEnabled = true
				hpKey = ~NumpadAdd
				hpBackToMenuBarKey = X
				hpZoomInKey = C
				hpZoomOutKey = V
				hpScreenshotKey = ~PrintScreen
				hpHiToTextPath = K:\Hyperspin\HyperLaunch\Module Extensions\HiToText.exe
				hpSaveStateKeyCodes = {F1 down}{F1 up}
				hpLoadStateKeyCodes = {F1 down}{F1 up}
				keymapperEnabled = true
				keymapperAHKMethod = false
				keymapper = xpadder
				xpadderFullPath = K:\Hyperspin\XPadder\Xpadder.exe
				joyToKeyFullPath = K:\Hyperspin\Utilities\JoyToKey\JoyToKey.exe
				keymapperProfilePath = K:\Hyperspin\HyperLaunch\Profiles\xpadder
				keymapperFrontEndProfileName = HyperSpin
				keymapperFrontEndProfile = xpadder
				keymapperHyperLaunchProfileEnabled = false
				JoyIDsEnabled = true
				JoyIDsPreferredControllersSystem = Controller (Wireless Gamepad F710)
				JoyIDsPreferredControllersGlobal = use_global
				CustomJoyNamesEnabled = false
				CustomJoyNames = 
				FEProfile = K:\Hyperspin\HyperLaunch\Profiles\xpadder\HyperSpin
				defaultProfile = K:\Hyperspin\HyperLaunch\Profiles\xpadder\_Default
				systemProfile = K:\Hyperspin\HyperLaunch\Profiles\xpadder\Sony PlayStation
				xPadderSystemProfile = K:\Hyperspin\HyperLaunch\Profiles\xpadder\Sony PlayStation\_Default
				emuProfile = K:\Hyperspin\HyperLaunch\Profiles\xpadder\Sony PlayStation\ePSXe
				romProfile = K:\Hyperspin\HyperLaunch\Profiles\xpadder\Sony PlayStation\007 - The World Is Not Enough (USA)
				HyperLaunchProfile = K:\Hyperspin\HyperLaunch\Profiles\xpadder\HyperLaunch
				blankProfile = K:\Hyperspin\HyperLaunch\Profiles\xpadder\_Default\blank
				ahkFEProfile = K:\Hyperspin\HyperLaunch\Profiles\AHK\HyperSpin
				ahkDefaultProfile = K:\Hyperspin\HyperLaunch\Profiles\AHK\_Default
				ahkSystemProfile = K:\Hyperspin\HyperLaunch\Profiles\AHK\Sony PlayStation
				ahkEmuProfile = K:\Hyperspin\HyperLaunch\Profiles\AHK\Sony PlayStation\ePSXe
				ahkRomProfile = K:\Hyperspin\HyperLaunch\Profiles\AHK\Sony PlayStation\007 - The World Is Not Enough (USA)
				ahkHyperLaunchProfile = K:\Hyperspin\HyperLaunch\Profiles\AHK\HyperLaunch
				bezelEnabled = false
				statisticsEnabled = true

08:54:29:735 | HL |     INFO  | +0     | BuildScript - Loaded XHotkey Init.ahk scripts
08:54:29:735 | HL |     INFO  | +0     | BuildScript - Loaded Keymapper Init.ahk scripts
08:54:29:735 | HL |     INFO  | +0     | CheckFile - Checking if K:\Hyperspin\HyperLaunch\Module Extensions\VA.ahk exists
08:54:29:750 | HL |     INFO  | +16    | BuildScript - Loaded HyperPause Init.ahk scripts
08:54:29:750 | HL |     INFO  | +0     | BuildScript - Loaded Statistics Init.ahk scripts
08:54:29:762 | HL |     INFO  | +0     | BuildScript - Loaded User Functions Init.ahk script
08:54:29:766 | HL |     INFO  | +15    | BuildScript - Module:
				MEmu = ePSXe
				MEmuV =  v1.9.0
				MURL = http://www.epsxe.com/
				MAuthor = djvj & Shateredsoul & brolly
				MVersion = 2.0.7
				MCRC = A47833DF
				iCRC = AFD664B0
				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 daemon tools 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 daemon tools 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"
				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", "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)
				MLanguage := IniReadCheck(settingsFile, "Settings", "MLanguage","English",,1)		; If English, dialog boxes look for the word "Open" and if Spanish/Portuguese, looks for "Abrir"
				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.

				mLang := Object("English","Open","Spanish/Portuguese","Abrir")
				winLang := mLang[MLanguage]	; search object for the MLanguage associated to the user's language
				If !winLang
					ScriptError("Your chosen language is: """ . MLanguage . """. It is not one of the known supported languages for this module: " . moduleName)

				BezelStart()

				If (Fullscreen = "true") {
					WriteReg("DWORD", "Vision Thing\PSEmu Pro\GPU\PeteOpenGL2", "WindowMode", 0)	; changes fullscreen setting for all 3 gpu plugins
					WriteReg("DWORD", "Vision Thing\PSEmu Pro\GPU\PeteTNT", "WindowMode", 0)
					WriteReg("DWORD", "Vision Thing\PSEmu Pro\GPU\DFXVideo", "WindowMode", 0)
				} Else {
					WriteReg("DWORD", "Vision Thing\PSEmu Pro\GPU\PeteOpenGL2", "WindowMode", 1)
					WriteReg("DWORD", "Vision Thing\PSEmu Pro\GPU\PeteTNT", "WindowMode", 1)
					WriteReg("DWORD", "Vision Thing\PSEmu Pro\GPU\DFXVideo", "WindowMode", 1)
					If (bezelEnabled = "true") {
						winSize := bezelScreenHeight * 65536 + bezelScreenWidth	; convert desired windowed resolution to Decimal
						WriteReg("DWORD", "Vision Thing\PSEmu Pro\GPU\PeteOpenGL2", "WinSize", winSize)
						WriteReg("DWORD", "Vision Thing\PSEmu Pro\GPU\PeteTNT", "WinSize", winSize)
						WriteReg("DWORD", "Vision Thing\PSEmu Pro\GPU\DFXVideo", "WinSize", winSize)
					}
				}

				; Memory Cards
				memCardPath := emuPath . "\memcards"
				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
				romMemCard1 := memCardPath . "\" . romName . "_001.mcr"		; defining name for rom's memory card for slot 1
				romMemCard2 := memCardPath . "\" . romName . "_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
				IfNotExist, %memCardPath%
					FileCreateDir, %memCardPath%	; create memcard folder if it doesn't exist
				Loop 2
				{	IfNotExist, % %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)
				}

				7z(romPath, romName, romExtension, 7zExtractPath)

				epsxeExtension := InStr(".ccd|.cue|.img|.iso|.mdf",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 DaemonTools
				If (epsxeExtension && dtEnabled = "true" ) {
					Log("Module - Daemon Tools is enabled and " . romExtension . " is a supported DT extension.")
					DaemonTools("mount",romPath . "\" . romName . romExtension)
					errorLvl := Run(executable . noGUI . slowBoot, emuPath)
					usedDT := 1
				} Else {
					Log("Module - Sending rom to emu directly as Daemon Tools is not enabled or " . romExtension . " is not a supported DT extension.")
					errorLvl := Run(executable . noGUI . slowBoot . " -loadiso """ . romPath . "\" . romName . romExtension . """", emuPath)
				}
				If errorLvl
					ScriptError("Error launching " . executable . "`, closing module.")

				epsxeLaunchType := If usedDT ? "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.")

				epsxeOpenWindow := winLang . " PSX ISO ahk_class #32770"
				If (!usedDT && 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.")
					WinWait(epsxeOpenWindow)
					Loop {
						ControlGetText, edit1Text, Edit1, %epsxeOpenWindow%
						If (edit1Text = romPath . "\" . romName . romExtension)
							Break
						Sleep, 100
						ControlSetText, Edit1, %romPath%\%romName%%romExtension%, %epsxeOpenWindow%
					}
					ControlSend, Button1, {Enter}, %epsxeOpenWindow% ; Select Open
				}	

				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()
				FadeInExit()

				If enableAnalog = true
				{	Sleep, 1500	; necessary otherwise epsxe doesn't register the key
					Send, {F5 down}{F5 up}
				}

				Process("WaitClose", executable)

				If usedDT
					DaemonTools("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:
					SetKeyDelay, 50
					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 usedDT
					{	DaemonTools("unmount")	; Unmount the CD from DaemonTools
						Sleep, 500	; Required to prevent  DT from bugging
						DaemonTools("mount",selectedRom)	; Mount the CD using DaemonTools
					}
					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 usedDT
					{	WinWait("Change Disc Option ahk_class #32770")
						ControlSend,Button1,{Enter},Change Disc Option ahk_class #32770
					} Else {
						WinWait(epsxeOpenWindow)
						Loop {
							ControlGetText, edit1Text, Edit1, %epsxeOpenWindow% 
							If (edit1Text = selectedRom)
								Break
							Sleep, 100
							ControlSetText, Edit1, %selectedRom%, %epsxeOpenWindow%
						}
						ControlSend, Button1, {Enter}, %epsxeOpenWindow% ; Select Open
					}	
					If hideEpsxeGUIs = true
					{	Log("Module - Stopping the HideGUIWindow timer")
						SetTimer, HideGUIWindow, off
					}
				Return
				RestoreEmu:
					SetKeyDelay, 50
					WinActivate, ahk_id  %emulatorID%
					If Fullscreen = true
						PostMessage, 0x111, 40001,,,ahk_class EPSXGUI	; Go fullscreen, same as alt+enter
				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")
					; ControlSend,, {Esc down}{Esc up}, ePSXe ahk_class EPSX ; DO NOT CHANGE
					PostMessage, 0x111, 40007,,,ahk_class EPSX	; Go fullscreen, same as alt+enter
					If (noGUI = "") {	; for multi disc games only
						WinWait("ePSXe ahk_class EPSXGUI")
						WinClose("ePSXe ahk_class EPSXGUI")
					}
				Return

08:54:29:770 | HL |     INFO  | +0     | BuildScript - Loaded HyperPause scripts
08:54:29:770 | HL |     INFO  | +0     | BuildScript - Loaded Statistics.ahk script
08:54:29:770 | HL |     INFO  | +0     | BuildScript - Loaded User Functions.ahk script
08:54:29:770 | HL |     INFO  | +0     | BuildScript - Finished injecting functions into module
08:54:29:770 | HL |     INFO  | +0     | Main - Module is built
08:54:29:770 | HL |     INFO  | +0     | CheckFile - Checking if K:\Hyperspin\HyperLaunch\AutoHotkey.dll exists
08:54:29:836 | HL |     INFO  | +63    | Main - Running module
08:54:30:149 | MD |     INFO  | +N/A   | Module initialized
08:54:30:211 | MD |     INFO  | +63    | Keymapper - Sorting Currently Connected joysticks List to match the order of the Preferred Controller List
08:54:30:211 | MD |     INFO  | +0     | Keymapper - Assigning the New Joystick IDs according to the preferred list for the active controllers
08:54:30:211 | MD |     INFO  | +0     | CheckFile - Checking if K:\Hyperspin\XPadder\Xpadder.exe exists
08:54:30:211 | MD |     INFO  | +0     | Keymapper - Loading xpadder
08:54:30:235 | MD |  WARNING  | +31    | Keymapper support is enabled for "xpadder", but could not find a "007 - The World Is Not Enough (USA)", "ePSXe", "Sony PlayStation", default, a "Controller (Wireless Gamepad F710)" player 1 profile or a blank profile in "K:\Hyperspin\HyperLaunch\Profiles\xpadder" for controller "Controller (Wireless Gamepad F710)"
08:54:30:469 | MD |     INFO  | +234   | StartModule - Started
08:54:30:469 | MD |     INFO  | +0     | StartModule - MEmu: ePSXe
				MEmuV: v1.9.0
				MURL: http://www.epsxe.com/
				MAuthor: djvj & Shateredsoul & brolly
				MVersion: 2.0.7
				MCRC: A47833DF
				iCRC: AFD664B0
				MID: 
				MSystem: "Sony PlayStation"
08:54:30:469 | MD |     INFO  | +0     | StartModule - You have a supported System Name for this module: "Sony PlayStation"
08:54:30:473 | MD |     INFO  | +0     | Hiding mouse cursor
08:54:30:485 | MD |     INFO  | +16    | StartModule - Ended
08:54:30:485 | MD |     INFO  | +0     | StartGlobalUserFeatures - Starting
08:54:30:485 | MD |     INFO  | +0     | StartGlobalUserFeatures - Ending
08:54:30:485 | MD |     INFO  | +0     | Module Setting - [settings] - Fullscreen: true
08:54:30:485 | MD |     INFO  | +0     | Module Setting - [settings] - turboButton: F12
08:54:30:485 | MD |     INFO  | +0     | Module Setting - [settings] - slowBoot: false
08:54:30:485 | MD |     INFO  | +0     | Module Setting - [settings] - enableAnalog: true
08:54:30:485 | MD |     INFO  | +0     | Module Setting - [settings] - HideePSXeGUIs: true
08:54:30:485 | MD |     INFO  | +0     | Module Setting - [settings] - MLanguage: English
08:54:30:485 | MD |     INFO  | +0     | Module Setting - [settings] - PerGameMemoryCards: true
08:54:30:485 | MD |     INFO  | +0     | Module Setting - [007 - The World Is Not Enough (USA)] - DisableMemoryCard1: false
08:54:30:485 | MD |     INFO  | +0     | Module Setting - [007 - The World Is Not Enough (USA)] - DisableMemoryCard2: false
08:54:30:520 | MD |     INFO  | +31    | CreateMGRomTable - Started
08:54:30:520 | MD |     INFO  | +0     | CreateRomTable - Started
08:54:30:520 | MD |     INFO  | +0     | CreateRomTable - Ended, 7 Loops to create table.
08:54:30:520 | MD |     INFO  | +0     | CreateMGRomTable - Ended
08:54:30:520 | MD |     INFO  | +0     | 7z - Started, received K:\Roms\Sony PlayStation\007 - The World Is Not Enough (USA)\007 - The World Is Not Enough (USA).cue. If rom is an archive, it will extract to K:\Hyperspin\Extracted Zip Files
08:54:30:520 | MD |     INFO  | +0     | 7z - This rom type does not need 7z: ".cue"
08:54:30:520 | MD |     INFO  | +0     | 7z - Ended
08:54:30:520 | MD |     INFO  | +0     | RomTableCheck - Started
08:54:30:540 | MD |     INFO  | +16    | RomTableCheck - Ended
08:54:30:540 | MD |     INFO  | +0     | Module - Sending rom to emu directly as Daemon Tools is not enabled or .cue is not a supported DT extension.
08:54:30:540 | MD |     INFO  | +0     | Run - Running: K:\Hyperspin\Emulators\ePSXe\ePSXe.exe -nogui -loadiso "K:\Roms\Sony PlayStation\007 - The World Is Not Enough (USA)\007 - The World Is Not Enough (USA).cue"
08:54:30:551 | MD |     INFO  | +15    | Module - 007 - The World Is Not Enough (USA) is not a multi-disc game, so launching ePSXe with GUI disabled.
08:54:30:551 | MD |     INFO  | +0     | WinWait - Waiting for "ePSXe ahk_class EPSX"
08:54:31:360 | MD |     INFO  | +813   | WinWaitActive - Waiting for "ePSXe ahk_class EPSX"
08:54:33:071 | MD |     INFO  | +1703  | Process - WaitClose ePSXe.exe 
08:55:22:290 | MD |     INFO  | +49219 | Module - Sending Escape to close emulator
08:55:22:829 | MD |     INFO  | +547   | 7zCleanUp - Started
08:55:22:829 | MD |     INFO  | +0     | 7zCleanUp - Ended
08:55:22:829 | MD |     INFO  | +0     | StopGlobalUserFeatures - Starting
08:55:22:829 | MD |     INFO  | +0     | StopGlobalUserFeatures - Ending
08:55:22:829 | MD |     INFO  | +0     | ExitModule - Started
08:55:22:829 | MD |     INFO  | +0     | Starting Updating Statistics:
08:55:22:981 | MD |     INFO  | +140   | Game section statistics updated.
08:55:22:993 | MD |     INFO  | +16    | Keymapper - Loading Profile -> K:\Hyperspin\HyperLaunch\Profiles\xpadder\HyperSpin\p1.xpadderprofile
08:55:23:129 | MD |     INFO  | +141   | Keymapper - Run,Xpadder.exe "K:\Hyperspin\HyperLaunch\Profiles\xpadder\HyperSpin\p1.xpadderprofile" /M, K:\Hyperspin\XPadder, Hide
08:55:23:176 | MD |     INFO  | +46    | Restoring mouse cursor
08:55:23:200 | MD |     INFO  | +16    | ExitModule - Ended
08:55:23:200 | MD |     INFO  | +0     | End of Module Logs
08:55:23:274 | HL |     INFO  | +53437 | Main - Module ended, exiting HyperLaunch normally
08:55:23:274 | HL |     INFO  | +0     | ExitScript - Started
08:55:23:286 | HL |     INFO  | +16    | SystemCursor - Restoring mouse cursor
08:55:23:293 | HL |     INFO  | +0     | ExitScript - Ended

Posted

Seems to me that you haven't configured a profile for sony playstation as explained here or a default profile as shown here.

What you may have done is configured is a xpadder profile for the frontend (hyperspin) only. This be used only to control the wheels etc in hyperspin with your logitech controller.

Therefore create either a system profile for playstation or create a default profile under all systems.

The last step would be to ensure you have configured your emulator for ps3 to match key inputs to your xpadder profile.

e.g. emulator has triangle key = key G

xpadder profile for playstation or default profile (if no playstation profile is created) has F710 button Y = key G

Posted
Seems to me that you haven't configured a profile for sony playstation as explained here or a default profile as shown here.

What you may have done is configured is a xpadder profile for the frontend (hyperspin) only. This be used only to control the wheels etc in hyperspin with your logitech controller.

Therefore create either a system profile for playstation or create a default profile under all systems.

The last step would be to ensure you have configured your emulator for ps3 to match key inputs to your xpadder profile.

e.g. emulator has triangle key = key G

xpadder profile for playstation or default profile (if no playstation profile is created) has F710 button Y = key G

Awesome thanks heaps that worked perfectly.

Archived

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

×
×
  • Create New...