19 November 2018

Attract Mode 2.5.1 released and MAME Exit Freeze Resolved

While Atteact Mode undergoes further improvements with a release of v.2.5.1, the really big news of this weekend is that a forum user finally found the right settings under Windows 10, and this immediately resolved my problems in MacOS High Sierra as well:

The only thing I had to change was in the Emulator settings - specifically for MAME:
Non-blocking wait mode - change from 0 to 1

That's all. Now MAME correctly exits back to Attract Mode on my machine just as before. No hanging black screens and force-quit of AM any longer. Very good - kudos to user mrteeney!

Sources:
http://forum.attractmode.org/index.php?topic=2589.0
https://github.com/mickelson/attract/issues/374


28 October 2018

Brief Update on Attract Mode 2.5 official (Update 2 on 11 Nov)

Update 2 - a word of caution: Since I updated to Attract Mode 2.5, I am another victim of the infamous 'MAME loses focus' bug as described here:
http://forum.attractmode.org/index.php?topic=2589.0
This bug makes the Attract Mode - MAME combination unusable because I need to force quite Attract Mode every single time I exit a MAME game. So if you have an older running system, it might be a good idea to avoid it for the time being.

Update: Attract Mode 2.5 has been released - so grab the Mac binary and enjoy!


Attract Mode has again become better. Now there is really nothing to complain on Macs as well. I also include instructions how to compile Attract Mode by yourself.

A fast photo taken from my iMac running Attract Mode and Cosmo's Layout
My recommendations for running Attract Mode with MAME:

1. Compile your own binary, it just works and you have some very nice improvements implemented (most of all, very fast artwork loading). What you need is not that much:
(a) Homebrew: you should have it installed and be accustomed with it
(b) Homebrew recipies "pkg-config", "ffmpeg", "sfml" and "libarchive" 
(c) Get the Attract Mode source code from github: https://github.com/mickelson/attract
(d) Move the source code to /private/tmp/ - the source code will be deleted at reboot
(e) In the Terminal, switch to the following Attract Mode source code subdirectory:
       /private/tmp/attract/util/osx
(f) Execute the following script in the Terminal
       ./create-pkg.sh
This creates a MacOS package for installing Attract Mode via Drag&Drop in the attract directory.


2. Recommended Layout: Cosmo Arcade

3. For instructions on setting up Attract Mode and Layouts, just search for 'attract' in my blog or just jump to this post:


Should you still hesitate, believe me: It is really worth the time. Best gaming experience you can get on your Mac.

01 September 2018

MAME 0.201 - Major BGFX Performance Achievements!

We have been waiting for this for a long time: MAME 0.201 finally fixes the problem with BGFX when running Artwork Bezels 

As of MAME 0.201, you can run BGFX/Metal shaders along with Artwork bezels without taking a huge performance hit. This is really great news. BGFX/Metal is finally becoming stable on Macs.

Just to remind you why Artwork matters (click to enlarge):


My iMac running 1943
My iMac running 1943 with Artwork












Here is my testing of MAME 0.200 vs. 0,201 in BGFX/crt-geom-deluxe/Metal with Artwork/without Artwork - from the Terminal in the MAME main directory:
./mame64 -video bgfx -str 60 -noafs -bgfx_screen_chains crt-geom-deluxe -bgfx_backend metal -noreadconfig -nosleep -nothrottle (-nobezel) (romfilename)

28 July 2018

Attract Mode 2.4.0 is out - for MacOS as well!

Very exiting news - after a very long time since version 2.0, there is a new version 2.4.0 out that also includes a MacOS bundle. In this blog, you will find quite extensive articles about setting up a superior frontend for MAME under MacOS. All should work in this version as well.

At first glance, everything seems to work just as it should, but I will do further thorough testing. It is just great to have an official MacOS release out again.


And enjoy!

Important when running MAME: Be sure to have the lower right corner not activated as Hot Corner, as described here:
https://github.com/mickelson/attract/issues/472
If activated as Hot Corner, Attract Mode starts into the screensaver, and if you have your screensaver protected with your password, you can only shut down your Mac!
In newer attract.cfg versions, you will find this option:
move_mouse_on_launch no
This option disables moving the mouse to a corner -> another way of solving it. Be sure that your attract.cfg contains this line.

Just to remind you of my tutorials for setting up Attract Mode under MacOS:

Part 1 - https://mameonmacs.blogspot.com/2017/01/attract-mode-for-mame-under-osx.html
Part 2 - https://mameonmacs.blogspot.com/2017/01/attract-mode-for-osx-setup-part-2.html

18 April 2018

Moving to MAME Retroarch

So I have been testing out Retroarch for quite some time, and only as of the most recent Nighty 1.7.2 builds, I realized that it is time to switch from MAME to Retroarch. Here I will explain why I believe that Retroarch - even with old MAME Cores - provides the best retrogaming experience so far.

UPDATE 24 April 2018: Retroarch 1.7.2 is out as a stable build, so grab it here.

If you have never dealt with Retroarch - look into ETA Prime's brand new video on installing Retroarch that also works on Macs: 

If your Mac has an NVidia Card, I recommend that you try out the CG version of Retroarch because it has an abundance of shaders on board. 

Here is an overview of the Retroarchs pro's and con's:

+ The brand new Runahead feature of Retroarch 1.7.2 also works on MAME and is a game changer. With a Runahead of two frames, the very snappy Arcade games, such as 1942, Pacman, Gyruss and the like, for the first time are as snappy as expected. If you are in games such as 1942, just try it in RetroArch with the 2 frames Runahead feature - and you will be blown away by its immediate snappyness.
Here is the explanation of the Runahead feature: 
Note: For this crucial feature, you must install a Nightly Build of Retroarch on your Mac.

+ If you like to experiment with different shaders, Retroarch is paradise. In fact, you could be lost in the sheer amount of different shaders. In any case, it is safer to load the pre-defined Shader Presets.  My favorite shader is called x4br-hybrid-crt.cg (it is also available in OpenGL). This shader brings a very attractive combination of xbr Scaling with crt-type scanlines. The results are very pleasing to me, a kind of slight modernization, but still with sufficient retro feeling.

Wonderboy In Monsterland with x4br-hybrid-crt Shader - best of both worlds (click to enarge)
+ Retroarch is already very strong in reckognizing joysticks from scratch. My PS4 joyapd via USB works extremely well. Combined with the Runahead feature, hardly to beat for me.

+ The MAME 2010 Core finally is ready for productive use. It has internal Highscore support out of the box, and most games just work very nicely.

Here is what you need to know about the drawbacks of Retroarch compared to native MAME:

- The MAME current Core of Retroarch does not compile in MacOS, and neither does the Linux Core work on my machine. MAME 2010 works very well, so you miss out on all enhancements in MAME since 2010. If you are, like me, with Arcade Classics, you probably do not miss an awful lot.

- With the different MAME Cores, Rom management becomes a challenge. You will have to deal much more with Rom problems, and Roms that work on one core by far do not always work on another Core.

- In overall, Retroarch has a steep learning curve, but if you ask me, it's worth it for perfecting your Arcade game experience.

That's what I wanted to write down for the time being. Right now Retroarch is my personal best choice for retrogaming on Macs - more concrete with the MAME2010 Core.






02 March 2018

MAME 0.195 is a good build on Macs

From my first tests, MAME 0.195 is a nice build: It compiles nicely and has a running BGFX/Metal backend. I spotted some irregularities in BGFX, but all in all my favorite games seem to run smoothly. As always, the list of changes is overwhelming.

08 January 2018

MAME 0.193 and Dave Haywoods Review of MAME in 2017

As pointed out by the developers here, MAME 0.193 seems to have issues in BGFX - at least in the Windows build. Although I did not encounter those in the official Mac build, it seems to me that the nothrottle command does not seem to work in BGFX because all games run at exactly 100% in  BGFX.

Important Update: I moved to MacOS High Sierra due to Spectre and the Meltdown. Here I see a consistent decrease of performance by up to -15% in the games I had tested before. This seems to be consistent with predictions in the tech community. This observation currently only applies to OpenGL, since BGFX for some reason does not execute the -nothrottle option in MAME 0.193.

Before that, under MacOS Sierra, I had noticed quite significant performance gains under OpenGL/CRT-GEOM Deluxe of 10-20% in nothrottle mode.

And if you want to have an impressive overview of what happened in 2017 on the MAME side, this is a must read: https://mamedev.emulab.it/haze/2017-new-focus/
A very impressive summary and many nice screenshots. So that you know what you should test on your newer MAME systems.