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.

Taito Type X problem: Games not running


Kiro04

Recommended Posts

Posted

Hi everyone!

I'm following GigaPig's guide on youtube to try to setup this system.

Now, I'm stuck in the PCLauncher settings editor: I do all the steps in the video, but when I want to try one game throw HyperLaunch, it run Fade (Now Loading screen) then a white screen, and then the game exits and return to the editor.

 

I dont know what the problem is.

The games are from the internet, I''ve downloaded the setup from DJVJ's folder in FTP to add the hacked files.

I'm running WinXP SP3, with all the updates, Visual C++ 2005,2008,2010; DirectX 9c, NetFramework 1.1, 2.0; 3.0, 3.5 and 4.0.

 

This is the log from HyperLaunch...

 

 


00:30:38:593 | HL |     INFO  | +N/A   | Main - HyperLaunch v3.0.1.1c

00:30:38:750 | HL |     INFO  | +157   | Main - System Specs:

                    HyperLaunch Dir: C:\Hyperspin\HyperLaunch

                    OS: Microsoft Windows XP Professional

                    SKU:

                    Total Memory: 2046.79 MB

                    Free Memory: 857.85 MB

                    Used Memory: 1188.945 MB

                    SystemType: X86-based PC

                    Physical Processors: See Logical in XP

                    Logical Processors: 1

                    GPU 1 Name: NVIDIA GeForce4 MX 4000

                    GPU 1 RAM: 64.00 MB

                    GPU 1 Driver Version: 6.14.10.8198

                    Sound 1 Device: C-Media AC97 Audio Device

                    Sound 1 Status: Enabled

                    OS Language: English_United_States

                    OS Admin Status: Yes

                    Monitor #1 (\\.\DISPLAY1): 1024x768 (1024x740 work)

                    AutoHotkey Path: C:\Program Files\AutoHotkey\AutoHotkey.exe

                    AHK Version: 1.1.09.04

                    Unicode: No

00:30:38:750 | HL |     INFO  | +0     | Main - HyperSpin.exe coordinates are x y w h

00:30:38:750 | HL |     INFO  | +0     | CheckFile - Checking if C:\Hyperspin\HyperLaunch\HyperLaunch.exe exists

00:30:38:750 | HL |     INFO  | +0     | Main - HyperLaunch received "Taito Type X" and "Battle Fantasia"

00:30:38:750 | HL |     INFO  | +0     | Main - Battle Fantasia is using the default emulator: PCLauncher

00:30:38:750 | HL |     INFO  | +0     | Main - Checking for a [PCLauncher] section in C:\Hyperspin\HyperLaunch\Settings\Taito Type X\Emulators.ini

00:30:38:750 | HL |     INFO  | +0     | Main - Checking for a [PCLauncher] section in C:\Hyperspin\HyperLaunch\Settings\Global Emulators.ini

00:30:38:750 | HL |     INFO  | +0     | Main - Found [PCLauncher] in C:\Hyperspin\HyperLaunch\Settings\Global Emulators.ini

00:30:38:750 | HL |     INFO  | +0     | CheckFile - Checking if C:\Hyperspin\HyperLaunch\Modules\PCLauncher\PCLauncher.ahk exists

00:30:38:765 | HL |     INFO  | +15    | Main - CRC Check - CRC matches, this is an official unedited module.

00:30:38:765 | HL |     INFO  | +0     | Main - Battle Fantasia will use module: C:\Hyperspin\HyperLaunch\Modules\PCLauncher\PCLauncher.ahk

00:30:38:781 | HL |     INFO  | +16    | Main - Using SkipChecks method "Rom and Emu" or emuName = "PCLauncher".

00:30:38:781 | HL |     INFO  | +0     | Main - INI Keys read

00:30:38:781 | HL |     INFO  | +0     | CheckFile - Checking if C:\Hyperspin\HyperLaunch\Module Extensions\7z.exe exists

00:30:38:781 | HL |     INFO  | +0     | CheckFile - Checking if C:\Hyperspin\HyperLaunch\Module Extensions\7z.dll exists

00:30:38:781 | HL |     INFO  | +0     | CheckPaths - Started

00:30:38:781 | HL |     INFO  | +0     | CheckFile - Checking if \ exists

00:30:38:781 | HL |     INFO  | +0     | CheckPaths - Ended

00:30:38:781 | HL |     INFO  | +0     | BuildScript - User Variables:

                    ;----------------------------------------------------------------------------

                    ; INJECTED VARIABLES

                    ;----------------------------------------------------------------------------

                    

                    #NoTrayIcon

                    #InstallKeybdHook

                    DetectHiddenWindows, ON

                    SetTitleMatchMode, 2

                    SendMode, Event

                    0 = 2

                    hlMode =

                    frontendPID = 0

                    frontendPath = C:\Hyperspin

                    frontendExe = HyperSpin.exe

                    frontendExt = exe

                    frontendName = HyperSpin

                    frontendDrive = C:

                    exitEmulatorKey = ~Esc

                    exitEmulatorKeyWait = 0

                    forceHoldKey = ~Esc

                    restoreFE = false

                    exitScriptKey = ~q & ~s

                    toggleCursorKey = ~e & ~t

                    emuFullPath =

                    emuPath =

                    emuName = PCLauncher

                    emuExt =

                    romPath =

                    romPathFromIni =

                    romExtension =

                    romExtensionOrig =

                    romExtensions =

                    executable =

                    systemName = Taito Type X

                    dbName = Battle Fantasia

                    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

                    blockInputTime = 0

                    blockInputFile =

                    errorLevelReporting = false

                    logFile = C:\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 = Enter

                    navP2UpKey = Numpad8

                    navP2DownKey = Numpad2

                    navP2LeftKey = Numpad4

                    navP2RightKey = Numpad6

                    navP2SelectKey = NumpadEnter

                    originalWidth = 1024

                    originalHeight = 768

                    dtEnabled = false

                    dtPath = C:\Program Files\DAEMON Tools Lite\DTLite.exe

                    dtUseSCSI = true

                    dtAddDrive = true

                    emuIdleShutdown = 0

                    hideCursor = true

                    hideEmu = false

                    hideFE = false

                    fadeIn = true

                    fadeInDuration = 500

                    fadeInTransitionAnimation = DefaultAnimateFadeIn

                    fadeInDelay = 0

                    fadeInExitDelay = 0

                    fadeOutExitDelay = 0

                    fadeOut = true

                    fadeOutExtraScreen = false

                    fadeOutDuration = 500

                    fadeOutTransitionAnimation = DefaultAnimateFadeOut

                    fadeOutDelay = 0

                    fadeLyrInterpolation = 6

                    fadeLyr1Color = DD000000

                    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 = 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 = Cargando Juego...

                    fadeText2X = 0

                    fadeText2Y = 0

                    fadeText2Options = cFFFFFFFF r4 s20 Right Bold

                    fadeText2 = ¡Extracción Completa!

                    fadeFont = Arial

                    fadeSystemAndRomLayersOnly = false

                    fadeInterruptKey =

                    detectFadeErrorEnabled = true

                    fadeImgPath = C:\Hyperspin\HyperLaunch\Media\Fade

                    HLDataPath = C:\Hyperspin\HyperLaunch\Data

                    HLMediaPath = C:\Hyperspin\HyperLaunch\Media

                    HLErrSoundPath = C:\Hyperspin\HyperLaunch\Media\Sounds\Error

                    modulesPath = C:\Hyperspin\HyperLaunch\Modules

                    moduleFullName = C:\Hyperspin\HyperLaunch\Modules\PCLauncher\PCLauncher.ahk

                    moduleName = PCLauncher

                    modulePath = C:\Hyperspin\HyperLaunch\Modules\PCLauncher

                    moduleExtension = ahk

                    moduleExtensionsPath = C:\Hyperspin\HyperLaunch\Module Extensions

                    libPath = C:\Hyperspin\HyperLaunch\Lib

                    7zEnabled = false

                    7zPath = C:\Hyperspin\HyperLaunch\Module Extensions\7z.exe

                    7zDllPath = C:\Hyperspin\HyperLaunch\Module Extensions\7z.dll

                    7zExtractPath = C:\Program Files\7-Zip

                    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 = C:\Hyperspin\HyperLaunch\Module Extensions\HiToText.exe

                    hpSaveStateKeyCodes =

                    hpLoadStateKeyCodes =

                    keymapperEnabled = false

                    keymapperAHKMethod = false

                    keymapper = ahk

                    xpadderFullPath = C:\Hyperspin\Utilities\Xpadder\xpadder.exe

                    joyToKeyFullPath = C:\Hyperspin\Utilities\JoyToKey\JoyToKey.exe

                    keymapperProfilePath = C:\Hyperspin\HyperLaunch\Profiles\ahk

                    keymapperFrontEndProfileName = HyperSpin

                    keymapperFrontEndProfile = false

                    keymapperHyperLaunchProfileEnabled = false

                    JoyIDsEnabled = false

                    JoyIDsPreferredControllersSystem = use_global

                    JoyIDsPreferredControllersGlobal = use_global

                    CustomJoyNamesEnabled = false

                    CustomJoyNames =

                    FEProfile = C:\Hyperspin\HyperLaunch\Profiles\ahk\HyperSpin

                    defaultProfile = C:\Hyperspin\HyperLaunch\Profiles\ahk\_Default

                    systemProfile = C:\Hyperspin\HyperLaunch\Profiles\ahk\Taito Type X

                    xPadderSystemProfile = C:\Hyperspin\HyperLaunch\Profiles\ahk\Taito Type X\_Default

                    emuProfile = C:\Hyperspin\HyperLaunch\Profiles\ahk\Taito Type X\PCLauncher

                    romProfile = C:\Hyperspin\HyperLaunch\Profiles\ahk\Taito Type X\Battle Fantasia

                    HyperLaunchProfile = C:\Hyperspin\HyperLaunch\Profiles\ahk\HyperLaunch

                    blankProfile = C:\Hyperspin\HyperLaunch\Profiles\ahk\blank

                    ahkFEProfile = C:\Hyperspin\HyperLaunch\Profiles\AHK\HyperSpin

                    ahkDefaultProfile = C:\Hyperspin\HyperLaunch\Profiles\AHK\_Default

                    ahkSystemProfile = C:\Hyperspin\HyperLaunch\Profiles\AHK\Taito Type X

                    ahkEmuProfile = C:\Hyperspin\HyperLaunch\Profiles\AHK\Taito Type X\PCLauncher

                    ahkRomProfile = C:\Hyperspin\HyperLaunch\Profiles\AHK\Taito Type X\Battle Fantasia

                    ahkHyperLaunchProfile = C:\Hyperspin\HyperLaunch\Profiles\AHK\HyperLaunch

                    bezelEnabled = false

                    statisticsEnabled = true



