langersld Posted July 14, 2013 Posted July 14, 2013 I just wanted to get clarification that Taito Type X is working fine in the New RocketLauncher... In the PC Launcher.ini...I am pointing the script to the bat files eg: [super Street Fighter IV] Application=C:\Hyperspin\Games\Taito Type X\Super Street Fighter IV\Super Street Fighter IV.bat AppWaitExe=game.exe I seem to be getting an issue where the game starts fine but after 20 seconds closes and the Hyperlaunch "now loading page appears" Any help appreciated
sucramjd Posted July 25, 2013 Posted July 25, 2013 Totally lost with this I cant get dwxnd to work, if I select a default emulator eg pc launcher it loads everything, but wont rotate I cant edit setting in dwxnd to point to my roms how the hell do I use this it's driving me mad [sIGPIC][/sIGPIC]
djvj Posted July 25, 2013 Posted July 25, 2013 Totally lost with this I cant get dwxnd to work, if I select a default emulator eg pc launcher it loads everything, but wont rotate I cant edit setting in dwxnd to point to my roms how the hell do I use this it's driving me mad What CLI are you trying to send, like what are you trying to run with what parameters? The module was not designed to launch anything except what is defined in dxwnd itself. The module simply tells dxwnd what application to run that was pre-configured in dxwnd. "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music."RocketLauncher's Official Home If you appreciate my work:My Apps:Window LoggerIdle Volume AdjusterExplorerRestorerRom Folder CleanerModule UpdaterMy Guides:How To Mod Guncons with Aimtrak
sucramjd Posted July 25, 2013 Posted July 25, 2013 What CLI are you trying to send, like what are you trying to run with what parameters? The module was not designed to launch anything except what is defined in dxwnd itself. The module simply tells dxwnd what application to run that was pre-configured in dxwnd. i'm just trying to get the shoot em ups to rotate, i'm at a loss, all the other games for this system work fine, just cant get my head round rotating them, default emulator is set as pclauncher, then do I add another emulator ie dxwnd? I see in the module that all the games are already there, but everytime I try to launch it creates the setting in my pc launcher.ini am I using the wrong module? [sIGPIC][/sIGPIC]
djvj Posted July 25, 2013 Posted July 25, 2013 show me a log, it sounds like you are not using your games.ini to map those games to use dxwnd instead of pclauncher. If anything is happening with pclauncher and you want to use dxwnd, you did not map your game to dxwnd. That's like saying I want my game to use fusion, but it's running gens. Your mapping is wrong. https://sites.google.com/site/hyperlaunch2/home/features/alternate-emu-mapping "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music."RocketLauncher's Official Home If you appreciate my work:My Apps:Window LoggerIdle Volume AdjusterExplorerRestorerRom Folder CleanerModule UpdaterMy Guides:How To Mod Guncons with Aimtrak
sucramjd Posted July 25, 2013 Posted July 25, 2013 [code] 23:19:14:078 | HL | INFO | +N/A | Main - HyperLaunch v3.0.0.4 23:19:14:078 | HL | INFO | +0 | Main - System Specs: HyperLaunch Dir: D:\Hyperspin\HyperLaunch OS: WIN_7 Architecture: 32-bit (might not be accurate) OS Language: 0409 OS Admin Status: Yes Monitor #1 (\\.\DISPLAY1): 1024x768 (1024x728 work) AutoHotkey Path: C:\Program Files\AutoHotkey\AutoHotkey.exe AHK Version: 1.1.09.04 Unicode: No 23:19:14:078 | HL | INFO | +0 | Main - HyperSpin.exe coordinates are x0 y0 w1024 h768 23:19:14:078 | HL | INFO | +0 | CheckFile - Checking if D:\Hyperspin\HyperLaunch\HyperLaunch.exe exists 23:19:14:078 | HL | INFO | +0 | CheckFile - Checking if D:\Hyperspin\Databases\Main Menu\Main Menu.xml exists 23:19:14:096 | HL | INFO | +16 | Main - HyperLaunch launched directly 23:19:15:198 | HL | INFO | +1107 | Main - HyperLaunch received "Taito Type X" and "Giga Wing Generations" 23:19:15:203 | HL | INFO | +0 | Main - Giga Wing Generations is using the default emulator: PCLauncher 23:19:15:206 | HL | INFO | +0 | Main - Checking for a [PCLauncher] section in D:\Hyperspin\HyperLaunch\Settings\Taito Type X\Emulators.ini 23:19:15:206 | HL | INFO | +0 | Main - Checking for a [PCLauncher] section in D:\Hyperspin\HyperLaunch\Settings\Global Emulators.ini 23:19:15:206 | HL | INFO | +0 | Main - Found [PCLauncher] in D:\Hyperspin\HyperLaunch\Settings\Global Emulators.ini 23:19:15:206 | HL | INFO | +0 | CheckFile - Checking if D:\Hyperspin\HyperLaunch\Modules\PCLauncher\PCLauncher.ahk exists 23:19:15:208 | HL | INFO | +0 | Main - CRC Check - CRC matches, this is an official unedited module. 23:19:15:208 | HL | INFO | +0 | Main - Giga Wing Generations will use module: D:\Hyperspin\HyperLaunch\Modules\PCLauncher\PCLauncher.ahk 23:19:15:216 | HL | INFO | +16 | Main - INI Keys read 23:19:15:216 | HL | INFO | +0 | CheckFile - Checking if D:\Hyperspin\HyperLaunch\Module Extensions\7z.exe exists 23:19:15:216 | HL | INFO | +0 | CheckFile - Checking if D:\Hyperspin\HyperLaunch\Module Extensions\7z.dll exists 23:19:15:216 | HL | INFO | +0 | CheckPaths - Started 23:19:15:216 | HL | INFO | +0 | CheckFile - Checking if D:\Hyperspin\Emulators\PC Games\dummy.exe exists 23:19:15:216 | HL | INFO | +0 | CheckPaths - Ended 23:19:15:216 | HL | INFO | +0 | BuildScript - User Variables: ;---------------------------------------------------------------------------- ; INJECTED VARIABLES ;---------------------------------------------------------------------------- #NoTrayIcon #InstallKeybdHook DetectHiddenWindows, ON SetTitleMatchMode, 2 SendMode, Event 0 = 0 frontendPID = 700 frontendPath = D:\Hyperspin frontendExe = HyperSpin.exe frontendExt = exe frontendName = HyperSpin frontendDrive = D: exitEmulatorKey = ~Esc exitEmulatorKeyWait = 0 forceHoldKey = ~Esc restoreFE = true exitScriptKey = ~q & ~s emuFullPath = D:\Hyperspin\Emulators\PC Games\dummy.exe emuPath = D:\Hyperspin\Emulators\PC Games emuName = PCLauncher emuExt = exe romPath = D:\Hyperspin\Emulators\Taito Type\Games romPathFromIni = D:\Hyperspin\Emulators\Taito Type\Games romExtension = romExtensionOrig = romExtensions = executable = dummy.exe systemName = Taito Type X dbName = Giga Wing Generations 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 = D:\Hyperspin\HyperLaunch\HyperLaunch.log logLabel := [" INFO"," WARNING"," ERROR"," DEBUG1"," DEBUG2"] logLevel = 3 logIncludeModule = true logIncludeFileProperties = true navUpKey = Up navDownKey = Down navLeftKey = Left navRightKey = Right navSelectKey = Enter originalWidth = 1024 originalHeight = 768 dtEnabled = false dtPath = C:\Program Files\DAEMON Tools Lite\DTLite.exe dtUseSCSI = true dtAddDrive = false emuIdleShutdown = 0 hideEmu = false hideFE = false fadeIn = false fadeInDuration = 500 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 = 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 = D:\Hyperspin\HyperLaunch\Media\Fade HLDataPath = D:\Hyperspin\HyperLaunch\Data HLMediaPath = D:\Hyperspin\HyperLaunch\Media HLErrSoundPath = D:\Hyperspin\HyperLaunch\Media\Sounds\Error modulesPath = D:\Hyperspin\HyperLaunch\Modules moduleFullName = D:\Hyperspin\HyperLaunch\Modules\PCLauncher\PCLauncher.ahk moduleName = PCLauncher modulePath = D:\Hyperspin\HyperLaunch\Modules\PCLauncher moduleExtension = ahk moduleExtensionsPath = D:\Hyperspin\HyperLaunch\Module Extensions libPath = D:\Hyperspin\HyperLaunch\Lib 7zEnabled = false 7zPath = D:\Hyperspin\HyperLaunch\Module Extensions\7z.exe 7zDllPath = D:\Hyperspin\HyperLaunch\Module Extensions\7z.dll 7zExtractPath = C:\Users\Arcade\AppData\Local\Temp\HS 7zExtractPathOrig = 7zAttachSystemName = false 7zDelTemp = true 7zSounds = true 7zFormats = .zip,.rar,.7z,.lzh,.gzip,.tar 7zFormatsNoP = zip,rar,7z,lzh,gzip,tar mgEnabled = false mgKey = ~NumpadSub mgBackgroundColor = FF000000 mgSidePadding = 0.2 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 = false hpKey = ~NumpadAdd hpBackToMenuBarKey = X hpZoomInKey = C hpZoomOutKey = V hpScreenshotKey = ~PrintScreen hpHiToTextPath = D:\Hyperspin\HyperLaunch\Module Extensions\HiToText.exe hpSaveStateKeyCodes = hpLoadStateKeyCodes = keymapperEnabled = false keymapper = ahk xpadderFullPath = D:\Hyperspin\Utilities\Xpadder\xpadder.exe joyToKeyFullPath = D:\Hyperspin\Utilities\JoyToKey\JoyToKey.exe keymapperProfilePath = D:\Hyperspin\HyperLaunch\Profiles\ahk keymapperFrontEndProfileName = HyperSpin keymapperHyperLaunchProfileEnabled = false JoyIDsEnabled = false JoyIDsPreferredControllersSystem = use_global JoyIDsPreferredControllersGlobal = use_global CustomJoyNamesEnabled = false CustomJoyNames = FEProfile = D:\Hyperspin\HyperLaunch\Profiles\ahk\HyperSpin defaultProfile = D:\Hyperspin\HyperLaunch\Profiles\ahk\_Default systemProfile = D:\Hyperspin\HyperLaunch\Profiles\ahk\Taito Type X xPadderSystemProfile = D:\Hyperspin\HyperLaunch\Profiles\ahk\Taito Type X\_Default emuProfile = D:\Hyperspin\HyperLaunch\Profiles\ahk\Taito Type X\PCLauncher romProfile = D:\Hyperspin\HyperLaunch\Profiles\ahk\Taito Type X\Giga Wing Generations blankProfile = D:\Hyperspin\HyperLaunch\Profiles\ahk\blank HyperLaunchProfile = D:\Hyperspin\HyperLaunch\Profiles\ahk\HyperLaunch bezelEnabled = false statisticsEnabled = true 23:19:15:216 | HL | INFO | +0 | BuildScript - Loaded XHotkey Init.ahk scripts 23:19:15:216 | HL | INFO | +0 | BuildScript - Loaded Statistics Init.ahk scripts 23:19:15:216 | HL | INFO | +0 | BuildScript - Loaded User Functions Init.ahk script 23:19:15:218 | HL | INFO | +0 | BuildScript - Module: MEmu = PCLauncher MEmuV = N/A MURL = https://sites.google.com/site/hyperlaunch2/additional-features/pclauncher MAuthor = djvj MVersion = 2.0.1 MCRC = 9689E4E0 iCRC = C95FDE49 MID = 635038268912701232 MSystem = "Games for Windows","Microsoft Windows","PCLauncher","PC Games","Taito Type X","Touhou" ;---------------------------------------------------------------------------- ; Notes: ; Use the example in the ini, in your Modules\PCLauncher\ folder, to add more applications. ; PCLauncher supports per-System inis. Copy your PCLauncher ini in the same folder and rename it to match the System's Name. Use this if you have games with the same name across multiple systems. ; Read the comments at the top of ini for the definitions of each key. ;---------------------------------------------------------------------------- StartModule() FadeInStart() IfExist, % modulePath . "\" . systemName . ".ini" ; use a custom systemName ini if it exists settingsFile := modulePath . "\" . systemName . ".ini" Else settingsFile := CheckFile(modulePath . "\" . moduleName . ".ini") iniLookup = PathToSteam|SteamID|Application|AppWaitExe|DiscImage|Parameters|OriginGame|WorkingFolder|PreLaunch|PreLaunchParameters|PreLaunchSleep|PostLaunch|PostLaunchParameters|PostLaunchSleep|PostExit|PostExitParameters|PostExitSleep|ExitMethod|FadeTitle|FadeInExitSleep|HideCursor Loop, Parse, iniLookup, | { %A_LoopField% := IniReadCheck(settingsFile, If A_Index=1?"Settings":romName, A_LoopField, A_Space,,1) If A_LoopField in Application If (!Application && !SteamID) { ; Create keys if they do not exist in the ini and this is not a steam game IniWrite, %A_Space%, %SettingsFile%, %romName%, %A_LoopField% missingKeys = 1 } } k0 := 0xF39A0B65 k1 := 0xA0D728C6 k2 := 0x66F27F1E k3 := 0x2A5B56D3 If SteamID { sU := Decrypt(ReadReg("sU"),"k") sP := Decrypt(ReadReg("sP"),"k") } Else If OriginGame = true { oU := Decrypt(ReadReg("oU"),"k") oP := Decrypt(ReadReg("oP"),"k") } If (missingKeys && !SteamID) ScriptError("Created missing keys for " . romName . " Fill in your desired values in """ . SettingsFile . """ and try again.") ; If Application is a cd/dvd image, mount it in DT first If DiscImage { Log("PCLauncher - Application is a Disc Image, mounting it in DT") appIsImage=1 DiscImage:=GetFullName(DiscImage) ; convert a relative path defined in the PCLauncher ini to absolute CheckFile(DiscImage,"Cannot find this DiscImage for " . romName . ":`n" . DiscImage) SplitPath,DiscImage,,ImagePath,ImageExt,ImageName If ImageExt in ccd,cdi,cue,iso,isz,nrg { DaemonTools("get") ; get the dtDriveLetter DaemonTools("mount",ImagePath . "\" . ImageName . "." . ImageExt) } Else ScriptError("You defined a DiscImage, but it is not a supported format for this module and/or DT:`nccd,cdi,cue,iso,isz,nrg") } ;Verify Settings.ini parameters are set CheckSettings() If hideCursor = true SystemCursor("Off") If PreLaunch { Log("PCLauncher - PreLaunch set by user, running: " . PreLaunch) PreLaunchParameters := If (!PreLaunchParameters or PreLaunchParameters="ERROR" ) ? "" : PreLaunchParameters errLevel := Run(If preLSkip ? PreLaunch : """" . PreLaunchName . """ " . PreLaunchParameters, PreLaunchPath) If errLevel ScriptError("There was a problem launching your PreLaunch application. Please check it is a valid executable.") Sleep, %PreLaunchSleep% } If SteamID { ; steam launch SteamPID := Process("Exist", "steam.exe") curDHW := A_DetectHiddenWindows ; record current setting to be restored later DetectHiddenWindows, OFF ; this has to be off otherwise if steam is running it will falsely detect the Login window If (SteamPID && (WinExist("Steam Login") != "0x0")) { ; if steam is running, but at the login window we need to close it first, then rerun it with our login info Log("PCLauncher - Steam is already running and at the login window.") Gosub, SteamLogin } Else If !SteamPID { ; if steam is not running at all, start it with our login info Log("PCLauncher - Steam is not running.") Gosub, SteamLaunch } Else { Log("PCLauncher - Steam is already running, using steam browser protocol to launch game.") Run("steam://rungameid/" . SteamID . " " . Parameters) } DetectHiddenWindows, %curDHW% ; resotring previous setting } Else { ; normal launch errLevel := Run(If appSkip ? Application : """" . (If WorkingFolder ? ApplicationPath . "\" : "") . ApplicationName . """ " . Parameters, If WorkingFolder ? WorkingFolder : ApplicationPath,, AppPID) If errLevel ScriptError("There was a problem launching your " . (If appIsImage ? "ImageExe" : "Application") . ". Please check it is a valid executable.") } If PostLaunch { Log("PCLauncher - PostLaunch set by user, running: " . PostLaunch) PostLaunchParameters := If (!PostLaunchParameters or PostLaunchParameters="ERROR" ) ? "" : PostLaunchParameters errLevel := Run(If postLSkip ? PostLaunch : """" . PostLaunchName . """ " . PostLaunchParameters, PostLaunchPath) If errLevel ScriptError("There was a problem launching your PostLaunch application. Please check it is a valid executable.") Sleep, %PostLaunchSleep% } If FadeTitle { Log("PCLauncher - FadeTitle set by user, waiting for """ . FadeTitle . """") WinWait(FadeTitle) WinWaitActive(FadeTitle) } Else { Log("PCLauncher - FadeTitle not set by user, waiting for AppPID: " . AppPID) WinWait("ahk_pid " . AppPID) WinWaitActive("ahk_pid " . AppPID) } Sleep, %FadeInExitSleep% FadeInExit() If AppWaitExe { SplitPath,AppWaitExe,AppWaitExe ; In case someone set this as a path accidentally, only want the filename from this key Log("PCLauncher - Waiting for AppWaitExe """ . AppWaitExe . """ to close.") Process("WaitClose", AppWaitExe) } Else If (FadeTitle && SteamID && !AppPID) { Log("PCLauncher - Waiting for FadeTitle """ . FadeTitle . """ to close.") WinWaitClose(FadeTitle) } Else { Log("PCLauncher - Waiting for AppPID """ . AppPID . """ to close.") Process("WaitClose", AppPID) } If PostExit { Log("PCLauncher - PostExit set by user, running: " . PostExit) PostExitParameters := If (!PostExitParameters or PostExitParameters="ERROR" ) ? "" : PostExitParameters errLevel := Run(If postESkip ? PostExit : """" . PostExitName . """ " . PostExitParameters, PostExitPath) If errLevel ScriptError("There was a problem launching your PostExit application. Please check it is a valid executable.") Sleep, %PostExitSleep% } ; If Application is a cd/dvd image, unmount it in DT If appIsImage DaemonTools("unmount") ; Close steam if it was not open prior to launch ; If AppPID = 0 ; Run, Steam.exe -shutdown, %SteamPath% ; close steam If hideCursor = true SystemCursor("On") FadeOutExit() ExitModule() CheckSettings() { Global Application,ApplicationPath,ApplicationName,ApplicationExt Global PreLaunch,PreLaunchPath,PreLaunchName,PreLaunchExt Global PostLaunch,PostLaunchPath,PostLaunchName,PostLaunchExt Global PostExit,PostExitPath,PostExitName,PostExitExt Global moduleName,appIsImage,dtDriveLetter,SteamID,appSkip,preLSkip,postLSkip,postESkip ; These checks allow you to run URL and Steam browser protocol commands. Without them ahk would error out that it can't find the file appSkip := If (SubStr(Application,1,3)="url" || SubStr(Application,1,3)="ste") ? 1:"" If appSkip Log("PCLauncher - Application is a URL or Steam Browser Protocol: " . Application) preLSkip := If (SubStr(PreLaunch,1,3)="url" || SubStr(PreLaunch,1,3)="ste") ? 1:"" If preLSkip Log("PCLauncher - PreLaunch is a URL or Steam Browser Protocol: " . PreLaunch) postLSkip := If (SubStr(PostLaunch,1,3)="url" || SubStr(PostLaunch,1,3)="ste") ? 1:"" If postLSkip Log("PCLauncher - PostLaunch is a URL or Steam Browser Protocol: " . PostLaunch) postESkip := If (SubStr(PostExit,1,3)="url" || SubStr(PostExit,1,3)="ste") ? 1:"" If postESkip Log("PCLauncher - PostExit is a URL or Steam Browser Protocol: " . PostExit) If !appSkip { Application:=GetFullName(Application) ; convert a relative path defined in the PCLauncher ini to absolute SplitPath,Application,ApplicationName,ApplicationPath,ApplicationExt StringRight, ApplicationBackSlash, Application, 1 } If (!Application && !SteamID) ; error if SteamID is not used and Application is not defined ScriptError("Missing Application in " moduleName . ".ini") If (ApplicationBackSlash = "\") ScriptError("Please make sure your Application does not contain a backslash on the end:`n" . Application) If (appIsImage && !ApplicationPath) ; if user only defined an exe for Application with no path, assume it will be found on the root dir of the image when mounted ApplicationPath := dtDriveLetter . ":\" If (!ApplicationName && !SteamID && !appSkip) ScriptError("Missing filename on the end of your Application in " . moduleName . ".ini:`n" . Application) If (!ApplicationExt && !SteamID && !appSkip) ScriptError("Missing extension on your Application in " . moduleName . ".ini:`n" . Application) If (PreLaunch && !preLSkip) { PreLaunch:=GetFullName(PreLaunch) SplitPath,PreLaunch,PreLaunchName,PreLaunchPath,PreLaunchExt StringRight, PreLaunchBackSlash, PreLaunch, 1 CheckFile(PreLaunch,"Cannot find this PreLaunch application:`n" . PreLaunch) If (PreLaunchBackSlash = "\") ScriptError("Please make sure your PreLaunch does not contain a backslash on the end:`n" . PreLaunch) } If (PostLaunch && !postLSkip) { PostLaunch:=GetFullName(PostLaunch) SplitPath,PostLaunch,PostLaunchName,PostLaunchPath,PostLaunchExt StringRight, PostLaunchBackSlash, PostLaunch, 1 CheckFile(PostLaunch,"Cannot find this PostLaunch application:`n" . PostLaunch) If (PostLaunchBackSlash = "\") ScriptError("Please make sure your PostLaunch does not contain a backslash on the end:`n" . PostLaunch) } If (PostExit && !postESkip) { PostExit:=GetFullName(PostExit) SplitPath,PostExit,PostExitName,PostExitPath,PostExitExt StringRight, PostExitBackSlash, PostExit, 1 CheckFile(PostExit,"Cannot find this PostExit application:`n" . PostExit) If (PostExitBackSlash = "\") ScriptError("Please make sure your PostExit does not contain a backslash on the end:`n" . PostExit) } CheckFile(ApplicationPath . "\" . ApplicationName,"Cannot find this Application:`n" . ApplicationPath . "\" . ApplicationName) ; keeping this last so more descriptive errors will trigger first } ReadReg(var1) { RegRead, regValue, HKEY_CURRENT_USER, Software\PCLauncher, %var1% Return %regValue% } Decrypt(T,key) ; Text, key-name { Local p, i, L, u, v, k5, a, c StringLeft p, T, 8 If p is not xdigit ; if no IV: Error { ErrorLevel = 1 Return } StringTrimLeft T, T, 8 ; remove IV from text (no separator) k5 = 0x%p% ; set new IV p = 0 ; counter to be Encrypted i = 9 ; pad-index, force restart L = ; processed text k0 := %key%0 k1 := %key%1 k2 := %key%2 k3 := %key%3 Loop % StrLen(T) { i++ IfGreater i,8, { ; all 9 pad values exhausted u := p v := k5 ; IV p++ ; increment counter TEA(u,v, k0,k1,k2,k3) Stream9(u,v) ; 9 pads from Encrypted counter i = 0 } StringMid c, T, A_Index, 1 a := Asc(c) if a between 32 and 126 { ; chars > 126 or < 31 unchanged a -= s%i% IfLess a, 32, SetEnv, a, % a+95 c := Chr(a) } L = %L%%c% ; attach Encrypted character } Return L } TEA(ByRef y,ByRef z,k0,k1,k2,k3) ; (y,z) = 64-bit I/0 block { ; (k0,k1,k2,k3) = 128-bit key IntFormat = %A_FormatInteger% SetFormat Integer, D ; needed for decimal indices s := 0 d := 0x9E3779B9 Loop 32 { k := "k" . s & 3 ; indexing the key y := 0xFFFFFFFF & (y + ((z << 4 ^ z >> 5) + z ^ s + %k%)) s := 0xFFFFFFFF & (s + d) ; simulate 32 bit operations k := "k" . s >> 11 & 3 z := 0xFFFFFFFF & (z + ((y << 4 ^ y >> 5) + y ^ s + %k%)) } SetFormat Integer, %IntFormat% y += 0 z += 0 ; Convert to original ineger format } Stream9(x,y) ; Convert 2 32-bit words to 9 pad values { ; 0 <= s0, s1, ... s8 <= 94 Local z ; makes all s%i% global s0 := Floor(x*0.000000022118911147) ; 95/2**32 Loop 8 { z := (y << 25) + (x >> 7) & 0xFFFFFFFF y := (x << 25) + (y >> 7) & 0xFFFFFFFF x = %z% s%A_Index% := Floor(x*0.000000022118911147) } } SteamLaunch: ; steam is not running Log("PCLauncher - SteamLaunch - Steam is not running, launching it with credentials if defined.") PathToSteam:=GetFullName(PathToSteam) Run("Steam.exe " . (If sU && sP ? "-login " . sU . " " . sP:"") . " -applaunch " . SteamID . " " . Parameters, PathToSteam,,SteamPID) WinWait("Steam",,15, "Steam Login") ; wait 15 seconds until the main steam window exists (not the login one) If ErrorLevel ; if we simply timed out, some other problem happened ScriptError("PCLauncher - SteamLaunch - Timed out waiting 15 seconds for Steam's main window. Please try again.") Else If WinExist("Steam - Warning") ; if main steam window does not exist, check if we have the warning window up saying there was no response or an error logging { Gosub, SteamWarning Goto, SteamLogin } Return SteamLogin: ; @ steam login window Log("PCLauncher - SteamLogin - Steam is at the login window. Closing Steam to try logging in with your credentials if defined",3) Process("Close", "Steam.exe") Process("WaitClose", "Steam.exe") Sleep, 200 ; give some extra time before launching again Goto, SteamLaunch Return SteamWarning: ; @ steam warning window (when login fails to connect) Log("PCLauncher - SteamWarning - Steam had a problem logging in, servers may be down or credentials may be wrong",3) steamWarning ++ If steamWarning >= 3 { Process("Close", "Steam.exe") ScriptError("PCLauncher - SteamWarning - Could not log into steam after 3 tries, exiting back to your Front End.") } WinActivate, Steam - Warning Send, {Enter} ; after pressing enter, steam returns to the login window WinWaitClose("Steam - Warning") Return CloseProcess: If ExitMethod ; fadeout will only take effect if an ExitMethod method was set, otherwise fade will occur and application will not close FadeOutStart() If ( ExitMethod = "Process Close AppWaitExe" && AppWaitExe) { Log("CloseProcess - ExitMethod is ""Process Close AppWaitExe""") Process("Close", AppWaitExe) } Else If ( ExitMethod = "WinClose AppWaitExe" && AppWaitExe) { Log("CloseProcess - ExitMethod is ""WinClose AppWaitExe""") AppWaitExePID := Process("Exist", AppWaitExe) WinClose("ahk_pid " . AppWaitExePID) } Else If ( ExitMethod = "Process Close Application" ) { Log("CloseProcess - ExitMethod is ""Process Close Application""") Process("Close", ApplicationName) } Else If ( ExitMethod = "WinClose Application" && FadeTitle ) { Log("CloseProcess - ExitMethod is ""WinClose Close Application""") WinClose(FadeTitle) } Else If ( ExitMethod = "Send Alt+F4" ) { Log("CloseProcess - ExitMethod is ""Send Alt+F4""") Send, !{F4} } Else { Log("CloseProcess - Default ExitMethod`, using ""WinClose""") WinClose(ApplicationName) } Return 23:19:15:218 | HL | INFO | +0 | BuildScript - Loaded Statistics.ahk script 23:19:15:218 | HL | INFO | +0 | BuildScript - Loaded User Functions.ahk script 23:19:15:218 | HL | INFO | +0 | BuildScript - Finished injecting functions into module 23:19:15:218 | HL | INFO | +0 | Main - Module is built 23:19:15:218 | HL | INFO | +0 | CheckFile - Checking if D:\Hyperspin\HyperLaunch\AutoHotkey.dll exists 23:19:15:218 | HL | INFO | +0 | Main - Running module 23:19:15:286 | MD | INFO | +N/A | Module initialized 23:19:15:286 | MD | INFO | +0 | StartModule - Started 23:19:15:286 | MD | INFO | +0 | StartModule - MEmu: PCLauncher MEmuV: N/A MURL: https://sites.google.com/site/hyperlaunch2/additional-features/pclauncher MAuthor: djvj MVersion: 2.0.1 MCRC: 9689E4E0 iCRC: C95FDE49 MSystem: "Games for Windows","Microsoft Windows","PCLauncher","PC Games","Taito Type X","Touhou" 23:19:15:286 | MD | INFO | +0 | StartModule - You have a supported System Name for this module: "Taito Type X" 23:19:15:286 | MD | INFO | +0 | StartModule - Ended 23:19:15:286 | MD | INFO | +0 | Module Setting - Application: ..\Emulators\Taito Type\Games\GWG\GigaWing Generations.bat 23:19:15:286 | MD | INFO | +0 | Module Setting - AppWaitExe: game.exe 23:19:15:286 | MD | INFO | +0 | Module Setting - FadeTitle: YOKUSHIN 23:19:15:286 | MD | INFO | +0 | CheckFile - Checking if D:\Hyperspin\Emulators\Taito Type\Games\GWG\GigaWing Generations.bat exists 23:19:15:288 | MD | INFO | +0 | Module Run - Running: D:\Hyperspin\Emulators\Taito Type\Games\GWG\"GigaWing Generations.bat" 23:19:15:311 | MD | INFO | +31 | PCLauncher - FadeTitle set by user, waiting for "YOKUSHIN" 23:19:15:311 | MD | INFO | +0 | Module WinWait - Waiting for YOKUSHIN 23:19:15:546 | MD | INFO | +234 | Module WinWaitActive - Waiting for "YOKUSHIN" 23:19:15:654 | MD | INFO | +110 | PCLauncher - Waiting for AppWaitExe "game.exe" to close. 23:19:15:654 | MD | INFO | +0 | Module Process - WaitClose game.exe 23:19:20:719 | MD | INFO | +5070 | CloseProcess - Default ExitMethod, using "WinClose" 23:19:20:719 | MD | INFO | +0 | Module WinClose - Closing: GigaWing Generations.bat 23:19:21:095 | MD | INFO | +374 | ExitModule - Started 23:19:21:095 | MD | INFO | +0 | Starting Updating Statistics: 23:19:21:095 | MD | INFO | +0 | CreateRomTable - Started 23:19:21:095 | MD | INFO | +0 | CreateRomTable - Ended, 7 Loops to create table. 23:19:21:125 | MD | INFO | +31 | Game section statistics updated. 23:19:21:125 | MD | INFO | +0 | ExitModule - Ended 23:19:21:125 | MD | INFO | +0 | End of Module Logs [sIGPIC][/sIGPIC]
gigapig Posted July 25, 2013 Posted July 25, 2013 22:24:45:785 | HL | INFO | +0 | BuildScript - Loaded Statistics.ahk script 22:24:45:785 | HL | INFO | +0 | BuildScript - Loaded User Functions.ahk script 22:24:45:785 | HL | INFO | +0 | BuildScript - Finished injecting functions into module 22:24:45:785 | HL | INFO | +0 | Main - Module is built 22:24:45:785 | HL | INFO | +0 | CheckFile - Checking if D:\Hyperspin\HyperLaunch\AutoHotkey.dll exists 22:24:45:786 | HL | INFO | +0 | Main - Running module 22:24:45:854 | MD | INFO | +N/A | Module initialized 22:24:45:855 | MD | INFO | +0 | StartModule - Started 22:24:45:855 | MD | INFO | +0 | StartModule - MEmu: PCLauncher MEmuV: N/A MURL: https://sites.google.com/site/hyperlaunch2/additional-features/pclauncher MAuthor: djvj MVersion: 2.0.1 MCRC: 9689E4E0 iCRC: C95FDE49 MSystem: "Games for Windows","Microsoft Windows","PCLauncher","PC Games","Taito Type X","Touhou" 22:24:45:855 | MD | INFO | +0 | StartModule - You have a supported System Name for this module: "Taito Type X" 22:24:45:855 | MD | INFO | +0 | StartModule - Ended 22:24:45:855 | MD | INFO | +0 | Module Setting - Application: ..\Emulators\Taito Type\Games\GWG\GigaWing Generations.bat 22:24:45:855 | MD | INFO | +0 | Module Setting - AppWaitExe: game.exe 22:24:45:856 | MD | INFO | +0 | Module Setting - FadeTitle: YOKUSHIN 22:24:45:856 | MD | INFO | +0 | CheckFile - Checking if D:\Hyperspin\Emulators\Taito Type\Games\GWG\GigaWing Generations.bat exists 22:24:45:856 | MD | INFO | +0 | Module Run - Running: D:\Hyperspin\Emulators\Taito Type\Games\GWG\"GigaWing Generations.bat" 22:24:45:882 | MD | INFO | +16 | PCLauncher - FadeTitle set by user, waiting for "YOKUSHIN" 22:24:45:882 | MD | INFO | +0 | Module WinWait - Waiting for YOKUSHIN 22:24:46:135 | MD | INFO | +265 | Module WinWaitActive - Waiting for "YOKUSHIN" 22:24:46:248 | MD | INFO | +109 | PCLauncher - Waiting for AppWaitExe "game.exe" to close. 22:24:46:248 | MD | INFO | +0 | Module Process - WaitClose game.exe 22:25:02:102 | MD | INFO | +15850 | CloseProcess - Default ExitMethod, using "WinClose" 22:25:02:102 | MD | INFO | +0 | Module WinClose - Closing: GigaWing Generations.bat 22:25:02:437 | MD | INFO | +343 | ExitModule - Started 22:25:02:437 | MD | INFO | +0 | Starting Updating Statistics: 22:25:02:437 | MD | INFO | +0 | CreateRomTable - Started 22:25:02:437 | MD | INFO | +0 | CreateRomTable - Ended, 7 Loops to create table. 22:25:02:464 | MD | INFO | +16 | Game section statistics updated. 22:25:02:464 | MD | INFO | +0 | ExitModule - Ended 22:25:02:464 | MD | INFO | +0 | End of Module Logs 22:25:02:528 | HL | WARNING | +16755 | HyperSpin.exe was displaced to x0 y0 w1036 h780 by PCLauncher. It is probably running in true fullscreen mode. 22:25:02:548 | HL | INFO | +15 | Main - Module ended, exiting HyperLaunch normally 22:25:02:548 | HL | INFO | +0 | ExitScript - Started 22:25:02:708 | HL | INFO | +156 | SystemCursor - Restoring mouse cursor 22:25:02:719 | HL | INFO | +16 | ExitScript - Ended [/code] I can see where i'm going wrong just cant figure it out how to correct it I did a video tut for VisitorQ so he could get up to speed with DXWnd. I'm not sure all of it will be relevant but it may help. I'm still not able to get mine rotated unless I do it manually with irotate in the system tray. I did set it to vertical but still no joy, but I didn't have a lot of testing time. I'm away from my pc till Monday. I will PM you a dropbox link.
sucramjd Posted July 25, 2013 Posted July 25, 2013 I did a video tut for VisitorQ so he could get up to speed with DXWnd. I'm not sure all of it will be relevant but it may help. I'm still not able to get mine rotated unless I do it manually with irotate in the system tray.I did set it to vertical but still no joy, but I didn't have a lot of testing time. I'm away from my pc till Monday. I will PM you a dropbox link. Cheers mate appreciate it [sIGPIC][/sIGPIC]
sucramjd Posted July 25, 2013 Posted July 25, 2013 cheers for the video just had a quick look, the only thing i'm doing differently to you is not adding the roms separately i'm pointing to a sub folder where all my roms are, i'll try differently tomorrow and let you know it's late and i'm tired [sIGPIC][/sIGPIC]
gigapig Posted July 25, 2013 Posted July 25, 2013 cheers for the video just had a quick look, the only thing i'm doing differently to you is not adding the roms separately i'm pointing to a sub folder where all my roms are, i'll try differently tomorrow and let you know it's late and i'm tired Your way may be correct. I have all these games in separate folders, the same folders that where kindly on the ftp. I just extract the games into the corresponding folder. I may need to point to the folder before (parent?) If your not getting any rom not found errors, leave it as is. I end up doing so many different things and checking different files I forget what I've done previously. It might be a good idea for me to start over. The "games.ini" which you would place or have in your "Hyperlaunch> settings>Taito type x " folder is looked at by hyperlaunch early on. It tells Hyperlaunch to use a certain module/emulator if the user has chosen a game from the list in the games.ini. So you choose Raiden III from your TTX wheel, hyperlaunch has a look in the Taito Tx settings folder and finds the games.ini file. Being a nosey bastard, it reads your file and finds out that the game you want to play is on the list and also if you want to play it, your gonna have to use DXWnd (or whichever) instead of PCLAUNCHER. So off it goes to the DXWnd module. You would need to set that emulator up, the same as any other.
Iggy Posted July 26, 2013 Posted July 26, 2013 Good Material Everyone!!! Relic and I are currently working on a Wiki based of your post in this thread!!! [sIGPIC][/sIGPIC]Sega Saturn Japanese Wheel Project: COMPLETE!! If you have FTP access, find my name and grab the set now!!!
djvj Posted July 26, 2013 Posted July 26, 2013 sucra, come on man, I told you the answer above, wouldn't you make sure you are launching dxwnd first before posting your log? Main - Giga Wing Generations is using the default emulator: PCLauncher Also, update HL to 3.0.0.8 (asking for help when using an old version is asking for problems) and always post a troubleshooting log. I'm tired of repeating this when it's in the sticky and has been said countless times now. "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music."RocketLauncher's Official Home If you appreciate my work:My Apps:Window LoggerIdle Volume AdjusterExplorerRestorerRom Folder CleanerModule UpdaterMy Guides:How To Mod Guncons with Aimtrak
langersld Posted July 26, 2013 Author Posted July 26, 2013 Good Material Everyone!!! Relic and I are currently working on a Wiki based of your post in this thread!!! Hi sjignacz, Im happy to contribute to this.....send me a PM if you need any input
sucramjd Posted July 26, 2013 Posted July 26, 2013 sucra, come on man, I told you the answer above, wouldn't you make sure you are launching dxwnd first before posting your log?Also, update HL to 3.0.0.8 (asking for help when using an old version is asking for problems) and always post a troubleshooting log. I'm tired of repeating this when it's in the sticky and has been said countless times now. sorry man I read the log and could see that dxwnd isn't launching but why? I have set it up right, dxwnd.exe in modules extensions, path set in dxwnd to corresponding bat file, games ini changed to use dxwnd for those five games, dxwnd emulator set under global settings, just doesn't launch, guess its because its RocketLauncher.0.0.4 and not 3.0.0.8 that is the only thing I can think of, I will try again tonight with the latest version and let you guys know, i'm guessing this is the problem. [sIGPIC][/sIGPIC]
gigapig Posted July 26, 2013 Posted July 26, 2013 Path set to corresponding batch file in DXWnd.Does that work? I was pointing mine to "game.exe".
djvj Posted July 26, 2013 Posted July 26, 2013 sorry man I read the log and could see that dxwnd isn't launching but why? I have set it up right, dxwnd.exe in modules extensions, path set in dxwnd to corresponding bat file, games ini changed to use dxwnd for those five games, dxwnd emulator set under global settings, just doesn't launch, guess its because its RocketLauncher.0.0.4 and not 3.0.0.8 that is the only thing I can think of, I will try again tonight with the latest version and let you guys know, i'm guessing this is the problem. It's never going to launch because you are telling HL you want to use PClauncher for that game, not dxwnd: https://sites.google.com/site/hyperlaunch2/home/features/alternate-emu-mapping This was something always working, even in 3.0.0.4. You should still update regardless. "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music."RocketLauncher's Official Home If you appreciate my work:My Apps:Window LoggerIdle Volume AdjusterExplorerRestorerRom Folder CleanerModule UpdaterMy Guides:How To Mod Guncons with Aimtrak
connorsdad Posted July 26, 2013 Posted July 26, 2013 I'm not sure if I'm on the same page as you guys, I have mine rotated full screen as in the top of the game is to the right of my monitor, is this what you guys have or what you are trying to do? My problem is my monitor physically rotates but the game rotates the wrong way, when I finish work I'm going to try sending a script to flip the screen once the game has loaded see if that works.
gigapig Posted July 26, 2013 Posted July 26, 2013 No we are trying to rotate the game so it is vertical on a normal horizontal monitor. I have a rotating monitor as well but I play most of these through a projector which doesn't rotate.
connorsdad Posted July 26, 2013 Posted July 26, 2013 No we are trying to rotate the game so it is vertical on a normal horizontal monitor. I have a rotating monitor as well but I play most of these through a projector which doesn't rotate. Just run it through arcadepc launcher, when I tested it that way it was rotated as you want.
gigapig Posted July 26, 2013 Posted July 26, 2013 It's never going to launch because you are telling HL you want to use PClauncher for that game, not dxwnd:https://sites.google.com/site/hyperlaunch2/home/features/alternate-emu-mapping This was something always working, even in 3.0.0.4. You should still update regardless. Jeez, your awake earlier. Must be how you get so much done.
djvj Posted July 26, 2013 Posted July 26, 2013 "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music."RocketLauncher's Official Home If you appreciate my work:My Apps:Window LoggerIdle Volume AdjusterExplorerRestorerRom Folder CleanerModule UpdaterMy Guides:How To Mod Guncons with Aimtrak
gigapig Posted July 26, 2013 Posted July 26, 2013 Just run it through arcadepc launcher, when I tested it that way it was rotated as you want. I think I see what your saying and if it were that easy we wouldn't need to be posting here. Unless you know secrets or maybe it's your scripting skills. So I thought we were using djvj's batch files etc because these verticle games dont play well with Hyperspin? The setting to flip it was in the loader right? Can't quite remember. Not at home to test it.
gigapig Posted July 26, 2013 Posted July 26, 2013 Just because your in the city that doesn't sleep, doesn't mean you don't have to. Edit: Actually, we clearly need your help. Get yourself to Costco and get yourself a couple of cases of Red Bull.
sucramjd Posted July 26, 2013 Posted July 26, 2013 I used arcade loader to launch them originally they worked no problems, and rotated correctly just couldn't get them to close [sIGPIC][/sIGPIC]
Question
langersld
I just wanted to get clarification that Taito Type X is working fine in the New RocketLauncher...
In the PC Launcher.ini...I am pointing the script to the bat files
eg:
[super Street Fighter IV]
Application=C:\Hyperspin\Games\Taito Type X\Super Street Fighter IV\Super Street Fighter IV.bat
AppWaitExe=game.exe
I seem to be getting an issue where the game starts fine but after 20 seconds closes and the Hyperlaunch "now loading page appears"
Any help appreciated
1,353 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.