Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Question Regarding Exiting Mame Games Hyperspin  (Read 8822 times)

0 Members and 1 Guest are viewing this topic.

Yourname942

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 123
  • Last login:October 01, 2016, 08:10:20 pm
Question Regarding Exiting Mame Games Hyperspin
« on: July 30, 2013, 12:11:05 pm »
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

  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1847
  • Last login:October 06, 2023, 10:20:39 pm
  • Web Developer.
Re: Question Regarding Exiting Mame Games Hyperspin
« Reply #1 on: July 30, 2013, 12:34:23 pm »
Exit in mame is Esc by default. Turn off hyperlaunch for mame in hyperhq. It may resolve your issues.

Yourname942

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 123
  • Last login:October 01, 2016, 08:10:20 pm
Re: Question Regarding Exiting Mame Games Hyperspin
« Reply #2 on: August 01, 2013, 02:15:13 am »
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

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 123
  • Last login:October 01, 2016, 08:10:20 pm
Re: Question Regarding Exiting Mame Games Hyperspin
« Reply #3 on: August 01, 2013, 02:18:53 am »
here is the code of what happened: (if this helps)

Code: [Select]
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


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"


« Last Edit: August 01, 2013, 02:25:08 am by Yourname942 »

05SRT4

  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1092
  • Last login:July 04, 2025, 09:00:05 am
  • Check out my Pow Pow
Re: Question Regarding Exiting Mame Games Hyperspin
« Reply #4 on: August 01, 2013, 04:33:06 am »
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?

Yourname942

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 123
  • Last login:October 01, 2016, 08:10:20 pm
Re: Question Regarding Exiting Mame Games Hyperspin
« Reply #5 on: August 01, 2013, 11:03:50 am »
Yes the exit button is set to Esc for both Mame and Hyperspin (in mame Ui Cancel is Escape which i'm pretty sure is the exit function)

No I checked Exit is not mapped to anything else in both Hyperspin and mame.

EMDB

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 865
  • Last login:September 05, 2023, 09:18:51 am
  • Project RetroCade
Re: Question Regarding Exiting Mame Games Hyperspin
« Reply #6 on: August 01, 2013, 11:23:01 am »
Can you exit the game with ESC if you launch MAME directly?

Yourname942

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 123
  • Last login:October 01, 2016, 08:10:20 pm
Re: Question Regarding Exiting Mame Games Hyperspin
« Reply #7 on: August 01, 2013, 12:21:59 pm »
Yes, pressing Esc when I just launch Mame and not Hyperspin lets me exit the game.

Yourname942

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 123
  • Last login:October 01, 2016, 08:10:20 pm
Re: Question Regarding Exiting Mame Games Hyperspin
« Reply #8 on: August 01, 2013, 03:59:34 pm »
Does anyone know what I can do..?

Yourname942

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 123
  • Last login:October 01, 2016, 08:10:20 pm
Re: Question Regarding Exiting Mame Games Hyperspin
« Reply #9 on: August 03, 2013, 09:45:32 pm »
/bump for advice...