MAME - dragoonDorise/EmuDeck GitHub Wiki
THIS WIKI IS NO LONGER MAINTAINED. VISIT https://emudeck.github.io/ FOR THE NEW EMUDECK WIKI.
MAME is a multi-purpose emulation framework. Play arcade games and more.
Website: https://www.mamedev.org/
Github: https://github.com/mamedev/mame
MAME Wiki: https://docs.mamedev.org/whatis.html
MAME FAQ: https://docs.mamedev.org/usingmame/commonissues.html
Arcade Database (Lookup required files for MAME ROMs, or what a MAME short name refers to): http://adb.arcadeitalia.net/default.php
Updating this Emulator:
- Use
Discover
(Shopping Bag icon) to update MAME
MAME Table of Contents
Getting Started with MAME
MAME Configuration
- Type of Emulator: Flatpak
- Config Location:
/home/deck/.mame
- Contains the following folders and files:
mame.ini
cfg
- Plugin folders will appear here after enabling them in MAME
- Contains the following folders and files:
- Storage:
Emulation/storage/mame
- Contains the following folders:
artwork
ctrlr
ini
samples
- Contains the following folders:
- ROM Location:
Emulation/roms/arcade
- BIOS Location:
Emulation/roms/arcade
- Saves:
Emulation/saves/MAME/saves
- Savestates:
Emulation/saves/MAME/states
Note: ~/.mame
is an invisible folder by default. In Dolphin (file manager), click the hamburger menu in the top right, click Show Hidden Files
to see these folders.
MAME [Standalone]
shares itsEmulation/roms/arcade
folder withArcade - RetroArch MAME Current
. Turning both of these parsers on in Steam ROM Manager will cause duplicates in your App List.
Works With
- Steam ROM Manager
- EmulationStation-DE
How to Update MAME
How to Update MAME
- Update through
Discover
(Shopping bag icon) - Through the
Update your Emulators & Tools
section on theManage Emulators
page in theEmuDeck
application
How to Launch MAME in Desktop Mode
How to Launch MAME in Desktop Mode
- Launch
MAME
from the Applications Launcher (Steam Deck icon in the bottom left of the taskbar) - Launch the script from
Emulation/tools/launchers
,mame.sh
- Launch the emulator from
Steam
after adding it via theEmulators
parser inSteam ROM Manager
MAME File Formats
ROMs
- .zip
- .chd
BIOS Files
BIOS will be searched through 3 folders:
Emulation/roms/arcade/
Emulation/bios/mame/*
Emulation/bios/
Note: EmulationStation-DE will ONLY work with the BIOS in the arcade folder
MAME Hotkeys
Hotkey | MAME |
---|---|
Coin for player | Select |
Start for player | Start |
Fast Forward | Select + R2 |
Load State | Select + L1 |
Save State | Select + R1 |
Exit Emulator | Select + Start |
Steam Deck Button Layout: https://github.com/dragoonDorise/EmuDeck/wiki/Hotkeys#steam-deck-button-layout
MAME Tips and Tricks
Maintaining ROM Versions
Ideally use ROMs that are the same version as MAME's version. MAME often releases improved versions of ROMs to fix issues. Issues are less of a concern with the most popular classics because most of those haven't changed in years. But to avoid having to track multiple different versions of your ROMs, most people just keep their ROM sets updated as the emulator updates.
To understand how MAME works, look up the difference between merged and split ROM sets, and learn what a sample and a chd are and how they're used in conjunction with ROMs to deliver a playable game.
Reference image:
Note: Refer to https://docs.mamedev.org/usingmame/aboutromsets.html, for additional information.
How to Add Custom Bezels
- Open
Emulation/storage/mame
- Copy bezel files, in .zip format, into this folder, named the same as the ROM.
- Done.
Note: Use the Bezel Project to locate bezels for your MAME ROMS: https://github.com/thebezelproject/BezelProject-Windows
How to Enable Shaders/Scanlines in MAME (Standalone)
- In Desktop Mode, open
/home/deck/.mame/mame.ini
- Under the
OSD VIDEO OPTIONS
section, setvideo
tobgfx
- Under the
BGFX POST-PROCESSING OPTIONS
section, setbgfx_screen_chains
to the shader of your choice, for example:crt-geom-deluxe
- Save your changes to the file
Note: Other shader values can be found here: https://docs.mamedev.org/advanced/bgfx.html
How to Configure MAME to Work With EmulationStation-DE
EmuDeck installs both MAME (Standalone, installed as a flatpak), and Retroarch's MAME core.
In order to use MAME (Standalone), make sure your ROMs are in Emulation/roms/arcade
.
In order to use MAME (Standalone) for EmulationStation-DE, make sure you are selecting MAME [Standalone]
in the Alternative Emulators
menu.
Tutorial
- In EmulationStation-DE, press the
Start
button - Scroll down and select
Other Settings
- Select
Alternative Emulators
- Scroll down to
Arcade
and selectMAME [Standalone]