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.

Problems with setting up the hyperspin


Ridu83

Recommended Posts

Posted

Hi there, i got some problems setting up my Hyperspin. Some wheels work, some dont...

Maybe someone can take a look at my hyperspin via Teamviewer ?

I´m from germany but i can understand english but most of the FAQ´s , tutorials ans docs are to complex to me :/

Posted
Hi there, i got some problems setting up my Hyperspin. Some wheels work, some dont...

Maybe someone can take a look at my hyperspin via Teamviewer ?

I´m from germany but i can understand english but most of the FAQ´s , tutorials ans docs are to complex to me :/

Hello and welcome to the forums!

Lets start with this.

Pick one system to start.

1). What is the name of the system?

2). What emulator and version are you using?

3). Does it work outside HyperSpin (using just the emulator)?

4). Does it work if you try to launch it through HyperLaunchHQ?

5). What version of HyperSpin are you using?

6). What version of HyperLaunchHQ are you using?

7). What version of HyperSpin are you using?

Try to launch a game and post your HyperLaunch log here, using Code tags as described at the bottom of this post: Guide For Posting To The Fourm

Thanks,

Ron

Posted

Well, sorry for not reading the Guide For Posting To The Fourm before..

Systems not running are:

MAME

ATARI 5200

ATARI 7800

LYNX

NEO GEO CD

PCFX

SEGA Genesis

SEGA Model2

SEGA SG 1000

Playstation

SuperGRFX

Turbo Grafx 16

Turbo Grafx CD

ZINC

Systems i got Working

Master System

Mega Drive

Sega 32x

Atari 2600

Atari Jaguar

NES

SNES

N64

I got for every System a own folder with its specific Emulator

Some Emulators are there twice or more because 2 or more systems are using the same emulator

For exsample Atari 2600/5200/7800 are all using theMESS but only Atari 2600 runs . Its all setup the same. could that be?

I got an Hyperspin Folders that where preset with these emulators. i only replaced all hyperspin data with the newest i downloaded from the hyperspin website. so i got more wheels in hyperspin than there was in the download version from the website

When i staart up, every thing shows up correctly.

I´m using RocketLauncher.0.09

HyperlaunchHQ 1.0.13.0

Hyperlaunch DLL Version 1.0.1.0

Hope this is the correct log (dont mind the word "cracked" in the folder structure, i only got to name the folder and this was the first thing came to me. my HS is 100% legal, i got HS and EM platinum memberships)

[code]
15:23:46:756 | HL |     INFO  | +N/A   | Main - HyperLaunch v3.0.0.9
15:23:46:757 | HL |     INFO  | +0     | Main - System Specs:
				HyperLaunch Dir: H:\Hyperspin Cracked\Hyperspin Full\Hyperlaunch
				OS: WIN_7
				Architecture: 64-bit (might not be accurate)
				OS Language: German_Standard
				OS Admin Status: Yes
				Monitor #1 (\\.\DISPLAY1): 1920x1080 (1920x1040 work)
				AutoHotkey Path: 
				AHK Version: 1.1.09.04
				Unicode: No
15:23:46:757 | HL |     INFO  | +0     | Main - HyperSpin.exe coordinates are x0 y0 w1920 h1080
15:23:46:757 | HL |     INFO  | +0     | CheckFile - Checking if H:\Hyperspin Cracked\Hyperspin Full\Hyperlaunch\HyperLaunch.exe exists
15:23:46:757 | HL |     INFO  | +0     | Main - HyperLaunch received "Neo Geo CD" and "2020 Super Baseball (1995)(SNK)(Jp-US)[!]"
15:23:46:762 | HL |     INFO  | +16    | Main - 2020 Super Baseball (1995)(SNK)(Jp-US)[!] is using the default emulator: MAME
15:23:46:762 | HL |     INFO  | +0     | Main - Checking for a [MAME] section in H:\Hyperspin Cracked\Hyperspin Full\Hyperlaunch\Settings\Neo Geo CD\Emulators.ini
15:23:46:762 | HL |     INFO  | +0     | Main - Checking for a [MAME] section in H:\Hyperspin Cracked\Hyperspin Full\Hyperlaunch\Settings\Global Emulators.ini
15:23:46:762 | HL |     INFO  | +0     | Main - Found [MAME] in H:\Hyperspin Cracked\Hyperspin Full\Hyperlaunch\Settings\Global Emulators.ini
15:23:46:762 | HL |     INFO  | +0     | CheckFile - Checking if H:\Hyperspin Cracked\Hyperspin Full\Hyperlaunch\Modules\MAME\MAME.ahk exists
15:23:46:767 | HL |     INFO  | +0     | Main - CRC Check - CRC matches, this is an official unedited module.
15:23:46:767 | HL |     INFO  | +0     | Main - 2020 Super Baseball (1995)(SNK)(Jp-US)[!] will use module: H:\Hyperspin Cracked\Hyperspin Full\Hyperlaunch\Modules\MAME\MAME.ahk
15:23:46:774 | HL |     INFO  | +0     | Main - Using standard method with "Rom Extensions" SkipChecks or without any SkipChecks.
15:23:46:776 | HL |     INFO  | +16    | Main - INI Keys read
15:23:46:776 | HL |     INFO  | +0     | CheckFile - Checking if H:\Hyperspin Cracked\Hyperspin Full\Hyperlaunch\Module Extensions\7z.exe exists
15:23:46:777 | HL |     INFO  | +0     | CheckFile - Checking if H:\Hyperspin Cracked\Hyperspin Full\Hyperlaunch\Module Extensions\7z.dll exists
15:23:46:777 | HL |     INFO  | +0     | CheckPaths - Started
15:23:46:778 | HL |     INFO  | +0     | CheckPaths - Found rom: H:\Hyperspin Cracked\Hyperspin Full\Roms\Neo Geo CD\2020 Super Baseball (1995)(SNK)(Jp-US)[!].rar
15:23:46:778 | HL |     INFO  | +0     | CheckFile - Checking if H:\Hyperspin Cracked\Hyperspin Full\Emulators\MAME2\mame.exe exists
15:23:46:786 | HL |     INFO  | +0     | CheckPaths - Ended
15:23:46:786 | HL |     INFO  | +0     | BuildScript - User Variables:
				;----------------------------------------------------------------------------
				; INJECTED VARIABLES
				;----------------------------------------------------------------------------

				#NoTrayIcon
				#InstallKeybdHook
				DetectHiddenWindows, ON
				SetTitleMatchMode, 2
				SendMode, Event
				0 = 2
				frontendPID = 6444
				frontendPath = H:\Hyperspin Cracked\Hyperspin Full
				frontendExe = HyperSpin.exe
				frontendExt = exe
				frontendName = HyperSpin
				frontendDrive = H:
				exitEmulatorKey = ~Esc
				exitEmulatorKeyWait = 0
				forceHoldKey = ~Esc
				restoreFE = false
				exitScriptKey = ~q & ~s
				emuFullPath = H:\Hyperspin Cracked\Hyperspin Full\Emulators\MAME2\mame.exe
				emuPath = H:\Hyperspin Cracked\Hyperspin Full\Emulators\MAME2
				emuName = MAME
				emuExt = exe
				romPath = H:\Hyperspin Cracked\Hyperspin Full\Roms\Neo Geo CD
				romPathFromIni = H:\Hyperspin Cracked\Hyperspin Full\Roms\Neo Geo CD
				romExtension = .rar
				romExtensionOrig = .rar
				romExtensions = zip|7z|rar
				executable = mame.exe
				systemName = Neo Geo CD
				dbName = 2020 Super Baseball (1995)(SNK)(Jp-US)[!]
				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 = H:\Hyperspin Cracked\Hyperspin Full\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 = H:\Hyperspin Cracked\Hyperspin Full\Hyperlaunch\Media\Fade
				HLDataPath = H:\Hyperspin Cracked\Hyperspin Full\Hyperlaunch\Data
				HLMediaPath = H:\Hyperspin Cracked\Hyperspin Full\Hyperlaunch\Media
				HLErrSoundPath = H:\Hyperspin Cracked\Hyperspin Full\Hyperlaunch\Media\Sounds\Error
				modulesPath = H:\Hyperspin Cracked\Hyperspin Full\Hyperlaunch\Modules
				moduleFullName = H:\Hyperspin Cracked\Hyperspin Full\Hyperlaunch\Modules\MAME\MAME.ahk
				moduleName = MAME
				modulePath = H:\Hyperspin Cracked\Hyperspin Full\Hyperlaunch\Modules\MAME
				moduleExtension = ahk
				moduleExtensionsPath = H:\Hyperspin Cracked\Hyperspin Full\Hyperlaunch\Module Extensions
				libPath = H:\Hyperspin Cracked\Hyperspin Full\Hyperlaunch\Lib
				7zEnabled = false
				7zPath = H:\Hyperspin Cracked\Hyperspin Full\Hyperlaunch\Module Extensions\7z.exe
				7zDllPath = H:\Hyperspin Cracked\Hyperspin Full\Hyperlaunch\Module Extensions\7z.dll
				7zExtractPath = C:\Users\Ridu\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 = true
				mgKey = ~NumpadSub
				mgBackgroundColor = FF000000
				mgSidePadding = 0.2
				mgYOffset = 500
				mgImageAdjust = 0
				mgFont = Arial
				mgText1Options = x10p y30p w80p Center cBBFFFFFF r4 s100 BoldItalic
				mgText1Text = Please select a game
				mgText2Options = w96p cFFFFFFFF r4 s50 Center BoldItalic
				mgText2Offset = 70
				mgUseSound = true
				mgSoundfreq = 300
				mgExitEffect = none
				mgSelectedEffect = rotate
				mgUseGameArt = false
				mgArtworkDir = Artwork1
				hpEnabled = false
				hpKey = ~NumpadAdd
				hpBackToMenuBarKey = X
				hpZoomInKey = C
				hpZoomOutKey = V
				hpScreenshotKey = ~PrintScreen
				hpHiToTextPath = H:\Hyperspin Cracked\Hyperspin Full\Hyperlaunch\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 = 
				xpadderFullPath = H:\Hyperspin Cracked\Hyperspin Full\Utilities\Xpadder\xpadder.exe
				joyToKeyFullPath = H:\Hyperspin Cracked\Hyperspin Full\Utilities\JoyToKey\JoyToKey.exe
				keymapperProfilePath = H:\Hyperspin Cracked\Hyperspin Full\Hyperlaunch\Profiles\
				keymapperFrontEndProfileName = HyperSpin
				keymapperHyperLaunchProfileEnabled = false
				JoyIDsEnabled = false
				JoyIDsPreferredControllersSystem = use_global
				JoyIDsPreferredControllersGlobal = use_global
				CustomJoyNamesEnabled = false
				CustomJoyNames = 
				FEProfile = H:\Hyperspin Cracked\Hyperspin Full\Hyperlaunch\Profiles\\HyperSpin
				defaultProfile = H:\Hyperspin Cracked\Hyperspin Full\Hyperlaunch\Profiles\\_Default
				systemProfile = H:\Hyperspin Cracked\Hyperspin Full\Hyperlaunch\Profiles\\Neo Geo CD
				xPadderSystemProfile = H:\Hyperspin Cracked\Hyperspin Full\Hyperlaunch\Profiles\\Neo Geo CD\_Default
				emuProfile = H:\Hyperspin Cracked\Hyperspin Full\Hyperlaunch\Profiles\\Neo Geo CD\MAME
				romProfile = H:\Hyperspin Cracked\Hyperspin Full\Hyperlaunch\Profiles\\Neo Geo CD\2020 Super Baseball (1995)(SNK)(Jp-US)[!]
				blankProfile = H:\Hyperspin Cracked\Hyperspin Full\Hyperlaunch\Profiles\\blank
				HyperLaunchProfile = H:\Hyperspin Cracked\Hyperspin Full\Hyperlaunch\Profiles\\HyperLaunch
				bezelEnabled = false
				statisticsEnabled = true

15:23:46:787 | HL |     INFO  | +0     | BuildScript - Loaded XHotkey Init.ahk scripts
15:23:46:787 | HL |     INFO  | +0     | BuildScript - Loaded Statistics Init.ahk scripts
15:23:46:787 | HL |     INFO  | +0     | BuildScript - Loaded MultiGame.ahk scripts
15:23:46:787 | HL |     INFO  | +0     | BuildScript - Loaded User Functions Init.ahk script
15:23:46:788 | 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

15:23:46:789 | HL |     INFO  | +0     | BuildScript - Loaded MultiGame scripts
15:23:46:789 | HL |     INFO  | +0     | BuildScript - Loaded Statistics.ahk script
15:23:46:789 | HL |     INFO  | +0     | BuildScript - Loaded User Functions.ahk script
15:23:46:789 | HL |     INFO  | +0     | BuildScript - Finished injecting functions into module
15:23:46:789 | HL |     INFO  | +0     | Main - Module is built
15:23:46:789 | HL |     INFO  | +0     | CheckFile - Checking if H:\Hyperspin Cracked\Hyperspin Full\Hyperlaunch\AutoHotkey.dll exists
15:23:46:791 | HL |     INFO  | +15    | Main - Running module

Maybe someone can help me with that

Thanx

Posted

"For exsample Atari 2600/5200/7800 are all using theMESS but only Atari 2600 runs . Its all setup the same. could that be?"

I think your problem right now isn't with hyperspin, but with setting up your emulators outside of hyperspin. Have you done that? For instance, this Mess thing is probably a bios issue. Remake your list so that it shows emulators you have working outside of hyperspin, and emulators you can't get to work at all, and I'll try to help you.

-If it doesn't work at all, its an emulator issue.

-If it works outside of hyperspin, but will not launch through hyperspin its a settings/hyperlaunch issue.

Archived

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

×
×
  • Create New...