-
Notifications
You must be signed in to change notification settings - Fork 445
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
create "Compiling MAME (0.181-latest)" doc #267
Comments
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 |
Documentation WIPBuilding libretro-mameInstall build dependenciesWindows
Clone the repository
general
|
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 |
There has always been a stream of people requesting previous versions of the MAME core.
I do realize that not all of those people are going to be able to compile their own core for reasons of technical proficiency or because they are using a difficult platform to compile for like Android.
However I believe we could use not just a compilation guide for MAME-git but one that has a section describing how to build older commits.
The text was updated successfully, but these errors were encountered: