请输入您要查询的百科知识:

 

词条 MAME
释义

  1. History and overview

  2. Design

      Game data  

  3. Philosophy and accuracy

  4. Legal status

  5. Original MAME-license

  6. See also

  7. References

  8. External links

{{About|the emulator|the musical|Mame (musical)}}{{Use mdy dates|date=July 2013}}{{Infobox software
| name = MAME
| title =
| logo = MAMELogo.jpg
| logo caption =
| logo size = 270px
| logo alt = MAME Logo
| screenshot = Mame1.png
| caption = MAME's main menu (as of version 0.142)
| screenshot size =
| screenshot alt =
| collapsible =
| author = Nicola Salmoria
| developer = Nicola Salmoria and the MAME Team
| released = {{Start date and age|1997|02|05|df=yes}}
| discontinued =
| programming language = C++ (C and Python for some drivers)
| operating system = Windows, macOS, Linux, BSD, Amiga, etc
| platform =
| size =
| language =
| language count =
| language footnote =
| genre = Emulator
| license = New BSD, GNU GPL v2 or later
| alexa =
| website = {{URL|https://www.mamedev.org/}}
| standard =
| AsOf =
}}MAME (originally an acronym of Multiple Arcade Machine Emulator) is a free and open source emulator designed to recreate the hardware of arcade game systems in software on modern personal computers and other platforms.[1] The intention is to preserve gaming history by preventing vintage games from being lost or forgotten. The aim of MAME is to be a reference to the inner workings of the emulated arcade machines; the ability to actually play the games is considered "a nice side effect".[2] Joystiq has listed MAME as an application that every Windows and Mac gamer should have.[3]

The first public MAME release was by Nicola Salmoria on February 5, 1997. The emulator now supports over seven thousand unique games and ten thousand actual ROM image sets, though not all of the supported games are playable. MESS, an emulator for many video game consoles and computer systems, based on the MAME core, was integrated upstream into MAME in 2015.

History and overview

The project was started by the Italian programmer Nicola Salmoria. MAME traces its roots to an earlier emulator project called Multi-Pac, but the name was changed as more and more games started to be emulated within the MAME framework. The first version was released in 1996.[4] In April 1997, Salmoria stepped down for his national service commitments, handing stewardship of the project to fellow Italian Mirko Buffoni for a period of half a year. In May 2003, David Haywood took over the job of the coordinator. From April 2005 to April 2011, the project was coordinated by Aaron Giles.[5] Angelo Salese stepped in as the new coordinator.[6] In 2012, Miodrag Milanovic took over.[7] The project is supported by hundreds of developers around the world and thousands of outside contributors.

At first, MAME was developed exclusively for MS-DOS, but it was soon ported to Unix-like systems (X/MAME), Macintosh (MacMAME and later MAME OS X) and Windows (MAME32). Since 24 May 2001 with version 0.37b15[5], the main development occurs on the Windows platform, and most other platforms are supported through the SDLMAME project, which was integrated into the main development source tree in 2006.[7] In addition, different versions of MAME have been ported to other computers, game consoles, mobile phones and PDAs, and at one point even to digital cameras.[8] In 2012, Google ported MAME to Native Client, which allows MAME to run inside Chrome.[9]

Major releases of MAME occur approximately once a month. Windows executables in both 32-bit and 64-bit fashion are released on the official web site of the development team, along with the complete source code.[10] 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.[11] The MAME source code is developed on a public GitHub repository.[12] This allows those with the required expertise & tools to build the most up-to-date version of the code and contribute enhancements in the form of Pull Requests.

The architecture of MAME has been extensively improved over the years. Support for both raster and vector displays, as well as multiple CPUs and sound chips, were added to MAME in the first six months of the project. A flexible timer system to coordinate the synchronization between multiple emulated CPU cores was implemented, and ROM images started to be loaded according to their CRC32 hash in the ZIP files they were stored in.[5] MAME has pioneered the reverse engineering of many undocumented system architectures, various CPUs (such as the M6809-derivative custom Konami CPU with new instructions) and sound chips (for example the Yamaha FM sound chips), and MAME developers have been instrumental in the reverse engineering of many proprietary encryption algorithms utilized in arcade games. Examples of these include the Neo Geo, CP System II, CP System III and many others.

The popularity of MAME has well since broken through to the mainstream, with enthusiasts building their own arcade game cabinets to relive the old games, and with companies producing illegal derivative works of MAME to be installed in arcades. Cabinets can be built either from scratch or by taking apart and modifying a genuine arcade game cabinet that was once used with the real hardware inside.[13][14] Cabinets inspired by classic arcade games can also be purchased and assembled (with optional and MAME preinstalled).[15]

Although MAME contains a rudimentary user interface, the use of MAME in arcade game cabinets and home theaters necessitates special launcher applications called front ends with more advanced user interfaces. Front ends provide varying degrees of customization – allowing one to see images of the cabinets, history of the games and tips on how to play, and even video of the game play or attract mode of the game.

The information contained within MAME is free for re-use, and companies have been known to utilize MAME when recreating their old classics on modern systems. Some have gone as far as to hire MAME developers to create emulators for their old properties. An example of this is the Taito Legends pack which contains ROMS readable on select versions of MAME.[16]

Since 2012 MAME is maintained by then MESS project leader Miodrag Milanović.[17]

On May 27, 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). [18]

In May 2015, it was announced that MAME's developers were planning to re-license the software under a more common free and open source license, away from the original MAME-license. MAME developer Miodrag Milanovic explained that the change is intended to draw more developer interest to the project, allow the manufacturers of games to distribute MAME to emulate their own games, and make the software a "learning tool for developers working on development boards". The transition of MAME's licensing to the BSD/GPL licenses was completed in March 2016.[19][20] With the license change, most of MAME's source code (90%+) is available under a three-clause BSD license and the complete project is under the GNU General Public License version 2 or later.[19][21]

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

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 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 backend is also available to further aid verification of the correctness. CPUs emulated in this manner are SH-2, MIPS R3000 and PowerPC.

Game data

The original program code, graphics and sound data need to be present so that the game can be emulated. In most arcade machines, the data is stored in read-only memory chips (ROMs), although other devices such as cassette tapes, floppy disks, hard disks, laserdiscs, and compact discs are also used. The contents of most of these devices can be copied to computer files, in a process called "dumping". The resulting files are often generically called ROM images or ROMs regardless of the kind of storage they came from. A game usually consists of multiple ROM and PAL images; these are collectively stored inside a single ZIP file, constituting a ROM set. In addition to the "parent" ROM set (usually chosen as the most recent "World" version of the game), games may have "clone" ROM sets with different program code, different language text intended for different markets etc. For example, Street Fighter II Turbo is considered a variant of Street Fighter II Champion Edition. System boards like the Neo Geo that have ROMs shared between multiple games require the ROMs to be stored in "BIOS" ROM sets and named appropriately.

Hard disks, compact discs and laserdiscs are stored in a MAME-specific format called CHD (Compressed Hunks of Data).[23] Some arcade machines use analog hardware, such as laserdiscs, to store and play back audio/video data such as soundtracks and cinematics. This data must be captured and encoded into digital files that can be read by MAME. MAME does not support the use of external analog devices, which (along with identical speaker and speaker enclosures) would be required for a 100% faithful reproduction of the arcade experience. A number of games use sound chips that have not yet been emulated successfully. These games require sound samples in WAV file format for sound emulation. MAME additionally supports artwork files in PNG format for bezel and overlay graphics.

Philosophy and accuracy

The stated aim of the project is to document hardware, and so MAME takes a somewhat purist view of emulation, prohibiting programming hacks that might make a game run improperly or run faster at the expense of emulation accuracy. Components such as CPUs are emulated at a low level (meaning individual instructions are emulated) whenever possible, and 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.

{{Quotation|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".|Aaron Giles|California Extreme 2008[24]}}

MAME emulates well over a thousand different arcade system boards, a majority of which are completely undocumented and custom designed to run either a single game or a very small number of them. The approach MAME takes with regards to accuracy is an incremental one; systems are emulated as accurately as they reasonably can be. Bootleg copies of games are often the first to be emulated, with proper (and copy protected) versions emulated later. Besides encryption, arcade games were usually protected with custom 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.[25] 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 genericity 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|reason=This claim needs a reliable source; OpenGL is a stable cross-platform 3D API since 1997|date=August 2012}} 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 have attempted in court to prevent other software such as Virtual Game Station, a Sony Playstation emulator from being sold, but they have been ultimately unsuccessful.[26] MAME itself has thus far not been the subject of any court cases. Early coverage of MAME tended to be sensationalist, such as IGN highlighting the use of MAME among console pirates.[27]

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)[28] 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.[29] The Spanish arcade game developer Gaelco has also released World Rally for non-commercial use on their website.[30]

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.[31] 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.[32][33] In addition, many bootleg game systems, such as arcade multi carts, often use versions of MAME to run their games.

