English | français | 简体中文

Your business translated through silicon

NegaMAME, the MAME derivative friendly to third-party front-ends.

Download

You want to get the most out of Negatron? So get NegaMAME and use them both together for the best retrogaming app combo.

System Requirements

Hardware

  • Computer with a 2 GHz processor
  • 4 GB of RAM
  • 500 MB of available disk space
  • Keyboard, mouse and gamepad

Software

Compatibility with Linux

The above requirements for Linux are those of the proposed downloadable archives on this site, which have been created with the latest versions of the compilers and libraries available at the time.

To ensure that you have the latest versions of those tools available for your Linux distribution, please run the below command line:

  • On Fedora: sudo dnf install gcc gcc-c++ SDL2-devel SDL2_ttf-devel libXinerama-devel qt5-qtbase-devel qt5-qttools expat-devel fontconfig-devel alsa-lib-devel
  • On Debian and Ubuntu: sudo apt-get install git build-essential libsdl2-dev libsdl2-ttf-dev libfontconfig-dev qt5-default
  • On Arch Linux: sudo pacman -S base-devel git sdl2 gconf sdl2_ttf gcc qt5

If the retrieved versions of the required libraries (GCC, SDL and Qt) are still older than what given above, most of the time, you can create your own compatible version of NegaMAME by downloading its code source and compiling it yourself by following the instructions to compile regular MAME, which are also applicable to NegaMAME. They are duplicated on the How to Compile section of this site for convenience.

NegaMAME is released as an open source freeware under the GPLv2. Source code is available on GitHub.

Older Versions

Here, you'll find the full repository of NegaMAME binaries, one for each version of MAME that is not fully compatible with third-party front-ends.

Repository

Windows 10 logo

Below Windows versions have been compiled with GCC 10.2.0 on Windows 10 (64-bit) version 2004 build 19041.685.

Below Windows versions have been compiled with GCC 9.2.0 on Windows 10 (64-bit) version 1903 build 18362.535.

Below Windows versions have been compiled with GCC 8.3.0 on Windows 10 (64-bit) version 1803 build 17134.648.

Below Windows versions have been compiled with GCC 7.3.0 on Windows 10 (64-bit) version 1803 build 17134.165.

Below Windows versions have been compiled with GCC 7.2.0 on Windows 10 (64-bit) version 1803 build 17134.112.

MacOS logo

Below macOS versions have been compiled with XCode 14.2, Clang 14.0.0 and SDL 2.26.3 on macOS Monterey 12.6.3.

Below macOS versions have been compiled with XCode 10.2, Clang 10.0.1 and SDL 2.0.9 on macOS Mojave 10.14.4.

Below macOS versions have been compiled with XCode 10.0, Clang 10.0 and SDL 2.0.8 on macOS High Sierra 10.13.4.

Below macOS versions have been compiled with XCode 9.4, Clang 9.1.0 and SDL 2.0.8 on macOS High Sierra 10.13.4.

The versions 0.186 to 0.189 of MAME cannot be compiled with Clang 9.1.0.

Linux logo

Below Linux versions have been compiled with GCC 9.3.1, SDL 2.0.12 and Qt 5.13.2 on Fedora 31 kernel release 5.5.15-200.fc31.x86_64 LSB version core-4.1-amd64.

Below Linux versions have been compiled with GCC 9.2.1, SDL 2.0.10 and Qt 5.12.5 on Fedora 31 kernel release 5.3.7-301.fc31.x86_64 LSB version core-4.1-amd64.

Below Linux versions have been compiled with GCC 8.3.1, SDL 2.0.9 and Qt 5.11.3 on Fedora 28 kernel release 4.20.17-100.fc28.x86_64 LSB version core-4.1-amd64.

Below Linux versions have been compiled with GCC 8.1.1, SDL 2.0.8 and Qt 5.10.1 on Fedora 28 kernel release 4.17.2-200.fc28.x86_64 LSB version core-4.1-amd64.

How to Compile NegaMAME

