Comments (2)
Documentation WIP
Building libretro-mame
Install build dependencies
Windows
- Begin by installing and configuring the RetroArch msys2 build environment as described in that documentation: https://docs.libretro.com/development/retroarch/compilation/windows
- From the msys2 console, install python with the command
pacman -S python
Clone the repository
git clone http://github.com/libretro/mame
cd mame
general make
syntax
Build type | Command |
---|---|
Complete build | make -f -j3 Makefile.libretro |
Arcade-only build | make -f -j3 Makefile.libretro SUBTARGET=arcade |
Softlist-only build | make -f -j3 Makefile.libretro SUBTARGET=mess |
Platform-specific make
syntax
Platform | Command |
---|---|
64-bit processors | make -f -j3 Makefile.libretro PTR64=1 |
Building a previous version
!!! Important
If you want to build a previous version of MAME, begin by making sure that you can build the most recent version.
Once you have built the most recent version of MAME to establish that your build environment is complete, reset the contents of the repository to a clean state:
make clean
git reset --hard
!!! Warning
These commands will delete any files in your mame
subfolder that are not in the libretro/mame
github repository.
checkout
the previous version source
See the section "Commit hashes for previous versions" below to find the correct commit hash. For example, if you wish to build MAME 0.205, the corresponding commit hash is b691c38
.
Use this commit hash and the git checkout
command to roll back the source to your chosen version:
git checkout b691c38
Commit hashes for previous versions
Version | Commit |
---|---|
mame0207 | 40fc339 |
mame0206 | cf02fe3 |
mame0205 | b691c38 |
mame0204 | c6150e7 |
mame0203 | b57a140 |
mame0202 | 856478f |
mame0201 | 4dc302e |
mame0200 | ff19cd3 |
mame0199 | f2e805a |
mame0198 | c5f6a62 |
mame0197 | 74293f8 |
mame0196 | e8f2016 |
mame0195 | e44e85b |
mame0194 | 5be2496 |
mame0193 | bf28b34 |
mame0192 | d771f54 |
mame0191 | a5db728 |
mame0190 | f57574c |
mame0189 | 2beedc5 |
mame0188 | 7b45ec1 |
mame0187 | 1d9648b |
mame0186 | e4c6cb1 |
mame0185 | fe01a13 |
mame0184 | 7768128 |
mame0183 | 4ee22dc |
mame0182 | 22c42ab |
mame0181 | 3a1651e |
from docs.
I think that's a good idea. I frequently tell people "checkout the desired revision from git and compile" but I don't think anyone has ever taken me up on it :P
from docs.
Related Issues (20)
- Has "Core updater" been renamed to "Core downloader"? HOT 1
- Controller bug on FireTV stick OS 7.x.x HOT 3
- . HOT 1
- Filename in wrong case in Gambatte palette docs
- ppsspp retroarch Core is bug internal Cheats is clear file in save Cheats psp Folder
- core Beetle PSX HW RetroArch OpenGL3.3 support HOT 3
- 404 in Scummvm docs HOT 3
- Dolphin Crashing in 6th and 7th gen Intel HOT 13
- Flickering graphics on YabaSanshiro HOT 1
- MelonDS: BIOS files corrupts save data
- Searches preceded by a parenthesis fail.
- [Feature Request] Mouse/stylus cursor mirrored to the top/non-touch screen. HOT 1
- Wrong image for Gambatte GB - Light palette
- Linking Fails When Building for iOS HOT 1
- Broken link to the Discord server HOT 1
- libretro-build-ios-arm64.sh crashes if current path has a space in it
- The Facebook Portal page is AI-generated and almost nonsensical
- Please document "Content dir" HOT 2
- [TOP PRIORITY] Generating a controller profile: Mention where the file will be saved HOT 2
- https://docs.libretro.com/guides/download-cores/: Add a section how to manually download cores HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docs.