Original MAME-license

{{anchor|License}}

MAME was formerly distributed under a custom own-written copyleft license, called "MAME license" or "MAME-like license", which was adopted also by other projects, e.g. Visual Pinball. This old "MAME license" ensures the source code availability, while the redistribution in commercial activities is prohibited. Due to this clause, the license is incompatible with the OSI's Open source definition and the FSF's Free software definition. 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.[20] The ambiguity of the definition "commercial" lead to legal problems with the license.[34][35]

Since March 2016 with version 0.172, MAME itself switched to common free and open source software licenses, the BSD and GPL licenses.[36]

See also

{{portal|Video games}}
  • Arcade emulator
  • MESS
  • List of video game console emulators

References

1. ^{{cite news|last=Herz|first=J.C.|title=With Software Sleight of Hand, Video Ghosts Walk|url=http://partners.nytimes.com/library/tech/98/03/circuits/game-theory/05game-theory.html|accessdate=2013-07-03|newspaper=New York Times|date=1998-03-05}}
2. ^{{cite web|url=http://mamedev.org/about.html |title=MAME | About MAME |publisher=Mamedev.org |date= |accessdate=2011-04-11}}
3. ^{{cite web|last=Quilty-Harper|first=Conrad|title=PC and Mac Applications that Every Gamer Should Have|url=https://web.archive.org/web/20060106055312/http://www.joystiq.com/2005/12/16/pc-and-mac-applications-that-every-gamer-should-have/|work=Joystiq |accessdate=2013-07-03 |date=2005-12-16}}
4. ^{{Cite web|url=https://web.archive.org/web/20150725101010/http://www.1up.com/features/afterlife|title=Afterlife from 1UP.com|date=2015-07-25|access-date=2018-08-21}}
5. ^{{cite web|url=http://mamedev.org/history.html |title=MAME Project History |accessdate=2011-04-23}}
6. ^{{cite web|last=Giles|first=Aaron|title=Regime Change |url=http://mamedev.org/?p=329 |work=Mamedev.org |accessdate=2013-07-03 |date=2011-04-05}}
7. ^{{cite web|url=http://rbelmont.mameworld.info/?page_id=163|title=The SDLMAME Homepage |publisher=Rbelmont.mameworld.info |date=2006-10-13 |accessdate=2011-04-11}}
8. ^{{cite web|title=But Wait, That's a Camera...|url=http://www.ign.com/articles/1999/11/04/but-wait-thats-a-camera|work=IGN |accessdate=2013-07-03|author=IGN Staff|date=1999-11-03}}
9. ^{{cite web|last=Wawro|first=Alex|title=MAME Runs In Google Chrome, Plays All Your Favorite Arcade Games |url=http://www.pcworld.com/article/247189/mame_runs_in_google_chrome_plays_all_your_favorite_arcade_games.html |work=PC World |accessdate=2013-07-03 |date=2012-01-03}}
10. ^{{cite web|url=http://mamedev.org/release.html |title=MAME Latest MAME Release |accessdate=2011-04-23}}
11. ^{{cite web |url=http://mamedev.org/updates.html |title=MAME Source Updates |accessdate=2011-04-23 |deadurl=yes |archiveurl=https://web.archive.org/web/20110420212857/http://mamedev.org/updates.html |archivedate=April 20, 2011 |df=mdy-all }}
12. ^{{cite web|url=https://github.com/mamedev/mame|title=GitHub - mamedev/mame: MAME - Multiple Arcade Machine Emulator|accessdate=2016-05-19}}
13. ^{{cite book|last=St. Clair|first=John|title=Project Arcade: Build Your Own Arcade Machine|publisher=Wiley|location=Indianapolis, IN|year=2004|isbn=0764556169}}
14. ^{{cite web|last=Roush|first=George|title=Build Your Own MAME Machine|url=http://www.ign.com/articles/2008/04/16/build-your-own-mame-machine|work=IGN|accessdate=2013-07-03|date=2008-04-16}}
15. ^{{cite web|last=Harris|first=Craig|title=Dream Arcade Cocktail Kit|url=http://www.ign.com/articles/2005/12/01/dream-arcade-cocktail-kit|work=IGN |accessdate=2013-07-03 |date=2005-11-30}}
16. ^{{cite web |url=http://www2.sega.com/support/manuals/taitolegends_pc_manual.pdf |title=Taito Legends manual |publisher=Sega |date= |accessdate=2011-04-23 }}{{dead link|date=January 2018 |bot=InternetArchiveBot |fix-attempted=yes }}
17. ^{{cite web |last=Milanovic |first=Miodrag|url=http://mamedev.org/?p=362 |title=Passing the torch |work=Mamedev.org |date=2012-04-26 |accessdate=2012-04-26}}
18. ^{{cite web|url=http://www.mamedev.org/?p=406|title=MAME 0.162 | work =MAMEDEV.org}}
19. ^{{cite web|title=10 months later, MAME finishes its transition to open source |url=http://gamasutra.com/view/news/267316/10_months_later_MAME_finishes_its_transition_to_open_source.php |website=Gamasutra |accessdate=5 March 2016}}
20. ^{{cite news |title=MAME is going open source to be a 'learning tool for developers' |url=http://gamasutra.com/view/news/243598/MAME_is_going_open_source_to_be_a_learning_tool_for_developers.php |website=Gamasutra |publisher=UBM plc |accessdate=27 May 2015}}
21. ^{{cite web|title=MAME is now Free and Open Source Software|url=http://mamedev.org/?p=422|website=MAMEdev.org|accessdate=5 March 2016}}
22. ^http://mamedev.org/releases/whatsnew_0171.txt
23. ^{{cite web |url=http://mamedev.org/source/src/lib/util/chd.h.html |title=MAME | src/lib/util/chd.h |publisher=Mamedev.org |date= |accessdate=2012-12-20 |deadurl=yes |archiveurl=https://web.archive.org/web/20130704071827/http://mamedev.org/source/src/lib/util/chd.h.html |archivedate=July 4, 2013 |df=mdy-all }}
24. ^{{cite web|last=Giles|first=Aaron|url=https://www.youtube.com/watch?v=Ek2ZGYv__IA|title=Aaron Giles at California Extreme 2008 – Part 2|work=YouTube|date=2009-07-17|accessdate=2012-12-20}}
25. ^{{cite web|last=Salmoria|first=Nicola|url=http://mamelife.blogspot.com/2006_08_01_archive.html |title=Nicola's MAME Ramblings|accessdate=2013-07-03}}
26. ^{{cite web |url= https://www.wired.com/news/business/0,1367,34281,00.html |title= Court Upholds PlayStation Rival |publisher= Wired |first= Joanna |last= Glasner |date=2000-02-10|accessdate=2006-09-24}}
27. ^{{cite web|title=Illegally "Mame" Your Nintendo 64|url=http://www.ign.com/articles/1998/02/10/illegally-mame-your-nintendo-64|work=IGN|accessdate=2013-07-03|author=IGN Staff|date=1998-02-09}}
28. ^{{cite web|title=17 U.S. Code § 117 (a)|url=http://www.copyright.gov/title17/92chap1.html#117|publisher=U.S. Copyright Office|accessdate=8 February 2014}}
29. ^{{cite web|title=MAME ROMs for Free Download|url=http://mamedev.org/roms/|accessdate=2013-07-03}}
30. ^{{cite web|title=Gaelco Games at Home!|url=http://www.gaelco.com/english/pages/hablando/frhablan.htm|accessdate=2013-07-03|deadurl=yes|archiveurl=https://web.archive.org/web/20130518040356/http://www.gaelco.com/english/pages/hablando/frhablan.htm|archivedate=May 18, 2013|df=mdy-all}}
31. ^{{cite web|url=http://www.mamedev.org/devwiki/index.php?title=FAQ:ROMs|title=FAQ: Roms|publisher=MAME development site|accessdate=28 December 2013}}
32. ^{{cite journal|url=https://books.google.com/books?id=IoPZuA84ktMC|title=Make The Most of It|publisher=PC Magazine|date=September 2007|page=61|accessdate=28 December 2013}}
33. ^{{cite journal|url=https://books.google.com/books?id=apqd0YXTtkMC|title=Game On|publisher=Popular Science|date=April 2007|page=78|accessdate=28 December 2013}}
34. ^{{cite web|url=http://mamedev.emulab.it/haze/2013/10/25/the-already-dead-theory|archiveurl=https://archive.is/20131031202643/http://mamedev.emulab.it/haze/2013/10/25/the-already-dead-theory|deadurl=yes|title=David Haywood's Homepage » The ‘Already Dead’ Theory..|date=October 31, 2013|archivedate=October 31, 2013|publisher=}}
35. ^{{cite web|url=http://www.mameworld.info/ubbthreads/showflat.php?Number=316273|title=So why did this annoy me so much?|date=22 October 2013|work=mameworld.info|accessdate=29 October 2017}}
36. ^{{cite web|url=http://www.mamedev.org/?p=422|title=MAME is now Free and Open Source Software | work =MAMEDEV.org}}

External links

{{wikibooks|transwiki:MAME arcade cabinet}}
  • {{Official website|https://www.mamedev.org/}}
  • 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.
{{Nintendo emulators}}{{Sony emulators}}{{DEFAULTSORT:Mame}}

14 : 1997 software|Amiga emulation software|AmigaOS 4 software|Arcade emulators|Classic Mac OS emulation software|Cross-platform software|GP2X emulation software|Linux emulation software|Lua-scriptable software|MacOS emulation software|Multi-emulators|Nintendo Entertainment System emulators|PlayStation emulators|Windows emulation software

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/11/10 19:08:40