Je reviens sur le sujet. J'ai bien cherché et je ne vois rien. J'ai le meme soucis avec la HFSBox.
Code : Tout sélectionner
18:27:26:577 | HL | INFO | +N/A | Main - HyperLaunch v3.0.1.1c
18:27:26:639 | HL | INFO | +63 | Main - System Specs:
HyperLaunch Dir: F:\HyperSpin\HyperLaunch
OS: Microsoft Windows 7 Édition Intégrale
SKU: Ultimate
Total Memory: 16294.73 MB
Free Memory: 13678.70 MB
Used Memory: 2616.035 MB
SystemType: x64-based PC
Physical Processors: 1
Logical Processors: 8
GPU 1 Name: AMD Radeon HD 6750M
GPU 1 RAM: 1024.00 MB
GPU 1 Driver Version: 9.2.0.0
Sound 1 Device: AMD High Definition Audio Device
Sound 1 Status: Enabled
Sound 2 Device: Cirrus Logic CS4206B (AB 29)
Sound 2 Status: Enabled
OS Language: French_Standard
OS Admin Status: No
Monitor #1 (\\.\DISPLAY1): 1440x900 (1440x900 work)
AutoHotkey Path: C:\Program Files (x86)\AutoHotkey\AutoHotkey.exe
AHK Version: 1.1.09.04
Unicode: No
18:27:26:639 | HL | INFO | +0 | Main - HyperSpin.exe coordinates are x y w h
18:27:26:639 | HL | INFO | +0 | CheckFile - Checking if F:\HyperSpin\HyperLaunch\HyperLaunch.exe exists
18:27:26:639 | HL | INFO | +0 | Main - HyperLaunch received "Mame" and "10yard"
18:27:26:639 | HL | INFO | +0 | Main - 10yard is using the default emulator: MAME
18:27:26:639 | HL | INFO | +0 | Main - Checking for a [MAME] section in F:\HyperSpin\HyperLaunch\Settings\Mame\Emulators.ini
18:27:26:639 | HL | INFO | +0 | Main - Checking for a [MAME] section in F:\HyperSpin\HyperLaunch\Settings\Global Emulators.ini
18:27:26:639 | HL | INFO | +0 | Main - Found [MAME] in F:\HyperSpin\HyperLaunch\Settings\Global Emulators.ini
18:27:26:639 | HL | INFO | +0 | CheckFile - Checking if F:\HyperSpin\HyperLaunch\Modules\MAME\MAME.ahk exists
18:27:26:639 | HL | INFO | +0 | Main - CRC Check - CRC matches, this is an official unedited module.
18:27:26:639 | HL | INFO | +0 | Main - 10yard will use module: F:\HyperSpin\HyperLaunch\Modules\MAME\MAME.ahk
18:27:26:655 | HL | INFO | +15 | Main - Using standard method with "Rom Extension" SkipChecks or without any SkipChecks.
18:27:26:655 | HL | INFO | +0 | Main - INI Keys read
18:27:26:655 | HL | INFO | +0 | CheckFile - Checking if F:\HyperSpin\HyperLaunch\Module Extensions\7z.exe exists
18:27:26:655 | HL | INFO | +0 | CheckFile - Checking if F:\HyperSpin\HyperLaunch\Module Extensions\7z.dll exists
18:27:26:655 | HL | INFO | +0 | CheckPaths - Started
18:27:26:655 | HL | INFO | +0 | CheckPaths - Found rom: F:\HyperSpin\Emulators\Mame\Mame 153\roms\10yard.7z
18:27:26:655 | HL | INFO | +0 | CheckFile - Checking if F:\HyperSpin\Emulators\Mame\Mame 153\mamep.exe exists
18:27:26:655 | HL | INFO | +0 | CheckPaths - Ended
18:27:26:655 | HL | INFO | +0 | BuildScript - User Variables:
;----------------------------------------------------------------------------
; INJECTED VARIABLES
;----------------------------------------------------------------------------
#NoTrayIcon
#InstallKeybdHook
DetectHiddenWindows, ON
SetTitleMatchMode, 2
SendMode, Event
0 = 2
hlMode =
frontendPID = 0
frontendPath = F:\HyperSpin
frontendExe = HyperSpin.exe
frontendExt = exe
frontendName = HyperSpin
frontendDrive = F:
exitEmulatorKey = ~Esc
exitEmulatorKeyWait = 0
forceHoldKey = ~Esc
restoreFE = false
exitScriptKey = ~q & ~s
toggleCursorKey = ~e & ~t
emuFullPath = F:\HyperSpin\Emulators\Mame\Mame 153\mamep.exe
emuPath = F:\HyperSpin\Emulators\Mame\Mame 153
emuName = MAME
emuExt = exe
romPath = F:\HyperSpin\Emulators\Mame\Mame 153\roms
romPathFromIni = F:\HyperSpin\Emulators\Mame\Mame 153\roms
romExtension = .7z
romExtensionOrig = .7z
romExtensions = zip|7z
executable = mamep.exe
systemName = Mame
dbName = 10yard
romName = 10yard
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 = F:\HyperSpin\HyperLaunch\HyperLaunch.log
logLabel := [" INFO"," WARNING"," ERROR"," DEBUG1"," DEBUG2"]
logLevel = 3
logIncludeModule = true
logIncludeFileProperties = true
logShowCommandWindow = false
logCommandWindow = false
sysLang = French_Standard
navUpKey = Up
navDownKey = Down
navLeftKey = Left
navRightKey = Right
navSelectKey = Enter
navP2UpKey = Numpad8
navP2DownKey = Numpad2
navP2LeftKey = Numpad4
navP2RightKey = Numpad6
navP2SelectKey = NumpadEnter
originalWidth = 1440
originalHeight = 900
dtEnabled = true
dtPath = C:\Program Files (x86)\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 = false
fadeOutExtraScreen = false
fadeOutDuration = 500
fadeOutTransitionAnimation = DefaultAnimateFadeOut
fadeOutDelay = 0
fadeLyrInterpolation = 7
fadeLyr1Color = FF000000
fadeLyr1AlignImage = Stretch and Lose Aspect
fadeLyr2Pos = Center
fadeLyr2X = 300
fadeLyr2Y = 300
fadeLyr2Adjust = 1
fadeLyr2PicPad = 0
fadeLyr3Pos = Center
fadeLyr3X = 300
fadeLyr3Y = 300
fadeLyr3Adjust = 0.75
fadeLyr3Speed = 750
fadeLyr3Animation = ZeroDreamsFade
fadeLyr37zAnimation = ZeroDreamsFade
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 = true
fadeBarWindowX =
fadeBarWindowY =
fadeBarWindowW = 600
fadeBarWindowH = 120
fadeBarWindowR = 20
fadeBarWindowM = 20
fadeBarWindowHatchStyle = 8
fadeBarBack = true
fadeBarBackColor = FF555555
fadeBarH = 20
fadeBarR = 5
fadeBarColor = DD00BFFF
fadeBarHatchStyle = 3
fadeBarPercentageText = true
fadeBarInfoText = true
fadeBarXOffset = 0
fadeBarYOffset = 100
fadeRomInfoDescription = text
fadeRomInfoSystemName = text
fadeRomInfoYear = text
fadeRomInfoManufacturer = text
fadeRomInfoGenre = text
fadeRomInfoRating = text
fadeRomInfoOrder = Description|SystemName|Year|Manufacturer|Genre|Rating
fadeRomInfoTextPlacement = topRight
fadeRomInfoTextMargin = 5
fadeRomInfoText1Options = cFF555555 r4 s20 Bold
fadeRomInfoText2Options = cFF555555 r4 s20 Bold
fadeRomInfoText3Options = cFF555555 r4 s20 Bold
fadeRomInfoText4Options = cFF555555 r4 s20 Bold
fadeRomInfoText5Options = cFF555555 r4 s20 Bold
fadeRomInfoText6Options = cFF555555 r4 s20 Bold
fadeStats_Number_of_Times_Played = text with label
fadeStats_Last_Time_Played = text with label
fadeStats_Average_Time_Played = text with label
fadeStats_Total_Time_Played = text with label
fadeStats_System_Total_Played_Time = text with label
fadeStats_Total_Global_Played_Time = text with label
fadeStatsInfoOrder = Number_of_Times_Played|Last_Time_Played|Average_Time_Played|Total_Time_Played|System_Total_Played_Time|Total_Global_Played_Time
fadeStatsInfoTextPlacement = topLeft
fadeStatsInfoTextMargin = 5
fadeStatsInfoText1Options = cFF555555 r4 s20 Bold
fadeStatsInfoText2Options = cFF555555 r4 s20 Bold
fadeStatsInfoText3Options = cFF555555 r4 s20 Bold
fadeStatsInfoText4Options = cFF555555 r4 s20 Bold
fadeStatsInfoText5Options = cFF555555 r4 s20 Bold
fadeStatsInfoText6Options = cFF555555 r4 s20 Bold
fadeText1X = 0
fadeText1Y = 0
fadeText1Options = cFFFFFFFF r4 s20 Right Bold
fadeText1 = Loading Game
fadeText2X = 0
fadeText2Y = 0
fadeText2Options = cFFFFFFFF r4 s20 Right Bold
fadeText2 = Extraction Complete
fadeFont = Arial
fadeSystemAndRomLayersOnly = false
fadeInterruptKey =
detectFadeErrorEnabled = true
fadeImgPath = F:\HyperSpin\HyperLaunch\Media\Fade
HLDataPath = F:\HyperSpin\HyperLaunch\Data
HLMediaPath = F:\HyperSpin\HyperLaunch\Media
HLErrSoundPath = F:\HyperSpin\HyperLaunch\Media\Sounds\Error
modulesPath = F:\HyperSpin\HyperLaunch\Modules
moduleFullName = F:\HyperSpin\HyperLaunch\Modules\MAME\MAME.ahk
moduleName = MAME
modulePath = F:\HyperSpin\HyperLaunch\Modules\MAME
moduleExtension = ahk
moduleExtensionsPath = F:\HyperSpin\HyperLaunch\Module Extensions
libPath = F:\HyperSpin\HyperLaunch\Lib
7zEnabled = true
7zPath = F:\HyperSpin\HyperLaunch\Module Extensions\7z.exe
7zDllPath = F:\HyperSpin\HyperLaunch\Module Extensions\7z.dll
7zExtractPath = F:\HyperSpin\Third Party\7z\Temp
7zExtractPathOrig =
7zAttachSystemName = true
7zDelTemp = true
7zSounds = true
7zFormats = .zip,.rar,.7z,.lzh,.gzip,.tar
7zFormatsNoP = zip,rar,7z,lzh,gzip,tar
mgEnabled = false
mgKey = ~NumpadSub
mgBackgroundColor = FF000000
mgSidePadding = 0.2
mgYOffset = 500
mgImageAdjust = 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 = true
hpKey = ~NumpadAdd|Backspace|M
hpBackToMenuBarKey = X
hpZoomInKey = C
hpZoomOutKey = V
hpScreenshotKey = ~PrintScreen
hpHiToTextPath = F:\HyperSpin\HyperLaunch\Module Extensions\HiToText.exe
hpSaveStateKeyCodes = {shift down}{F7 down}{F7 up}{shift up}
hpLoadStateKeyCodes = {F7 down}{F7 up}
keymapperEnabled = false
keymapperAHKMethod = false
keymapper =
xpadderFullPath = F:\HyperSpin\Third Party\Xpadder\Xpadder.exe
joyToKeyFullPath = F:\HyperSpin\Third Party\JoyToKey\JoyToKey.exe
keymapperProfilePath = F:\HyperSpin\HyperLaunch\Profiles\
keymapperFrontEndProfileName = HyperSpin
keymapperFrontEndProfile = joytokey
keymapperHyperLaunchProfileEnabled = false
JoyIDsEnabled = false
JoyIDsPreferredControllersSystem = use_global
JoyIDsPreferredControllersGlobal = use_global
CustomJoyNamesEnabled = false
CustomJoyNames =
FEProfile = F:\HyperSpin\HyperLaunch\Profiles\\HyperSpin
defaultProfile = F:\HyperSpin\HyperLaunch\Profiles\\_Default
systemProfile = F:\HyperSpin\HyperLaunch\Profiles\\Mame
xPadderSystemProfile = F:\HyperSpin\HyperLaunch\Profiles\\Mame\_Default
emuProfile = F:\HyperSpin\HyperLaunch\Profiles\\Mame\MAME
romProfile = F:\HyperSpin\HyperLaunch\Profiles\\Mame\10yard
HyperLaunchProfile = F:\HyperSpin\HyperLaunch\Profiles\\HyperLaunch
blankProfile = F:\HyperSpin\HyperLaunch\Profiles\\blank
ahkFEProfile = F:\HyperSpin\HyperLaunch\Profiles\AHK\HyperSpin
ahkDefaultProfile = F:\HyperSpin\HyperLaunch\Profiles\AHK\_Default
ahkSystemProfile = F:\HyperSpin\HyperLaunch\Profiles\AHK\Mame
ahkEmuProfile = F:\HyperSpin\HyperLaunch\Profiles\AHK\Mame\MAME
ahkRomProfile = F:\HyperSpin\HyperLaunch\Profiles\AHK\Mame\10yard
ahkHyperLaunchProfile = F:\HyperSpin\HyperLaunch\Profiles\AHK\HyperLaunch
bezelEnabled = false
statisticsEnabled = true
18:27:26:655 | HL | INFO | +0 | BuildScript - Loaded XHotkey Init.ahk scripts
18:27:26:655 | HL | INFO | +0 | BuildScript - Loaded Fade Init.ahk scripts
18:27:26:655 | HL | INFO | +0 | CheckFile - Checking if F:\HyperSpin\HyperLaunch\Module Extensions\VA.ahk exists
18:27:26:655 | HL | INFO | +0 | BuildScript - Loaded HyperPause Init.ahk scripts
18:27:26:655 | HL | INFO | +0 | BuildScript - Loaded Statistics Init.ahk scripts
18:27:26:670 | HL | INFO | +16 | BuildScript - Module:
MEmu = MAME
MEmuV = v0.150
MURL = http://www.mame.net/
MAuthor = djvj
MVersion = 2.1.2
MCRC = 232140EB
iCRC = 397D8196
MID = 635038268903403479
MSystem = "AAE","Cave","LaserDisc","MAME","Nintendo Arcade Systems","Sega Model 1","Sega ST-V","SNK Neo Geo","SNK Neo Geo AESâ€,†SNK Neo Geo MVSâ€
;----------------------------------------------------------------------------
; Notes:
; No need to edit mame.ini and set your rom folder, module sends the rompath for you.
; Command Line Options - http://easyemu.mameworld.info/mameguide/mameguide-options.html
; High Scores DO NOT SAVE when cheats are enabled!
; HLSL Documentation: http://mamedev.org/source/docs/hlsl.txt.html
; If you use MAME for AAE, create a vector.ini in mame's ini subfolder and paste these HLSL settings in there: http://www.mameworld.info/ubbthreads/showflat.php?Cat=&Number=309968&page=&view=&sb=5&o=&vc=1
; If you use bezel, it is recommended to set the module bezel mode to normal, and go to your mame.ini file, on your emulator folder, and choose these options: artwork_crop 1, use_backdrops 1, use_overlays 1, use_bezels 0, use_cpanels 0, use_marquees 0
;----------------------------------------------------------------------------
StartModule()
BezelGUI()
FadeInStart()
settingsFile := modulePath . "\" . moduleName . ".ini"
Fullscreen := IniReadCheck(settingsFile, "Settings", "Fullscreen","true",,1)
Videomode := IniReadCheck(settingsFile, "Settings", "Videomode","d3d",,1)
hlsl := IniReadCheck(settingsFile, "Settings|" . systemName, "HLSL","false",,1)
hideConsole := IniReadCheck(settingsFile, "Settings", "HideConsole","true",,1) ; Hides console window from view if it shows up
pauseMethod := IniReadCheck(settingsFile, "Settings", "PauseMethod",1,,1) ; set the pause method that works better on your machine (preferred methods 1 and 2) 1 = Win7 and Win8 OK - Problems with Win XP, 2 = preferred method for WinXP - Problems in Win7, 3 and 4 = same as 1 and 2, 5 = only use If you have a direct input version of mame, 6 = suspend mame process method, it could crash mame in some computers
bezelMode := IniReadCheck(settingsFile, "Settings", "BezelMode","layout",,1) ; "layout" or "normal"
cheatMode := IniReadCheck(settingsFile, "Settings", "CheatMode","false",,1)
cheatModeKey := IniReadCheck(settingsFile, "Settings", "CheatModeKey",A_Space,,1) ; user defined key to be held down before launching a mame rom.
sysParams := IniReadCheck(settingsFile, systemName, "Params", A_Space,,1)
romParams := IniReadCheck(settingsFile, romName, "Params", A_Space,,1)
mameRomName := IniReadCheck(settingsFile, romName, "MameRomName", A_Space,,1)
Artwork_Crop := IniReadCheck(settingsFile, systemName . "|" . romName, "Artwork_Crop", "true",,1)
Use_Bezels := IniReadCheck(settingsFile, systemName . "|" . romName, "Use_Bezels", "false",,1)
Use_Overlays := IniReadCheck(settingsFile, systemName . "|" . romName, "Use_Overlays", "true",,1)
Use_Backdrops := IniReadCheck(settingsFile, systemName . "|" . romName, "Use_Backdrops", "true",,1)
Use_Cpanels := IniReadCheck(settingsFile, systemName . "|" . romName, "Use_Cpanels", "false",,1)
Use_Marquees := IniReadCheck(settingsFile, systemName . "|" . romName, "Use_Marquees", "false",,1)
autosave := IniReadCheck(settingsFile, systemName . "|" . romName, "Autosave", "false",,1)
If bezelEnabled = true
{ artworkCrop := If (Artwork_Crop = "true") ? "-artwork_crop" : "-noartwork_crop"
useBezels := If (Use_Bezels = "true") ? "-use_bezels" : "-nouse_bezels"
useOverlays := If (Use_Overlays = "true") ? "-use_overlays" : "-nouse_overlays"
useBackdrops := If (Use_Backdrops = "true") ? "-use_backdrops" : "-nouse_backdrops"
UseCpanels := If (Use_Cpanels = "true") ? "-use_cpanels" : "-nouse_cpanels"
UseMarquees := If (Use_Marquees = "true") ? "-use_marquees" : "-nouse_marquees"
ListXMLtable := []
ListXMLtable := ListXMLInfo(romName)
If bezelMode = layout
BezelStart(romName,ListXMLtable[1],ListXMLtable[2],ListXMLtable[3],ListXMLtable[4])
Else if !(Use_Bezels = "true")
BezelStart(,,ListXMLtable[2])
} Else {
artworkCrop := "-artwork_crop"
useBezels := "-nouse_bezels"
useOverlays := "-nouse_overlays"
useBackdrops := "-nouse_backdrops"
UseCpanels := "-nouse_cpanels"
UseMarquees := "-nouse_marquees"
}
; -romload part of 147u2 that shows what roms were checked when missing roms
winstate := If (Fullscreen = "true") ? "Hide UseErrorLevel" : "UseErrorLevel"
fullscreen := If (Fullscreen = "true") ? "-nowindow" : "-window"
hlsl := If hlsl = "true" ? "-hlsl_enable" : "-nohlsl_enable"
videomode := If (Videomode != "" ) ? "-video " . videomode : ""
sysParams := If sysParams != "" ? sysParams : ""
romParams := If romParams != "" ? romParams : ""
autosave := If autosave = "true" ? "-autosave" : ""
StringReplace,mameRomPaths,romPathFromIni,|,`"`;`",1 ; replace all instances of | to ; in the Rom_Path from Emulators.ini so mame knows where to find your roms
mameRomPaths := "-rompath """ . (If mameRomName ? romPath : mameRomPaths) . """" ; if using an alt rom, only supply mame with the path to that rom so it doesn't try to use the original rom
If InStr(romParams,"-rompath")
ScriptError("""-rompath"" is defined as a parameter for " . romName . ". The MAME module fills this automatically so please remove this from Params in the module's settings.")
If InStr(sysParams,"-rompath")
ScriptError("""-rompath"" is defined as a parameter for " . systemName . ". The MAME module fills this automatically so please remove this from Params in the module's settings.")
If mameRomName {
FileMove, %romPath%\%romName%%romExtension%, %romPath%\%mameRomName%%romExtension% ; rename rom to match what mame needs
originalRomName := romName ; store romName from database so we know what to rename it back to later
romName := mameRomName
If ErrorLevel
ScriptError("There was a problem renaming " . romName . " to " . mameRomName . " in " . romPath . ". Please check you have write permission to this folder/file and you don't already have a file named """ . mameRomName . """ in your rom folder.",8)
Else ; if rename was successful, set var so we know to move it back later
fileRenamed = 1
}
If cheatMode = true
{ If cheatModeKey ; if user wants to use a key to enable CheatMode
cheatEnabled := If XHotkeyAllKeysPressed(cheatModeKey) ? "-cheat" : ""
Else ; no cheat mode key defined
cheatEnabled := "-cheat"
}
If hideConsole = true
SetTimer, HideConsole, 10
errLvl := Run(executable . A_Space . romName . A_Space . fullscreen . A_Space . hlsl . A_Space . cheatEnabled . A_Space . videomode . A_Space . artworkCrop . A_Space . useBezels . A_Space . useOverlays . A_Space . useBackdrops . A_Space . UseCpanels . A_Space . UseMarquees . A_Space . mameRomPaths . A_Space . sysParams . A_Space . romParams . A_Space . autosave, emuPath, winstate)
If errLvl {
If (errLvl = 1)
Error = Failed Validity
Else If(errLvl = 2)
Error = Missing Files
Else If(errLvl = 3)
Error = Fatal Error
Else If(errLvl = 4)
Error = Device Error
Else If(errLvl = 5)
Error = Game Does Not Exist
Else If(errLvl = 6)
Error = Invalid Config
Else If errLvl in 7,8,9
Error = Identification Error
Else
Error = MAME Error
Log("MAME Error - " . Error,3)
}
WinWait("ahk_class MAME")
WinWaitActive("ahk_class MAME")
BezelDraw()
FadeInExit()
Process("WaitClose", executable)
BezelExit()
If fileRenamed { ; rename file back to alternate name for next launch
FileMove, %romPath%\%romName%%romExtension%, %romPath%\%originalRomName%%romExtension%
If ErrorLevel ; if rename was successful, set var so we know to move it back later
ScriptError("There was a problem renaming " . romName . " back to " . originalRomName)
}
FadeOutExit()
ExitModule()
ListXMLInfo(rom){ ; returns MAME/MESS info about parent rom, orientation angle, resolution
Global emuFullPath, emuPath
ListXMLtable := []
RunWait, % comspec . " /c " . """" . emuFullPath . """" . " -listxml " . rom . " > tempBezel.txt", %emuPath%, Hide
Fileread, ListxmlContents, %emuPath%\tempBezel.txt
RegExMatch(ListxmlContents, "s)<game.*name=" . """" . rom . """" . ".*" . "cloneof=" . """" . "[^""""]*", parent)
RegExMatch(parent,"cloneof=" . """" . ".*", parent)
RegExMatch(parent,"""" . ".*", parent)
StringTrimLeft, parent, parent, 1
RegExMatch(ListxmlContents, "s)<display.*rotate=" . """" . "[0-9]+" . """", angle)
RegExMatch(angle,"[0-9]+", angle, "-6")
RegExMatch(ListxmlContents, "s)<display.*width=" . """" . "[0-9]+" . """", width)
RegExMatch(width,"[0-9]+", width, "-6")
RegExMatch(ListxmlContents, "s)<display.*height=" . """" . "[0-9]+" . """", Height)
RegExMatch(Height,"[0-9]+", Height, "-6")
ListXMLtable[1] := parent
ListXMLtable[2] := angle
If (ListXMLtable[2]<>0)
ListXMLtable[3] := height
Else
ListXMLtable[3] := width
If (ListXMLtable[2]<>0)
ListXMLtable[4] := width
Else
ListXMLtable[4] := height
FileDelete, %emuPath%\tempBezel.txt
Return ListXMLtable
}
HaltEmu:
If pauseMethod = 1
{ disableSuspendEmu = true
disableRestoreEmu = true
PostMessage,0x211, 1, , , ahk_class MAME
} Else If pauseMethod = 2
{ disableSuspendEmu = true
PostMessage,0x211, 1, , , ahk_class MAME
} Else If pauseMethod = 3
{ disableSuspendEmu = true
disableRestoreEmu = true
PostMessage,% 0x0400+6, 1, , , ahk_class MAME
} Else If pauseMethod = 4
{ disableSuspendEmu = true
PostMessage,% 0x0400+6, 1, , , ahk_class MAME
} Else If pauseMethod = 5
{ disableSuspendEmu = true
Send, {P down}
Sleep, 1000
Send, {P up}
}
Return
RestoreEmu:
If pauseMethod = 1
{ PostMessage,0x212, 1, , , ahk_class MAME
WinActivate, ahk_class MAME
} Else If pauseMethod = 2
{ PostMessage,0x212, 1, , , ahk_class MAME
WinActivate, ahk_class MAME
} Else If pauseMethod = 3
{ PostMessage,% 0x0400+6, 0, , , ahk_class MAME
WinActivate, ahk_class MAME
} Else If pauseMethod = 4
{ PostMessage,% 0x0400+6, 0, , , ahk_class MAME
WinActivate, ahk_class MAME
} Else If pauseMethod = 5
{ disableSuspendEmu = true
Send, {P down}
Sleep, 1000
Send, {P up}
WinActivate, ahk_class MAME
} Else If pauseMethod = 6
WinActivate, ahk_class MAME
Return
HideConsole:
hideConsoleTimer++
IfWinExist, ahk_class ConsoleWindowClass
{ Log("Module - HideConsole - Console window found, hiding it out of view.")
WinSet, Transparent, 0, ahk_class ConsoleWindowClass
SetTimer, HideConsole, Off
} Else If hideConsoleTimer >= 200
SetTimer, HideConsole, Off
Return
CloseProcess:
FadeOutStart()
WinClose("ahk_class MAME")
Return
18:27:26:670 | HL | INFO | +0 | BuildScript - Loaded HyperPause scripts
18:27:26:670 | HL | INFO | +0 | BuildScript - Loaded Statistics.ahk script
18:27:26:670 | HL | INFO | +0 | BuildScript - Finished injecting functions into module
18:27:26:670 | HL | INFO | +0 | Main - Module is built
18:27:26:670 | HL | INFO | +0 | CheckFile - Checking if F:\HyperSpin\HyperLaunch\AutoHotkey.dll exists
18:27:26:670 | HL | INFO | +0 | Main - Running module
18:27:26:811 | MD | INFO | +N/A | Module initialized
18:27:26:811 | MD | INFO | +0 | StartModule - Started
18:27:26:811 | MD | INFO | +0 | StartModule - MEmu: MAME
MEmuV: v0.150
MURL: http://www.mame.net/
MAuthor: djvj
MVersion: 2.1.2
MCRC: 232140EB
iCRC: 397D8196
MID:
MSystem: "AAE","Cave","LaserDisc","MAME","Nintendo Arcade Systems","Sega Model 1","Sega ST-V","SNK Neo Geo","SNK Neo Geo AESâ€,†SNK Neo Geo MVSâ€
18:27:26:811 | MD | INFO | +0 | StartModule - You have a supported System Name for this module: "Mame"
18:27:26:811 | MD | INFO | +0 | Hiding mouse cursor
18:27:26:826 | MD | INFO | +16 | StartModule - Ended
18:27:26:826 | MD | INFO | +0 | GetFadePicFile - Randomized images and Fade Layer 1 will use F:\HyperSpin\HyperLaunch\Media\Fade\Mame\_Default\Layer 1.png
18:27:26:826 | MD | INFO | +0 | GetFadePicFile - Randomized images and Fade Layer 2 will use F:\HyperSpin\HyperLaunch\Media\Fade\_Default\Layer 2.png
18:27:27:076 | MD | INFO | +249 | DefaultAnimateFadeIn - Started
18:27:27:076 | MD | INFO | +0 | DefaultAnimateFadeIn - Drawing First FadeIn Image.
18:27:27:591 | MD | INFO | +515 | DefaultAnimateFadeIn - Ended
18:27:27:591 | MD | INFO | +0 | GetFadePicFile - Randomized images and Fade Extra Layer 1 - Console will use F:\HyperSpin\HyperLaunch\Media\Fade\Mame\_Default\Extra Layer 1 - Console.png
18:27:27:684 | MD | INFO | +94 | GetFadePicFile - Randomized images and Fade Extra Layer 2 - Info Bar will use F:\HyperSpin\HyperLaunch\Media\Fade\_Default\Extra Layer 2 - Info Bar.png
18:27:27:747 | MD | INFO | +62 | DefaultFadeAnimation - Started
18:27:27:747 | MD | INFO | +0 | GetFadePicFile - Randomized images and Fade Layer 3 will use F:\HyperSpin\HyperLaunch\Media\Fade\Mame\_Default\Layer 3.png
18:27:27:762 | MD | INFO | +16 | ReadHyperSpinXML - Started
18:27:27:762 | MD | INFO | +0 | ReadHyperSpinXML - Ended
18:27:27:762 | MD | INFO | +0 | CreateRomTable - Started
18:27:27:762 | MD | INFO | +0 | CreateRomTable - Ended, 7 Loops to create table.
18:27:28:558 | MD | INFO | +795 | DefaultFadeAnimation - Ended
18:27:28:558 | MD | INFO | +0 | Module Setting - [Settings] - Fullscreen: true
18:27:28:558 | MD | INFO | +0 | Module Setting - [Settings] - Videomode: d3d
18:27:28:558 | MD | INFO | +0 | Module Setting - [Settings] - HLSL: false
18:27:28:558 | MD | INFO | +0 | Module Setting - [Mame] - HLSL: false
18:27:28:558 | MD | INFO | +0 | Module Setting - [Settings] - HideConsole: true
18:27:28:558 | MD | INFO | +0 | Module Setting - [Settings] - PauseMethod: 1
18:27:28:558 | MD | INFO | +0 | Module Setting - [Settings] - BezelMode: layout
18:27:28:558 | MD | INFO | +0 | Module Setting - [Settings] - CheatMode: false
18:27:28:558 | MD | INFO | +0 | Module Setting - [Settings] - CheatModeKey:
18:27:28:558 | MD | INFO | +0 | Module Setting - [Mame] - Params:
18:27:28:558 | MD | INFO | +0 | Module Setting - [10yard] - Params:
18:27:28:558 | MD | INFO | +0 | Module Setting - [10yard] - MameRomName:
18:27:28:558 | MD | INFO | +0 | Module Setting - [Mame] - Artwork_Crop: true
18:27:28:558 | MD | INFO | +0 | Module Setting - [10yard] - Artwork_Crop: true
18:27:28:558 | MD | INFO | +0 | Module Setting - [Mame] - Use_Bezels: false
18:27:28:558 | MD | INFO | +0 | Module Setting - [10yard] - Use_Bezels: false
18:27:28:558 | MD | INFO | +0 | Module Setting - [Mame] - Use_Overlays: true
18:27:28:558 | MD | INFO | +0 | Module Setting - [10yard] - Use_Overlays: true
18:27:28:558 | MD | INFO | +0 | Module Setting - [Mame] - Use_Backdrops: true
18:27:28:558 | MD | INFO | +0 | Module Setting - [10yard] - Use_Backdrops: true
18:27:28:558 | MD | INFO | +0 | Module Setting - [Mame] - Use_Cpanels: false
18:27:28:558 | MD | INFO | +0 | Module Setting - [10yard] - Use_Cpanels: false
18:27:28:558 | MD | INFO | +0 | Module Setting - [Mame] - Use_Marquees: false
18:27:28:558 | MD | INFO | +0 | Module Setting - [10yard] - Use_Marquees: false
18:27:28:558 | MD | INFO | +0 | Module Setting - [Mame] - Autosave: false
18:27:28:558 | MD | INFO | +0 | Module Setting - [10yard] - Autosave: false
18:27:28:558 | MD | INFO | +0 | Run - Running: F:\HyperSpin\Emulators\Mame\Mame 153\mamep.exe 10yard -nowindow -nohlsl_enable -video d3d -artwork_crop -nouse_bezels -nouse_overlays -nouse_backdrops -nouse_cpanels -nouse_marquees -rompath "F:\HyperSpin\Emulators\Mame\Mame 153\roms"
18:27:28:574 | MD | INFO | +16 | CreateMGRomTable - Started
18:27:28:574 | MD | INFO | +0 | CreateMGRomTable - Ended
18:27:28:605 | MD | INFO | +31 | WinWait - Waiting for "ahk_class MAME"
18:27:28:636 | MD | INFO | +31 | Module - HideConsole - Console window found, hiding it out of view.
18:27:28:979 | MD | INFO | +344 | WinWaitActive - Waiting for "ahk_class MAME"
18:27:29:088 | MD | INFO | +109 | Process - WaitClose mamep.exe
18:27:29:104 | MD | INFO | +15 | DefaultAnimateFadeIn - Started
18:27:29:609 | MD | INFO | +500 | DefaultAnimateFadeIn - Ended
18:27:32:576 | MD | INFO | +2979 | HyperPause Started: current rom: 10yard, current system Name: Mame
18:27:32:710 | MD | INFO | +125 | HyperLaunch HitoText Path: F:\HyperSpin\HyperLaunch\Module Extensions\HiToText.exe
18:27:32:710 | MD | INFO | +0 | HyperLaunch 7z Path: F:\HyperSpin\HyperLaunch\Module Extensions\7z.exe
18:27:33:400 | MD | INFO | +686 | HyperPause Menu items: Save State|Load State|HighScore|Artwork|Manuals|Videos|Sound|Statistics|History|Shutdown
18:27:33:548 | MD | INFO | +156 | Finished Loading HyperPause
18:27:33:760 | MD | INFO | +219 | Loaded SaveState SubMenu
18:27:52:249 | MD | INFO | +18486 | ExitModule - Started
18:27:52:249 | MD | INFO | +0 | Starting Updating Statistics:
18:27:52:312 | MD | INFO | +62 | Game section statistics updated.
18:27:52:327 | MD | INFO | +16 | Restoring mouse cursor
18:27:52:327 | MD | INFO | +0 | ExitModule - Ended
18:27:52:327 | MD | INFO | +0 | End of Module Logs
18:27:52:452 | HL | INFO | +25787 | Main - Module ended, exiting HyperLaunch normally
18:27:52:452 | HL | INFO | +0 | ExitScript - Started
18:27:52:483 | HL | INFO | +31 | SystemCursor - Restoring mouse cursor
18:27:52:499 | HL | INFO | +16 | ExitScript - Ended
J'ai du fermé mame via la barre de taches windows (clic gauche sur mame, fermer).