moonpatrol Posted January 16, 2015 Posted January 16, 2015 Hi every one and thanks in advance for your help! I have a Hyperspin setup that has been runnnig pretty well for a long time; but now, for some reason, my second controller does not load its xpadder profile anymore. The first controller works perfectly. The hierarchy of controllers is correct in Xpadder, so this is not the issue. The controller detects the input in xpadder, so it is not broken. The name of the ".xpaddercontroller" is okay. I tried setting another controller in the second player slot in xpadder, but the problem is still there. I always manage to find the issues by myself, but this time, I'm clueless... Please, help me fellow Hyperspinners! 15:03:49:106 | HL | INFO | +N/A | Main - HyperLaunch v3.0.0.9 15:03:49:107 | HL | INFO | +16 | Main - System Specs: HyperLaunch Dir: C:\HyperSpin OS: WIN_8 Architecture: 64-bit (might not be accurate) OS Language: 040C OS Admin Status: No Monitor #1 (\\.\DISPLAY1): 1600x900 (1600x860 work) AutoHotkey Path: AHK Version: 1.1.09.04 Unicode: No 15:03:49:107 | HL | INFO | +0 | Main - HyperSpin.exe coordinates are x0 y0 w1600 h900 15:03:49:107 | HL | INFO | +0 | CheckFile - Checking if C:\HyperSpin\HyperLaunch.exe exists 15:03:49:110 | HL | INFO | +0 | Main - HyperLaunch received "Nintendo Entertainment System" and "Double Dragon II - The Revenge (USA) (Rev A)" 15:03:49:123 | HL | INFO | +16 | Main - Double Dragon II - The Revenge (USA) (Rev A) is using the default emulator: retroarch fce 15:03:49:123 | HL | INFO | +0 | Main - Checking for a [retroarch fce] section in C:\HyperSpin\Settings\Nintendo Entertainment System\Emulators.ini 15:03:49:124 | HL | INFO | +0 | Main - Found [retroarch fce] in C:\HyperSpin\Settings\Nintendo Entertainment System\Emulators.ini 15:03:49:124 | HL | INFO | +0 | CheckFile - Checking if C:\HyperSpin\Modules\Retroarch\RetroArch - Copie.ahk exists 15:03:49:137 | HL | INFO | +0 | Main - CRC Check - CRC matches, this is an official unedited module. 15:03:49:137 | HL | INFO | +0 | Main - Double Dragon II - The Revenge (USA) (Rev A) will use module: C:\HyperSpin\Modules\Retroarch\RetroArch - Copie.ahk 15:03:49:155 | HL | INFO | +31 | Main - Using standard method with "Rom Extensions" SkipChecks or without any SkipChecks. 15:03:49:159 | HL | INFO | +0 | Main - INI Keys read 15:03:49:159 | HL | INFO | +0 | CheckFile - Checking if C:\HyperSpin\Module Extensions\7z.exe exists 15:03:49:163 | HL | INFO | +0 | CheckFile - Checking if C:\HyperSpin\Module Extensions\7z.dll exists 15:03:49:166 | HL | INFO | +0 | CheckPaths - Started 15:03:49:167 | HL | INFO | +0 | CheckPaths - Found rom: C:\HyperSpin\Emulators\RomFiles\Nintendo 2\Double Dragon II - The Revenge (USA) (Rev A).zip 15:03:49:167 | HL | INFO | +0 | CheckFile - Checking if C:\HyperSpin\Emulators\RetroArch-20140103-Win64-megapack\retroarch.exe exists 15:03:49:168 | HL | INFO | +0 | CheckPaths - Ended 15:03:49:169 | HL | INFO | +15 | BuildScript - User Variables: ;---------------------------------------------------------------------------- ; INJECTED VARIABLES ;---------------------------------------------------------------------------- #NoTrayIcon #InstallKeybdHook DetectHiddenWindows, ON SetTitleMatchMode, 2 SendMode, Event 0 = 2 frontendPID = 6000 frontendPath = C:\HyperSpin frontendExe = HyperSpin.exe frontendExt = exe frontendName = HyperSpin frontendDrive = C: exitEmulatorKey = Esc exitEmulatorKeyWait = 0 forceHoldKey = ~Esc restoreFE = false exitScriptKey = ~q & ~s emuFullPath = C:\HyperSpin\Emulators\RetroArch-20140103-Win64-megapack\retroarch.exe emuPath = C:\HyperSpin\Emulators\RetroArch-20140103-Win64-megapack emuName = retroarch fce emuExt = exe romPath = C:\HyperSpin\Emulators\RomFiles\Nintendo 2 romPathFromIni = C:\HyperSpin\Emulators\RomFiles\Nintendo 2 romExtension = .zip romExtensionOrig = .zip romExtensions = zip executable = retroarch.exe systemName = Nintendo Entertainment System dbName = Double Dragon II - The Revenge (USA) (Rev A) romName = romMapPath = romMappingEnabled = false romMappingLaunchMenuEnabled = false romMappingFirstMatchingExt = false romMappingShowAllRomsInArchive = true romMappingNumberOfWheelsByScreen = 7 romMappingMenuWidth = 300 romMappingMenuMargin = 50 romMappingTextFont = Bebas Neue romMappingTextOptions = cFFFFFFFF r4 s40 Bold romMappingDisabledTextColor = ff888888 romMappingTextSizeDifference = 5 romMappingTextMargin = 10 romMappingTitleTextFont = Bebas Neue romMappingTitleTextOptions = cFFFFFFFF r4 s60 Bold romMappingTitle2TextFont = Bebas Neue romMappingTitle2TextOptions = cFFFFFFFF r4 s15 Bold romMappingGameInfoTextFont = Bebas Neue romMappingGameInfoTextOptions = cFFFFFFFF r4 s15 Regular romMappingBackgroundBrush = aa000000 romMappingColumnBrush = 33000000 romMappingButtonBrush1 = 6f000000 romMappingButtonBrush2 = 33000000 romMappingBackgroundAlign = Stretch and Lose Aspect romMappingMenuFlagWidth = 40 romMappingMenuFlagSeparation = 5 romMappingDefaultMenuList = FullList romMappingSingleFilteredRomAutomaticLaunch = false skipchecks = false romMatchExt = true logFile = C:\HyperSpin\HyperLaunch.log logLabel := [" INFO"," WARNING"," ERROR"," DEBUG1"," DEBUG2"] logLevel = 3 logIncludeModule = true logIncludeFileProperties = true logShowCommandWindow = false logCommandWindow = false navUpKey = Up navDownKey = Down navLeftKey = Left navRightKey = Right navSelectKey = Enter navP2UpKey = Numpad8 navP2DownKey = Numpad2 navP2LeftKey = Numpad4 navP2RightKey = Numpad6 navP2SelectKey = NumpadEnter originalWidth = 1600 originalHeight = 900 dtEnabled = true dtPath = C:\HyperSpin\DAEMON Tools Lite\DTLite.exe dtUseSCSI = true dtAddDrive = true emuIdleShutdown = 0 hideEmu = false hideFE = false fadeIn = true fadeInDuration = 1000 fadeInTransitionAnimation = DefaultAnimateFadeIn fadeInDelay = 0 fadeInExitDelay = 0 fadeOutExitDelay = 0 fadeOut = 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 = disabled fadeRomInfoSystemName = disabled fadeRomInfoYear = disabled fadeRomInfoManufacturer = disabled fadeRomInfoGenre = disabled fadeRomInfoRating = disabled 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 = disabled fadeStats_Last_Time_Played = disabled fadeStats_Average_Time_Played = disabled fadeStats_Total_Time_Played = disabled fadeStats_System_Total_Played_Time = disabled fadeStats_Total_Global_Played_Time = disabled 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 = C:\HyperSpin\Media\Fade HLDataPath = C:\HyperSpin\Data HLMediaPath = C:\HyperSpin\Media HLErrSoundPath = C:\HyperSpin\Media\Sounds\Error modulesPath = C:\HyperSpin\Modules moduleFullName = C:\HyperSpin\Modules\Retroarch\RetroArch - Copie.ahk moduleName = RetroArch - Copie modulePath = C:\HyperSpin\Modules\Retroarch moduleExtension = ahk moduleExtensionsPath = C:\HyperSpin\Module Extensions libPath = C:\HyperSpin\Lib 7zEnabled = false 7zPath = C:\HyperSpin\Module Extensions\7z.exe 7zDllPath = C:\HyperSpin\Module Extensions\7z.dll 7zExtractPath = C:\HyperSpin\Module Extensions 7zExtractPathOrig = 7zAttachSystemName = false 7zDelTemp = true 7zSounds = true 7zFormats = .zip,.rar,.7z,.lzh,.gzip,.tar 7zFormatsNoP = zip,rar,7z,lzh,gzip,tar mgEnabled = false mgKey = NumpadSub mgBackgroundColor = FF000000 mgSidePadding = 0.2 mgYOffset = 500 mgImageAdjust = 1 mgFont = Arial mgText1Options = x10p y30p w80p Center cBBFFFFFF r4 s100 BoldItalic mgText1Text = Please select a game mgText2Options = w96p cFFFFFFFF r4 s50 Center BoldItalic mgText2Offset = 70 mgUseSound = true mgSoundfreq = 300 mgExitEffect = none mgSelectedEffect = rotate mgUseGameArt = false mgArtworkDir = Artwork1 hpEnabled = true hpKey = NumpadAdd hpBackToMenuBarKey = X hpZoomInKey = C hpZoomOutKey = V hpScreenshotKey = ~PrintScreen hpHiToTextPath = C:\HyperSpin\Module Extensions\HiToText.exe hpSaveStateKeyCodes = hpLoadStateKeyCodes = keymapperEnabled = true keymapper = xpadder xpadderFullPath = C:\HyperSpin\Xpadder.exe joyToKeyFullPath = C:\Utilities\JoyToKey\JoyToKey.exe keymapperProfilePath = C:\HyperSpin\Profiles\xpadder keymapperFrontEndProfileName = HyperSpin keymapperHyperLaunchProfileEnabled = true JoyIDsEnabled = false JoyIDsPreferredControllersSystem = use_global JoyIDsPreferredControllersGlobal = use_global CustomJoyNamesEnabled = false CustomJoyNames = FEProfile = C:\HyperSpin\Profiles\xpadder\HyperSpin defaultProfile = C:\HyperSpin\Profiles\xpadder\_Default systemProfile = C:\HyperSpin\Profiles\xpadder\Nintendo Entertainment System xPadderSystemProfile = C:\HyperSpin\Profiles\xpadder\Nintendo Entertainment System\_Default emuProfile = C:\HyperSpin\Profiles\xpadder\Nintendo Entertainment System\retroarch fce romProfile = C:\HyperSpin\Profiles\xpadder\Nintendo Entertainment System\Double Dragon II - The Revenge (USA) (Rev A) blankProfile = C:\HyperSpin\Profiles\xpadder\_Default\blank HyperLaunchProfile = C:\HyperSpin\Profiles\xpadder\HyperLaunch bezelEnabled = false statisticsEnabled = true 15:03:49:170 | HL | INFO | +0 | BuildScript - Loaded XHotkey Init.ahk scripts 15:03:49:170 | HL | INFO | +0 | BuildScript - Loaded Keymapper Init.ahk scripts 15:03:49:170 | HL | INFO | +0 | BuildScript - Loaded Fade Init.ahk scripts 15:03:49:170 | HL | INFO | +0 | CheckFile - Checking if C:\HyperSpin\Module Extensions\VA.ahk exists 15:03:49:176 | HL | INFO | +0 | BuildScript - Loaded HyperPause Init.ahk scripts 15:03:49:176 | HL | INFO | +0 | BuildScript - Loaded Statistics Init.ahk scripts 15:03:49:176 | HL | INFO | +0 | BuildScript - Loaded User Functions Init.ahk script 15:03:49:179 | HL | INFO | +0 | BuildScript - Module: MEmu = RetroArch MEmuV = v0.9.9 MURL = http://themaister.net/retroarch.html MAuthor = djvj MVersion = 2.0.5 MCRC = 6AAD16D iCRC = 5C431F2F MID = 635038268922229162 MSystem = "Atari 2600","Bandai Wonderswan","Bandai Wonderswan Color","Final Burn Alpha","NEC PC Engine","NEC PC Engine-CD","NEC TurboGrafx-16","NEC SuperGrafx","NEC TurboGrafx-CD","Nintendo Entertainment System","Nintendo Famicom","Nintendo Famicom Disk System","Nintendo Game Boy","Nintendo Game Boy Color","Nintendo Game Boy Advance","Nintendo Virtual Boy","Nintendo Super Famicom","Sega CD","Sega Game Gear","Sega Genesis","Sega Master System","Sega Mega Drive","Sony PlayStation","Sega SG-1000","SNK Neo Geo Pocket","SNK Neo Geo Pocket Color","Super Nintendo Entertainment System" ;---------------------------------------------------------------------------- ; Notes: ; If the emu doesn't load and you get no error, usually this means the LibRetro DLL is not working! ; Look here for the latest LibRetro DLLs: http://forum.themaister.net/ ; ; Fullscreen is controlled via the variable below ; This module uses the CLI version of RetroArch (retroarch.exe), not the GUI (retroarch-phoenix.exe). ; srm are stored in a srm dir in the emu folder ; save states are stored in a save dir in the emu folder ; The emu may make a mouse cursor appear momentarily during launch, MouseMove and hide_cursor seem to have no effect ; Enable 7z support for archived roms ; By default this module is set to use per-system cfg files. This allows different settings for each system you use this emulator for. If you want all systems to use the same retroarch.cfg, set SystemConfigs to false below. ; You can find supported cores that Retroarch supports simply by downloading them from the "retroarch-phoenix.exe" or by visiting here: https://github.com/libretro/libretro.github.com/wiki/Supported-cores ; Some good discussion on cores and filters: http://forum.themaister.net/viewtopic.php?id=270 ; Whatever cores you decide to use, make sure they are extracted anywhere in your Emu_Path folder (place them in a LibRetros subfolder if you like). The module will find and load the core you choose for each system. ; The module LibRetro options need to match the name of that core for each system you use this emu. ; ; Nintendo Famicom Disk System - Requires disksys.rom be placed in the folder you define as system_directory in the RetroArch's cfg. ; Sega CD - Requires "bios_CD_E.bin", "bios_CD_J.bin", "bios_CD_U.bin" all be placed in the folder you define as system_directory in the RetroArch's cfg. ; Super Nintendo Entertainment System - requires split all 10 dsp# & st### roms all be placed in the folder you define as system_directory in the RetroArch's cfg. Many games, like Super Mario Kart require these. ; Nintendo Game Boy - Requires "sgb.boot.rom" and "Super Game Boy (World).sfc"to be placed in the folder you define as system_directory in the RetroArch's cfg. This is needed if you want to use Super game boy mode and color palettes. Also requires using the latest bsnes core. Not all games support SGB mode. ; NEC TurboGrafx-CD - Requires "syscard3.pce" be placed in the folder you define as system_directory in the RetroArch's cfg. ;---------------------------------------------------------------------------- StartModule() FadeInStart() ; This object controls how the module reacts to different systems. RetroArch can play a lot of systems, but needs to know what system you want to run, so this module has to adapt. mType := Object("Atari 2600","LibRetro_2600","Bandai Wonderswan","LibRetro_WSAN","Bandai Wonderswan Color","LibRetro_WSANC","Final Burn Alpha","LibRetro_FBA","NEC PC Engine","LibRetro_PCE","NEC PC Engine-CD","LibRetro_PCECD","NEC SuperGrafx","LibRetro_SGFX","NEC TurboGrafx-16","LibRetro_TG16","NEC TurboGrafx-CD","LibRetro_TGCD","Nintendo Entertainment System","LibRetro_NES","Nintendo Famicom","LibRetro_NFAM","Nintendo Famicom Disk System","LibRetro_NFDS","Nintendo Game Boy","LibRetro_GB","Nintendo Game Boy Color","LibRetro_GBC","Nintendo Game Boy Advance","LibRetro_GBA","Nintendo Super Famicom","LibRetro_NSF","Nintendo Virtual Boy","LibRetro_NVB","Sega Game Gear","LibRetro_GG","Sega CD","LibRetro_SCD","Sega Genesis","LibRetro_GEN","Sega Mega Drive","LibRetro_GEN","Sega Master System","LibRetro_SMS","Sony PlayStation","LibRetro_PSX","Sega SG-1000","LibRetro_SG1K","SNK Neo Geo Pocket","LibRetro_NGP","SNK Neo Geo Pocket Color","LibRetro_NGPC","Super Nintendo Entertainment System","LibRetro_SNES") ident := mType[systemName] ; search object for the systemName identifier Retroarch uses for its cores If !ident ScriptError("Your systemName is: " . systemName . "`nIt is not one of the known supported systems for this " . MEmu . " module: " . moduleName) settingsFile := modulePath . "\" . moduleName . ".ini" Fullscreen := IniReadCheck(settingsFile, "Settings", "Fullscreen","true",,1) SystemConfigs := IniReadCheck(settingsFile, "Settings", "SystemConfigs","true",,1) ; If true, RetroArch will use per-system cfg files named to match your System Name. If false, it looks for a retroarch.cfg. LibRetro_2600 := IniReadCheck(settingsFile, "Settings", "LibRetro_2600","stella_libretro_x86_64_20130629",,1) LibRetro_FBA := IniReadCheck(settingsFile, "Settings", "LibRetro_FBA","fb_alpha_libretro_x86_64_20130629",,1) LibRetro_GB := IniReadCheck(settingsFile, "Settings", "LibRetro_GB","bsnes_libretro_balanced_x86_64_20130629",,1) LibRetro_GBC := IniReadCheck(settingsFile, "Settings", "LibRetro_GBC","gambatte_libretro_x86_64_20130629",,1) LibRetro_GBA := IniReadCheck(settingsFile, "Settings", "LibRetro_GBA","vba_next_libretro_x86_64_20130629",,1) LibRetro_GEN := IniReadCheck(settingsFile, "Settings", "LibRetro_GEN","genesis_plus_gx_libretro_x86_64_20130629",,1) LibRetro_GG := IniReadCheck(settingsFile, "Settings", "LibRetro_GG","genesis_plus_gx_libretro_x86_64_20130629",,1) LibRetro_NES := IniReadCheck(settingsFile, "Settings", "LibRetro_NES","nestopia_libretro_x86_64_20130629",,1) LibRetro_NFAM := IniReadCheck(settingsFile, "Settings", "LibRetro_NFAM","nestopia_libretro_x86_64_20130629",,1) LibRetro_NFDS := IniReadCheck(settingsFile, "Settings", "LibRetro_NFDS","nestopia_libretro_x86_64_20130629",,1) LibRetro_NSF := IniReadCheck(settingsFile, "Settings", "LibRetro_NSF","bsnes_libretro_balanced_x86_64_20130629",,1) LibRetro_NVB := IniReadCheck(settingsFile, "Settings", "LibRetro_NVB","mednafen_vb_libretro_x86_64_20130629",,1) LibRetro_NGP := IniReadCheck(settingsFile, "Settings", "LibRetro_NGP","mednafen_ngp_libretro_x86_64_20130629",,1) LibRetro_NGPC := IniReadCheck(settingsFile, "Settings", "LibRetro_NGPC","mednafen_ngp_libretro_x86_64_20130629",,1) LibRetro_PCE := IniReadCheck(settingsFile, "Settings", "LibRetro_PCE","mednafen_pce_fast_libretro_x86_64_20130629",,1) LibRetro_PCECD := IniReadCheck(settingsFile, "Settings", "LibRetro_PCECD","mednafen_pce_fast_libretro_x86_64_20130629",,1) LibRetro_PSX := IniReadCheck(settingsFile, "Settings", "LibRetro_PSX","mednafen_psx_libretro_x86_64_20130629",,1) LibRetro_SCD := IniReadCheck(settingsFile, "Settings", "LibRetro_SCD","genesis_plus_gx_libretro_x86_64_20130629",,1) LibRetro_SG1K := IniReadCheck(settingsFile, "Settings", "LibRetro_SG1K","genesis_plus_gx_libretro_x86_64_20130629",,1) LibRetro_SMS := IniReadCheck(settingsFile, "Settings", "LibRetro_SMS","genesis_plus_gx_libretro_x86_64_20130629",,1) LibRetro_SNES := IniReadCheck(settingsFile, "Settings", "LibRetro_SNES","bsnes_libretro_balanced_x86_64_20130629",,1) LibRetro_SGFX := IniReadCheck(settingsFile, "Settings", "LibRetro_SGFX","mednafen_pce_fast_libretro_x86_64_20130629",,1) LibRetro_TG16 := IniReadCheck(settingsFile, "Settings", "LibRetro_TG16","mednafen_pce_fast_libretro_x86_64_20130629",,1) LibRetro_TGCD := IniReadCheck(settingsFile, "Settings", "LibRetro_TGCD","mednafen_pce_fast_libretro_x86_64_20130629",,1) LibRetro_WSAN := IniReadCheck(settingsFile, "Settings", "LibRetro_WSAN","mednafen_wswan_libretro_x86_64_20130629",,1) LibRetro_WSANC := IniReadCheck(settingsFile, "Settings", "LibRetro_WSANC","mednafen_wswan_libretro_x86_64_20130629",,1) If (FileExist(emuPath . "\" . systemName . ".cfg") && SystemConfigs = "true" ) retroCFGFile := emuPath . "\" . systemName . ".cfg" Else retroCFGFile := emuPath . "\retroarch.cfg" Log(MEmu . " is using " . retroCFGFile . " as it's config file.") Loop, %emuPath%\*.dll,,1 ; loop through all folder in emuPath looking for the ident dll If (A_LoopFileName = %ident% . ".dll") { libDll := A_LoopFileLongPath Break } If !libDll ScriptError("Your " . ident . " dll is set to " . %ident% . " but could not locate this file in any folder inside your Emu_Path folder:`n" . emuPath) If ident In LibRetro_NFDS,LibRetro_SCD,LibRetro_TGCD,LibRetro_PCECD { retroCFG := LoadProperties(retroCFGFile) ; load the config into memory retroSysDir := ReadProperty(retroCFG,"system_directory") ; read value retroSysDir := ConvertRetroCFGKey(retroSysDir) ; remove dbl quotes If !retroSysDir ScriptError("RetroArch requires you to set your system_directory and place bios rom(s) in there for """ . systemName . """ to function. Please do this first by running ""retroarch-phoenix.exe"" manually.") } 7z(romPath, romName, romExtension, 7zExtractPath) If ident = LibRetro_NFDS ; Nintendo Famicom Disk System { IfNotExist, %retroSysDir%disksys.rom ScriptError("RetroArch requires ""disksys.rom"" for " . systemName . " but could not find it in your system_directory: """ . retroSysDir . """") } Else If ident = LibRetro_SCD ; Sega CD { If romExtension Not In .bin,.cue,.iso ScriptError("RetroArch only supports Sega CD games in bin|cue|iso format. It does not support:`n" . romExtension) IfNotExist, %retroSysDir%bios_CD_E.bin ScriptError("RetroArch requires ""bios_CD_E.bin"" for " . systemName . " but could not find it in your system_directory: """ . retroSysDir . """") IfNotExist, %retroSysDir%bios_CD_U.bin ScriptError("RetroArch requires ""bios_CD_U.bin"" for " . systemName . " but could not find it in your system_directory: """ . retroSysDir . """") IfNotExist, %retroSysDir%bios_CD_J.bin ScriptError("RetroArch requires ""bios_CD_J.bin"" for " . systemName . " but could not find it in your system_directory: """ . retroSysDir . """") } Else If ident in LibRetro_PCECD,LibRetro_TGCD ; NEC PC Engine-CD and NEC TurboGrafx-CD { If romExtension != .cue ScriptError("RetroArch only supports " . systemName . " games in cue format. It does not support:`n" . romExtension) IfNotExist, %retroSysDir%syscard3.pce ScriptError("RetroArch requires ""syscard3.pce"" for " . systemName . " but could not find it in your system_directory: """ . retroSysDir . """") } ; WriteProperty(retroCFGFile,"system_directory","""D:\test""") ; write a new value to the RetroArch cfg file ; SaveProperty() ; save RetroArch cfg file to disk BezelStart() fullscreen := (If fullscreen = "true" ? ("-f") : ("")) IfNotExist, %emuPath%\srm FileCreateDir, %emuPath%\srm ; creating srm dir if it doesn't exist IfNotExist, %emuPath%\save FileCreateDir, %emuPath%\save ; creating save dir if it doesn't exist Run(executable . " """ . romPath . "\" . romName . romExtension . """ " . fullscreen . " -c """ . retroCFGFile . """ -L """ . libDll . """ -s srm -S save", emuPath, "Hide") WinWait("RetroArch ahk_class RetroArch") WinWaitActive("RetroArch ahk_class RetroArch") BezelDraw() FadeInExit() Process("WaitClose", executable) 7zCleanUp() BezelExit() FadeOutExit() ExitModule() ; Used to convert between RetroArch keys and usable data ConvertRetroCFGKey(txt,direction="read"){ If direction = read { StringTrimLeft,newtxt,txt,1 ; removes the " from the left of the txt StringTrimRight,newtxt,newtxt,1 ; removes the " from the right of the txt If InStr(newtxt,"/") StringReplace,newtxt,newtxt,/,\,1 ; replaces all forward slashes with backslashes } Else If direction = write { newtxt = "%txt%" ; wraps the txt with "" If InStr(newtxt,"\") StringReplace,newtxt,newtxt,\,/,1 ; replaces all backslashes with forward slashes } Else ScriptError("Not a valid use of ConvertRetroCFGKey. Only ""read"" or ""write"" are supported.") Log("ConvertRetroCFGKey - Converted " . txt . " to " . newtxt,4) Return newtxt } CloseProcess: FadeOutStart() ; Send !{F4} WinClose("RetroArch ahk_class RetroArch") Return 15:03:49:208 | HL | INFO | +32 | BuildScript - Loaded HyperPause scripts 15:03:49:208 | HL | INFO | +0 | BuildScript - Loaded Statistics.ahk script 15:03:49:208 | HL | INFO | +0 | BuildScript - Loaded User Functions.ahk script 15:03:49:208 | HL | INFO | +0 | BuildScript - Finished injecting functions into module 15:03:49:208 | HL | INFO | +0 | Main - Module is built 15:03:49:208 | HL | INFO | +0 | CheckFile - Checking if C:\HyperSpin\AutoHotkey.dll exists 15:03:49:216 | HL | INFO | +15 | SystemCursor - Hiding mouse cursor 15:03:49:217 | HL | INFO | +0 | Main - Running module 15:03:49:523 | MD | INFO | +N/A | Module initialized 15:03:49:525 | MD | INFO | +0 | CheckFile - Checking if C:\HyperSpin\Xpadder.exe exists 15:03:49:527 | MD | INFO | +0 | Keymapper - Loading xpadder 15:03:50:136 | MD | INFO | +610 | Keymapper - Loading Profile -> C:\HyperSpin\Profiles\xpadder\Nintendo Entertainment System\_Default\p1.xpadderprofile 15:03:50:154 | MD | WARNING | +31 | Keymapper support is enabled for "xpadder", but could not find a "Double Dragon II - The Revenge (USA) (Rev A)", "retroarch fce", "Nintendo Entertainment System", default, a "XBCD Microsoft Xbox Controller S" player 3 profile or a blank profile in "C:\HyperSpin\Profiles\xpadder" for controller "XBCD Microsoft Xbox Controller S" 15:03:50:269 | MD | INFO | +109 | Keymapper - Run,Xpadder.exe "C:\HyperSpin\Profiles\xpadder\Nintendo Entertainment System\_Default\p1.xpadderprofile" "" /M, C:\HyperSpin, Hide 15:03:50:521 | MD | INFO | +250 | StartModule - Started 15:03:50:521 | MD | INFO | +0 | StartModule - MEmu: RetroArch MEmuV: v0.9.9 MURL: http://themaister.net/retroarch.html MAuthor: djvj MVersion: 2.0.5 MCRC: 6AAD16D iCRC: 5C431F2F MID: MSystem: "Atari 2600","Bandai Wonderswan","Bandai Wonderswan Color","Final Burn Alpha","NEC PC Engine","NEC PC Engine-CD","NEC TurboGrafx-16","NEC SuperGrafx","NEC TurboGrafx-CD","Nintendo Entertainment System","Nintendo Famicom","Nintendo Famicom Disk System","Nintendo Game Boy","Nintendo Game Boy Color","Nintendo Game Boy Advance","Nintendo Virtual Boy","Nintendo Super Famicom","Sega CD","Sega Game Gear","Sega Genesis","Sega Master System","Sega Mega Drive","Sony PlayStation","Sega SG-1000","SNK Neo Geo Pocket","SNK Neo Geo Pocket Color","Super Nintendo Entertainment System" 15:03:50:521 | MD | INFO | +0 | StartModule - You have a supported System Name for this module: "Nintendo Entertainment System" 15:03:50:521 | MD | INFO | +0 | StartModule - Ended 15:03:50:536 | MD | INFO | +16 | GetFadePicFile - Randomized images and Fade Layer 1 will use C:\HyperSpin\Media\Fade\Nintendo Entertainment System\_Default\Layer 1.png 15:03:50:539 | MD | INFO | +0 | GetFadePicFile - Randomized images and Fade Layer 2 will use C:\HyperSpin\Media\Fade\Nintendo Entertainment System\_Default\Layer 2.png 15:03:50:741 | MD | INFO | +203 | DefaultAnimateFadeIn - Started 15:03:50:741 | MD | INFO | +0 | DefaultAnimateFadeIn - Drawing First FadeIn Image. 15:03:51:736 | MD | INFO | +1000 | DefaultAnimateFadeIn - Ended 15:03:51:736 | MD | INFO | +0 | DefaultFadeAnimation - Started 15:03:51:738 | MD | INFO | +0 | GetFadePicFile - Randomized images and Fade Layer 3 will use C:\HyperSpin\Media\Fade\Nintendo Entertainment System\_Default\Layer 3.png 15:03:51:749 | MD | INFO | +16 | ReadHyperSpinXML - Started 15:03:51:752 | MD | INFO | +0 | ReadHyperSpinXML - Ended 15:03:51:753 | MD | INFO | +0 | CreateRomTable - Started 15:03:51:753 | MD | INFO | +0 | CreateRomTable - Ended, 7 Loops to create table. 15:03:52:636 | MD | INFO | +875 | DefaultFadeAnimation - Ended 15:03:52:636 | MD | INFO | +0 | StartGlobalUserFeatures - Starting 15:03:52:636 | MD | INFO | +0 | StartGlobalUserFeatures - Ending 15:03:52:642 | MD | INFO | +15 | Module Setting - Fullscreen: true 15:03:52:643 | MD | INFO | +0 | Module Setting - SystemConfigs: true 15:03:52:643 | MD | INFO | +0 | Module Setting - LibRetro_2600: stella_libretro 15:03:52:644 | MD | INFO | +0 | Module Setting - LibRetro_FBA: fb_alpha_libretro_x86_64_20130629 15:03:52:644 | MD | INFO | +0 | Module Setting - LibRetro_GB: gambatte_libretro 15:03:52:644 | MD | INFO | +0 | Module Setting - LibRetro_GBC: gambatte_libretro 15:03:52:645 | MD | INFO | +0 | Module Setting - LibRetro_GBA: vba_next_libretro 15:03:52:645 | MD | INFO | +0 | Module Setting - LibRetro_GEN: genesis_plus_gx_libretro 15:03:52:645 | MD | INFO | +0 | Module Setting - LibRetro_GG: genesis_plus_gx_libretro 15:03:52:645 | MD | INFO | +0 | Module Setting - LibRetro_NES: fceumm_libretro 15:03:52:646 | MD | INFO | +0 | Module Setting - LibRetro_NFAM: nestopia_libretro_x86_64_20130629 15:03:52:646 | MD | INFO | +0 | Module Setting - LibRetro_NFDS: nestopia_libretro_x86_64_20130629 15:03:52:646 | MD | INFO | +0 | Module Setting - LibRetro_NSF: bsnes_libretro_balanced_x86_64_20130629 15:03:52:647 | MD | INFO | +0 | Module Setting - LibRetro_NVB: mednafen_vb_libretro 15:03:52:647 | MD | INFO | +0 | Module Setting - LibRetro_NGP: mednafen_ngp_libretro_x86_64_20130629 15:03:52:648 | MD | INFO | +0 | Module Setting - LibRetro_NGPC: mednafen_ngp_libretro_x86_64_20130629 15:03:52:648 | MD | INFO | +0 | Module Setting - LibRetro_PCE: mednafen_pce_fast_libretro_x86_64_20130629 15:03:52:648 | MD | INFO | +0 | Module Setting - LibRetro_PCECD: mednafen_pce_fast_libretro_x86_64_20130629 15:03:52:649 | MD | INFO | +0 | Module Setting - LibRetro_PSX: mednafen_psx_libretro_x86_64_20130629 15:03:52:649 | MD | INFO | +0 | Module Setting - LibRetro_SCD: genesis_plus_gx_libretro_x86_64_20130629 15:03:52:649 | MD | INFO | +0 | Module Setting - LibRetro_SG1K: genesis_plus_gx_libretro_x86_64_20130629 15:03:52:650 | MD | INFO | +0 | Module Setting - LibRetro_SMS: genesis_plus_gx_libretro 15:03:52:650 | MD | INFO | +0 | Module Setting - LibRetro_SNES: snes9x_libretro 15:03:52:650 | MD | INFO | +0 | Module Setting - LibRetro_SGFX: mednafen_pce_fast_libretro_x86_64_20130629 15:03:52:651 | MD | INFO | +0 | Module Setting - LibRetro_TG16: mednafen_pce_fast_libretro_x86_64_20130629 15:03:52:651 | MD | INFO | +0 | Module Setting - LibRetro_TGCD: mednafen_pce_fast_libretro_x86_64_20130629 15:03:52:651 | MD | INFO | +0 | Module Setting - LibRetro_WSAN: mednafen_wswan_libretro_x86_64_20130629 15:03:52:652 | MD | INFO | +0 | Module Setting - LibRetro_WSANC: mednafen_wswan_libretro_x86_64_20130629 15:03:52:652 | MD | INFO | +0 | RetroArch is using C:\HyperSpin\Emulators\RetroArch-20140103-Win64-megapack\retroarch.cfg as it's config file. 15:03:52:669 | MD | INFO | +31 | CreateMGRomTable - Started 15:03:52:669 | MD | INFO | +0 | CreateMGRomTable - Ended 15:03:52:682 | MD | INFO | +0 | Module Run - Running: C:\HyperSpin\Emulators\RetroArch-20140103-Win64-megapack\retroarch.exe "C:\HyperSpin\Emulators\RomFiles\Nintendo 2\Double Dragon II - The Revenge (USA) (Rev A).zip" -f -c "C:\HyperSpin\Emulators\RetroArch-20140103-Win64-megapack\retroarch.cfg" -L "C:\HyperSpin\Emulators\RetroArch-20140103-Win64-megapack\libretro\fceumm_libretro.dll" -s srm -S save 15:03:52:782 | MD | INFO | +110 | Module WinWait - Waiting for RetroArch ahk_class RetroArch 15:03:53:078 | MD | INFO | +297 | Module WinWaitActive - Waiting for "RetroArch ahk_class RetroArch" 15:03:53:371 | MD | INFO | +281 | Module Process - WaitClose retroarch.exe 15:03:53:388 | MD | INFO | +31 | DefaultAnimateFadeIn - Started 15:03:54:424 | MD | INFO | +1031 | DefaultAnimateFadeIn - Ended 15:04:05:608 | MD | INFO | +11188 | Module WinClose - Closing: RetroArch ahk_class RetroArch 15:04:05:944 | MD | INFO | +328 | StopGlobalUserFeatures - Starting 15:04:05:945 | MD | INFO | +0 | StopGlobalUserFeatures - Ending 15:04:05:945 | MD | INFO | +0 | ExitModule - Started 15:04:05:945 | MD | INFO | +0 | Starting Updating Statistics: 15:04:06:299 | MD | INFO | +359 | Game section statistics updated. 15:04:06:632 | MD | INFO | +329 | Keymapper - Loading Profile -> C:\HyperSpin\Profiles\xpadder\HyperSpin\p1.xpadderprofile 15:04:06:633 | MD | WARNING | +0 | Keymapper support is enabled for "xpadder", but could not find a HyperSpin profile or a blank profile in C:\HyperSpin\Profiles\xpadder for controller XBCD Microsoft Xbox Controller S 15:04:06:865 | MD | INFO | +234 | Keymapper - Run,Xpadder.exe "C:\HyperSpin\Profiles\xpadder\HyperSpin\p1.xpadderprofile" "" /M, C:\HyperSpin, Hide 15:04:07:086 | MD | INFO | +219 | ExitModule - Ended 15:04:07:086 | MD | INFO | +0 | End of Module Logs 15:04:07:157 | HL | INFO | +17938 | Main - Module ended, exiting HyperLaunch normally 15:04:07:157 | HL | INFO | +0 | ExitScript - Started 15:04:07:167 | HL | INFO | +0 | SystemCursor - Restoring mouse cursor 15:04:07:170 | HL | INFO | +15 | ExitScript - Ended
moonpatrol Posted January 16, 2015 Author Posted January 16, 2015 Wow... After hours of messing around, I found a solution : -I saw that in HyperLaunchHQ, in the global tab, under the keymapper tab, my second joystick was tagged with "(port 3)", and my first controller "(port 1)". -I checked the Ids of my joysticks with "JoyIds" utility, and I my second controller was tagged as "3"; I changed it to "2" : now it works again! I hope this will help!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.