Main > Main Forum
Question Regarding Exiting Mame Games Hyperspin
(1/2) > >>
Yourname942:
Does anyone know how to get exit a mame game from Hyperspin? I don't know how to get it to work... I tried setting up the exit as Esc but pressing Esc does nothing. The only way I can exit games is by Cnt+Alt+Delete and its quite a pain in the a to do every time. If anyone knows how to fix this please let me know. Thank you.
keilmillerjr:
Exit in mame is Esc by default. Turn off hyperlaunch for mame in hyperhq. It may resolve your issues.
Yourname942:
That didn't work..

When I switch Execution from Hyperlaunch to Normal it doesn't even let me load a game. (when I switched Execution back to Hyperlaunch I am able to launch mame games from hyperspin again, but not able to exit a game)


When I launch  hyperspin > mame > a game, it doesn't let me scroll through my list of games or launch or exit if a video plays.


Ie.

When Execution is:
Hyperlaunch
-----Issues: Unable to exit game

When Execution is:
Normal
-----Issues: Unable to launch game, unable to scroll through wheel, unable to exit (to go back up a page) <-- these happen when a video preview launches of the games.


Does anyone know how to fix this? I could use some serious help...
Yourname942:
here is the code of what happened: (if this helps)


--- Code: ---02:10:40 AM |  HyperLaunch v2.25c
02:10:40 AM |  System Specs:
HyperSpin Dir: G:\Hyperspin
OS: WIN_7
OS Language: 0409
OS Admin Status: No
Monitor #1 (\\.\DISPLAY1): 1440x900 (1440x860 work)
HyperSpin Res: 1440x900
AHK Version: 1.1.07.03
02:10:40 AM |  HyperLaunch received "MAME" and "tmnt2"
02:10:42 AM |  INI Keys read
02:10:42 AM |  Checking paths
02:10:42 AM |  Finished injecting functions into module
02:10:42 AM |  Module is built
02:10:42 AM |  Running module:

;-----------------------------------------------------------
;Built in script
;-----------------------------------------------------------
#NoTrayIcon
DetectHiddenWindows, ON
SetTitleMatchMode, 2
SendMode, Event
0 = 2
exitEmulatorKey = Esc
emuPath = G:\Hyperspin\Emulators\MAME\
romPath = G:\Hyperspin\Emulators\MAME\Roms\
romPathFromIni = G:\Hyperspin\Emulators\MAME\Roms\
romExtension = .zip
romExtensionOrig = .zip
romExtensions = zip,u98,bin
executable = mame.exe
systemName = MAME
romName = tmnt2
daemonToolsPath =
skipchecks = false
fadeIn = false
fadeOut = false
fadeColor = 0x000000
fadeInDuration = 500
fadeOutDuration = 500
fadeInDelay = 0
fadeInInterruptKeys = {LControl}{RControl}{LAlt}{RAlt}{LShift}{RShift}{LWin}{RWin}{AppsKey}{F1}{F2}{F3}{F4}{F5}{F6}{F7}{F8}{F9}{F10}{F11}{F12}{Left}{Right}{Up}{Down}{Home}{End}{PgUp}{PgDn}{Del}{Ins}{BS}{Capslock}{Numlock}{PrintScreen}{Pause}
gameStartImgPath = G:\Hyperspin\Media\MAME\Images\GameStart\
moduleExtensionPath = G:\Hyperspin\Modules\Module Extensions\
7zEnable = false
7zExtractDir = C:\Users\Greg\AppData\Local\Temp\Hyperspin\
7zExtractDirOrig =
7zDelTemp = true
7zFormats = .zip,.rar,.7z,.gzip,.tar
7zFormatsNoP = zip,rar,7z,gzip,tar
mgEnabled = false
mgKey = NumpadSub
mgSelectKey = Enter
mgExitKey = Esc
multiGameImgPath = G:\Hyperspin\Media\MAME\Images\MultiGame\
mgBackgroundColor = FF000000
mgSidePadding = 0.2
mgYOffset = 500
mgImageAdjust = 1
mgFont = Arial
mgText1Options = x10p y30p w80p Centre cBBFFFFFF r4 s100 Bold Italic
mgText1Text = Please select a game
mgText2Options = w96p cFFFFFFFF r4 s50 Center Bold Italic
mgText2Offset = 70
mgUseSound = true
mgSoundfreq = 300
mgExitEffect = none
mgSelectedEffect = rotate
mgUseGameArt = false
mgArtworkDir = Artwork1
Hotkey, Esc, CloseProcess
;-----------------------------------------------------------
;Module script
;-----------------------------------------------------------
;----------------------------------------------------------------------------
; MAME
; MAME .140
; by BBB
; 1.0
;
; Info:
; Since MAME needs to save hi scores and data on exit, then we can\'t force
; MAME closed with a hotkey. So make sure you have your own exit key setup
; in MAME first.  We will leave the CloseProcess section below blank, but
; it is still required.
;
;----------------------------------------------------------------------------

Runwait, %executable% %romName%, %emuPath%, Hide UseErrorLevel

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 = 7 || ErrorLevel = 8 || ErrorLevel = 9){
    Error = Identification Error
  }else{
    Error = Mame Error
  }
  MsgBox Mame Error - %Error%
}

ExitApp

;Required
CloseProcess:
   ;Doesnt have to do anything but make sure to have the line before and after this line.
return

hideDesktop(){
}

FadeInStart(){
}

FadeInExit(){
}

FadeOutStart(){
Suspend, On
}

FadeOutExit(){
}

7z(7zP, 7zN, 7zE, 7zExtractDir){
}

7zCleanUp() {
}

CheckFile(file,msg="",timeout=6){
IfNotExist, %file%
{
If msg
ScriptError(msg, timeout)
Else
ScriptError("Cannot find " . file, timeout)
}
Return %file%
}

ScriptError(error,timeout=6){
MsgBox,48,Error,%error%,%timeout%
ExitApp
}
02:11:13 AM |  Module ended, exiting HyperLaunch normally

--- End code ---


here is the log when hyperHQ settings Execute is set to Normal:

02:20:47 AM |  HyperSpin Started
02:20:48 AM |  Going FullScreen
02:20:48 AM |  Checking for updates
02:20:48 AM |  Update Check Complete
02:20:48 AM |  Startup program unavailable
02:20:48 AM |  Playing intro video
02:20:50 AM |  Error intializing joysticks
02:20:50 AM |  Menu Mode is multi
02:20:50 AM |  Loading Main Menu.xml
02:20:50 AM |  Main Menu.xml successfully loaded
02:20:51 AM |  Main Menu wheel loaded successfully
02:20:52 AM |  Loading MAME.xml
02:20:52 AM |  Main Menu.xml successfully loaded
02:20:53 AM |  MAME wheel loaded successfully
02:20:56 AM |  Launching Game
02:20:56 AM |  Running in normal rom mode
02:20:56 AM |  Excecutable is mame.exe
02:20:56 AM |  Command Line is: "G:\Hyperspin\Emulators\MAME\mame.exe" tmnt2.zip, u98, bin


Here is the log of when HyperHQ settings Execute is set to Hyperlaunch:

02:24:03 AM |  HyperSpin Started
02:24:03 AM |  Going FullScreen
02:24:03 AM |  Checking for updates
02:24:03 AM |  Update Check Complete
02:24:03 AM |  Startup program unavailable
02:24:03 AM |  Playing intro video
02:24:07 AM |  Error intializing joysticks
02:24:07 AM |  Menu Mode is multi
02:24:07 AM |  Loading Main Menu.xml
02:24:07 AM |  Main Menu.xml successfully loaded
02:24:07 AM |  Main Menu wheel loaded successfully
02:24:09 AM |  Loading MAME.xml
02:24:09 AM |  Main Menu.xml successfully loaded
02:24:10 AM |  MAME wheel loaded successfully
02:24:11 AM |  Launching Game
02:24:11 AM |  Running HyperLaunch.exe
02:24:12 AM |  Command Line is: HyperLaunch.exe "MAME" "tmnt2"
02:24:12 AM |  Launching Game
02:24:12 AM |  Running HyperLaunch.exe
02:24:12 AM |  Command Line is: HyperLaunch.exe "MAME" "tmnt2"
02:24:13 AM |  Launching Game
02:24:13 AM |  Running HyperLaunch.exe
02:24:13 AM |  Command Line is: HyperLaunch.exe "MAME" "tmnt2"


05SRT4:
Is your exit button for Mame and Hyperspin the same?

Do you use Hyperlaunch?

If so does the exit emulator = the same key used to exit in Mame and your hyperspin settings?

Also is your exit key mapped to anything else that your not aware of?
Navigation
Message Index
Next page

Go to full version