FAQ:Setting Up: Difference between revisions

From MAMEDEV Wiki
No edit summary
(No longer needed.)
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Return to the main [[Frequently Asked Questions]] page.
==Where can I get MAME?==
MAME is always available from the [http://mamedev.org/release.html Latest Release page] on the [http://mamedev.org official MAME developer site] or from other mirrors like [http://mame.net mame.net]. Many other sites have MAME online, too, but you will always find the latest version at the sites mentioned above.


==Where can I get the games (ROMs) for MAME?==
There are several means of obtaining ROM images for use in MAME:
* A small number of ROM images are now available with the copyright holders' permission at the [http://mamedev.org/roms/ mamedev.org ROMs page].
* The [http://www.hanaho.com/Products/HotRodJoystick.php HotRod Joystick control panel] from [http://www.hanaho.com Hanaho Games, Inc.] comes bundled with a CD that includes MAME and a selection of Capcom ROMs. Hanaho also sells the [http://www.hanaho.com/Products/ArcadePC.php ArcadePC cabinet] with a different selection of Capcom ROMs.
* You can purchase your own arcade game PCBs (on [http://www.ebay.com eBay] for example), buy a ROM reader, and use it to copy the ROM chips' contents into files for your personal use.
Always check if the particular arcade games' copyright owner is selling the ROMs legally (as with Capcom). That way you will support the companies that support emulation.
==Once I get the game ROMs, where do I put them?==
Put them in the "roms" subdirectory of your main MAME directory. You do not need to uncompress the ZIP files. For example:
mame.exe
roms\
    gridlee.zip
==What are samples and why do I need them?==
Samples are digitized sound files. Some games need them, in addition to the ROM files, to provide the complete range of sound effects. For example, the sound routines of Donkey Kong Jr. are not yet fully emulated. If you play the game without samples, you will miss the "jumping" and "climbing" sounds.
It is the MAME team's goal to eventually do away with samples; however, at the moment many older games' audio circuitry is too complex to emulate accurately.
==Where do I put samples? Will MAME know they are there?==
Put sample files in the "samples" subdirectory of your main MAME directory. MAME will automatically load samples as long as they have the right names and are in the right place.
mame.exe
samples\
    gridlee.zip
Note: the samples for a game's "parent" (base) version cover all the other versions of that game. So if you have samples for [http://mameworld.net/maws/set/dkongjr dkongjr] in your "samples" directory, [http://mameworld.net/maws/set/dkongjrb dkongjrb] (Donkey Kong Jr. Bootleg) and [http://mameworld.net/maws/set/dkongjrj dkongjrj] (Donkey Kong Jr. Japanese) will use these samples properly. You do ''not'' need three copies of the same samples.
==Where do I place the .CHD (compressed hard disk image) files?==
Put them into a subdirectory of your "roms" directory with the name of the game the CHD is for. In addition the CHD, you also need the corresponding ROMs for the game to work. To demonstrate:
mame.exe
roms\
    area51.zip
    area51\
      area51.chd
Note that the CHD name does not always directly correspond to the game now. For example, the CHD for [http://mameworld.net/maws/set/bm1stmix Beatmania] is named 753jaa11.chd. It would go in a directory called "bm1stmix".
==The ROMs and samples are in ZIP (compressed) format. Do I need to extract them?==
You do ''not'' need to unzip these files. MAME automatically reads and extracts the data from zipped ROM and sample files, so you do not need to extract this data yourself. It also helps to keep all the ROM files for each game together in a single package.
==Do I need to put my CHD files into a ZIP?==
No. In fact, it is a very bad idea. CHD files are already compressed in such a way that they can access the data quickly without the need for decompressing the whole CHD all at once. If you put a CHD file in a ZIP, MAME will try to extract the giant CHD file from the ZIP into your system's memory, and then will decompress bits and pieces of the extracted CHD out of memory. This is highly inefficient, and really defeats the purpose of the CHD files.
==Why doesn't MAME support RAR/7-Zip/xxxx compression?==
ZIP is extremely well-supported through a free, cross-platform library, and has been a standard for at least a decade. Yes, there are many new up-and-coming compression algorithms that squeeze an extra few percent out of things, but they are generally (a) strictly coded for a particular platform, like 7-Zip (though this is apparently changing), or (b) proprietary, like RAR.
Furthermore, what most people really fail to realize is that there is absolutely no incentive for the MAME developers to add support for another compression format. For one thing, it only makes the MAME core more complicated, dependent on more external libraries, and prone to bugs.
But even beyond that, what is the real benefit of getting those extra few percentage points of compression? While we realize there are plenty of people out there who feel that life is not worthwhile unless they have an absolutely perfect, audited collection of ROMs on their machines, we honestly don't see why MAME should bend over backwards to ensure that they can accomplish this in a few less MB. If you're really so cheap that you have to pirate all your software, you can at least cough up a few extra dollars to buy a bigger hard disk.
In short, ZIP is good enough, and has a ton of benefits to it. Adding support for anything else merely says, "Hey, we're in it for the ROMz." And quite frankly, we don't think that benefits MAME in any way.

Latest revision as of 02:50, 2 June 2016