Giter VIP home page Giter VIP logo

Comments (2)

markwkidd avatar markwkidd commented on August 19, 2024 1

Documentation WIP

Building libretro-mame

Install build dependencies

Windows

  1. Begin by installing and configuring the RetroArch msys2 build environment as described in that documentation: https://docs.libretro.com/development/retroarch/compilation/windows
  2. 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.

hizzlekizzle avatar hizzlekizzle commented on August 19, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.