GitHub - DJCJ-website/DJCJArcade

GitHub

10 min read Original article ↗

DJCJ Arcade

A Mac app for browsing and playing your MAME collection, also known as a MAME front end.

What this is

DJCJ Arcade generates a catalog from your installed copy of MAME so what you see matches the version you actually have installed. You get the machine names, the years, the manufacturers, box art, short video clips of the games running, and a clear answer to the question that matters most: do I actually have the files to play this one? Then you click Launch.

The main window

Browsing

The middle of the window is a list of machines. Sort it by name, year, manufacturer, or whatever else you like, and stack a second sort underneath the first. Filter out the things you don't care about, like clones, BIOS sets, or machines MAME can't run properly yet, and choose which columns show by right-clicking any column header.

Machines that are really a platform rather than a single game, an Atari 2600 or a Game Boy for instance, can be opened up to show everything that ran on them. Click into the Atari 2600 and you get its game library rather than one line in a list.

The search box finds things by name across the whole catalog.

Collections

You can group machines and games into collections, and put collections inside folders. Anything can go in as many collections as you like.

There are two kinds. A regular collection holds whatever you drag into it. A smart collection describes what belongs in it and then fills itself in, so "everything Atari made in the seventies and eighties" stays accurate on its own.

Knowing what you actually own

The catalog lists everything MAME supports, which is not the same as everything you have. DJCJ Arcade tracks the difference.

There is a Have column, and a filter to show only the things you can really play. You can ask MAME to audit your whole collection, and for any single machine or software title you can see exactly which files it needs, which ones you have, where each one was found, and whether MAME considers it good, with a button beside each file to show it in the Finder.

Machine details, with a file by file ROM check

The right hand pane

The panel on the right shows extra material for whatever is selected. Video clips of the game in motion, scans of the original manual, box art, flyers, and the machine's own details. Flip between them with the picker at the top, and set which ones you want and in what order in Settings.

Most of that material comes from a separate media pack that the MAME community puts together. It is not required and the app works without it. With it, you get the artwork and video for most of the catalog. If yours is laid out differently from the usual packs, or some of it lives somewhere else, you can point each kind of artwork at its own location.

Launching

Select something and press Launch, or hit Command L.

Along the bottom of the window are the settings you actually change often: fullscreen, whether to stretch the picture, artwork, a CRT shader if you want the scanlines back, and cheats. Set them per launch without going near a settings file.

For machines with more than one drive, a computer with a hard disk and a couple of floppy slots for instance, you can save a loadout: this disk in that drive, that disk in the other one. Give it a name, save as many as you like, and the machine starts up ready to go instead of making you load each piece of media by hand every time.

RetroArch, if you use it

If you also use RetroArch, DJCJ Arcade can launch games in it instead of MAME. Turn it on in Settings, and the Launch area gets a MAME tab and a RetroArch tab, with a menu to pick which RetroArch core runs the game. It can remember which one you used for each machine.

Games run in RetroArch's MAME core get all of your ROM folders, so clones from a merged set and games with separate CHDs work there too. Some cores have hacks and alternate versions that MAME itself doesn't, and you can add those to a machine as variants and launch them in its place. A RetroArch Launch Codes channel shows exactly what will be run, with a command line you can copy.

DJCJ Arcade doesn't change any of RetroArch's own settings. If you don't use RetroArch, none of this shows up.

Libraries

Everything above lives in a library: a catalog, your collections, favorites and play history, and your settings. Most people only need the one, but you can make as many as you like, each a world of its own. That's the way to keep MAME and HBMAME, the version of MAME with thousands of homebrew games and hacks, apart, or to keep two versions of MAME side by side with the ROM sets to match.

Switch between them from the menu, or from the strip at the bottom of the sidebar. Each library is a folder you can move, copy to another Mac, or keep on an external drive.

MAME Launch Codes

This one needs a little explaining.

MAME's settings work in layers. A general setting for everything, then one for every machine with a vertical screen, then one for everything that shares a particular chipset, then one for the single machine you are looking at. Each layer can overrule the ones above it. The setting you are looking for might be in any one of them, and something further down the stack might be canceling it out without saying so.

