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.

HyperLaunch\Modules\PCLauncher\PC Games.ini


therealdealadam

Recommended Posts

Posted

13:51:48:364 | HL | INFO | +N/A | Main - HyperLaunch v3.0.1.1c

13:51:48:448 | HL | INFO | +78 | Main - System Specs:

HyperLaunch Dir: H:

OS: Microsoft Windows 7 Ultimate

SKU: Ultimate

Total Memory: 4029.57 MB

Free Memory: 2584.73 MB

Used Memory: 1444.840 MB

SystemType: x64-based PC

Physical Processors: 1

Logical Processors: 4

GPU 1 Name: NVIDIA GeForce GT 240

GPU 1 RAM: 512.00 MB

GPU 1 Driver Version: 9.18.13.3788

Sound 1 Device: NVIDIA High Definition Audio

Sound 1 Status: Enabled

Sound 2 Device: NVIDIA High Definition Audio

Sound 2 Status: Enabled

Sound 3 Device: NVIDIA High Definition Audio

Sound 3 Status: Enabled

Sound 4 Device: NVIDIA High Definition Audio

Sound 4 Status: Enabled

Sound 5 Device: High Definition Audio Device

Sound 5 Status: Enabled

Sound 6 Device: NVIDIA Virtual Audio Device (Wave Extensible) (WDM)

Sound 6 Status: Enabled

OS Language: English_United_States

OS Admin Status: Yes

Monitor #1 (\\.\DISPLAY1): 1280x1024 (1280x984 work)

AutoHotkey Path:

AHK Version: 1.1.09.04

Unicode: No

13:51:48:448 | HL | INFO | +0 | Main - HyperSpin.exe coordinates are x y w h

13:51:48:448 | HL | INFO | +0 | CheckFile - Checking if H:\HyperLaunch.exe exists

13:51:48:449 | HL | DEBUG1 | +0 | CheckFile - Attributes:

FileDescription Your favorite Front End companion!

FileVersion 3.0.1.1

LegalCopyright ©2013 HL squad

ProductName djvj's one swell guy!

ProductVersion 1.1.9.4

CompanyName djvj's one swell guy!

File Size: 910336 bytes

Created: 8/14/2014 - 12:23:39 AM

Modified: 8/14/2014 - 12:23:39 AM

13:51:48:449 | HL | INFO | +0 | CheckFile - Checking if H:\Module Extensions\itextsharp.dll exists

13:51:48:450 | HL | DEBUG1 | +0 | CheckFile - Attributes:

FileDescription iTextSharp

FileVersion 5.4.2.0

InternalName itextsharp.dll

LegalCopyright Copyright © 1999-2013 by Bruno Lowagie and Paulo Soares. All Rights Reserved.

OriginalFilename itextsharp.dll

ProductName iTextSharp

ProductVersion 5.4.2.0

CompanyName 1T3XT BVBA

File Size: 3743744 bytes

Created: 8/14/2014 - 12:23:40 AM

Modified: 8/14/2014 - 12:23:40 AM

13:51:48:450 | HL | INFO | +0 | CheckFile - Checking if H:\Module Extensions\SevenZipSharp.dll exists

13:51:48:451 | HL | DEBUG1 | +0 | CheckFile - Attributes:

FileDescription SevenZipSharp

FileVersion 0.64.4841.31212

InternalName SevenZipSharp.dll

LegalCopyright Copyright © Markovtsev Vadim 2009, 2010, licenced under LGPLv3

OriginalFilename SevenZipSharp.dll

ProductName SevenZipSharp

ProductVersion 0.64.4841.31212

CompanyName Markovtsev Vadim

File Size: 165888 bytes

Created: 8/14/2014 - 12:23:39 AM

Modified: 8/14/2014 - 12:23:39 AM

13:51:48:451 | HL | INFO | +0 | CheckFile - Checking if H:\Module Extensions\gsdll32.dll exists

13:51:48:451 | HL | DEBUG1 | +0 | CheckFile - Attributes:

File Size: 8818688 bytes

Created: 8/14/2014 - 12:23:40 AM

Modified: 8/14/2014 - 12:23:40 AM

