Attract-Mode Support Forum

Related Stuff => Emulators => Topic started by: cressie176 on April 07, 2024, 12:26:44 PM

Title: Launching mame from AM hangs (mac)
Post by: cressie176 on April 07, 2024, 12:26:44 PM
Hello.

I'm trying to get AM working with mame on an Intel Mac. Mame works fine from the command line, but hangs at the game information screen when I launch from AM.

My setup is as follows...


The following launches the game as expected

Code: [Select]
cd ~/Applications/mame
/opt/local/libexec/mame/mame circus

However, if I launch the game from AM it hangs on mame's game information screen. To further debug I added the -window, -verbose and -log command arguments. MacOS reports that the application is not responding and I get the spinning wheel of death when I focus on the mame window. Calling ps -ef shows the following

Code: [Select]
501  3182  3100   0  7:40pm ??         0:01.51 /opt/local/libexec/mame/mame circus -window -verbose -log
The contents of the mame error.log is

Code: [Select]
<U+FEFF>[:screen] :screen: Deprecated legacy Old Style screen configured (set_vblank_time), please use set_raw instead.
Soft reset
[:cchip] ':cchip:upd7811' (01F4) port F written ff
[:cchip] ':cchip:upd7811' (0221) port F written ff

I've attached my attract.cfg, MAME.cfg files. I haven't created a custom mame.ini file.

Any suggestions greatly appreciated.

Thank you


PS. I also tried running attract from the command line with the --loglevel set to debug. I've attached the output. I'm curious about the line near the bottom...

Code: [Select]
- Pause Hotkey pressed, sending SIGSTOP signal to process 5448
Title: Re: Launching mame from AM hangs (mac)
Post by: cressie176 on April 07, 2024, 12:47:23 PM
I think there might be a bug with AM's mame emulator configuration. The pause_hotkey value is set to "$HOME/Applications/mame/marquee" however the AM UI doesn't even show this option (see screenshot). I haven't edited the file manually


Title: Re: Launching mame from AM hangs (mac)
Post by: cressie176 on April 07, 2024, 12:50:53 PM
Removing the pause_hotkey line from the MAME.cfg file fixed the issue. I'll close this issue and report a bug.