MAME and QMC2 Installer. Bash script to download MAME and QMC2 source files then build and install them.
Compiles both packages from their source files (downloaded afresh) and installs the compiled binaries and files to their expected locations.
For OS: Linux
Tested With: Ubuntu flavours
- Lead Author: Lee Hodson
- Donate: https://paypal.me/vr51
- Website: https://journalxtra.com/gaming/mame-qmc2-installer/
- This Release: 12th Dec 2021
- First Written: 27th Feb 2018
- First Release: 27th Feb 2018
Copyright 2018 OneUP! https://journalxtra.com
License: GPL3
Programmer: Lee Hodson <journalxtra.com>, VR51 <vr51.com>
Use of this program is at your own risk
- Install/Update MAME from source (includes tools)
- Install/Update QMC2 from source (includes QMC2, QMC2 Arcade, QCHDMAN and the man help pages)
- Update MAME default data files: artwork, bgfx, ctrlr, hash, keymaps, language, plugins, roms and samples.
- Create default output data directories: cfg, nvram, memcard, inp, sta, snap, diff and comments
- Delete, or not, stale files before new files are downloaded. Option set affects only actions committed.
- Set the number of parallel jobs make should use during build process.
- Install packages required to successfully build MAME and QMC2. This option shows until used.
https://journalxtra.com/gaming/mame-qmc2-installer/
Download the script from here
Ensure the script is executable.
- Right-click > properties > Executable
- OR
- chmod u+x oneup.sh
Launch by clicking the script file or by typing bash oneup.sh at the command line.
- MAME will be compiled in /home/USER/src/mame
- QMC2 will be compiled in /home/USER/src/qmc2
- MAME and QMC2 will install to their default locations
- MAME default data files will be installed to /home/USER/.mame/
- MAME default output data directories will be installed to /home/USER/.mame/
- This installer assumes SDL2 and QT5 can be installed into the active system without conflicts.
- Files that exist in $HOME/src/mame and $HOME/src/qmc2 will be overwritten or updated by this program.
OneUp! uses sudo privileges to install compiled binaries and during file updates.
OneUp! asks for sudo permissions when installing software and/or when it is about to remove stale directories. Directories are not removed with sudo privileges. OneUp! uses sudo to change the user and owner of the directories and files to be removed or overwritten so that they can be removed or overwritten under the active user's credentials.
You will need game and arcade ROMs to use MAME enjoyably.
Visit https://journalxtra.com/gaming/download-complete-sets-of-mess-and-mame-roms/ to find some.
- Adjusted the list of software installed prerequisite to installation of MAME or QMC2
- QMC2 Installer: Fixed QMC2 download bug that occured when OneUp! was run in installer mode for the first time.
- MAME Installer: Changed
git clone
togit clone depth 1
to prevent download of unnecessary MAME source data. Thank you i30817 for this suggestion.
- Fixed variable call. Had forgotten to brace array variable ${conf[1]}. Resolves MAME update error.
- MAME Installer/Updater bugfix. Had forgotten to CD to the correct build directory.
- New options
- Redesigned code
- Redesigned options layout