This is a copy of: https://github.com/kevsmithpublic/MameAppleTV which is based on Les Bird's code: http://www.lesbird.com/iMame4All/iMame4All_Xcode.html
The original work is based on iMAME4all which is a iOS universal app, port of MAME 0.37b5 emulator by Nicola Salmoria for all iOS devices (iPad HD, iPhone 4G , iPod touch and older) based on GP2X, WIZ MAME4ALL 2.5 by Franxis.
I'm making fixes to get it to compile under Xcode 8.x and Swift 2.x
To get this to work you need:
- A real Apple TV device, this won't work in the simulator.
- Drag the rom zip file into the resource folder in the Xcode project so they are copied to the device (Should appear as files in Build Phases/ Copy Bundle resources)
Apple TV - Brief guide to using to play game (Tested with 1942,Donkey Kong, Raiden)
- Turn the controller on it's side (It will work both directions but I found this easier)
- Select rom using up down on dpad
- Press play to select
- Swipe left/right for OK message
- Hold play and press dpad for credit
- Hold play and press dpad for start
The code needs some work but you can play basic games
Areas that need work:
- Sound - fix arm64 assembler which has been commented out
- Apple TV remote support (WIP)