MAME Launch Codes lays the whole stack out for whatever machine you have selected, in order, color coded, showing you which layers are actually in play and which are sitting empty. You can edit any of them, and save named versions of each one, so "vector with bigger beams" is a thing you can switch on and off rather than a change you make and then forget you made.

MAME Launch Codes, showing the settings layers for one machine

The settings editor

Those layers are files, and you can edit them inside the app rather than opening them in a text editor. MAME has hundreds of settings, and the file on its own tells you nothing about any of them.

The editor lists every setting the copy of MAME you have installed actually understands, each with a short description of what it does. Search them, browse them by category, or star the ones you keep coming back to. It completes option names as you type, and when a setting only accepts certain values it hands you the list instead of leaving you to remember it. If you write something MAME will not recognize, it says so, and gives you the likely reasons: a typo, a setting from a different version of MAME, or hardware you do not have connected.

The settings editor, showing the values a setting will accept

What you need before this is useful

MAME itself. DJCJ Arcade doesn't include it and doesn't replace it. It reads MAME's catalog and hands the actual work of running a machine over to MAME. You don't have to install it first: if there's no MAME on your Mac, the Setup Wizard installs it for you through Homebrew. If you'd rather do it yourself, it's one command:

That works on Intel Macs too, though it takes longer there, since Homebrew often builds MAME from source on an Intel Mac. Any other build of MAME works as well; just point DJCJ Arcade at it. HBMAME works too, and DJCJ Arcade can install it for you the same way.

Your own ROMs. None are included here, and none ever will be. The app will happily show you the whole catalog with nothing installed, so you can browse fifty thousand machines without owning a single file, but you can only play what you have.

The EXTRAs pack, optionally. This is the community assembled collection of artwork, video clips, manuals, and categories. Everything works without it. Things look a lot better with it.

macOS 14 or later, on either an Apple Silicon or an Intel Mac. The download is a universal build, so it runs natively on both rather than going through Rosetta.

Installing

Download the latest version from the Releases page, open the disk image, and drag DJCJ Arcade to your Applications folder.

The app is signed and notarized with Apple, so it will open normally. macOS will still ask you to confirm the first time you run anything downloaded from the internet, which is expected.

Setting it up

The first time you open it, the Setup Wizard opens and walks you through everything, one step at a time:

  1. MAME. Finds the copy you have, or helps you install one.
  2. Build the Catalog. Asks MAME what it supports and builds the app's own index. It takes about twenty seconds, and you can carry on with the next steps while it runs.
  3. Working Folder. One folder for MAME's own configuration and your save files.
  4. Machine Files. Where your ROMs and CHDs live. If you downloaded a collection, one button fills them all in at once.
  5. Category and Genre. Imported from the EXTRAs pack, if you have it.
  6. Check What You Have. Asks MAME which of your machines and software titles you actually have the files for.
  7. Artwork and Video. Optional. The EXTRAs and Multimedia packs.

Each step is ticked off as it's done, including anything you set up before. Steps that need another one to finish first, like checking your files before the catalog is built, wait for it and start on their own. You can close the wizard at any point and things keep running. If you close it before you're finished, a reminder sits at the top of the main window until you are. Skip Setup closes it for good if you'd rather find your own way around. The wizard is always in the DJCJ Arcade menu, and everything it sets is also in Settings.

If your ROM folders have the set version in the name, something like MAME 0.289 ROMs (merged), the app watches for newer folders sitting next to them and offers to switch when you upgrade, rather than silently breaking.

Licenses and credits

MAME is its own project, run by its own people, at mamedev.org. This app is not affiliated with them. It reads their catalog and asks their software to run things, and that is the whole of the relationship.

RetroArch and HBMAME are their own projects too, and this app isn't affiliated with either one. Many thanks to estefan, whose work made HBMAME available on the Mac; his blog is at mameonmacs.blogspot.com.

The app includes some third party components. Details and their license terms are in third-party-licenses.md.

No ROMs are included with this app, and none are linked from here. What you choose to run is between you and the law where you live.

How this app was built

This app was vibe coded. Every line of it was written by AI, mostly Claude with some work from Grok, not typed by hand. I directed the work, made the decisions, and tested the result on real machines with a real MAME collection, but I did not write the code myself. I want that stated plainly here rather than left for anyone to assume one way or the other.

If you like it

This is free, and it is a hobby project. If you got some use out of it, you can buy me a coffee.