MAME

Source: Wikipedia, the free encyclopedia.

Original author(s)Nicola Salmoria
Developer(s)The MAME community
Initial release5 February 1997; 27 years ago (1997-02-05)
Stable release0.264 (March 27, 2024; 31 days ago (2024-03-27)[1]) [±]
Repository
Written inC++ (C and Python for some drivers)
Operating systemWindows, macOS, Linux, BSD, Amiga, etc.
TypeEmulator
LicenseGPL-2.0-or-later, with some sub-parts BSD-3-Clause.(for versions since 0.172) Original MAME license (for versions prior to 0.172)
Websitewww.mamedev.org

MAME (formerly an

Windows and Mac gamer should have.[4]

The first public MAME release was by

MESS, an emulator for many video game consoles
and computer systems, based on the MAME core, was integrated into MAME in 2015.

With

NTVDM from Microsoft is only supported for the 32-bit versions of Windows.[5][6]

History and overview

The MAME project was started by Italian programmer Nicola Salmoria. It began as a project called Multi-Pac, intended to preserve games in the Pac-Man family, but the name was changed as more games were added to its framework. The first MAME version was released in 1996.[7] In April 1997, Salmoria stepped down for his national service commitments, handing stewardship of the project to fellow Italian Mirko Buffoni for half a year. In May 2003, David Haywood took over as project coordinator; and from April 2005 to April 2011, the project was coordinated by Aaron Giles;[8] then Angelo Salese stepped in as the coordinator;[9] and in 2012, Miodrag Milanovic took over.[10] The project is supported by hundreds of developers around the world and thousands of outside contributors.

At first, MAME was developed exclusively for

SDLMAME project, which was integrated into the main development source tree in 2006.[11] MAME has also been ported to other computers, game consoles, mobile phones and PDAs and, at one point, even to digital cameras.[12] In 2012, Google ported MAME to Native Client, which allows MAME to run inside Chrome.[13]

Major releases of MAME occur approximately once a month. Windows executables in both 32-bit and 64-bit fashion are released on the development team's official website, along with the complete source code.[14] Smaller, incremental "u" (for update) releases were released weekly (until version 0.149u1) as source diffs against the most recent major version, to keep code in synchronization among developers.[15] MAME's source code is developed on a public GitHub repository,[16] allowing those with the required expertise and tools to build the most up-to-date version and contribute enhancements as pull requests. Historical version numbers 0.32, and 0.38 through 0.52 inclusively, do not exist; the former was skipped due to similar naming of the GUI-equipped MAME32 variant (which itself has since been renamed MAMEUI due to the move to 64-bit builds), while the latter numbers were skipped due to the numerous releases in the 0.37 beta cycle (these version numbers have since been marked next to their equivalent 0.37 beta releases on the official MAMEdev website).[17]

MAME's architecture has been extensively improved over the years. Support for both

Yamaha FM sound chips). MAME developers have been instrumental in reverse engineering many proprietary encryption algorithms utilized in arcade games, including Neo Geo, CP System II and CP System III.[citation needed
]

MAME's popularity has gone mainstream, with enthusiasts building their own

arcades. Cabinets are built either from scratch or by taking apart and modifying an original arcade game cabinet.[18][19] Cabinets inspired by classic games can also be purchased and assembled (with MAME optionally preinstalled).[20]

Although MAME contains a rudimentary user interface, the use of MAME in arcade game cabinets and

front ends with more advanced features. They provide varying degrees of customization, allowing one to see images of games' cabinets, histories, playing tips, specialized logo artwork for games, and video of the game's play or attract mode
.

The information within MAME is free for reuse, and companies have been known to utilize MAME when recreating their old classics on modern systems. Some have even hired MAME developers to create emulators for their old properties. An example is the Taito Legends pack, with ROMs readable on select versions of MAME.[21]

On 27 May 2015 (0.162), the games console and computer system emulator MESS was integrated with MAME (so the MESS User Manual is still the most important usage instruction for the non-arcade parts of MAME).[22] This also led to the removal of the acronym, as MAME can now emulate more than arcade machines. Since 2012, MAME has been maintained by former MESS project leader Miodrag Milanović.[10]

In May 2015, it was announced that MAME's developers planned to