All Platforms

  • Whenever you are changing build parameters, (such as switching between a SDL-based build and a native Windows renderer one, or adding tools to the compile list) you need to run a make REGENIE=1 to allow the settings to be regenerated. Failure to do this will cause you very difficult to troubleshoot problems.
  • If you want to add various additional tools to the compile, such as CHDMAN, add a TOOLS=1 to your make statement, like make REGENIE=1 TOOLS=1
  • You can do driver specific builds by using SOURCES=<driver> in your make statement. For instance, building Pac-Man by itself would be make SOURCES=src/mame/drivers/pacman.cpp REGENIE=1 including the necessary REGENIE for rebuilding the settings.
  • Speeding up the compilation can be done by using more cores from your CPU. This is done with the -j parameter. Note: the maximum number you should use is the number of cores your CPU has, plus one. No higher than that will speed up the compilation, and may in fact slow it down. For instance, make -j5 on a quad-core CPU will provide optimal speed.
  • Debugging information can be added to a compile using SYMBOLS=1 though most users will not want or need to use this.

Putting all of these together, we get a couple of examples:

Rebuilding MAME for just the Pac-Man driver, with tools, on a quad-core (e.g. i5 or i7) machine:
make SOURCES=src/mame/drivers/pacman.cpp TOOLS=1 REGENIE=1 -j5

Rebuilding MAME on a dual-core (e.g. i3 or laptop i5) machine:
make -j3

NegaMAME is usually built with this command:
make REGENIE=1 TOOLS=1 NOWERROR=1 STRIP_SYMBOLS=1 -j5

Microsoft Windows

Here are specific notes about compiling MAME for Microsoft Windows.

  • Refer to the MAME tools site for the latest toolkit for getting MAME compiled on Windows.
  • You will need to download the toolset from that link to begin. Periodically, these tools are updated and newer versions of MAME from that point on will require updated tools to compile.
  • You can do compilation on Visual Studio 2015 (if installed on your PC) by using make vs2015. This will always regenerate the settings, so REGENIE=1 is not needed.
  • Make sure you get SDL 2 2.0.3 or 2.0.4 as earlier versions are buggy.

Fedora Linux

You’ll need a few prerequisites from your distro. Make sure you get SDL2 2.0.3 or 2.0.4 as earlier versions are buggy.

sudo dnf install gcc gcc-c++ SDL2-devel SDL2_ttf-devel libXinerama-devel qt5-qtbase-devel qt5-qttools expat-devel fontconfig-devel alsa-lib-devel

Compilation is exactly as described above in All Platforms.

Debian and Ubuntu (including Raspberry Pi and ODROID devices)

You’ll need a few prerequisites from your distro. Make sure you get SDL2 2.0.3 or 2.0.4 as earlier versions are buggy.

sudo apt-get install git build-essential libsdl2-dev libsdl2-ttf-dev libfontconfig-dev qt5-default

Compilation is exactly as described above in All Platforms.

Arch Linux

You’ll need a few prerequisites from your distro.

sudo pacman -S base-devel git sdl2 gconf sdl2_ttf gcc qt5

Compilation is exactly as described above in All Platforms.

Apple macOS

You’ll need a few prerequisites to get started. Make sure you’re on OS X 10.9 Mavericks or later. You will NEED SDL2 2.0.4 for macOS.

  • Install Xcode from the Mac App Store
  • Launch Xcode. It will download a few additional prerequisites. Let this run through before proceeding.
  • Once that’s done, quit Xcode and open a Terminal window
  • Type xcode-select –install to install additional tools necessary for MAME

Next you’ll need to get SDL2 installed.

  • Go to this site and download the macOS .dmg file
  • If the .dmg doesn’t auto-open, open it
  • Click ‘Macintosh HD’ (or whatever your Mac’s hard disk is named) in the left pane of a Finder window, then open the Library folder and drag the SDL2.framework folder from the SDL disk image into the Frameworks folder
Lastly to begin compiling, use Terminal to navigate to where you have the MAME source tree (cd command) and follow the normal compilation instructions from above in All Platforms.

It’s possible to get MAME working from 10.6, but a bit more complicated:

  • You’ll need to install clang-3.7, ld64, libcxx and python27 from MacPorts
  • Then add these options to your make command or useroptions.mak:

OVERRIDE_CC=/opt/local/bin/clang-mp-3.7
OVERRIDE_CXX=/opt/local/bin/clang++-mp-3.7
PYTHON_EXECUTABLE=/opt/local/bin/python2.7
ARCHOPTS=-stdlib=libc++

Support

If you enjoy NegaMAME and want to support us, you can do it via a donation:

Votre entreprise traduite par le silicium

NégaMAME, l'application dérivée de MAME adaptée aux applications frontales tierces.

Télécharger

Vous voulez profiter au mieux de Négatron ? Téléchargez donc NégaMAME et essayez les deux ensemble pour former le meilleur combo applicative pour le retrogaming.

Configuration requise

Matériel

  • Ordinateur avec un processeur à 2 GHz
  • 4 Go de RAM
  • 500 Mo d'espace disque disponible
  • Clavier, souris et manette de jeux

Logiciel

Compatibilité avec Linux

Les prérequis pour Linux ci-dessus sont ceux pour les archives téléchargeables proposées sur ce site même, qui ont été créées avec les dernières versions des compilateurs et bibliothèques disponible à ce moment.

Pour vous assurer que vous avez les dernières versions des outils disponibles pour votre distribution Linux, veuillez lancer la ligne de commande ci-dessous :

  • Sur Fedora : sudo dnf install gcc gcc-c++ SDL2-devel SDL2_ttf-devel libXinerama-devel qt5-qtbase-devel qt5-qttools expat-devel fontconfig-devel alsa-lib-devel
  • Sur Debian et Ubuntu : sudo apt-get install git build-essential libsdl2-dev libsdl2-ttf-dev libfontconfig-dev qt5-default
  • Sur Arch Linux: sudo pacman -S base-devel git sdl2 gconf sdl2_ttf gcc qt5

Si les versions rapatriées des bibliothèques prérequises (GCC, SDL et Qt) sont encore des versions antérieures à celles indiquées ci-dessus, la plupart du temps, vous pouvez créer votre propre version compatible de NégaMAME en téléchargeant son source code et en le compilant vous-même en suivant les instructions officielles pour compiler MAME, qui sont aussi applicables à NégaMAME. Elles sont dupliquées dans la section Comment compiler de ce site pour plus de commodité.

NégaMAME est un logiciel gratuit et open source sous licence GPLv2. Le code source est disponible sur GitHub.

Anciennes versions

Ici, vous allez trouver le dépôt complet des binaires pour NégaMAME, un pour chaque version de MAME qui n'est pas entièrement compatible avec les applications frontales tierces.

Dépôt

Windows 10 logo

Les versions pour Windows ci-dessous ont été compilées avec GCC 10.2.0 sur Windows 10 (64-bit) version 2004 build 19041.685

Les versions pour Windows ci-dessous ont été compilées avec GCC 9.2.0 sur Windows 10 (64-bit) version 1903 build 18362.535.

Les versions pour Windows ci-dessous ont été compilées avec GCC 8.3.0 sur Windows 10 (64 bits) version 1803 build 17134.648.

Les versions pour Windows ci-dessous ont été compilées avec GCC 7.3.0 sur Windows 10 (64 bits) version 1803 build 17134.165.

Les versions pour Windows ci-dessous ont été compilées avec GCC 7.2.0 sur Windows 10 (64 bits) version 1803 build 17134.112.

MacOS logo

Les versions pour macOS ci-dessous ont été compilées avec XCode 14.2, Clang 14.0.0 et SDL 2.26.3 sur macOS Monterey 12.6.3.

Les versions pour macOS ci-dessous ont été compilées avec XCode 10.2, Clang 10.0.1 et SDL 2.0.9 sur macOS Mojave 10.14.4.

Les versions pour macOS ci-dessous ont été compilées avec XCode 10.0, Clang 10.0 et SDL 2.0.8 sur macOS High Sierra 10.13.4.

Les versions pour macOS ci-dessous ont été compilées avec XCode 9.4, Clang 9.1.0 et SDL 2.0.8 sur macOS High Sierra 10.13.4.

Les versions 0.186 à 0.189 de MAME ne peuvent pas être compilées avec Clang 9.1.0.

Linux logo

Les versions pour Linux ci-dessous ont été compilées avec GCC 9.3.1, SDL 2.0.12 et Qt 5.13.2 sur Fedora 31 kernel release 5.5.15-200.fc31.x86_64 LSB version core-4.1-amd64.

Les versions pour Linux ci-dessous ont été compilées avec GCC 9.2.1, SDL 2.0.10 et Qt 5.12.5 sur Fedora 31 kernel release 5.3.7-301.fc31.x86_64 LSB version core-4.1-amd64.

Les versions pour Linux ci-dessous ont été compilées avec GCC 8.3.1, SDL 2.0.9 et Qt 5.11.3 sur Fedora 28 kernel release 4.20.17-100.fc28.x86_64 LSB version core-4.1-amd64.

Les versions pour Linux ci-dessous ont été compilées avec GCC 8.1.1, SDL 2.0.8 et Qt 5.10.1 sur Fedora 28 kernel release 4.17.2-200.fc28.x86_64 LSB version core-4.1-amd64.

Comment compiler NégaMAME

Toutes les plateformes

  • À chaque fois que vous changez des paramètres de compilation, (comme changer entre un exécutable basé sur SDL et un pour du Windows natif, ou ajouter les outils à la liste de compilation) vous devez lancer un make REGENIE=1 pour permettre de regénérer tous les réglages. L'oubli de cette simple commande causera des problèmes très difficiles à résoudre.
  • Si vous voulez ajouter divers outils additionnels à la compilation, comme CHDMAN, ajoutez TOOLS=1 à votre ligne de commande make, par exemple make REGENIE=1 TOOLS=1
  • Vous pouvez générer des exécutables restreints à certains pilotes en utilisant SOURCES=<pilote> dans votre ligne de commande make. Ainsi, pour compiler Pac-Man à lui tout seul, il faudrait faire make SOURCES=src/mame/drivers/pacman.cpp REGENIE=1 en incluant le REGENIE nécessaire pour regénérer les réglages.
  • Il est possible de réduire le temps de compilation en utilisant plus de cœurs de votre CPU. Cela se fait à l'aide du paramètre -j. Note : le nombre maximum à passer à ce paramètre est celui du nombre de cœurs de votre CPU, plus un. Mettre au-dessus n'accélèrera pas le processus de compilation, et pourrait en fait le ralentir. Ainsi, make -j5 sur un CPU à quatre cœurs fournira la vitesse optimale.
  • Des informations de débogage peuvent être ajoutées à la compilation en utilisant SYMBOLS=1 bien que la plupart des utilisateurs n'en feront rien.

De tout cela, nous pouvons en tirer quelques exemples utiles :

Recompiler MAME seulement avec le pilote pour Pac-Man, avec les outils, sur une machine quadri-cœur (par exemple i5 ou i7) :
make SOURCES=src/mame/drivers/pacman.cpp TOOLS=1 REGENIE=1 -j5

Recompiler MAME sur une machine duo-cœur (par exemple i3 ou ordinateur portable i5) :
make -j3

NegaMAME est habituellement compilé à l'aide de cette commande :
make REGENIE=1 TOOLS=1 NOWERROR=1 STRIP_SYMBOLS=1 -j5

Windows de Microsoft

Voici les notes spécifiques à la compilation de MAME sous Windows.

  • Veuillez consulter le site des outils pour MAME pour les derniers jeux d'outils de compilation de MAME sur Windows.
  • Vous devez tout d'abord télécharger l'ensemble d'outils de compilation de ce lien. Périodiquement, ces outils sont mis à jour et les versions plus récentes de MAME à partir de ce moment nécessiterontces outils mis à jour pour compiler.
  • Vous pouvez faire une compilation avec Visual Studio 2015 (s'il est installé sur votre PC) grâce à make vs2015. Cette commande regénérera à chaque fois les réglages, donc REGENIE=1 n'est pas nécessaire.
  • Vérifiez bien que vous avez SDL 2 2.0.3 ou 2.0.4 comme les versions précédentes sont instables.

Fedora Linux

Vous aurez besoin d'installer quelques prérequis pour votre distribution. Vérifiez bien que vous avez SDL 2 2.0.3 ou 2.0.4 comme les versions précédentes sont instables.

sudo dnf install gcc gcc-c++ SDL2-devel SDL2_ttf-devel libXinerama-devel qt5-qtbase-devel qt5-qttools expat-devel fontconfig-devel alsa-lib-devel

La compilation est à faire exactement comme décrit ci-dessus dans la section Toutes les plateformes.

Debian et Ubuntu (incluant les appareils Raspberry Pi et ODROID)

Vous aurez besoin d'installer quelques prérequis pour votre distribution. Vérifiez bien que vous avez SDL 2 2.0.3 ou 2.0.4 comme les versions précédentes sont instables.

sudo apt-get install git build-essential libsdl2-dev libsdl2-ttf-dev libfontconfig-dev qt5-default

La compilation est à faire exactement comme décrit ci-dessus dans la section Toutes les plateformes.

Arch Linux

Vous aurez besoin d'installer quelques prérequis pour votre distribution.

sudo pacman -S base-devel git sdl2 gconf sdl2_ttf gcc qt5

La compilation est à faire exactement comme décrit ci-dessus dans la section Toutes les plateformes.

MacOS d'Apple

Quelques prérequis sont nécessaires avant de démarrer. Vérifiez bien que vous êtes sur OS X 10.9 Mavericks ou version ultérieure. Vous aurez BESOIN de SDL2 2.0.4 pour macOS.

  • Installez Xcode de l'App Store pour Mac
  • Lancez Xcode. Il téléchargera quelques prérequis additionnel. Laissez le tourner jusqu'à la fin avant de continuer.
  • Une fois fait, quittez Xcode et ouvrez une fenêtre du Terminal
  • Tapez xcode-select –install pour installer des outils additionnels nécessaires à MAME

Ensuite vous aurez besoin d'installer SDL2.

  • Allez sur ce site et téléchargez le fichier .dmg pour macOS
  • Si le fichier .dmg ne démarre pas automatiquement, ouvrez le
  • Cliquez sur ‘Macintosh HD’ (ou n'importe quel autre nom assigné au disque dur de votre Mac) dans le volet à gauche d'une fenêtre Finder, puis ouvrez le dossier Bibliothèque et glissez le dossier SDL2.framework de l'image disque de SDL vers le dossier Frameworks
Finalement pour commencer une compilition, uitlisez le Terminal pour naviguer jusqu'à où se trouve l'arbre du code source de MAME (la commande cd) et suivez simplement les instructions de compilation de la section Toutes les plateformes.

Il est possible d'avoir MAME marcher à partir de 10.6, mais c'est plus compliqué :

  • Vous devez installer clang-3.7, ld64, libcxx et python27 depuis MacPorts
  • Puis ajoutez ces options à votre ligne de commande make ou à useroptions.mak :

OVERRIDE_CC=/opt/local/bin/clang-mp-3.7
OVERRIDE_CXX=/opt/local/bin/clang++-mp-3.7
PYTHON_EXECUTABLE=/opt/local/bin/python2.7
ARCHOPTS=-stdlib=libc++

Soutien

Si vous appréciez NégaMAME et vous voulez nous apporter votre soutien, vous pouvez le faire via un don :

您的商业译于硅子

NegaMAME,对第三方前端合适的MAME分支版。

下载

您要从Negatron获得最大效益?即下载NegaMAME。将它们使用在一起既变成最佳复古游戏应用程序组合。

系统要求

硬件

  • 具有2 GHz处理器的计算机
  • 4 GB内存
  • 500 MB可用硬盘空间
  • 键盘、鼠标以及手柄

软件

与Linux的兼容

上面Linux系统的最低系统要求对于在本网站可下载的压缩文件适合。所有压缩文件将使用编译器和软件库当时可用的最新版本而编成。
为了确保您的系统拥有上述软件工具的最新版本,即执行下面命令行:

  • Fedora上:sudo dnf install gcc gcc-c++ SDL2-devel SDL2_ttf-devel libXinerama-devel qt5-qtbase-devel qt5-qttools expat-devel fontconfig-devel alsa-lib-devel
  • Debian或Ubuntu上:sudo apt-get install git build-essential libsdl2-dev libsdl2-ttf-dev libfontconfig-dev qt5-default
  • Arch Linux上:sudo pacman -S base-devel git sdl2 gconf sdl2_ttf gcc qt5

如果GCC、SDL、Qt等所需的库又不是上述或更新版本而NegaMAME又不执行,还有一个办法,即下载NegaMAME的源代码而编译成与您系统兼容的NegaMAME版本。该mamedev的网页解释如何编译MAME正版,对于NegaMAME也可应用。为了方便,您仍然参阅本网站的如何编译章节。

NegaMAME是一款免费下载的应用程序,在GPLv2协议下发布。所有源码在GitHub上就能找到。

旧版

本网页包含NegaMAME版本所有的文件库。每款与第三方前端不完全兼容的MAME版有一款相关的NegaMAME版。

文件库

Windows 10 logo

下面Windows版本都在Windows 10(64-bit)version 2004 build 19041.685上使用GCC 10.2.0将编译。

下面Windows版本都在Windows 10(64-bit)version 1903 build 18362.535上使用GCC 9.2.0将编译。

下面Windows版本都在Windows 10(64-bit)version 1803 build 17134.648上使用GCC 8.3.0将编译。

下面Windows版本都在Windows 10(64-bit)version 1803 build 17134.165上使用GCC 7.3.0将编译。

下面Windows版本都在Windows 10(64-bit)version 1803 build 17134.112上使用GCC 7.2.0将编译。

MacOS logo

下面macOS版本都在macOS Monterey 12.6.3上使用XCode 14.2、Clang 14.0.0和SDL 2.26.3将编译。

下面macOS版本都在macOS Mojave 10.14.4上使用XCode 10.2、Clang 10.0.1和SDL 2.0.9将编译。

下面macOS版本都在macOS High Sierra 10.13.4上使用XCode 10.0、Clang 10.0和SDL 2.0.8将编译。

下面macOS版本都在macOS High Sierra 10.13.4上使用XCode 9.4、Clang 9.1.0和SDL 2.0.8将编译。

MAME自0.186至0.189版本使用Clang 9.1.0无法编译成功。

Linux logo

下面Linux版本都在Fedora 31 kernel release 5.5.15-200.fc31.x86_64 LSB version core-4.1-amd64上使用GCC 9.3.1、SDL 2.0.12和Qt 5.13.2将编译。

下面Linux版本都在Fedora 31 kernel release 5.3.7-301.fc31.x86_64 LSB version core-4.1-amd64上使用GCC 9.2.1、SDL 2.0.10和Qt 5.12.5将编译。

下面Linux版本都在Fedora 28 kernel release 4.20.17-100.fc28.x86_64 LSB version core-4.1-amd64上使用GCC 8.3.1、SDL 2.0.9和Qt 5.11.3将编译。

下面Linux版本都在Fedora 28 kernel release 4.17.2-200.fc28.x86_64 LSB version core-4.1-amd64上使用GCC 8.1.1、SDL 2.0.8和Qt 5.10.1将编译。

如何编译

所有平台

  • 您每次修改编译选项,比如基于SDL的编译变成Windows本地的,例如将可执行工具生成加入编译过程,命令行下应该执行make REGENIE=1来重生成编译配置,如忘记做如此,则将会发出难以解决的问题。
  • 如果您要将CHDMAN等等各种可执行工具生成加入编译过程,给make命令添入TOOLS=1的编译选项即可,比如make REGENIE=1 TOOLS=1
  • 您可以进行具体游戏驱动的编译,给make命令添入SOURCES=<游戏驱动>即可,比如make SOURCES=src/mame/drivers/pacman.cpp REGENIE=1构建仅模拟Pac-Man的MAME文件,要注意本指令输入该必须添入选项的REGENIE来重生成配置。
  • 使用更多处理器的核心会有编译构建速度上的提升,添入-j参数即可。注意:处理器的多少核心加一就是最大应用的数字,更大不会再提升编译构建速度,其实还是会降低速度。比如跟四核处理器运行make -j5要导致最佳速度。
  • 虽然调试信息对大多数用户来说没有用,但是编译过程可以生成调试信息,添入SYMBOLS=1即可。

下面举例说明:

在有i5、i7等等四核处理器的电脑上构建具体Pac-Man驱动的MAME和可执行的工具如下:
make SOURCES=src/mame/drivers/pacman.cpp TOOLS=1 REGENIE=1 -j5

在有i3、笔记本电脑的i5等等双核处理器的电脑上构建MAME如下:
make -j3

平常构建NegaMAME如下:
make REGENIE=1 TOOLS=1 NOWERROR=1 STRIP_SYMBOLS=1 -j5

Microsoft Windows

微软视窗上编译MAME如下:

  • 请参阅MAME工具网站以获得在Windows上编译MAME的最新工具集。
  • 您首先需要从上述网站下载工具集。由于工具集周期地被更新,所以必须安装工具集的最新版本来编译MAME最新版本。
  • 如果Visual Studio 2015在您的电脑上被安装,可以使用它编译MAME,运行make vs2015即可。运行本命令每次重生成编译配置。因此,REGENIE=1的编译选项在这情况下就有用。
  • 因为SDL2早期版本都不太稳定的,请确保得到SDL 2.0.3或更新版本。

Fedora Linux

首先在您的发行版上安装一些必须的软件库如下。因为SDL2早期版本都不太稳定的,请确保得到SDL 2.0.3或更新版本。

sudo dnf install gcc gcc-c++ SDL2-devel SDL2_ttf-devel libXinerama-devel qt5-qtbase-devel qt5-qttools expat-devel fontconfig-devel alsa-lib-devel

编译过程如《所有平台》章节所述写的。

Debian与Ubuntu(包括Raspberry Pi和ODROID设备)

首先在您的发行版上安装一些必须的软件库如下。因为SDL2早期版本都不太稳定的,请确保得到SDL 2.0.3或更新版本。

sudo apt-get install git build-essential libsdl2-dev libsdl2-ttf-dev libfontconfig-dev qt5-default

编译过程如《所有平台》章节所述写的。

Arch Linux

首先在您的发行版上安装一些必须的软件库如下:

sudo pacman -S base-devel git sdl2 gconf sdl2_ttf gcc qt5

编译过程如《所有平台》章节所述写的。

Apple macOS

首先安装一些必须的软件库如下。请确保您的电脑在OS X 10.9 Mavericks或更新版本下,确保得到SDL2 2.0.4或更新macOS版本。

  • 使用Mac App Store安装Xcode
  • 运动Xcode。它要再下载另一些必须的软件库。请等待到执行完毕。
  • 等待执行完毕后,推出Xcode然而打开终端的一个窗口
  • 运行xcode-select –install以再安装一些MAME必须的工具

然后安装SDL2如下:

  • 访问此网站下载适用于macOS的.dmg文件
  • 如果.dmg文件没自动运动,就运动它
  • 访达的一窗口的左窗格中单击您Mac硬盘的名称(硬盘默认名称就是Macintosh HD)然而进入资源库文件夹,再然而把SDL2.framework文件夹从SDL磁盘映像拖动到Frameworks文件夹
最后使用终端运行cd命令导航到MAME工程根目录位置,跟着《所有平台》章节所述写的说明开始正式编译。

MAME通过比较更复杂的过程可以从10.6上运动:

  • 从MacPorts下载clang-3.7、ld64、libcxx、python27等编译工具
  • 然而给make命令或在useroptions.mak文件中添入下述编译选项:

OVERRIDE_CC=/opt/local/bin/clang-mp-3.7
OVERRIDE_CXX=/opt/local/bin/clang++-mp-3.7
PYTHON_EXECUTABLE=/opt/local/bin/python2.7
ARCHOPTS=-stdlib=libc++

支持

如果您乐于使用NegaMAME,也要支持我们的话,欢迎捐助我们: