Coder Social home page Coder Social logo

kajinka13 / mame4ios Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yoshisuga/mame4ios

0.0 1.0 0.0 57.98 MB

iOS port of MAME

Shell 0.01% Makefile 0.22% C 96.04% Java 0.27% HTML 0.03% Objective-C 0.59% C++ 2.79% Groff 0.05% GLSL 0.01% Batchfile 0.01%

mame4ios's Introduction

MAME4iOS

Original Author: David Valdeita (Seleuco)

This is a port of MAME for iOS. The currently supported rom set version is 0.139.

It has been updated to compile and run on Xcode 7/iOS 9 by Les Bird (http://www.lesbird.com/iMame4All/iMame4All_Xcode.html), and he has graciously added support for mFi Controllers.

Installation / Sideloading

Requirements: Mac with Xcode 7

Building MAME4iOS requires a prebuilt MAME binary. It was not included in this repo due to its large size. This is done by running make at the root directory of the project. Or, you can download a prebuilt binary here. It will work for most modern iOS devices. Place the file in the root directory of the repo.

Even if you are not in the paid Apple Developer Program, you can sideload the app using a Mac with Xcode 7.

  1. Open the Xcode project in xcode/MAME4iOS/MAME4iOS.xcodeproj
  2. Make sure you have the libmamearmv7.a file in the root of your project (it should not be red).
  3. If you are a developer, build and run on your device
  4. If you are not a developer, open Preferences and add your Apple ID, select your Personal Team, and create an iOS Development Profile.
  5. Select the project name on the left pane and make sure your personal team is selected
  6. Hit the run button to install on your device

mFi Controller Support

Pair your mFi controller with your iOS device, and it should 'just work'.

Up to 4 mfi controllers are supported. I've tested it with 2 mfi controllers and it seems to work ok. I was running MAME4iOS on my iPhone 6 Plus with a Gamevice for iPhone 6 controller and a MadCatz C.T.R.L i controller while AirPlay-ing to my Apple TV 4 and it worked great :)

Hotkey combinations

The following hotkey combinations are supported:

  • Start game (PAUSE)
  • Insert coin (Hold L and press PAUSE)
  • Open menu (Hold R and press PAUSE)
  • Exit game (Hold X and press PAUSE)

Dual analog support

The right stick on the extended controller profile is fully supported, with support for 4 players (thank you @DarrenBranford!)

Trigger buttons

The trigger buttons are mapped to analog conrols and should be useful in assigning for pedal controls, for example.

mame4ios's People

Contributors

darrenbranford avatar yoshisuga avatar

Watchers

 avatar

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.