13:51:48:451 | HL | INFO | +0 | CheckFile - Checking if H:\Module Extensions\BlockInput.exe exists

13:51:48:452 | HL | DEBUG1 | +0 | CheckFile - Attributes:

FileDescription

FileVersion 1.1.09.04

InternalName

OriginalFilename

ProductName

ProductVersion 1.1.09.04

File Size: 657920 bytes

Created: 8/14/2014 - 12:23:39 AM

Modified: 8/14/2014 - 12:23:39 AM

13:51:48:452 | HL | INFO | +0 | CheckFile - Checking if H:\Module Extensions\gdip.ahk exists

13:51:48:460 | HL | DEBUG1 | +16 | CRC Check - CRC matches, this is an official unedited Extension.

13:51:48:461 | HL | DEBUG1 | +0 | CheckFile - Attributes:

File Size: 88789 bytes

Created: 8/14/2014 - 12:23:39 AM

Modified: 8/14/2014 - 12:23:39 AM

13:51:48:461 | HL | INFO | +0 | CheckFile - Checking if H:\Module Extensions\RIni.ahk exists

13:51:48:465 | HL | DEBUG1 | +0 | CRC Check - CRC matches, this is an official unedited Extension.

13:51:48:466 | HL | DEBUG1 | +0 | CheckFile - Attributes:

File Size: 67561 bytes

Created: 8/14/2014 - 12:23:39 AM

Modified: 8/14/2014 - 12:23:39 AM

13:51:48:466 | HL | INFO | +0 | CheckFile - Checking if H:\Module Extensions\CLR.ahk exists

13:51:48:467 | HL | DEBUG1 | +0 | CRC Check - CRC matches, this is an official unedited Extension.

13:51:48:467 | HL | DEBUG1 | +0 | CheckFile - Attributes:

File Size: 10586 bytes

Created: 8/14/2014 - 12:23:39 AM

Modified: 8/14/2014 - 12:23:39 AM

13:51:48:467 | HL | INFO | +0 | CheckFile - Checking if H:\Module Extensions\COM.ahk exists

13:51:48:469 | HL | DEBUG1 | +16 | CRC Check - CRC matches, this is an official unedited Extension.

13:51:48:470 | HL | DEBUG1 | +0 | CheckFile - Attributes:

File Size: 26342 bytes

Created: 8/14/2014 - 12:23:39 AM

Modified: 8/14/2014 - 12:23:39 AM

13:51:48:470 | HL | INFO | +0 | CheckFile - Checking if H:\Module Extensions\JSON.ahk exists

13:51:48:471 | HL | DEBUG1 | +0 | CRC Check - CRC matches, this is an official unedited Extension.

13:51:48:472 | HL | DEBUG1 | +0 | CheckFile - Attributes:

File Size: 9203 bytes

Created: 8/14/2014 - 12:23:39 AM

Modified: 8/14/2014 - 12:23:39 AM

13:51:48:472 | HL | INFO | +0 | CheckFile - Checking if H:\Lib\Fade Init.ahk exists

13:51:48:473 | HL | DEBUG1 | +0 | CRC Check - CRC matches, this is an official unedited Library.

13:51:48:473 | HL | DEBUG1 | +0 | CheckFile - Attributes:

File Size: 1145 bytes

Created: 8/14/2014 - 12:23:39 AM

Modified: 8/14/2014 - 12:23:39 AM

13:51:48:473 | HL | INFO | +0 | CheckFile - Checking if H:\Lib\HyperPause Init.ahk exists

13:51:48:474 | HL | DEBUG1 | +0 | CRC Check - CRC matches, this is an official unedited Library.

13:51:48:474 | HL | DEBUG1 | +0 | CheckFile - Attributes:

File Size: 691 bytes

Created: 8/14/2014 - 12:23:39 AM

Modified: 8/14/2014 - 12:23:39 AM

13:51:48:474 | HL | INFO | +0 | CheckFile - Checking if H:\Lib\Keymapper Init.ahk exists

13:51:48:475 | HL | DEBUG1 | +0 | CRC Check - CRC matches, this is an official unedited Library.

13:51:48:475 | HL | DEBUG1 | +0 | CheckFile - Attributes:

File Size: 3435 bytes

Created: 8/14/2014 - 12:23:39 AM

Modified: 8/14/2014 - 12:23:39 AM

13:51:48:476 | HL | INFO | +0 | CheckFile - Checking if H:\Lib\MultiGame Init.ahk exists

13:51:48:476 | HL | DEBUG1 | +0 | CRC Check - CRC matches, this is an official unedited Library.

13:51:48:476 | HL | DEBUG1 | +0 | CheckFile - Attributes:

File Size: 161 bytes

Created: 8/14/2014 - 12:23:39 AM

Modified: 8/14/2014 - 12:23:39 AM

13:51:48:477 | HL | INFO | +0 | CheckFile - Checking if H:\Lib\Statistics Init.ahk exists

13:51:48:477 | HL | DEBUG1 | +0 | CRC Check - CRC matches, this is an official unedited Library.

13:51:48:478 | HL | DEBUG1 | +0 | CheckFile - Attributes:

File Size: 167 bytes

Created: 8/14/2014 - 12:23:39 AM

Modified: 8/14/2014 - 12:23:39 AM

13:51:48:478 | HL | INFO | +0 | CheckFile - Checking if H:\Lib\Fade.ahk exists

13:51:48:479 | HL | DEBUG1 | +0 | CRC Check - CRC matches, this is an official unedited Library.

13:51:48:480 | HL | DEBUG1 | +0 | CheckFile - Attributes:

File Size: 25516 bytes

Created: 8/14/2014 - 12:23:39 AM

Modified: 8/14/2014 - 12:23:39 AM

13:51:48:480 | HL | INFO | +0 | CheckFile - Checking if H:\Lib\HyperPause.ahk exists

13:51:48:494 | HL | DEBUG1 | +15 | CRC Check - CRC matches, this is an official unedited Library.

13:51:48:495 | HL | DEBUG1 | +0 | CheckFile - Attributes:

File Size: 360180 bytes

Created: 8/14/2014 - 12:23:39 AM

Modified: 8/14/2014 - 12:23:39 AM

13:51:48:495 | HL | INFO | +0 | CheckFile - Checking if H:\Lib\Keymapper.ahk exists

13:51:48:498 | HL | DEBUG1 | +0 | CRC Check - CRC matches, this is an official unedited Library.

13:51:48:498 | HL | DEBUG1 | +0 | CheckFile - Attributes:

File Size: 30775 bytes

Created: 8/14/2014 - 12:23:39 AM

Modified: 8/14/2014 - 12:23:39 AM

13:51:48:498 | HL | INFO | +0 | CheckFile - Checking if H:\Lib\MultiGame.ahk exists

13:51:48:500 | HL | DEBUG1 | +16 | CRC Check - CRC matches, this is an official unedited Library.

13:51:48:500 | HL | DEBUG1 | +0 | CheckFile - Attributes:

File Size: 36816 bytes

Created: 8/14/2014 - 12:23:39 AM

Modified: 8/14/2014 - 12:23:39 AM

13:51:48:500 | HL | INFO | +0 | CheckFile - Checking if H:\Lib\Bezel.ahk exists

13:51:48:506 | HL | DEBUG1 | +0 | CRC Check - CRC matches, this is an official unedited Library.

13:51:48:506 | HL | DEBUG1 | +0 | CheckFile - Attributes:

File Size: 83008 bytes

Created: 8/14/2014 - 12:23:39 AM

Modified: 8/14/2014 - 12:23:39 AM

13:51:48:506 | HL | INFO | +0 | CheckFile - Checking if H:\Lib\Statistics.ahk exists

13:51:48:508 | HL | DEBUG1 | +0 | CRC Check - CRC matches, this is an official unedited Library.

13:51:48:509 | HL | DEBUG1 | +0 | CheckFile - Attributes:

File Size: 26153 bytes

Created: 8/14/2014 - 12:23:39 AM

Modified: 8/14/2014 - 12:23:39 AM

13:51:48:509 | HL | INFO | +0 | CheckFile - Checking if H:\Lib\Rom Mapping Launch Menu.ahk exists

13:51:48:509 | HL | DEBUG1 | +0 | CRC Check - CRC matches, this is an official unedited Library.

13:51:48:525 | HL | DEBUG1 | +15 | CheckFile - Attributes:

File Size: 63798 bytes

Created: 8/14/2014 - 12:23:39 AM

Modified: 8/14/2014 - 12:23:39 AM

13:51:48:525 | HL | INFO | +0 | CheckFile - Checking if H:\Lib\Shared.ahk exists

13:51:48:525 | HL | DEBUG1 | +0 | CRC Check - CRC matches, this is an official unedited Library.

13:51:48:525 | HL | DEBUG1 | +0 | CheckFile - Attributes:

File Size: 81966 bytes

Created: 8/14/2014 - 12:23:39 AM

Modified: 8/14/2014 - 12:23:39 AM

13:51:48:525 | HL | INFO | +0 | CheckFile - Checking if H:\Lib\XHotkey.ahk exists

13:51:48:525 | HL | DEBUG1 | +0 | CRC Check - CRC matches, this is an official unedited Library.

13:51:48:525 | HL | DEBUG1 | +0 | CheckFile - Attributes:

File Size: 28374 bytes

Created: 8/14/2014 - 12:23:39 AM

Modified: 8/14/2014 - 12:23:39 AM

13:51:48:525 | HL | INFO | +0 | CheckFile - Checking if H:\Lib\Fade Animations.ahk exists

13:51:48:525 | HL | DEBUG1 | +0 | CRC Check - CRC matches, this is an official unedited Library.

13:51:48:525 | HL | DEBUG1 | +0 | CheckFile - Attributes:

File Size: 49050 bytes

Created: 8/14/2014 - 12:23:39 AM

Modified: 8/14/2014 - 12:23:39 AM

13:51:48:525 | HL | INFO | +0 | Main - HyperLaunch received "PC Games" and "Danmaku Unlimited 2"

13:51:48:541 | HL | INFO | +16 | Main - Danmaku Unlimited 2 is using the default emulator: PCLauncher

13:51:48:541 | HL | INFO | +0 | Main - Checking for a [PCLauncher] section in H:\Settings\PC Games\Emulators.ini

13:51:48:541 | HL | INFO | +0 | Main - Checking for a [PCLauncher] section in H:\Settings\Global Emulators.ini

13:51:48:541 | HL | INFO | +0 | Main - Found [PCLauncher] in H:\Settings\Global Emulators.ini

13:51:48:541 | HL | INFO | +0 | CheckFile - Checking if H:\Modules\PCLauncher\PCLauncher.ahk exists

13:51:48:541 | HL | DEBUG1 | +0 | CheckFile - Attributes:

File Size: 25924 bytes

Created: 8/19/2014 - 10:19:28 PM

Modified: 8/13/2014 - 8:40:36 PM

13:51:48:541 | HL | INFO | +0 | Main - CRC Check - CRC matches, this is an official unedited module.

13:51:48:541 | HL | INFO | +0 | Main - Danmaku Unlimited 2 will use module: H:\Modules\PCLauncher\PCLauncher.ahk

13:51:48:556 | HL | INFO | +16 | Main - Using SkipChecks method "Rom and Emu" or emuName = "PCLauncher".

13:51:48:556 | HL | INFO | +0 | Main - INI Keys read

13:51:48:556 | HL | INFO | +0 | CheckFile - Checking if H:\Module Extensions\7z.exe exists

13:51:48:556 | HL | DEBUG1 | +0 | CheckFile - Attributes:

FileDescription 7-Zip Console

FileVersion 9.20

InternalName 7z

LegalCopyright Copyright © 1999-2010 Igor Pavlov

OriginalFilename 7z.exe

ProductName 7-Zip

ProductVersion 9.20

CompanyName Igor Pavlov

File Size: 163840 bytes

Created: 8/14/2014 - 12:23:39 AM

Modified: 8/14/2014 - 12:23:39 AM

13:51:48:556 | HL | INFO | +0 | CheckFile - Checking if H:\Module Extensions\7z.dll exists

13:51:48:556 | HL | DEBUG1 | +0 | CheckFile - Attributes:

FileDescription 7z Standalone Plugin

FileVersion 9.20

InternalName 7za

LegalCopyright Copyright © 1999-2010 Igor Pavlov

OriginalFilename 7za.dll

ProductName 7-Zip

ProductVersion 9.20

CompanyName Igor Pavlov

File Size: 914432 bytes

Created: 8/14/2014 - 12:23:39 AM

Modified: 8/14/2014 - 12:23:39 AM

13:51:48:556 | HL | INFO | +0 | CreateRomMapTable - Started

13:51:48:556 | HL | INFO | +0 | CreateRomMapTable - Could not find any roms for the Rom Map Table

13:51:48:556 | HL | INFO | +0 | CreateRomMapTable - Ended, No mapping inis found.

13:51:48:556 | HL | INFO | +0 | CheckPaths - Started

13:51:48:556 | HL | DEBUG1 | +0 | CheckPaths - Current romName:

13:51:48:556 | HL | DEBUG1 | +0 | CheckPaths - Current romPath: H:\Emulators\PC Games

13:51:48:556 | HL | DEBUG1 | +0 | CheckPaths - Current romExtension:

13:51:48:556 | HL | INFO | +0 | CheckFile - Checking if \ exists

13:51:48:556 | HL | DEBUG1 | +0 | CheckFile - Attributes:

File Size: bytes

Created: 8/22/2014 - 1:51:48 PM

Modified: 8/22/2014 - 1:51:48 PM

13:51:48:556 | HL | INFO | +0 | CheckPaths - Ended

13:51:48:556 | HL | INFO | +0 | BuildScript - User Variables:

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

; INJECTED VARIABLES

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

#NoTrayIcon

#InstallKeybdHook

DetectHiddenWindows, ON

SetTitleMatchMode, 2

SendMode, Event

0 = 2

hlMode =

frontendPID = 0

frontendPath = H:

frontendExe = HyperSpin.exe

frontendExt = exe

frontendName = HyperSpin

frontendDrive = H:

exitEmulatorKey = ~Esc

exitEmulatorKeyWait = 0

forceHoldKey = ~Esc

restoreFE = false

exitScriptKey = ~q & ~s

toggleCursorKey = ~e & ~t

emuFullPath =

emuPath =

emuName = PCLauncher

emuExt =

romPath = H:\Emulators\PC Games

romPathFromIni = H:\Emulators\PC Games

romExtension =

romExtensionOrig =

romExtensions =

executable =

systemName = PC Games

dbName = Danmaku Unlimited 2

romName =

romMapPath = H:\Settings\PC Games\Rom Mapping

romMappingEnabled = true

romMappingLaunchMenuEnabled = false

romMappingFirstMatchingExt = true

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 = H:\Module Extensions\BlockInput.exe

errorLevelReporting = true

logFile = H:\HyperLaunch.log

logLabel := [" INFO"," WARNING"," ERROR"," DEBUG1"," DEBUG2"]

logLevel = 10

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 = 1280

originalHeight = 1024

dtEnabled = true

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

dtUseSCSI = true

dtAddDrive = true

emuIdleShutdown = 0

hideCursor = true

hideEmu = true

hideFE = false

fadeIn = false

fadeInDuration = 500

fadeInTransitionAnimation = DefaultAnimateFadeIn

fadeInDelay = 0

fadeInExitDelay = 0

fadeOutExitDelay = 0

fadeOut = false

fadeOutExtraScreen = false

fadeOutDuration = 500

fadeOutTransitionAnimation = DefaultAnimateFadeOut

fadeOutDelay = 0

fadeLyrInterpolation = 0

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|Rat ing

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_Ti me_Played|Total_Time_Played|System_Total_Played_Ti me|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 = H:\Media\Fade

HLDataPath = H:\Data

HLMediaPath = H:\Media

HLErrSoundPath = H:\Media\Sounds\Error

modulesPath = H:\Modules

moduleFullName = H:\Modules\PCLauncher\PCLauncher.ahk

moduleName = PCLauncher

modulePath = H:\Modules\PCLauncher

moduleExtension = ahk

moduleExtensionsPath = H:\Module Extensions

libPath = H:\Lib

7zEnabled = false

7zPath = H:\Module Extensions\7z.exe

7zDllPath = H:\Module Extensions\7z.dll

7zExtractPath = H:\New folder

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 = 0

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

hpSaveStateKeyCodes =

hpLoadStateKeyCodes =

keymapperEnabled = false

keymapperAHKMethod = false

keymapper =

xpadderFullPath = H:\Utilities\Xpadder\xpadder.exe

joyToKeyFullPath = H:\Utilities\JoyToKey\JoyToKey.exe

keymapperProfilePath = H:\Profiles\

keymapperFrontEndProfileName = HyperSpin

keymapperFrontEndProfile = false

keymapperHyperLaunchProfileEnabled = false

JoyIDsEnabled = false

JoyIDsPreferredControllersSystem = use_global

JoyIDsPreferredControllersGlobal = use_global

CustomJoyNamesEnabled = false

CustomJoyNames =

FEProfile = H:\Profiles\\HyperSpin

defaultProfile = H:\Profiles\\_Default

systemProfile = H:\Profiles\\PC Games

xPadderSystemProfile = H:\Profiles\\PC Games\_Default

emuProfile = H:\Profiles\\PC Games\PCLauncher

romProfile = H:\Profiles\\PC Games\Danmaku Unlimited 2

HyperLaunchProfile = H:\Profiles\\HyperLaunch

blankProfile = H:\Profiles\\blank

ahkFEProfile = H:\Profiles\AHK\HyperSpin

ahkDefaultProfile = H:\Profiles\AHK\_Default

ahkSystemProfile = H:\Profiles\AHK\PC Games

ahkEmuProfile = H:\Profiles\AHK\PC Games\PCLauncher

ahkRomProfile = H:\Profiles\AHK\PC Games\Danmaku Unlimited 2

ahkHyperLaunchProfile = H:\Profiles\AHK\HyperLaunch

bezelEnabled = false

statisticsEnabled = true

13:51:48:556 | HL | INFO | +0 | BuildScript - Loaded XHotkey Init.ahk scripts

13:51:48:556 | HL | INFO | +0 | BuildScript - Loaded Statistics Init.ahk scripts

13:51:48:556 | HL | DEBUG1 | +0 | BuildScript - Module starts on line: 2

13:51:48:556 | HL | INFO | +0 | BuildScript - Module:

MEmu = PCLauncher

MEmuV = N/A

MURL = https://sites.google.com/site/hyperl...res/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"

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

; 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/hyperl...res/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|Parameter s|OriginGame|WorkingFolder|PreLaunch|PreLaunchPara meters|PreLaunchSleep|PostLaunch|PostLaunchParamet ers|PostLaunchSleep|PostExit|PostExitParameters|Po stExitSleep|ExitMethod|FadeTitle|FadeInExitSleep|H ideCursor

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,fl ac

{ 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,Applic ationExt

Global PreLaunch,PreLaunchPath,PreLaunchName,PreLaunchExt

Global PostLaunch,PostLaunchPath,PostLaunchName,PostLaunc hExt

Global PostExit,PostExitPath,PostExitName,PostExitExt

Global moduleName,appIsImage,dtDriveLetter,SteamID,Origin Game,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,ApplicationP ath,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,ApplicationP ath,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,Pr eLaunchExt

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,PostE xitExt

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©

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

13:51:48:556 | HL | INFO | +0 | CheckFile - Checking if C:\Program Files (x86)\DAEMON Tools Lite\DTLite.exe exists

13:51:48:572 | HL | DEBUG1 | +15 | CheckFile - Attributes:

FileDescription DAEMON Tools Lite

FileVersion 4.49.1.0356

InternalName DTLite.exe

LegalCopyright © 2000-2013 Disc Soft Ltd.

OriginalFilename DTLite.exe

ProductName DAEMON Tools Lite

ProductVersion 4.49.1.0356

CompanyName Disc Soft Ltd

File Size: 3696912 bytes

Created: 3/4/2014 - 10:19:52 AM

Modified: 3/4/2014 - 10:19:52 AM

13:51:48:572 | HL | INFO | +0 | BuildScript - Loaded Statistics.ahk script

13:51:48:572 | HL | INFO | +0 | BuildScript - Finished injecting functions into module

13:51:48:572 | HL | INFO | +0 | Main - Module is built

13:51:48:572 | HL | INFO | +0 | CheckFile - Checking if H:\AutoHotkey.dll exists

13:51:48:572 | HL | DEBUG1 | +0 | CheckFile - Attributes:

FileDescription AutoHotkey_H ANSI 32-bit

FileVersion 1.1.09.04

InternalName AutoHotkey_H

LegalCopyright Copyright © 2012

OriginalFilename AutoHotkey.exe

ProductName AutoHotkey_H

ProductVersion 1.1.09.04

File Size: 785408 bytes

Created: 8/14/2014 - 12:23:39 AM

Modified: 8/14/2014 - 12:23:39 AM

13:51:48:572 | HL | INFO | +0 | Main - Hiding taskbar

13:51:48:791 | HL | INFO | +219 | Main - Hiding desktop

13:51:48:791 | HL | INFO | +0 | Main - Running module

13:51:48:791 | HL | INFO | +0 | Main - Starting timer to watch if Front End gets displaced and restore it if it does.

13:51:48:904 | MD | INFO | +N/A | Module initialized

13:51:48:928 | MD | INFO | +32 | StartModule - Started

13:51:48:928 | MD | INFO | +0 | StartModule - MEmu: PCLauncher

MEmuV: N/A

MURL: https://sites.google.com/site/hyperl...res/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"

13:51:48:928 | MD | INFO | +0 | StartModule - You have a supported System Name for this module: "PC Games"

13:51:48:929 | MD | DEBUG1 | +0 | StartModule - Setting romName to the dbName sent to HyperLaunch: Danmaku Unlimited 2

13:51:48:929 | MD | INFO | +0 | StartModule - Ended

13:51:48:929 | MD | INFO | +0 | Module Setting - [Danmaku Unlimited 2] - SteamID:

13:51:48:929 | MD | INFO | +0 | Module Setting - [Danmaku Unlimited 2] - Application: .\Emulators\PC Games\Danmaku Unlimited 2\Danmaku Unlimited 2.exe

13:51:48:930 | MD | INFO | +0 | Module Setting - [Danmaku Unlimited 2] - AppWaitExe: Danmaku Unlimited 2.exe

13:51:48:930 | MD | INFO | +0 | Module Setting - [Danmaku Unlimited 2] - DiscImage:

13:51:48:930 | MD | INFO | +0 | Module Setting - [Danmaku Unlimited 2] - Parameters:

13:51:48:930 | MD | INFO | +0 | Module Setting - [Danmaku Unlimited 2] - OriginGame: false

13:51:48:931 | MD | INFO | +0 | Module Setting - [Danmaku Unlimited 2] - WorkingFolder: .\Emulators\PC Games\Danmaku Unlimited 2

13:51:48:931 | MD | INFO | +0 | Module Setting - [Danmaku Unlimited 2] - PreLaunch:

13:51:48:931 | MD | INFO | +0 | Module Setting - [Danmaku Unlimited 2] - PreLaunchParameters:

13:51:48:931 | MD | INFO | +0 | Module Setting - [Danmaku Unlimited 2] - PreLaunchSleep:

13:51:48:931 | MD | INFO | +0 | Module Setting - [Danmaku Unlimited 2] - PostLaunch:

13:51:48:932 | MD | INFO | +0 | Module Setting - [Danmaku Unlimited 2] - PostLaunchParameters:

13:51:48:932 | MD | INFO | +0 | Module Setting - [Danmaku Unlimited 2] - PostLaunchSleep:

13:51:48:932 | MD | INFO | +0 | Module Setting - [Danmaku Unlimited 2] - PostExit:

13:51:48:932 | MD | INFO | +0 | Module Setting - [Danmaku Unlimited 2] - PostExitParameters:

13:51:48:933 | MD | INFO | +0 | Module Setting - [Danmaku Unlimited 2] - PostExitSleep:

13:51:48:933 | MD | INFO | +0 | Module Setting - [Danmaku Unlimited 2] - ExitMethod:

13:51:48:933 | MD | INFO | +0 | Module Setting - [Danmaku Unlimited 2] - FadeTitle:

13:51:48:933 | MD | INFO | +0 | Module Setting - [Danmaku Unlimited 2] - FadeInExitSleep:

13:51:48:933 | MD | INFO | +0 | Module Setting - [Danmaku Unlimited 2] - HideCursor:

13:51:48:934 | MD | INFO | +0 | Module Setting - [settings] - HideCursor:

13:51:48:934 | MD | INFO | +0 | Module Setting - [Danmaku Unlimited 2] - HideCursor:

13:51:48:934 | MD | INFO | +0 | CheckSettings - Started

13:51:48:934 | MD | INFO | +0 | PCLauncher - Origin mode enabled. Will log in to Origin if required.

13:51:48:934 | MD | INFO | +0 | CheckSettings - Ended

13:51:48:934 | MD | INFO | +0 | PCLauncher - Checking Origin status.

13:51:48:935 | MD | INFO | +0 | PCLauncher - Origin install path:

13:51:48:935 | MD | INFO | +0 | CheckFile - Checking if exists

13:51:49:278 | MD | DEBUG1 | +343 | ScriptError - Playing error sound: error3.mp3

13:51:56:522 | MD | ERROR | +7250 | Cannot find

13:51:56:522 | MD | INFO | +0 | ExitModule - Started

13:51:56:522 | MD | INFO | +0 | Starting Updating Statistics:

13:51:56:522 | MD | DEBUG2 | +0 | Total Elapsed Time in Pause in seconds: 0

13:51:56:522 | MD | DEBUG2 | +0 | gameSectionStartTime:2688703

13:51:56:522 | MD | DEBUG2 | +0 | ElapsedTime:7

13:51:56:522 | MD | INFO | +0 | CreateRomTable - Started

13:51:56:522 | MD | DEBUG1 | +0 | CreateRomTable - Checking for match: "Danmaku Unlimited 2" and "(Disc"

13:51:56:522 | MD | DEBUG1 | +0 | CreateRomTable - Checking for match: "Danmaku Unlimited 2" and "(Disk"

13:51:56:522 | MD | DEBUG1 | +0 | CreateRomTable - Checking for match: "Danmaku Unlimited 2" and "(Cart"

13:51:56:522 | MD | DEBUG1 | +0 | CreateRomTable - Checking for match: "Danmaku Unlimited 2" and "(Tape"

13:51:56:522 | MD | DEBUG1 | +0 | CreateRomTable - Checking for match: "Danmaku Unlimited 2" and "(Cassette"

13:51:56:522 | MD | DEBUG1 | +0 | CreateRomTable - Checking for match: "Danmaku Unlimited 2" and "(Part"

13:51:56:522 | MD | DEBUG1 | +0 | CreateRomTable - Checking for match: "Danmaku Unlimited 2" and "(Side"

13:51:56:522 | MD | INFO | +0 | CreateRomTable - Ended, 7 Loops to create table.

13:51:56:522 | MD | DEBUG2 | +0 | Statistics cleared game name: Danmaku Unlimited 2

13:51:56:553 | MD | DEBUG2 | +32 | Loaded game statistics from ini files:

Number_of_Times_Played: 34

Last_Time_Played: Friday August 22, 2014 01:51:05 PM

Average_Time_Played: 8

Total_Time_Played: 279

System_Total_Played_Time: 1232

Total_Global_Played_Time: 45736

13:51:56:553 | MD | DEBUG2 | +0 | Updated Statistics: Number_of_Times_Played: 35

Last_Time_Played: Friday August 22, 2014 01:51:48 PM

Average_Time_Played: 8

Total_Time_Played: 286

System_Total_Played_Time: 1239

Total_Global_Played_Time: 45743

13:51:56:584 | MD | INFO | +31 | Game section statistics updated.

13:51:56:584 | MD | INFO | +0 | ExitModule - Ended

13:51:56:584 | MD | INFO | +0 | End of Module Logs

13:51:56:647 | HL | INFO | +7859 | Main - Module ended, exiting HyperLaunch normally

13:51:56:647 | HL | INFO | +0 | ExitScript - Started

13:51:56:647 | HL | DEBUG1 | +0 | ExitScript - Unhiding taskbar

13:51:56:866 | HL | INFO | +219 | SystemCursor - Restoring mouse cursor

13:51:56:881 | HL | INFO | +16 | ExitScript - Ended

[/code

Archived

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

×
×
  • Create New...