free and open-source license, away from the original MAME license. MAME developer Miodrag Milanovic explained that the change was to draw more developer interest, allow game manufacturers to distribute MAME to emulate their own games, and to make the software "a learning tool for developers working on development boards". The transition of MAME's licensing to BSD/GPL was completed in March 2016.[23][24] Most of MAME's source code (90%+) is now available under the BSD-3-Clause license, and the complete project is under the GPL-2.0-or-later license.[23][25]

On 24 February 2016 (0.171), MAME embedded the MEWUI front-end (and its developer joined the team), providing MAME with a flexible and more full-featured UI.[26]

On 30 December 2021, exA-Arcadia, the Western copyright holders of the games Akai Katana and DoDonPachi SaiDaiOuJou had their lawyers file a cease and desist notice to the MAME developers over those games being included in the emulator.[27] MAME complied with the request a day later, making both unplayable on the emulator outside of command line, as of version 0.240.[28]

Design

The MAME core coordinates the emulation of several elements at the same time. These elements replicate the behavior of the hardware present in the original arcade machines. MAME can emulate many different central processing units (CPUs) and associated hardware. These elements are virtualized so that MAME acts as a software layer between the original program of the game, and the platform MAME runs on. MAME supports arbitrary screen resolutions, refresh rates and display configurations. Multiple emulated monitors, as required by, for example, Darius, are supported as well.

Individual arcade systems are specified by drivers which take the form of C preprocessor macros. These drivers specify the individual components to be emulated and how they communicate with each other. While MAME was originally written in C, the need for object oriented programming caused the development team to begin to compile all code as C++ for MAME 0.136, taking advantage of additional features of that language in the process.

Although a great majority of the CPU emulation cores are interpretive, MAME also supports dynamic recompilation through an intermediate language called the Universal Machine Language (UML) to increase the emulation speed. Back-end targets supported are x86 and x64. A C back end is also available to further aid verification of the correctness. CPUs emulated in this manner are SH-2, MIPS R3000 and PowerPC.

ROM data

The original program code, graphics and sound data need to be present so that the system can be emulated. In most arcade machines, the data is stored in

Neo Geo
that have ROMs shared between multiple games require the ROMs to be stored in "BIOS" ROM sets and named appropriately.

MAME ROMs come in three forms, split, non-merged, and merged:[29]

  • A "split" ROM only contains information about itself. For example, a "clone" ROM does not have the necessary data the "parent" ROM has, and a "parent" ROM will not contain its clones.
  • A "non-merged" set is a ROM that has everything a program needs to run in one ZIP file, such as its "parent". Non-merged roms take up more space due to redundancy, but they are useful for cases where only a specific set of programs are desired, such as only desiring one specific version of a game without desiring to also obtain the other required files.
  • A "merged" set is a ROM that contains the "parent" ROM and its "clones" in one package. For example, a merged Pac-Man rom would contain the "parent" Japanese Puck-Man rom, the Midway USA Pac-Man version, and all other clone or bootleg versions of the game. It is more space-efficient than a split set.

Hard disks, compact discs and laserdiscs are stored in a MAME-specific format called CHD (Compressed Hunks of Data).

PNG format for bezel and overlay graphics. Furthermore, emulation of games with liquid-crystal displays such as Game & Watch or extra physical aspects such as slot machines
usually require extra image files for backgrounds or other aspects of the games.

Philosophy, accuracy and quality

The stated aim of the project is to document hardware, and so MAME takes a somewhat purist view of emulation, prohibiting programming

high-level emulation
(HLE) is only used when a chip is completely undocumented and cannot be reverse-engineered in detail. Signal level emulation is used to emulate audio circuitry that consists of analog components.

We want to document the hardware. Now a lot of people will say; "Where's your document? You just write a bunch of source code." And yes, that's true. One thing I've learned is that keeping documentation synced with source code is nearly impossible. The best proof that your documentation is right is "does this code work".

MAME emulates well over a thousand different

microcontroller units (MCUs) that implemented a part of the game logic or some other important functions. Emulation of these chips is preferred even when they have little or no immediately visible effect on the game itself. For example, the monster behavior in Bubble Bobble was not perfected until the code and data contained with the custom MCU was dumped through the decapping of the chip.[32]
This results in the ROM set requirements changing as the games are emulated to a more and more accurate degree, causing older versions of the ROM set becoming unusable in newer versions of MAME.

Portability and generality are also important to MAME. Combined with the uncompromising stance on accuracy, this often results in high system requirements. Although a 2 GHz processor is enough to run almost all 2D games, more recent systems and particularly systems with 3D graphics can be unplayably slow, even on the fastest computers. MAME does not currently take advantage of hardware acceleration to speed up the rendering of 3D graphics, in part because of the lack of a stable cross-platform 3D API,[citation needed] and in part because software rendering can, in theory, be an exact reproduction of the various custom 3D rendering approaches that were used in the arcade games.

Legal status

Owning and distributing MAME itself is legal in most countries, as it is merely an emulator. Companies such as

Sony PlayStation emulator from being sold, but they have been ultimately unsuccessful.[33]
MAME itself has thus far not been the subject of any court cases.

Most arcade games are still covered by copyright. Downloading or distributing copyrighted ROMs without permission from copyright holders is almost always a violation of copyright laws. However, some countries (including the US)[34] allow the owner of a board to transfer data contained in its ROM chips to a personal computer or other device they own. Some copyright holders have explored making arcade game ROMs available to the public through licensing. For example, in 2003 Atari made MAME-compatible ROMs for 27 of its arcade games available on the Internet site Star ROMs. However, by 2006 the ROMs were no longer being sold there. At one point, various Capcom games were sold with the HotRod arcade joystick manufactured by Hanaho, but this arrangement was discontinued as well. Other copyright holders have released games which are no longer commercially viable free of charge to the public under licenses that prohibit commercial use of the games. Many of these games may be downloaded legally from the official MAME web site.[35] The Spanish arcade game developer Gaelco has also released World Rally for non-commercial use on their website.[36]

The MAME community has distanced itself from other groups redistributing ROMs via the Internet or physical media, claiming they are blatantly infringing copyright and harm the project by potentially bringing it into disrepute.[37] Despite this, illegal distributions of ROMs are widespread on the Internet, and many "Full Sets" also exist which contains a full collection of a specific version's ROMs.[38][39] In addition, many bootleg game systems, such as arcade multi carts, often use versions of MAME to run their games.[citation needed]

Original MAME license

MAME was formerly distributed under a custom self-written

Free Software Definition, and as such is not considered an open source, or free software license, respectively. The non-commercial clause was designed to prevent arcade operators from installing MAME cabinets and profiting from the works of the original manufacturers of the games.[24] The ambiguity of the definition "commercial" led to legal problems with the license.[41][42]

Since March 2016 with version 0.172, MAME itself

However, old versions remain licensed under the original license.

See also

References

  1. ^ "Releases - mamedev/mame". Retrieved 8 March 2024 – via GitHub.
  2. ^ Herz, J.C. (5 March 1998). "With Software Sleight of Hand, Video Ghosts Walk". The New York Times. Archived from the original on 14 April 2019. Retrieved 3 July 2013.
  3. ^ "MAME | About MAME". Mamedev.org. Retrieved 11 April 2011.
  4. ^ Quilty-Harper, Conrad (16 December 2005). "PC and Mac Applications that Every Gamer Should Have". Joystiq. Archived from the original on 6 January 2006. Retrieved 3 July 2013.
  5. ^ "Virtual DOS machine", Wikipedia, 8 March 2023, retrieved 25 March 2023
  6. ^ "WineVDM - Emulation General Wiki". emulation.gametechwiki.com. Retrieved 25 March 2023.
  7. 1UP.com. Archived from the original
    on 25 July 2015. Retrieved 21 August 2018.
  8. ^ a b c "MAME Project History". Retrieved 23 April 2011.
  9. ^ Giles, Aaron (5 April 2011). "Regime Change". Mamedev.org. Retrieved 3 July 2013.
  10. ^ a b Milanovic, Miodrag (26 April 2012). "Passing the torch". Mamedev.org. Retrieved 26 April 2012.
  11. ^ "The SDLMAME Homepage". Rbelmont.mameworld.info. 13 October 2006. Retrieved 11 April 2011.
  12. ^ IGN Staff (3 November 1999). "But Wait, That's a Camera..." IGN. Archived from the original on 22 February 2014. Retrieved 3 July 2013.
  13. ^ Wawro, Alex (3 January 2012). "MAME Runs In Google Chrome, Plays All Your Favorite Arcade Games". PC World. Archived from the original on 7 September 2013. Retrieved 3 July 2013.
  14. ^ "MAME Latest MAME Release". Retrieved 23 April 2011.
  15. ^ "MAME Source Updates". Archived from the original on 20 April 2011. Retrieved 23 April 2011.
  16. ^ "GitHub - mamedev/mame: MAME - Multiple Arcade Machine Emulator". GitHub. Retrieved 19 May 2016.
  17. ^ "MAME Previous Releases".
  18. .
  19. ^ Roush, George (16 April 2008). "Build Your Own MAME Machine". IGN. Archived from the original on 16 December 2012. Retrieved 3 July 2013.
  20. ^ Harris, Craig (30 November 2005). "Dream Arcade Cocktail Kit". IGN. Archived from the original on 22 February 2014. Retrieved 3 July 2013.
  21. ^ "Taito Legends manual" (PDF). Sega. Archived (PDF) from the original on 4 October 2011. Retrieved 23 April 2011.[permanent dead link]
  22. ^ "MAME 0.162". MAMEDEV.org.
  23. ^
    Gamasutra. Archived
    from the original on 22 April 2016. Retrieved 5 March 2016.
  24. ^ from the original on 16 May 2015. Retrieved 27 May 2015.
  25. ^ "MAME is now Free and Open Source Software". MAMEdev.org. Retrieved 5 March 2016.
  26. ^ http://mamedev.org/releases/whatsnew_0171.txt [bare URL plain text file]
  27. ^ "You wanted the C&D, you got it".
  28. ^ "MAME SVN History".
  29. ^ "About ROMs and Sets". MAME Documentation. Retrieved 11 November 2022.
  30. ^ "MAME | src/lib/util/chd.h". Mamedev.org. Archived from the original on 4 July 2013. Retrieved 20 December 2012.
  31. ^ Giles, Aaron (17 July 2009). "Aaron Giles at California Extreme 2008 – Part 2". YouTube. Archived from the original on 11 December 2021. Retrieved 20 December 2012.
  32. ^ Salmoria, Nicola. "Nicola's MAME Ramblings". Retrieved 3 July 2013.
  33. ^ Glasner, Joanna (10 February 2000). "Court Upholds PlayStation Rival". Wired. Archived from the original on 18 June 2001. Retrieved 26 September 2006.
  34. ^ "17 U.S. Code § 117 (a)". U.S. Copyright Office. Retrieved 8 February 2014.
  35. ^ "MAME ROMs for Free Download". Retrieved 3 July 2013.
  36. ^ "Gaelco Games at Home!". Archived from the original on 18 May 2013. Retrieved 3 July 2013.
  37. ^ "FAQ: Roms". MAME development site. Retrieved 28 December 2013.
  38. PC Magazine
    . Vol. 26, no. 17. 4 September 2007. p. 61. Retrieved 28 December 2013.
  39. Popular Science
    . Vol. 270, no. 4. April 2007. p. 78. Retrieved 28 December 2013.
  40. ^ "MAME | Legal Information". 3 January 2016. Archived from the original on 3 January 2016. Retrieved 25 June 2022.
  41. ^ "David Haywood's Homepage » The 'Already Dead' Theory." 31 October 2013. Archived from the original on 31 October 2013.
  42. ^ "So why did this annoy me so much?". mameworld.info. 22 October 2013. Retrieved 29 October 2017.
  43. ^ "MAME is now Free and Open Source Software". MAMEDEV.org.
  44. ^ "MAME | Legal Information". www.mamedev.org. Retrieved 25 June 2022.

External links

  • Official website
  • MAMEworld MAME resource and news site
  • Arcade Database Database containing details of any game supported by Mame, including past versions. There are images, videos, programs for downloading extra files, advanced searches, graphics and many other resources.
This page is based on the copyrighted Wikipedia article: MAME. Articles is available under the CC BY-SA 3.0 license; additional terms may apply.Privacy Policy