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.

Help launching MAME roms in HS


00ashley

Recommended Posts

Posted

Hey guys, when I try launching a rom in hyperspin nothing happens! The roms work perfectly in hyperlaunch...

please help!

My logs:

09:01:31 PM | HyperSpin Started

09:01:31 PM | Going FullScreen

09:01:31 PM | Checking for updates

09:01:31 PM | Update Check Complete

09:01:31 PM | Startup program unavailable

09:01:31 PM | Playing intro video

09:01:34 PM | Error intializing joysticks

09:01:34 PM | Menu Mode is multi

09:01:34 PM | Loading Main Menu.xml

09:01:34 PM | Main Menu.xml successfully loaded

09:01:34 PM | Main Menu wheel loaded successfully

09:01:35 PM | Loading MAME.xml

09:01:35 PM | Main Menu.xml successfully loaded

09:01:36 PM | MAME wheel loaded successfully

09:01:37 PM | Launching Game

09:01:37 PM | Using HyperLaunch

09:01:37 PM | Getting HyperLaunch path

09:01:37 PM | HyperLaunch located at C:\HyperSpin\HyperLaunch.exe

09:01:37 PM | Running HyperLaunch.exe

09:01:37 PM | HyperLaunch Command Line is: C:\HyperSpin\HyperLaunch.exe "MAME" "88games"

09:01:42 PM | Launching Game

09:01:42 PM | Using HyperLaunch

09:01:42 PM | Getting HyperLaunch path

09:01:42 PM | HyperLaunch located at C:\HyperSpin\HyperLaunch.exe

09:01:42 PM | Running HyperLaunch.exe

09:01:42 PM | HyperLaunch Command Line is: C:\HyperSpin\HyperLaunch.exe "MAME" "88games"

09:02:52 PM | Loading Main Menu.xml

09:02:52 PM | Main Menu.xml successfully loaded

09:02:53 PM | Main Menu wheel loaded successfully

09:02:54 PM | Exit program unavailable

09:02:54 PM | Quiting Hyperspin

09:02:54 PM | Bye!

Posted
Hey guys, when I try launching a rom in hyperspin nothing happens! The roms work perfectly in hyperlaunch...

please help!

My logs:

09:01:31 PM | HyperSpin Started

09:01:31 PM | Going FullScreen

09:01:31 PM | Checking for updates

09:01:31 PM | Update Check Complete

09:01:31 PM | Startup program unavailable

09:01:31 PM | Playing intro video

09:01:34 PM | Error intializing joysticks

09:01:34 PM | Menu Mode is multi

09:01:34 PM | Loading Main Menu.xml

09:01:34 PM | Main Menu.xml successfully loaded

09:01:34 PM | Main Menu wheel loaded successfully

09:01:35 PM | Loading MAME.xml

09:01:35 PM | Main Menu.xml successfully loaded

09:01:36 PM | MAME wheel loaded successfully

09:01:37 PM | Launching Game

09:01:37 PM | Using HyperLaunch

09:01:37 PM | Getting HyperLaunch path

09:01:37 PM | HyperLaunch located at C:\HyperSpin\HyperLaunch.exe

09:01:37 PM | Running HyperLaunch.exe

09:01:37 PM | HyperLaunch Command Line is: C:\HyperSpin\HyperLaunch.exe "MAME" "88games"

09:01:42 PM | Launching Game

09:01:42 PM | Using HyperLaunch

09:01:42 PM | Getting HyperLaunch path

09:01:42 PM | HyperLaunch located at C:\HyperSpin\HyperLaunch.exe

09:01:42 PM | Running HyperLaunch.exe

09:01:42 PM | HyperLaunch Command Line is: C:\HyperSpin\HyperLaunch.exe "MAME" "88games"

09:02:52 PM | Loading Main Menu.xml

09:02:52 PM | Main Menu.xml successfully loaded

09:02:53 PM | Main Menu wheel loaded successfully

09:02:54 PM | Exit program unavailable

09:02:54 PM | Quiting Hyperspin

09:02:54 PM | Bye!

Hi,

By the looks of this HyperSpin log file. You are using an old HyperLaunch?

What version of HyperLaunch are you using?

Also, does the rom load and play in MAME?

Thanks,

Ron

Posted

thanks for the replies. I'm using RocketLauncher, I have no issues when just running hyperlaunch or Mame emulator. I also have no check marks on wheel filters. I can get it working by setting it not to launch through hyperlaunch but this is not ideal.

any other ideas?

Posted
thanks for the replies. I'm using RocketLauncher, I have no issues when just running hyperlaunch or Mame emulator. I also have no check marks on wheel filters. I can get it working by setting it not to launch through hyperlaunch but this is not ideal.

any other ideas?

Yepper. Navigate to HyperSpin\Settings\ and open up Settings.ini in notepad.

In the first section you should have the following:

[Main]
Menu_Mode=multi
Single_Mode_Name=MAME
Enable_Exit_Menu=true
Enable_Exit=true
Exit_Default=yes
Exit_Action=exit
Version=1.0.0.0
Last_System=MAME
Hyperlaunch_Path=HyperLaunch\

Some of the values may be different, but look at the last line. If your HyperLaunch directory is inside your HyperSpin directory. Make it look like mine.

Otherwise type in the full path to your HyperLaunch directory.

Thanks,

Ron

Posted

You are not giving us enough information to be very helpful.

Thanks,

Ron

True.

What version of Hyperspin and Mame are you running? Is Mame your only system, if not dies it happen with other systems? How are your controls setup? What is your launch key?

Posted
Cool. Now, try to launch a game and as soon as your done, post your HyperLaunch and HyperSpin logs using code tags as described here:

http://www.hyperspin-fe.com/forum/showthread.php?31072-The-HyperNoobie-Guide-For-Posting-To-The-Fourm

You are not giving us enough information to be very helpful.

Thanks,

Ron

Please find the logs after I tried to launch a game in hyperspin. The log for hyperlaunch (unless i'm mistaken) is unchanged and only shows the last time I used hyperlaunch.

hyperspin:

11:46:20 PM |  HyperSpin Started 
11:46:20 PM |  Going FullScreen 
11:46:20 PM |  Checking for updates 
11:46:20 PM |  Update Check Complete 
11:46:20 PM |  Startup program unavailable 
11:46:20 PM |  Error intializing joysticks 
11:46:20 PM |  Menu Mode is multi 
11:46:20 PM |  Loading Main Menu.xml 
11:46:20 PM |  Main Menu.xml successfully loaded 
11:46:21 PM |  Main Menu wheel loaded successfully 
11:46:22 PM |  Loading MAME.xml 
11:46:22 PM |  Main Menu.xml successfully loaded 
11:46:23 PM |  MAME wheel loaded successfully 
11:46:25 PM |  Launching Game 
11:46:25 PM |  Using HyperLaunch
11:46:25 PM |  Getting HyperLaunch path 
11:46:25 PM |  HyperLaunch located at C:\HyperSpin\HyperLaunch.exe
11:46:25 PM |  Running HyperLaunch.exe 
11:46:25 PM |  HyperLaunch Command Line is: C:\HyperSpin\HyperLaunch.exe "MAME" "88games"
11:46:29 PM |  Loading Main Menu.xml 
11:46:29 PM |  Main Menu.xml successfully loaded 
11:46:29 PM |  Main Menu wheel loaded successfully 
11:46:32 PM |  Exit program unavailable 
11:46:32 PM |  Quiting Hyperspin 
11:46:32 PM |  Bye! 

hyperlaunch:

23:36:22:452 | HL |     INFO  | +N/A   | Main - HyperLaunch v3.0.0.9
23:36:22:453 | HL |     INFO  | +0     | Main - System Specs:
				HyperLaunch Dir: C:\HyperSpin
				OS: WIN_7
				Architecture: 64-bit (might not be accurate)
				OS Language: English_United_States
				OS Admin Status: Yes
				Monitor #1 (\\.\DISPLAY1): 1920x1080 (1920x1040 work)
				AutoHotkey Path: 
				AHK Version: 1.1.09.04
				Unicode: No
23:36:22:453 | HL |     INFO  | +0     | Main - HyperSpin.exe coordinates are x y w h
23:36:22:453 | HL |     INFO  | +0     | CheckFile - Checking if C:\HyperSpin\HyperLaunch.exe exists
23:36:22:454 | HL |     INFO  | +0     | CheckFile - Checking if C:\HyperSpin\Databases\Main Menu\Main Menu.xml exists
23:36:22:503 | HL |     INFO  | +47    | Main - HyperLaunch launched directly
23:36:33:436 | HL |     INFO  | +10936 | Main - HyperLaunch received "MAME" and "simpsons"
23:36:33:463 | HL |     INFO  | +15    | Main - simpsons is using the default emulator: MAME
23:36:33:463 | HL |     INFO  | +0     | Main - Checking for a [MAME] section in C:\HyperSpin\Settings\MAME\Emulators.ini
23:36:33:464 | HL |     INFO  | +16    | Main - Checking for a [MAME] section in C:\HyperSpin\Settings\Global Emulators.ini
23:36:33:465 | HL |     INFO  | +0     | Main - Found [MAME] in C:\HyperSpin\Settings\Global Emulators.ini
23:36:33:466 | HL |     INFO  | +0     | CheckFile - Checking if C:\HyperSpin\Modules\MAME\MAME.ahk exists
23:36:33:488 | HL |     INFO  | +16    | Main - CRC Check - CRC matches, this is an official unedited module.
23:36:33:488 | HL |     INFO  | +0     | Main - simpsons will use module: C:\HyperSpin\Modules\MAME\MAME.ahk
23:36:33:507 | HL |     INFO  | +15    | Main - Using standard method with "Rom Extensions" SkipChecks or without any SkipChecks.
23:36:33:509 | HL |     INFO  | +0     | Main - INI Keys read
23:36:33:510 | HL |     INFO  | +16    | CheckFile - Checking if C:\HyperSpin\Module Extensions\7z.exe exists
23:36:33:511 | HL |     INFO  | +0     | CheckFile - Checking if C:\HyperSpin\Module Extensions\7z.dll exists
23:36:33:512 | HL |     INFO  | +0     | CheckPaths - Started
23:36:33:512 | HL |     INFO  | +0     | CheckPaths - Found rom: C:\HyperSpin\Emulators\MAME\Roms\simpsons.7z
23:36:33:512 | HL |     INFO  | +0     | CheckFile - Checking if C:\HyperSpin\Emulators\MAME\mame64.exe exists
23:36:33:513 | HL |     INFO  | +0     | CheckPaths - Ended
23:36:33:513 | HL |     INFO  | +0     | BuildScript - User Variables:
				;----------------------------------------------------------------------------
				; INJECTED VARIABLES
				;----------------------------------------------------------------------------

				#NoTrayIcon
				#InstallKeybdHook
				DetectHiddenWindows, ON
				SetTitleMatchMode, 2
				SendMode, Event
				0 = 0
				frontendPID = 0
				frontendPath = C:\HyperSpin
				frontendExe = HyperSpin.exe
				frontendExt = exe
				frontendName = HyperSpin
				frontendDrive = C:
				exitEmulatorKey = ~Esc
				exitEmulatorKeyWait = 0
				forceHoldKey = ~Esc
				restoreFE = false
				exitScriptKey = ~q & ~s
				emuFullPath = C:\HyperSpin\Emulators\MAME\mame64.exe
				emuPath = C:\HyperSpin\Emulators\MAME
				emuName = MAME
				emuExt = exe
				romPath = C:\HyperSpin\Emulators\MAME\Roms
				romPathFromIni = C:\HyperSpin\Emulators\MAME\Roms
				romExtension = .7z
				romExtensionOrig = .7z
				romExtensions = zip|7z
				executable = mame64.exe
				systemName = MAME
				dbName = simpsons
				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.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\Media\Fade
				HLDataPath = C:\HyperSpin\Data
				HLMediaPath = C:\HyperSpin\Media
				HLErrSoundPath = C:\HyperSpin\Media\Sounds\Error
				modulesPath = C:\HyperSpin\Modules
				moduleFullName = C:\HyperSpin\Modules\MAME\MAME.ahk
				moduleName = MAME
				modulePath = C:\HyperSpin\Modules\MAME
				moduleExtension = ahk
				moduleExtensionsPath = C:\HyperSpin\Module Extensions
				libPath = C:\HyperSpin\Lib
				7zEnabled = false
				7zPath = C:\HyperSpin\Module Extensions\7z.exe
				7zDllPath = C:\HyperSpin\Module Extensions\7z.dll
				7zExtractPath = C:\Users\Chris\AppData\Local\Temp\HS
				7zExtractPathOrig = 
				7zAttachSystemName = false
				7zDelTemp = true
				7zSounds = true
				7zFormats = .zip,.rar,.7z,.lzh,.gzip,.tar
				7zFormatsNoP = zip,rar,7z,lzh,gzip,tar
				mgEnabled = false
				mgKey = ~NumpadSub
				mgBackgroundColor = FF000000
				mgSidePadding = 0.2
				mgYOffset = 500
				mgImageAdjust = 1
				mgFont = Arial
				mgText1Options = x10p y30p w80p Center cBBFFFFFF r4 s100 BoldItalic
				mgText1Text = Please select a game
				mgText2Options = w96p cFFFFFFFF r4 s50 Center BoldItalic
				mgText2Offset = 70
				mgUseSound = true
				mgSoundfreq = 300
				mgExitEffect = none
				mgSelectedEffect = rotate
				mgUseGameArt = false
				mgArtworkDir = Artwork1
				hpEnabled = false
				hpKey = ~NumpadAdd
				hpBackToMenuBarKey = X
				hpZoomInKey = C
				hpZoomOutKey = V
				hpScreenshotKey = ~PrintScreen
				hpHiToTextPath = C:\HyperSpin\Module Extensions\HiToText.exe
				hpSaveStateKeyCodes = {shift down}{F7 down}{F7 up}{shift up}
				hpLoadStateKeyCodes = {shift down}{F7 down}{F7 up}{shift up}
				keymapperEnabled = false
				keymapper = ahk
				xpadderFullPath = C:\Utilities\Xpadder\xpadder.exe
				joyToKeyFullPath = C:\Utilities\JoyToKey\JoyToKey.exe
				keymapperProfilePath = C:\HyperSpin\Profiles\ahk
				keymapperFrontEndProfileName = HyperSpin
				keymapperHyperLaunchProfileEnabled = false
				JoyIDsEnabled = false
				JoyIDsPreferredControllersSystem = use_global
				JoyIDsPreferredControllersGlobal = use_global
				CustomJoyNamesEnabled = false
				CustomJoyNames = 
				FEProfile = C:\HyperSpin\Profiles\ahk\HyperSpin
				defaultProfile = C:\HyperSpin\Profiles\ahk\_Default
				systemProfile = C:\HyperSpin\Profiles\ahk\MAME
				xPadderSystemProfile = C:\HyperSpin\Profiles\ahk\MAME\_Default
				emuProfile = C:\HyperSpin\Profiles\ahk\MAME\MAME
				romProfile = C:\HyperSpin\Profiles\ahk\MAME\simpsons
				blankProfile = C:\HyperSpin\Profiles\ahk\blank
				HyperLaunchProfile = C:\HyperSpin\Profiles\ahk\HyperLaunch
				bezelEnabled = false
				statisticsEnabled = true

23:36:33:514 | HL |     INFO  | +0     | BuildScript - Loaded XHotkey Init.ahk scripts
23:36:33:514 | HL |     INFO  | +0     | BuildScript - Loaded Statistics Init.ahk scripts
23:36:33:514 | HL |     INFO  | +0     | BuildScript - Loaded User Functions Init.ahk script
23:36:33:516 | 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

23:36:33:517 | HL |     INFO  | +0     | BuildScript - Loaded Statistics.ahk script
23:36:33:517 | HL |     INFO  | +0     | BuildScript - Loaded User Functions.ahk script
23:36:33:517 | HL |     INFO  | +0     | BuildScript - Finished injecting functions into module
23:36:33:517 | HL |     INFO  | +0     | Main - Module is built
23:36:33:517 | HL |     INFO  | +0     | CheckFile - Checking if C:\HyperSpin\AutoHotkey.dll exists
23:36:33:518 | HL |     INFO  | +0     | Main - Running module
23:36:33:634 | MD |     INFO  | +N/A   | Module initialized
23:36:33:657 | MD |     INFO  | +31    | StartModule - Started
23:36:33:657 | 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"
23:36:33:657 | MD |     INFO  | +0     | StartModule - You have a supported System Name for this module: "MAME"
23:36:33:658 | MD |     INFO  | +0     | StartModule - Ended
23:36:33:658 | MD |     INFO  | +0     | StartGlobalUserFeatures - Starting
23:36:33:658 | MD |     INFO  | +0     | StartGlobalUserFeatures - Ending
23:36:33:658 | MD |     INFO  | +0     | CheckFile - Checking if C:\HyperSpin\Modules\MAME\MAME.ini exists
23:36:33:659 | MD |     INFO  | +0     | Module Setting - Fullscreen: true
23:36:33:659 | MD |     INFO  | +0     | Module Setting - Videomode: d3d
23:36:33:659 | MD |     INFO  | +0     | Module Setting - HideConsole: true
23:36:33:659 | MD |     INFO  | +0     | Module Setting - PauseMethod: 4
23:36:33:659 | MD |     INFO  | +0     | Module Setting - BezelMode: normal
23:36:33:659 | MD |     INFO  | +0     | Module Setting - CheatMode: true
23:36:33:659 | MD |     INFO  | +0     | Module Setting - CheatModeKey: Z&X
23:36:33:660 | MD |     INFO  | +0     | Module Setting - Use_Bezels: true
23:36:33:660 | MD |     INFO  | +0     | Module Setting - Use_Bezels: true
23:36:33:660 | MD |     INFO  | +0     | Module Setting - Use_Overlays: true
23:36:33:660 | MD |     INFO  | +0     | Module Setting - Use_Overlays: true
23:36:33:660 | MD |     INFO  | +0     | Module Setting - Use_Backdrops: true
23:36:33:660 | MD |     INFO  | +0     | Module Setting - Use_Backdrops: true
23:36:33:660 | MD |     INFO  | +0     | Module Run - Running: C:\HyperSpin\Emulators\MAME\mame64.exe simpsons -nowindow  -video d3d    -rompath "C:\HyperSpin\Emulators\MAME\Roms"  
23:36:33:682 | MD |     INFO  | +31    | Module WinWait - Waiting for ahk_class MAME
23:36:33:731 | MD |     INFO  | +47    | Module - HideConsole - Console window found, hiding it out of view.
23:36:34:004 | MD |     INFO  | +265   | Module WinWaitActive - Waiting for "ahk_class MAME"
23:36:34:104 | MD |     INFO  | +110   | Module Process - WaitClose mame64.exe 
23:41:41:899 | MD |     INFO  | +307790 | Module WinClose - Closing: ahk_class MAME
23:41:42:215 | MD |     INFO  | +312   | StopGlobalUserFeatures - Starting
23:41:42:215 | MD |     INFO  | +0     | StopGlobalUserFeatures - Ending
23:41:42:215 | MD |     INFO  | +0     | ExitModule - Started
23:41:42:215 | MD |     INFO  | +0     | Starting Updating Statistics:
23:41:42:215 | MD |     INFO  | +0     | CreateRomTable - Started
23:41:42:215 | MD |     INFO  | +0     | CreateRomTable - Ended, 7 Loops to create table.
23:41:42:285 | MD |     INFO  | +78    | Game section statistics updated.
23:41:42:285 | MD |     INFO  | +0     | ExitModule - Ended
23:41:42:285 | MD |     INFO  | +0     | End of Module Logs
23:41:42:364 | HL |     INFO  | +308851 | Main - Module ended, exiting HyperLaunch normally
23:41:42:364 | HL |     INFO  | +0     | ExitScript - Started
23:41:42:404 | HL |     INFO  | +31    | SystemCursor - Restoring mouse cursor
23:41:42:420 | HL |     INFO  | +15    | ExitScript - Ended

i hope this helps :)

Posted
True.

What version of Hyperspin and Mame are you running? Is Mame your only system, if not dies it happen with other systems? How are your controls setup? What is your launch key?

Sorry for the lack of info. Hopefully my logs will appear here after the mods have approved. The hyperspin log if very similar to the original I posted, the hyperlaunch log is unchanged by attempting to open a game in hyperspin.

I am running Hyperspin v1.32, Mame64 v0.153. Mame is not the only system and the same thing happens to Atari5200 (kat5200), Nintendo64 (project64 v1.7), Gameboy Advance (VisualBoyAdvance v1.8). Each of these work in hyperlaunch, just not hyperspin. The controls are setup using an iPac2 on default settings, the launch key is set to shift. I have attempted using default settings for controls using my keyboard.

The system did work originally, however it stopped after I installed it in the cabinet and set up the controls. I also used Don's tools to create a database file (note that I have attempted using the original with no success), and I also unzipped a load of artwork and video files which all work in Hyperspin.

Hope this helps...

Posted

I was comparing my log to yours.

11:03:18 AM |  HyperSpin Started 
11:03:18 AM |  Going FullScreen 
11:03:18 AM |  LEDBlinky is set to active 
11:03:18 AM |  Found LEDBlinky.exe 
11:03:18 AM |  Running LEDBlinky 
11:03:18 AM |  Command Line is: "O:\HyperSpeech v0.9\LEDBlinky.exe" 1 
11:03:18 AM |  Checking for updates 
11:03:18 AM |  Update Check Complete 
11:03:18 AM |  Startup program: HS Startup.exe 
11:03:18 AM |  Startup params not set 
11:03:18 AM |  Working directory: O:\ 
11:03:18 AM |  Window State: NORMAL 
11:03:18 AM |  Launching HS Startup.exe 
11:03:18 AM |  Command Line is HS Startup.exe  
11:03:18 AM |  Playing intro video 
11:03:20 AM |  Error intializing joysticks 
11:03:20 AM |  Menu Mode is multi 
11:03:20 AM |  Loading Main Menu.xml 
11:03:20 AM |  Command Line is: "O:\HyperSpeech v0.9\LEDBlinky.exe" 8 
11:03:20 AM |  Main Menu.xml successfully loaded 
11:03:21 AM |  Main Menu wheel loaded successfully 
11:03:37 AM |  Loading MAME.xml 
11:03:37 AM |  Command Line is: "O:\HyperSpeech v0.9\LEDBlinky.exe" 7 "MAME" 
11:03:37 AM |  Main Menu.xml successfully loaded 
11:03:37 AM |  MAME wheel loaded successfully 
11:03:38 AM |  Command Line is: "O:\HyperSpeech v0.9\LEDBlinky.exe" 9 "mysticri" 
11:03:47 AM |  Launching Game 
11:03:47 AM |  Command Line is: "O:\HyperSpeech v0.9\LEDBlinky.exe" 3 "mysticri" "MAME" 
11:03:47 AM |  Using HyperLaunch
11:03:47 AM |  Getting HyperLaunch path 
11:03:47 AM |  HyperLaunch located at O:\HyperLaunch\HyperLaunch.exe
11:03:47 AM |  Running HyperLaunch.exe 
11:03:47 AM |  HyperLaunch Command Line is: O:\HyperLaunch\HyperLaunch.exe "MAME" "mysticri"
11:03:48 AM |  Command Line is: "O:\HyperSpeech v0.9\LEDBlinky.exe" 4 
11:04:16 AM |  Command Line is: "O:\HyperSpeech v0.9\LEDBlinky.exe" 4 
11:04:16 AM |  Command Line is: "O:\HyperSpeech v0.9\LEDBlinky.exe" 4 
11:04:22 AM |  Command Line is: "O:\HyperSpeech v0.9\LEDBlinky.exe" 4 
11:04:23 AM |  Loading Main Menu.xml 
11:04:23 AM |  Command Line is: "O:\HyperSpeech v0.9\LEDBlinky.exe" 8 
11:04:23 AM |  Main Menu.xml successfully loaded 
11:04:23 AM |  Main Menu wheel loaded successfully 
11:04:27 AM |  Exit program unavailable 
11:04:27 AM |  Quiting Hyperspin 
11:04:27 AM |  Command Line is: "O:\HyperSpeech v0.9\LEDBlinky.exe" 2 
11:04:27 AM |  Bye! 

Is Hyperlaunch.exe in the Hyperspin folder? I have Hyperlaunch in it's own folder inside the Hyperspin folder and the Hyperlaunch HQ is then in a folder within the Hyperlaunch folder.

So you path to Hyperlaunch, I think, should be C:\Hyperspin\Hyperlaunch\Hyperlaunch.exe

If you have it all mixed into the same folder your heading for problems.

Archived

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

×
×
  • Create New...