00:30:38:781 | HL |     INFO  | +0     | BuildScript - Loaded XHotkey Init.ahk scripts

00:30:38:781 | HL |     INFO  | +0     | BuildScript - Loaded Fade Init.ahk scripts

00:30:38:781 | HL |     INFO  | +0     | BuildScript - Loaded Statistics Init.ahk scripts

00:30:38:781 | HL |     INFO  | +0     | BuildScript - Loaded User Functions Init.ahk script

00:30:38:796 | HL |     INFO  | +16    | BuildScript - Module:

                    MEmu = PCLauncher

                    MEmuV =  N/A

                    MURL = https://sites.google.com/site/hyperlaunch2/additional-features/pclauncher

                    MAuthor = djvj

                    MVersion = 2.1.1

                    MCRC = E0BD831D

                    iCRC = 987FA370

                    mId = 635243126483565041

                    MSystem = "Fan Remakes","Games for Windows","Microsoft Windows","PCLauncher","PC Games","Steam","Steam Big Picture","Taito Type X","Touhou","e-AMUSEMENT","Fix-It-Felix Jr.","Touhou Project","American Laser Games","Nintendo game & Watch","Electronic Games"

                    ;----------------------------------------------------------------------------

                    ; Notes:

                    ; Use the examples 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.

                    ; For informaion on how to use this module and what all the settings do, please see https://sites.google.com/site/hyperlaunch2/additional-features/pclauncher

                    ;----------------------------------------------------------------------------

                    StartModule()

                    

                    If (romExtensions != "")

                        ScriptError("PCLauncher does not use extensions, but you have them set to: """ . romExtensions . """. Please remove all extensions from the PCLauncher emulator in HyperLaunchHQ to continue using it.")

                    

                    FadeInStart()

                    

                    IfExist, % modulePath . "\" . systemName . ".ini"    ; use a custom systemName ini if it exists

                        settingsFile := modulePath . "\" . systemName . ".ini"

                    Else

                        settingsFile := CheckFile(modulePath . "\" . moduleName . ".ini", "Could not find """ . modulePath . "\" . moduleName . ".ini"". HyperLaunchHQ will create this file when you configure your first game to be used with this " . MEmu . " module.")

                    

                    iniLookup = 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, dbName, 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%, %dbName%, %A_LoopField%

                                missingKeys = 1

                            }

                    }

                    hideCursor := IniReadCheck(settingsFile, "Settings|" . dbName, "HideCursor",,,1)

                    

                    If (missingKeys && !SteamID)

                        ScriptError("You have not set up " . dbName . " in HLHQ yet, so PCLauncher does not know what exe, FadeTitle, and/or SteamID to watch for.")

                    

                    ; If Application needs a cd/dvd image in the drive, 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 " . dbName . ":`n" . DiscImage)

                        SplitPath,DiscImage,,ImagePath,ImageExt,ImageName

                        If ImageExt in mds,mdx,b5t,b6t,bwt,ccd,cue,isz,nrg,cdi,iso,ape,flac

                        {    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 module's settings 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 mode in steam,steambp    ; steam launch

                    {    Log("PCLauncher - Preparing to launch a Steam game.")

                        RegRead, steamPath, HKLM, Software\Valve\Steam, InstallPath

                        Log("PCLauncher - Steam install path: " . steamPath)

                        steamExe := "Steam.exe"

                        CheckFile(steamPath . "\" . steamExe)

                        steamPID := Process("Exist", steamExe)

                        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.")

                            If mode = steam

                                Run("Start steam://rungameid/" . SteamID .  " " . Parameters)

                            Else

                                Run(Application .  " " . Parameters)

                        }

                        DetectHiddenWindows, %curDHW%    ; restoring previous setting

                    } Else If mode = origin        ; origin launch

                    {    Log("PCLauncher - Checking Origin status.")

                        RegRead, originFullPath, HKLM, Software\origin, ClientPath

                        Log("PCLauncher - Origin install path: " . originPath)

                        CheckFile(originFullPath)

                        SplitPath, originFullPath, originExe, originPath

                        originLoginWindow := "Origin ahk_class QWidget"

                        OriginPID := Process("Exist", originExe)

                        If (OriginPID && (WinExist(originLoginWindow) != "0x0")) {    ; if Origin is running, but at the login window, we need to close it first, then rerun it with our login info

                            WinGet, orResize, Style, %originLoginWindow%

                            If (orResize & 0x10000)    ; testing if the window has WS_MAXIMIZEBOX, the only difference between the Origin Main Window and the Origin Login Window

                                Log("PCLauncher - Origin is already running and logged in. Skipping login scripts and running game.")

                            Else {

                                Log("PCLauncher - Origin is already running and at the login window.")

                                Gosub, OriginLogin

                            }

                        } Else If !OriginPID {    ; if Origin is not running at all, start it with our login info

                            Log("PCLauncher - Origin is not running.")

                            Gosub, OriginLaunch

                        } Else {

                            Log("PCLauncher - Origin is already running and looks to be logged in as no login window was detected.")

                        }

                        errLevel := Run(ApplicationName . " " . Parameters, ApplicationPath,, AppPID)

                        If errLevel

                            ScriptError("There was a problem launching your Application. Please check it is a valid executable.")

                    } Else {

                        If mode = url

                        {    Log("PCLauncher - Launching URL.")

                            errLevel := Run(Application)

                        } Else {    ; standard launch

                            Log("PCLauncher - Launching a standard application.")

                            errLevel := Run("""" . (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 If AppWaitExe {

                        Log("PCLauncher - FadeTitle not set by user, but AppWaitExe is. Waiting for AppWaitExe: " . AppWaitExe)

                        AppWaitPID := Process("Wait", AppWaitExe, 15)

                        If AppWaitPID = 0

                            ScriptError("PCLauncher - There was an error getting the Process ID from your AppWaitExe for """ . dbName . """. Please try setting a FadeTitle instead.")

                    } Else If SteamIDExe {

                        Log("PCLauncher - FadeTitle and AppWaitExe not set by user, but SteamIDExe was found. Waiting for SteamIDExe: " . SteamIDExe)

                        SteamIDPID := Process("Wait", SteamIDExe, 15)

                        If SteamIDPID = 0

                            ScriptError("PCLauncher - There was an error getting the Process ID from your SteamIDExe for """ . dbName . """. Please try setting a FadeTitle instead.")

                    } Else If AppPID {

                        Log("PCLauncher - FadeTitle and AppWaitExe not set by user, but an AppPID was found. Waiting for AppPID: " . AppPID)

                        WinWait("ahk_pid " . AppPID)

                        WinWaitActive("ahk_pid " . AppPID)

                    } Else

                        Log("PCLauncher - FadeTitle and AppWaitExe not set by user and no AppPID found from an Application, PCLauncher has nothing to wait for",3)

                    

                    Sleep, %FadeInExitSleep%    ; PCLauncher setting for some stubborn games that keeps the fadeIn screen up a little longer

                    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 {    ; If fadeTitle is set and no appPID was created.

                        Log("PCLauncher - Waiting for FadeTitle """ . FadeTitle . """ to close.")

                        WinWaitClose(FadeTitle)

                    } Else If SteamIDExe {

                        Log("PCLauncher - Waiting for SteamIDExe """ . SteamIDExe . """ to close.")

                        Process("WaitClose", SteamIDExe)

                    } Else If AppPID {

                        Log("PCLauncher - Waiting for AppPID """ . AppPID . """ to close.")

                        Process("WaitClose", AppPID)

                    } Else

                        ScriptError("Could not find a proper AppWaitExe`, FadeTitle`, or AppPID (from the launched Application). Try setting either an AppWaitExe or FadeTitle so the module has something to look for.")

                    

                    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, not really needed anymore because module knows how to launch if steam already running now

                    ; 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,OriginGame,mode,preLSkip,postLSkip,postESkip,AppWaitExe,SteamIDExe,FadeTitle

                        Global modulePath,fadeIn,k0,k1,k2,k3

                        Log("CheckSettings - Started")

                    

                        ; 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. This is different than setting a SteamID but either work

                        If (SteamID) {

                            mode = steam    ; setting module to use steam mode

                            Log("PCLauncher - SteamID is set, setting mode to: """ . mode . """")

                        } Else If (SubStr(Application,1,3) = "ste") {

                            mode = steambp    ; setting module to use Steam Browser Protocol mode

                            Log("PCLauncher - Application is a Steam Browser Protocol, setting mode to: """ . mode . """")

                        } Else If (SubStr(Application,1,4) = "http") {

                            mode = url    ; setting module to use url mode

                            Log("PCLauncher - Application is a URL, setting mode to: """ . mode . """")

                        } Else If OriginGame {

                            mode = origin    ; setting module to use Origin mode

                            Application := GetFullName(Application)    ; convert a relative path defined in the PCLauncher ini to absolute

                            SplitPath,Application,ApplicationName,ApplicationPath,ApplicationExt

                            StringRight, ApplicationBackSlash, Application, 1

                            Log("PCLauncher - Origin mode enabled. Will log in to Origin if required.")

                        } Else If Application {

                            mode = standard    ; for standard launching

                            Application := GetFullName(Application)    ; convert a relative path defined in the PCLauncher ini to absolute

                            SplitPath,Application,ApplicationName,ApplicationPath,ApplicationExt

                            StringRight, ApplicationBackSlash, Application, 1

                            Log("PCLauncher - Setting mode to: """ . mode . """")

                        } Else    ; error if no modes are used

                            ScriptError("Please set an Application, SteamID, Steam Browser Protocol, or URL in " moduleName . ".ini for """ . dbName . """")

                    

                        If (SteamID && Application)    ; do not allow 2 launching methods

                            ScriptError("You are trying to use Steam and Application, you must choose one or the other.")

                    

                        If ((mode = "steam" || mode = "steambp") && !AppWaitExe && !FadeTitle) { ; && fadeIn = "true") {    ; If AppWaitExe or FadeTitle are defined, that will take precedence over the automatic method using the SteamIDs.ini

                            SteamIDFile := CheckFile(modulePath . "\SteamIDs.ini")

                            If !SteamID

                                SplitPath, Application,SteamID ; grab the

                            SteamIDExe := IniReadCheck(SteamIDFile, SteamID, "exe","",,1)

                            If !SteamIDExe

                                ScriptError("You are using launching a Steam game but no way for the module to know what window to wait for after launching. Please set a AppWaitExe, FadeTitle, or make sure your SteamID and the correct exe is defined in the SteamIDs.ini",10)

                            Else

                                Log("PCLauncher - Found an exe in the SteamIDs.ini for this game: """ . SteamIDExe . """")

                        } Else If (mode = "url" && !AppWaitExe && !FadeTitle)

                            ScriptError("You are using launching a URL but no way for the module to know what to window to wait for after launching. Please set a AppWaitExe or FadeTitle to your default application that gets launched when opening URLs.",10)

                        

                        preLSkip := If (SubStr(PreLaunch,1,4)="http" || SubStr(PreLaunch,1,3)="ste") ? 1:""

                        If preLSkip

                            Log("PCLauncher - PreLaunch is a URL or Steam Browser Protocol: " . PreLaunch)

                        postLSkip := If (SubStr(PostLaunch,1,4)="http" || SubStr(PostLaunch,1,3)="ste") ? 1:""

                        If postLSkip

                            Log("PCLauncher - PostLaunch is a URL or Steam Browser Protocol: " . PostLaunch)

                        postESkip := If (SubStr(PostExit,1,4)="http" || SubStr(PostExit,1,3)="ste") ? 1:""

                        If postESkip

                            Log("PCLauncher - PostExit is a URL or Steam Browser Protocol: " . PostExit)

                    

                        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 && mode = "standard" && (mode != "steam" || mode != "steambp"))

                            ScriptError("Missing filename on the end of your Application in " . moduleName . ".ini:`n" . Application)

                        If (!ApplicationExt && mode = "standard" && (mode != "steam" || mode != "steambp"))

                            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)

                        }

                        If mode = standard

                            CheckFile(ApplicationPath . "\" . ApplicationName,"Cannot find this Application:`n" . ApplicationPath . "\" . ApplicationName)    ; keeping this last so more descriptive errors will trigger first

                        k0 := 0xF39A0B65

                        k1 := 0xA0D728C6

                        k2 := 0x66F27F1E

                        k3 := 0x2A5B56D3

                        Log("CheckSettings - Ended")

                    }

                    

                    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.")

                        sU := Decrypt(ReadReg("sU"),"k")

                        sP := Decrypt(ReadReg("sP"),"k")

                        If (!sU || !sP)

                            ScriptError("PCLauncher - SteamLaunch - Steam is not running and needs to be logged in to launch this steam game. PCLauncher can do this, but you need to run ""EncryptPasswords"" application in your PCLauncher module folder first and set your login credentials.")

                        Run(SteamExe . " " . (If sU && sP ? "-login " . sU . " " . sP:"") . " " . (If SteamID ? "-applaunch " . SteamID : Application) . " " . Parameters, steamPath,,steamPID)    ; if SteamID is defined, launch that, otherwise use the application in the CLI (Usually this is for BPM mode)

                        erLvl := WinWait("Steam",,15, "Steam Login")    ; wait 15 seconds until the main steam window exists (not the login one)

                        If erLvl    ; if we simply timed out, some other problem happened

                            ScriptError("PCLauncher - SteamLaunch - Timed out waiting 15 seconds for Steam's Login 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", steamExe)

                        Process("WaitClose", steamExe)

                        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", steamExe)

                            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

                    

                    OriginLaunch:    ; Origin is not running

                        Log("PCLauncher - OriginLaunch - Origin is not running, launching it and then filling credentials if defined.")

                        oU := Decrypt(ReadReg("oU"),"k")

                        oP := Decrypt(ReadReg("oP"),"k")

                        If (!oU || !oP)

                            ScriptError("PCLauncher - OriginLaunch - Origin is not running and needs to be logged in to launch this Origin game. PCLauncher can do this, but you need to run ""EncryptPasswords"" application in your PCLauncher module folder first and set your login credentials.")

                        Run(originExe . " " . Parameters, originPath,,OriginPID)

                        erLvl := WinWait(originLoginWindow,,15)    ; wait 15 seconds until the Origin Login window exists

                        If erLvl    ; if we simply timed out, some other problem happened

                            ScriptError("PCLauncher - OriginLaunch - Timed out waiting 15 seconds for Origin's Login window. Please try again.")

                        Else If WinExist(originLoginWindow)    ; If Origin Login window exists

                        {    ;WinSet, Transparent, On, %originLoginWindow%

                            WinGet, orHwnd, ID, %originLoginWindow%    ; get the hwnd of the login window

                            CheckFile(moduleExtensionsPath . "\BlockInput.exe", "Cannot find the module extension ""BlockInput.exe"". It is required to automate the Origin login process: " . moduleExtensionsPath . "\BlockInput.exe")

                            Log("PCLauncher - OriginLaunch - Blocking all Input for 20 seconds while Origin is logged in for you.",4)

                            Run("BlockInput.exe 20", moduleExtensionsPath)    ; start the tool that blocks all input so user cannot interrupt the login process for 20 seconds

                            Sleep, 3000    ; have to wait some time for origin window to appear and be usable. Unforunately there is no programatic way to detect this so giving extra sleep time to be safe.

                            SetKeyDelay,10,100    ; The only delay that worked 100% of the time with pasting shifted keys into Origin's boxes. If there is ever a problem with credentials not correct, this may need to be adjusted

                            Log("PCLauncher - OriginLaunch - Activating the Origin Login window.",4)

                            WinActivate, %originLoginWindow%

                            ControlSend,,{Tab 2}%oU%{Tab}%oP%{Enter}, %originLoginWindow%

                            Log("PCLauncher - OriginLaunch - Finished logging into Origin.",4)

                            Process("Close", "BlockInput.exe")    ; end script that blocks all input

                        } Else

                            ScriptError("PCLauncher - OriginLaunch - Unhandled Origin Scenario. Please report this and post the log and what you did to make this happen.")

                        erLvl := WinWaitClose("ahk_id " . orHwnd,,15)    ; wait some time for Origin to login and window to disappear

                        If erLvl    ; if we simply timed out, some other problem happened

                            ScriptError("PCLauncher - OriginLaunch - Timed out waiting 15 seconds for Origin's Login window to close. There was a problem logging in. Please try again or check your credentials.")

                        SetTimer, OriginHide, 100    ; Start a timer to destroy ads that may popup after logging in

                    Return

                    OriginLogin:    ; @ Origin login window

                        Log("PCLauncher - OriginLogin - Origin is at the login window. Trying to login with your credentials if defined")

                        OriginPID := Process("Exist", originExe)

                        If OriginPID {

                            Process("Close", originExe)

                            Process("WaitClose", originExe)

                            Sleep, 200    ; give some extra time before launching again

                        }

                        Goto, OriginLaunch

                    Return

                    OriginHide:

                        If WinExist("Featured ahk_class QWidget")    ; Close Origin ads that pop up

                            WinClose("Featured ahk_class QWidget")

                    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



00:30:38:796 | HL |     INFO  | +0     | BuildScript - Loaded Statistics.ahk script

00:30:38:796 | HL |     INFO  | +0     | BuildScript - Loaded User Functions.ahk script

00:30:38:796 | HL |     INFO  | +0     | BuildScript - Finished injecting functions into module

00:30:38:796 | HL |     INFO  | +0     | Main - Module is built

00:30:38:796 | HL |     INFO  | +0     | CheckFile - Checking if C:\Hyperspin\HyperLaunch\AutoHotkey.dll exists

00:30:38:796 | HL |     INFO  | +0     | Main - Hiding taskbar

00:30:38:906 | HL |     INFO  | +109   | Main - Running module

00:30:39:015 | MD |     INFO  | +N/A   | Module initialized

00:30:39:015 | MD |     INFO  | +0     | StartModule - Started

00:30:39:015 | MD |     INFO  | +0     | StartModule - MEmu: PCLauncher

                    MEmuV: N/A

                    MURL: https://sites.google.com/site/hyperlaunch2/additional-features/pclauncher

                    MAuthor: djvj

                    MVersion: 2.1.1

                    MCRC: E0BD831D

                    iCRC: 987FA370

                    MID:

                    MSystem: "Fan Remakes","Games for Windows","Microsoft Windows","PCLauncher","PC Games","Steam","Steam Big Picture","Taito Type X","Touhou","e-AMUSEMENT","Fix-It-Felix Jr.","Touhou Project","American Laser Games","Nintendo game & Watch","Electronic Games"

00:30:39:015 | MD |     INFO  | +0     | StartModule - You have a supported System Name for this module: "Taito Type X"

00:30:39:015 | MD |     INFO  | +0     | StartModule - Ended

00:30:39:031 | MD |     INFO  | +16    | GetFadePicFile - Randomized images and Fade Layer 1 will use C:\Hyperspin\HyperLaunch\Media\Fade\_Default\Layer 1.png

00:30:39:031 | MD |     INFO  | +0     | GetFadePicFile - Randomized images and Fade Layer 2 will use C:\Hyperspin\HyperLaunch\Media\Fade\_Default\Layer 2.png

00:30:39:140 | MD |     INFO  | +109   | DefaultAnimateFadeIn - Started

00:30:39:140 | MD |     INFO  | +0     | DefaultAnimateFadeIn - Drawing First FadeIn Image.

00:30:39:671 | MD |     INFO  | +532   | DefaultAnimateFadeIn - Ended

00:30:39:671 | MD |     INFO  | +0     | DefaultFadeAnimation - Started

00:30:39:671 | MD |     INFO  | +0     | GetFadePicFile - Randomized images and Fade Layer 3 will use C:\Hyperspin\HyperLaunch\Media\Fade\_Default\Layer 3.png

00:30:39:687 | MD |     INFO  | +15    | ReadHyperSpinXML - Started

00:30:39:687 | MD |     INFO  | +0     | ReadHyperSpinXML - Ended

00:30:39:687 | MD |     INFO  | +0     | CreateRomTable - Started

00:30:39:687 | MD |     INFO  | +0     | CreateRomTable - Ended, 7 Loops to create table.

00:30:40:484 | MD |     INFO  | +797   | DefaultFadeAnimation - Ended

00:30:40:500 | MD |     INFO  | +0     | StartGlobalUserFeatures - Starting

00:30:40:500 | MD |     INFO  | +16    | StartGlobalUserFeatures - Ending

00:30:40:703 | MD |     INFO  | +203   | CheckFile - Checking if C:\Hyperspin\HyperLaunch\Modules\PCLauncher\PCLauncher.ini exists

00:30:40:703 | MD |     INFO  | +0     | Module Setting - [Battle Fantasia] - SteamID:

00:30:40:703 | MD |     INFO  | +0     | Module Setting - [Battle Fantasia] - Application: ..\Emulators\Taito Type X\Games\BF\Battle Fantasia.bat

00:30:40:703 | MD |     INFO  | +0     | Module Setting - [Battle Fantasia] - AppWaitExe: game.exe

00:30:40:703 | MD |     INFO  | +0     | Module Setting - [Battle Fantasia] - DiscImage:

00:30:40:703 | MD |     INFO  | +0     | Module Setting - [Battle Fantasia] - Parameters:

00:30:40:703 | MD |     INFO  | +0     | Module Setting - [Battle Fantasia] - OriginGame:

00:30:40:703 | MD |     INFO  | +0     | Module Setting - [Battle Fantasia] - WorkingFolder:

00:30:40:703 | MD |     INFO  | +0     | Module Setting - [Battle Fantasia] - PreLaunch:

00:30:40:703 | MD |     INFO  | +0     | Module Setting - [Battle Fantasia] - PreLaunchParameters:

00:30:40:703 | MD |     INFO  | +0     | Module Setting - [Battle Fantasia] - PreLaunchSleep:

00:30:40:703 | MD |     INFO  | +0     | Module Setting - [Battle Fantasia] - PostLaunch:

00:30:40:703 | MD |     INFO  | +0     | Module Setting - [Battle Fantasia] - PostLaunchParameters:

00:30:40:703 | MD |     INFO  | +0     | Module Setting - [Battle Fantasia] - PostLaunchSleep:

00:30:40:703 | MD |     INFO  | +0     | Module Setting - [Battle Fantasia] - PostExit:

00:30:40:703 | MD |     INFO  | +0     | Module Setting - [Battle Fantasia] - PostExitParameters:

00:30:40:703 | MD |     INFO  | +0     | Module Setting - [Battle Fantasia] - PostExitSleep:

00:30:40:703 | MD |     INFO  | +0     | Module Setting - [Battle Fantasia] - ExitMethod: WinClose Application

00:30:40:703 | MD |     INFO  | +0     | Module Setting - [Battle Fantasia] - FadeTitle: BattleFantasia

00:30:40:703 | MD |     INFO  | +0     | Module Setting - [Battle Fantasia] - FadeInExitSleep:

00:30:40:703 | MD |     INFO  | +0     | Module Setting - [Battle Fantasia] - HideCursor:

00:30:40:703 | MD |     INFO  | +0     | Module Setting - [Settings] - HideCursor:

00:30:40:703 | MD |     INFO  | +0     | Module Setting - [Battle Fantasia] - HideCursor:

00:30:40:703 | MD |     INFO  | +0     | CheckSettings - Started

00:30:40:703 | MD |     INFO  | +0     | PCLauncher - Setting mode to: "standard"

00:30:40:703 | MD |     INFO  | +0     | CheckFile - Checking if C:\Hyperspin\Emulators\Taito Type X\Games\BF\Battle Fantasia.bat exists

00:30:40:703 | MD |     INFO  | +0     | CheckSettings - Ended

00:30:40:703 | MD |     INFO  | +0     | PCLauncher - Launching a standard application.

00:30:40:703 | MD |     INFO  | +0     | Run - Running: C:\Hyperspin\Emulators\Taito Type X\Games\BF\"Battle Fantasia.bat"

00:30:40:750 | MD |     INFO  | +47    | PCLauncher - FadeTitle set by user, waiting for "BattleFantasia"

00:30:40:750 | MD |     INFO  | +0     | WinWait - Waiting for "BattleFantasia"

00:30:46:125 | MD |     INFO  | +5375  | WinWaitActive - Waiting for "BattleFantasia"

00:30:46:687 | MD |     INFO  | +562   | PCLauncher - Waiting for AppWaitExe "game.exe" to close.

00:30:46:687 | MD |     INFO  | +0     | Process - WaitClose game.exe

00:30:46:703 | MD |     INFO  | +16    | DefaultAnimateFadeIn - Started

00:30:47:203 | MD |     INFO  | +500   | DefaultAnimateFadeIn - Ended

00:30:48:093 | MD |     INFO  | +890   | StopGlobalUserFeatures - Starting

00:30:48:093 | MD |     INFO  | +0     | StopGlobalUserFeatures - Ending

00:30:48:093 | MD |     INFO  | +0     | DefaultAnimateFadeOut - Started

00:30:48:593 | MD |     INFO  | +500   | DefaultAnimateFadeOut - Ended

00:30:48:593 | MD |     INFO  | +0     | ExitModule - Started

00:30:48:593 | MD |     INFO  | +0     | Starting Updating Statistics:

00:30:48:671 | MD |     INFO  | +79    | Game section statistics updated.

00:30:48:671 | MD |     INFO  | +0     | ExitModule - Ended

00:30:48:671 | MD |     INFO  | +0     | End of Module Logs

00:30:48:718 | HL |     INFO  | +9812  | Main - Module ended, exiting HyperLaunch normally

00:30:48:718 | HL |     INFO  | +0     | ExitScript - Started

00:30:48:828 | HL |     INFO  | +110   | SystemCursor - Restoring mouse cursor

00:30:48:828 | HL |     INFO  | +0     | ExitScript - Ended

 
 

Any ideas?

 

Regards!

Posted

disable your fade and see what happens,  

 

your game is being launched but starts to close after waiting for your fade

 

 

 

00:30:40:703 | MD |     INFO  | +0     | Run - Running: C:\Hyperspin\Emulators\Taito Type X\Games\BF\"Battle Fantasia.bat"

00:30:40:750 | MD |     INFO  | +47    | PCLauncher - FadeTitle set by user, waiting for "BattleFantasia"

00:30:40:750 | MD |     INFO  | +0     | WinWait - Waiting for "BattleFantasia"

00:30:46:125 | MD |     INFO  | +5375  | WinWaitActive - Waiting for "BattleFantasia"

00:30:46:687 | MD |     INFO  | +562   | PCLauncher - Waiting for AppWaitExe "game.exe" to close.

00:30:46:687 | MD |     INFO  | +0     | Process - WaitClose game.exe

 

 

 

You might want to upgrade to the latest Rocketlauncher,  their is also a newer PClauncher module,

 

you are using

HyperLaunch v3.0.1.1c

Module = 2.1.1

Posted

I'm trying the games with the Taito loader (the one who comes with the package of roms). Some games are working, some others not. The vertical shooters (Raiden, Homura, etc) look small and don't fill the entire screen, only part of them.

 

The resolution that I'm using is 1024x764 60Hz in a Samsung TV/Monitor, maybe it's not the correct resolution?

 

I've to find another roms pack, I think that some games are corrupted maybe...

  • 5 weeks later...
Posted

Disable Fade, check each game and make sure its not asking you to run the .bat cuz of security reasons (UAC windows 7)

Archived

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

×
×
  • Create New...