AppleTV (4th Gen) running Mame! (tvOS)

  • 7 лет назад
This is something Ive always wanted on the AppleTV. I was lucky enough to get hold of the AppleTV developers kit and here is the result using tvOS beta 2.\r
\r
The tvOS app is based on Les Birds code I found here :- \r
\r
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. \r
\r
I created a target for tvOS and set about getting the code to compile for arm64 (Mandatory for AppleTV), fixed a varierty of compiler and linker errors. Removed code which was incompatible with tvOS frameworks and simplified code to work on tvOS. Added a basic icon compatible with tvOS. I added some tweaks to the source to allow the pause button to exit the game and supporting the resolution for the 1080p display.\r
\r
The controller being used is the SteelSeries Stratus XL and paired to the AppleTV via the Bluetooth settings.\r
\r
Most games are running well though there are some sound issues with Metal Slug and Street Fighter which I suspect are arm64 related which I still need to investigate.\r
\r
Dont expect to see this on the App Store any time soon as Apple doesnt allow emulators of any kind.\r
\r
Source Code\r
- \r
\r
To get this to work you need \r
\r
- A real Apple TV device. This wont compile for the simulator.\r
\r
If your having issues with compile errors, read this issue on github\r
\r