Jump to content

Different Mame Versions Problem


Premium

Recommended Posts

Posted

Hello,

for some games i use different MAME versions.

But somehow the games wont load and MAME exits.

Here are the Logs:

HyperLaunch.log

20:07:48:019 | HL |     INFO  | +N/A   | Main - HyperLaunch v3.0.0.9
20:07:48:020 | HL |     INFO  | +0     | Main - System Specs:
				HyperLaunch Dir: C:\HyperSpin\HyperLaunch
				OS: WIN_7
				Architecture: 64-bit (might not be accurate)
				OS Language: German_Standard
				OS Admin Status: No
				Monitor #1 (\\.\DISPLAY1): 1920x1080 (1920x1080 work)
				AutoHotkey Path: 
				AHK Version: 1.1.09.04
				Unicode: No
20:07:48:020 | HL |     INFO  | +0     | Main - HyperSpin.exe coordinates are x0 y0 w1920 h1080
20:07:48:020 | HL |     INFO  | +0     | CheckFile - Checking if C:\HyperSpin\HyperLaunch\HyperLaunch.exe exists
20:07:48:020 | HL |     INFO  | +0     | Main - HyperLaunch received "MAME" and "wjammers"
20:07:48:021 | HL |     INFO  | +0     | Main - wjammers contains a System key in C:\HyperSpin\HyperLaunch\Settings\MAME\Games.ini. Switching systemName to MAME
20:07:48:026 | HL |     INFO  | +16    | Main - wjammers is switching to emulator Mame 142 via: C:\HyperSpin\HyperLaunch\Settings\MAME\Games.ini
20:07:48:026 | HL |     INFO  | +0     | Main - Checking for a [Mame 142] section in C:\HyperSpin\HyperLaunch\Settings\MAME\Emulators.ini
20:07:48:026 | HL |     INFO  | +0     | Main - Found [Mame 142] in C:\HyperSpin\HyperLaunch\Settings\MAME\Emulators.ini
20:07:48:026 | HL |     INFO  | +0     | CheckFile - Checking if C:\HyperSpin\HyperLaunch\Modules\MAME\MAME.ahk exists
20:07:48:031 | HL |     INFO  | +0     | Main - CRC Check - CRC matches, this is an official unedited module.
20:07:48:031 | HL |     INFO  | +0     | Main - wjammers will use module: C:\HyperSpin\HyperLaunch\Modules\MAME\MAME.ahk
20:07:48:040 | HL |     INFO  | +15    | Main - Using standard method with "Rom Extensions" SkipChecks or without any SkipChecks.
20:07:48:042 | HL |     INFO  | +0     | Main - INI Keys read
20:07:48:042 | HL |     INFO  | +0     | CheckFile - Checking if C:\HyperSpin\Hyperlaunch\Module Extensions\7z.exe exists
20:07:48:042 | HL |     INFO  | +0     | CheckFile - Checking if C:\HyperSpin\Hyperlaunch\Module Extensions\7z.dll exists
20:07:48:043 | HL |     INFO  | +0     | CheckPaths - Started
20:07:48:043 | HL |     INFO  | +0     | CheckPaths - Found rom: C:\HyperSpin\Emulators\mame\roms\wjammers.zip
20:07:48:043 | HL |     INFO  | +0     | CheckFile - Checking if C:\HyperSpin\Emulators\mame 142\mame.exe exists
20:07:48:045 | HL |     INFO  | +0     | CheckPaths - Ended
20:07:48:045 | HL |     INFO  | +0     | BuildScript - User Variables:
				;----------------------------------------------------------------------------
				; INJECTED VARIABLES
				;----------------------------------------------------------------------------

				#NoTrayIcon
				#InstallKeybdHook
				DetectHiddenWindows, ON
				SetTitleMatchMode, 2
				SendMode, Event
				0 = 2
				frontendPID = 5364
				frontendPath = C:\HyperSpin
				frontendExe = HyperSpin.exe
				frontendExt = exe
				frontendName = HyperSpin
				frontendDrive = C:
				exitEmulatorKey = ~Joy 6
				exitEmulatorKeyWait = 0
				forceHoldKey = ~Esc
				restoreFE = false
				exitScriptKey = ~q & ~s
				emuFullPath = C:\HyperSpin\Emulators\mame 142\mame.exe
				emuPath = C:\HyperSpin\Emulators\mame 142
				emuName = Mame 142
				emuExt = exe
				romPath = C:\HyperSpin\Emulators\mame\roms
				romPathFromIni = C:\HyperSpin\Emulators\mame\roms
				romExtension = .zip
				romExtensionOrig = .zip
				romExtensions = zip
				executable = mame.exe
				systemName = MAME
				dbName = wjammers
				romName = 
				romMapPath = 
				romMappingEnabled = false
				romMappingLaunchMenuEnabled = false
				romMappingFirstMatchingExt = false
				romMappingShowAllRomsInArchive = true
				romMappingNumberOfWheelsByScreen = 7
				romMappingMenuWidth = 300
				romMappingMenuMargin = 50
				romMappingTextFont = Bebas Neue
				romMappingTextOptions = cFFFFFFFF r4 s40 Bold
				romMappingDisabledTextColor = ff888888
				romMappingTextSizeDifference = 5
				romMappingTextMargin = 10
				romMappingTitleTextFont = Bebas Neue
				romMappingTitleTextOptions = cFFFFFFFF r4 s60 Bold
				romMappingTitle2TextFont = Bebas Neue
				romMappingTitle2TextOptions = cFFFFFFFF r4 s15 Bold
				romMappingGameInfoTextFont = Bebas Neue
				romMappingGameInfoTextOptions = cFFFFFFFF r4 s15 Regular
				romMappingBackgroundBrush = aa000000
				romMappingColumnBrush = 33000000
				romMappingButtonBrush1 = 6f000000
				romMappingButtonBrush2 = 33000000
				romMappingBackgroundAlign = Stretch and Lose Aspect
				romMappingMenuFlagWidth = 40
				romMappingMenuFlagSeparation = 5
				romMappingDefaultMenuList = FullList
				romMappingSingleFilteredRomAutomaticLaunch = false
				skipchecks = false
				romMatchExt = true
				logFile = C:\HyperSpin\HyperLaunch\HyperLaunch.log
				logLabel := ["    INFO"," WARNING","   ERROR","  DEBUG1","  DEBUG2"]
				logLevel = 3
				logIncludeModule = true
				logIncludeFileProperties = true
				logShowCommandWindow = false
				logCommandWindow = false
				navUpKey = Up
				navDownKey = Down
				navLeftKey = Left
				navRightKey = Right
				navSelectKey = Enter
				navP2UpKey = Numpad8
				navP2DownKey = Numpad2
				navP2LeftKey = Numpad4
				navP2RightKey = Numpad6
				navP2SelectKey = NumpadEnter
				originalWidth = 1920
				originalHeight = 1080
				dtEnabled = true
				dtPath = 
				dtUseSCSI = true
				dtAddDrive = true
				emuIdleShutdown = 0
				hideEmu = false
				hideFE = false
				fadeIn = false
				fadeInDuration = 500
				fadeInTransitionAnimation = DefaultAnimateFadeIn
				fadeInDelay = 0
				fadeInExitDelay = 0
				fadeOutExitDelay = 0
				fadeOut = false
				fadeOutDuration = 500
				fadeOutTransitionAnimation = DefaultAnimateFadeOut
				fadeOutDelay = 0
				fadeLyrInterpolation = 7
				fadeLyr1Color = FF000000
				fadeLyr1AlignImage = Align to Top Left
				fadeLyr2Pos = Bottom Right Corner
				fadeLyr2X = 300
				fadeLyr2Y = 300
				fadeLyr2Adjust = 1
				fadeLyr2PicPad = 0
				fadeLyr3Pos = Center
				fadeLyr3X = 300
				fadeLyr3Y = 300
				fadeLyr3Adjust = 0.75
				fadeLyr3Speed = 750
				fadeLyr3Animation = DefaultFadeAnimation
				fadeLyr37zAnimation = DefaultFadeAnimation
				fadeLyr3Type = imageandbar
				fadeLyr3ImgFollow7zProgress = true
				fadeLyr3Repeat = 1
				fadeLyr3PicPad = 0
				fadeLyr4Adjust = 0.75
				fadeLyr4X = 100
				fadeLyr4Y = 100
				fadeLyr4Pos = Above Layer 3 - Left
				fadeLyr4FPS = 10
				fadeLyr4PicPad = 0
				fadeTranspGifColor = FFFFFF
				fadeBarWindow = false
				fadeBarWindowX = 
				fadeBarWindowY = 
				fadeBarWindowW = 600
				fadeBarWindowH = 120
				fadeBarWindowR = 20
				fadeBarWindowM = 20
				fadeBarWindowHatchStyle = 8
				fadeBarBack = true
				fadeBarBackColor = FF555555
				fadeBarH = 20
				fadeBarR = 5
				fadeBarColor = DD00BFFF
				fadeBarHatchStyle = 3
				fadeBarPercentageText = true
				fadeBarInfoText = true
				fadeBarXOffset = 0
				fadeBarYOffset = 100
				fadeRomInfoDescription = text
				fadeRomInfoSystemName = text
				fadeRomInfoYear = text
				fadeRomInfoManufacturer = text
				fadeRomInfoGenre = text
				fadeRomInfoRating = text
				fadeRomInfoOrder = Description|SystemName|Year|Manufacturer|Genre|Rating
				fadeRomInfoTextPlacement = topRight
				fadeRomInfoTextMargin = 5
				fadeRomInfoText1Options = cFF555555 r4 s20 Bold
				fadeRomInfoText2Options = cFF555555 r4 s20 Bold
				fadeRomInfoText3Options = cFF555555 r4 s20 Bold
				fadeRomInfoText4Options = cFF555555 r4 s20 Bold
				fadeRomInfoText5Options = cFF555555 r4 s20 Bold
				fadeRomInfoText6Options = cFF555555 r4 s20 Bold
				fadeStats_Number_of_Times_Played = text with label
				fadeStats_Last_Time_Played = text with label
				fadeStats_Average_Time_Played = text with label
				fadeStats_Total_Time_Played = text with label
				fadeStats_System_Total_Played_Time = text with label
				fadeStats_Total_Global_Played_Time = text with label
				fadeStatsInfoOrder = Number_of_Times_Played|Last_Time_Played|Average_Time_Played|Total_Time_Played|System_Total_Played_Time|Total_Global_Played_Time
				fadeStatsInfoTextPlacement = topLeft
				fadeStatsInfoTextMargin = 5
				fadeStatsInfoText1Options = cFF555555 r4 s20 Bold
				fadeStatsInfoText2Options = cFF555555 r4 s20 Bold
				fadeStatsInfoText3Options = cFF555555 r4 s20 Bold
				fadeStatsInfoText4Options = cFF555555 r4 s20 Bold
				fadeStatsInfoText5Options = cFF555555 r4 s20 Bold
				fadeStatsInfoText6Options = cFF555555 r4 s20 Bold
				fadeText1X = 0
				fadeText1Y = 0
				fadeText1Options = cFFFFFFFF r4 s20 Right Bold
				fadeText1 = Loading Game
				fadeText2X = 0
				fadeText2Y = 0
				fadeText2Options = cFFFFFFFF r4 s20 Right Bold
				fadeText2 = Extraction Complete
				fadeFont = Arial
				fadeSystemAndRomLayersOnly = false
				fadeInterruptKey = 
				detectFadeErrorEnabled = true
				fadeImgPath = 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\MAME\MAME.ahk
				moduleName = MAME
				modulePath = C:\HyperSpin\HyperLaunch\Modules\MAME
				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:\Windows\Temp
				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
				keymapper = 
				xpadderFullPath = X:\Windows Backup\G\Trash\Appz\Xpadder57\Xpadder [5.7].exe
				joyToKeyFullPath = C:\HyperSpin\Utilities\JoyToKey\JoyToKey.exe
				keymapperProfilePath = C:\HyperSpin\HyperLaunch\Profiles\
				keymapperFrontEndProfileName = HyperSpin
				keymapperHyperLaunchProfileEnabled = false
				JoyIDsEnabled = false
				JoyIDsPreferredControllersSystem = Controller (Xbox 360 Wireless Receiver for Windows)
				JoyIDsPreferredControllersGlobal = use_global
				CustomJoyNamesEnabled = false
				CustomJoyNames = 
				FEProfile = C:\HyperSpin\HyperLaunch\Profiles\\HyperSpin
				defaultProfile = C:\HyperSpin\HyperLaunch\Profiles\\_Default
				systemProfile = C:\HyperSpin\HyperLaunch\Profiles\\MAME
				xPadderSystemProfile = C:\HyperSpin\HyperLaunch\Profiles\\MAME\_Default
				emuProfile = C:\HyperSpin\HyperLaunch\Profiles\\MAME\Mame 142
				romProfile = C:\HyperSpin\HyperLaunch\Profiles\\MAME\wjammers
				blankProfile = C:\HyperSpin\HyperLaunch\Profiles\\blank
				HyperLaunchProfile = C:\HyperSpin\HyperLaunch\Profiles\\HyperLaunch
				bezelEnabled = false
				statisticsEnabled = true

20:07:48:046 | HL |     INFO  | +0     | BuildScript - Loaded XHotkey Init.ahk scripts
20:07:48:046 | HL |     INFO  | +0     | BuildScript - Loaded Statistics Init.ahk scripts
20:07:48:046 | HL |     INFO  | +0     | BuildScript - Loaded User Functions Init.ahk script
20:07:48:047 | HL |     INFO  | +0     | BuildScript - Module:
				MEmu = MAME
				MEmuV =  v0.148
				MURL = http://www.mame.net/
				MAuthor = djvj
				MVersion = 2.0.6
				MCRC = D558F163
				iCRC = CD775A90
				MID = 635038268903403479
				MSystem = "AAE","Cave","LaserDisc","MAME","Nintendo Arcade Systems","Sega Model 1","Sega ST-V","SNK Neo Geo","SNK Neo Geo AES"
				;----------------------------------------------------------------------------
				; 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
				; MAME 149 is currently bugged and HyperPause support is broken. Emu does not let you alt-tab out. This is a mamedev issue, not an HL one.
				; 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
				;----------------------------------------------------------------------------
				StartModule()
				FadeInStart()

				settingsFile := CheckFile(modulePath . "\" . moduleName . ".ini")

				Fullscreen := IniReadCheck(settingsFile, "Settings", "Fullscreen","true",,1)
				Videomode := IniReadCheck(settingsFile, "Settings", "Videomode","d3d",,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)
				Use_Bezels := IniReadCheck(settingsFile, "Settings", "Use_Bezels", "true",,1)
				Use_Bezels := IniReadCheck(settingsFile, romName, "Use_Bezels", Use_Bezels,,1)	; default is the system's current setting
				Use_Overlays := IniReadCheck(settingsFile, "Settings", "Use_Overlays", "true",,1)
				Use_Overlays := IniReadCheck(settingsFile, romName, "Use_Overlays", Use_Overlays,,1)	; default is the system's current setting
				Use_Backdrops := IniReadCheck(settingsFile, "Settings", "Use_Backdrops", "true",,1)
				Use_Backdrops := IniReadCheck(settingsFile, romName, "Use_Backdrops", Use_Backdrops,,1)	; default is the system's current setting

				If bezelEnabled = true
				{	ListXMLtable := []
					ListXMLtable := ListXMLInfo(romName)
					If bezelMode = layout
					{	
						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"
						BezelStart(romName,ListXMLtable[1],ListXMLtable[2],ListXMLtable[3],ListXMLtable[4])
					} Else {
						useBezels := "-nouse_bezels"
						useOverlays := "-nouse_overlays"
						useBackdrops := "-nouse_backdrops"
						BezelStart(,,ListXMLtable[2])
					}

				}

				; -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"
				videomode := If (Videomode != "" ) ? "-video " . videomode : ""
				sysParams := If sysParams != ""  ? sysParams : ""
				romParams := If romParams != ""  ? romParams : ""

				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

				Run(executable . A_Space . romName . A_Space . fullscreen . A_Space . cheatEnabled . A_Space . videomode . A_Space . useBezels . A_Space . useOverlays . A_Space . useBackdrops . A_Space . mameRomPaths . A_Space . sysParams . A_Space . romParams, emuPath, winstate)

				If(ErrorLevel != 0){
					If (ErrorLevel = 1)
						Error = Failed Validity
					Else If(ErrorLevel = 2)
						Error = Missing Files
					Else If(ErrorLevel = 3)
						Error = Fatal Error
					Else If(ErrorLevel = 4)
						Error = Device Error
					Else If(ErrorLevel = 5)
						Error = Game Does Not Exist
					Else If(ErrorLevel = 6)
						Error = Invalid Config
					Else If ErrorLevel in 7,8,9
						Error = Identification Error
					Else
						Error = MAME Error
					ScriptError("MAME Error - " . Error)
				}

				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

20:07:48:048 | HL |     INFO  | +0     | BuildScript - Loaded Statistics.ahk script
20:07:48:048 | HL |     INFO  | +0     | BuildScript - Loaded User Functions.ahk script
20:07:48:048 | HL |     INFO  | +0     | BuildScript - Finished injecting functions into module
20:07:48:048 | HL |     INFO  | +0     | Main - Module is built
20:07:48:048 | HL |     INFO  | +0     | CheckFile - Checking if C:\HyperSpin\HyperLaunch\AutoHotkey.dll exists
20:07:48:051 | HL |     INFO  | +0     | Main - Running module
20:07:48:142 | MD |     INFO  | +N/A   | Module initialized
20:07:48:143 | MD |     INFO  | +0     | StartModule - Started
20:07:48:143 | MD |     INFO  | +0     | StartModule - MEmu: MAME
				MEmuV: v0.148
				MURL: http://www.mame.net/
				MAuthor: djvj
				MVersion: 2.0.6
				MCRC: D558F163
				iCRC: CD775A90
				MID: 
				MSystem: "AAE","Cave","LaserDisc","MAME","Nintendo Arcade Systems","Sega Model 1","Sega ST-V","SNK Neo Geo","SNK Neo Geo AES"
20:07:48:143 | MD |     INFO  | +0     | StartModule - You have a supported System Name for this module: "MAME"
20:07:48:143 | MD |     INFO  | +0     | StartModule - Ended
20:07:48:144 | MD |     INFO  | +0     | StartGlobalUserFeatures - Starting
20:07:48:144 | MD |     INFO  | +0     | StartGlobalUserFeatures - Ending
20:07:48:144 | MD |     INFO  | +0     | CheckFile - Checking if C:\HyperSpin\HyperLaunch\Modules\MAME\MAME.ini exists
20:07:48:144 | MD |     INFO  | +0     | Module Setting - Fullscreen: true
20:07:48:144 | MD |     INFO  | +0     | Module Setting - Videomode: d3d
20:07:48:145 | MD |     INFO  | +0     | Module Setting - HideConsole: true
20:07:48:145 | MD |     INFO  | +0     | Module Setting - PauseMethod: 4
20:07:48:145 | MD |     INFO  | +0     | Module Setting - BezelMode: normal
20:07:48:145 | MD |     INFO  | +0     | Module Setting - CheatMode: true
20:07:48:145 | MD |     INFO  | +0     | Module Setting - CheatModeKey: Z&X
20:07:48:145 | MD |     INFO  | +0     | Module Setting - Use_Bezels: true
20:07:48:145 | MD |     INFO  | +0     | Module Setting - Use_Bezels: true
20:07:48:145 | MD |     INFO  | +0     | Module Setting - Use_Overlays: true
20:07:48:146 | MD |     INFO  | +0     | Module Setting - Use_Overlays: true
20:07:48:146 | MD |     INFO  | +0     | Module Setting - Use_Backdrops: true
20:07:48:146 | MD |     INFO  | +0     | Module Setting - Use_Backdrops: true
20:07:48:146 | MD |     INFO  | +0     | Module Run - Running: C:\HyperSpin\Emulators\mame 142\mame.exe wjammers -nowindow  -video d3d    -rompath "C:\HyperSpin\Emulators\mame\roms"  
20:07:48:690 | MD |     INFO  | +546   | Module - HideConsole - Console window found, hiding it out of view.
20:07:48:743 | MD |     INFO  | +62    | Module WinWait - Waiting for ahk_class MAME
20:07:49:191 | MD |     INFO  | +437   | Module WinWaitActive - Waiting for "ahk_class MAME"
20:07:49:295 | MD |     INFO  | +109   | Module Process - WaitClose mame.exe 
20:07:50:004 | MD |     INFO  | +702   | StopGlobalUserFeatures - Starting
20:07:50:004 | MD |     INFO  | +0     | StopGlobalUserFeatures - Ending
20:07:50:004 | MD |     INFO  | +0     | ExitModule - Started
20:07:50:004 | MD |     INFO  | +0     | Starting Updating Statistics:
20:07:50:004 | MD |     INFO  | +0     | CreateRomTable - Started
20:07:50:004 | MD |     INFO  | +0     | CreateRomTable - Ended, 7 Loops to create table.
20:07:50:379 | MD |     INFO  | +375   | Game section statistics updated.
20:07:50:379 | MD |     INFO  | +0     | ExitModule - Ended
20:07:50:379 | MD |     INFO  | +0     | End of Module Logs
20:07:50:427 | HL |     INFO  | +2387  | Main - Module ended, exiting HyperLaunch normally
20:07:50:427 | HL |     INFO  | +0     | ExitScript - Started
20:07:50:439 | HL |     INFO  | +0     | SystemCursor - Restoring mouse cursor
20:07:50:446 | HL |     INFO  | +16    | ExitScript - Ended

log.txt

08:07:44 PM |  HyperSpin Started 
08:07:44 PM |  Going FullScreen 
08:07:44 PM |  Checking for updates 
08:07:44 PM |  Update Check Complete 
08:07:44 PM |  Startup program unavailable 
08:07:44 PM |  Error intializing joysticks 
08:07:44 PM |  Menu Mode is single 
08:07:44 PM |  Loading MAME.xml 
08:07:44 PM |  MAME.xml successfully loaded 
08:07:45 PM |  MAME wheel loaded successfully 
08:07:47 PM |  Launching Game 
08:07:47 PM |  Using HyperLaunch
08:07:47 PM |  Getting HyperLaunch path 
08:07:47 PM |  HyperLaunch located at C:\Hyperspin\HyperLaunch\HyperLaunch.exe
08:07:47 PM |  Running HyperLaunch.exe 
08:07:47 PM |  HyperLaunch Command Line is: C:\Hyperspin\HyperLaunch\HyperLaunch.exe "MAME" "wjammers"
08:07:51 PM |  Exit program unavailable 
08:07:51 PM |  Quiting Hyperspin 
08:07:51 PM |  Bye! 

I think there is some wrong setup in Hyperlaunch.

Maybe someone knows this problem.

Archived

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

×
×
  • Create New...