Funded! This project was successfully funded on December 13, 2012.

Photo-main
Play
00:00
00:00

Port of the popular open-source Nintendo 64 emulator "Mupen64Plus" to the OUYA video game console.

Porting Mupen64Plus to OUYA

(Nintendo 64 Emulator)

Hey, everyone, I'm Paul Lamb.  For the past couple of years, I've been working on a port of the popular open-source Nintendo 64 emulator "Mupen64Plus" to Android.  It is a functional, working emulator which works on a large variety of Android devices, and is currently published for free on the Google Play Store as "Mupen64Plus, Android Edition".  This Kickstarter campaign is to fund porting this app to the OUYA video game console.

Most of us have fond memories of our childhood that define us.  Many of mine are of experiencing the classic Nintendo 64 games like Mario 64 and Zelda Ocarina of Time.  The main reason I started this project nearly two years ago, was because I wanted to relive those memories.  Most of these games were never made for any other system, and if not for emulators, they would eventually be lost to history.

Playing N64 games on my phone is great of course, but the OUYA provides the irresistible prospect of being able to play those classic games the way they were originally intended - controllers and TV.  I am really excited about this!

History and Past Experience

I've been into programming for a very long time .. actually started in the Third Grade. Over the years, I've had experience with a wide variety of applications including interactive web content, databases and interfaces, 2D and 3D graphics in a variety of different languages, video games, and mobile Android development. I currently work as a web/ PHP/ Android developer for Ericsson in Plano, Texas.

The concept of porting a Nintendo 64 emulator to Android began two years ago, back in December 2010. I had been playing around with various N64 emulators on my PC, including Project64 and Mupen64Plus. I was so impressed with the progress that had been made on Mupen64Plus since I'd used it last, that I decided to dig around in the source code. I really fell in love with the API and the modular nature of the code. I decided to see if I could contribute to the emulation effort by attempting to port the code to an Android app. Out of respect for Richard and his team, I decided to call my project Mupen64Plus, Android Edition (AE). In the spirit of open source and the GPL, the compiled app and source code have always been free to download on my website, it's easy to branch, and we have a public repository on github.

The biggest initial challenge was the fact that the core dynamic recompiler for Mupen64Plus was written in x86 assembly language, while most Android devices have ARM CPUs. A talented developer called Ari64 really hooked me up by working with me one-on-one to adapt his ARM dynarec he wrote in his port for the Open Pandora. A couple of other talented developers, Adventus and Kris, provided another important piece: video plug-ins written for GLES2. And Slouken and Pelya provided the necessary SDL components. A lot of other little snippets from several other projects and developers also went into bringing all the big pieces together.

Mupen64Plus AE first became a functioning emulator (core, RSP, input, audio, and video all running) in October 2011, with Mario's happy mug announcing "It's-a me! Mario!" right from the screen of my phone! Alpha Testing began shortly after. There were a lot of initial serious problems, but with the help of a great community of testers and developers, we began squashing them at a break-neck pace! The most serious bugs were resolved and a rudimentary GUI was in place in only a couple short months.

Beta Testing began in December 2011, and I published the app on the Google Play Store, to get the word out to a wider audience. During Beta Testing, Mupen64Plus AE has had nine major and three minor published updates. There is a laundry list of bug-fixes, improvements, and features that I and the other talented developers on our team have implemented. We are currently working on a major overhaul of the GUI, which should be ready to publish before this Christmas. This app is an accomplishment I am very proud to have had such a major role in achieving. According to Google's records, branches of the app previously published on the Play Store have been installed on over a million devices! Mupen64Plus AE itself has had over 250,000 installs.

Working prototype

To see the emulator in action, you just need an Android phone or tablet. Preferably, you'll need at least ARMv7a, 1Ghz, single-core (will also work with some tweaking on a few ARMv5 and ARMv6 devices if they have support for GLES2). Either stop by my forum at http://www.paulscode.com, or look up "Mupen64Plus AE" on the Google Play Store. Keep in mind that the app is written for Android, and the OUYA video game console is built on Android.. so you can expect the OUYA port to have very similar results as other modern dual-core Android devices with similar hardware specs.

Visual examples

Here are some screen-shots of the app, for those of you who do not have a compatible Android device.

Testimonials from Players

"This is truely the greatest app ever made. Nothing else compares. I will and do recomend this to everyone."

"This is THE ONLY legitimate n64 emulator available. It meets the licensing requirements of mupen64plus, and is the real deal, not ad-infested cr**. Also great on tablets, especially with a game controller."

"I NEVER bother to rate apps, and yet I have to give this one the effort. Runs zelda ocarina nearly perfectly, and apparently the app is only in beta!"

"Words do not describe how much I love this app."

Plan for Project Completion

I've spent a great deal of time here talking up my Android app. That may seem a little strange, considering this Kickstarter campaign is to fund a port to the OUYA video game console. But this is all actually very relevant, because the OUYA itself is built on Android. According to the OUYA team, going from Android to OUYA is a seamless process.  The port shouldn't be too difficult; most of the components of Mupen64Plus AE will compile and run on the OUYA right out of the box.  In many ways, customizing to the OUYA will be easier than supporting vanilla Android, since there is only one set of hardware to target and optimize for.

The main cost of this project is pre-ordering the OUYA dev kit, in order to receive it early (in January) so that I can work on the code and have it ready to deploy when the OUYA is expected to hit the general market in March/ April.  

The funding goal is set at $800.  If that is all the campaign receives, I will make up the difference (after Kickstarter and Amazon take their cut) of the OUYA dev-kit cost.  The emulator itself is free and open-source, licensed under the GPL. The OUYA port will also be free, with an in-app donation option to support future development.  If the project is over-funded, I will pre-order additional OUYA dev kits for other devs on the Mupen64Plus AE team.

There are two main pieces that will require change. The first is input, since the OUYA does not use touchscreen input. Mupen64Plus AE is actually designed to be flexible in this regard. The app now has native joystick support built in, and input has always been modular, with the on-screen controls having been removable for some time. For example, see this video blog by Xperia Gamer from back in November 2011, demonstrating the app flawlessly utilizing device-specific input:

The second thing that will require some changes is the menu system. Note that menus in Android can be navigated with most joysticks, so this will also be a relatively minor change.

The focus of this project will mainly be on presentation and customizing the look and feel to the OUYA. The basic time-line for this process:

January 2013:
- Receive OUYA dev-kit
- Ship extra OUYA dev-kits to members of Mupen64Plus AE dev-team (if enough funding)
- Set up the build environment
- Work out initial build problems (missing dependencies, OUYA-specific idiosyncrasies)

February 2013:
- Work project into mupen64plus-ae github repository
- Begin collaboration with dev-team (if enough funding)
- Clean up unnecessary code
- Send initial working builds to Kickstarter backers for testing (who received OUYAs early)
- Extensive tests to identify OUYA-specific issues
- Discuss possible presentation/ interface improvements with OUYA community

March 2013:
- Thorough code commenting and documentation
- Establish game-compatibility wiki
- Establish a bug-list
- Rearrange support forum in preparation for new users and testers

April 2013:
- Go live!

Don't forget: I'm hoping to be able to raise enough with this campaign to fund more OUYA dev kits for other members of the development team.  So the higher this project is funded, the better the quality of the initial release at the projected April 2013 publish date!

Risks and challenges Learn about accountability on Kickstarter

Of course, there's always the potential for snags with any creative project. Things can go wrong, take longer to complete than expected, etc. One such potential snag could be if important pieces of the OUYA SDK have been altered enough from vanilla Android that significant portions of the code need to be re-written. There is no way to anticipate this until I receive the dev kit. I will provide frequent updates to everyone, so everyone is in the loop. In the event that there is a delay, everyone will know well ahead of time.

Another potential risk is the possibility that OUYA decides not to support emulators. There are mixed feelings about emulation depending on who you talk to. Some large names have taken a hostile stance against emulators, while others are supportive. OUYA currently appears to be tolerant of emulators (one called SuperGNES is even supposed to come pre-installed, according to the Wikipedia page), but that could change in the future if there is pressure from outside entities who are less tolerant.

FAQ

77
Backers
$1,607
pledged of $800 goal
0
seconds to go
  • Pledge $10 or more
    You selected

    37 backers

    Receive frequent progress updates during development. Any backers who happen to also be expecting to receive their OUYAs early, will have access to test versions of the emulator and release candidates before anyone else.

    Estimated delivery:
  • Pledge $25 or more
    You selected

    10 backers

    Name added to the list of contributers in the credits section. Additionally, everyone who pledges $25 or more will be given the option to vote on the game compatibility bug-fixes and GUI customizations nominated in the $50 reward tiers.

    Estimated delivery:
  • Pledge $35 or more
    You selected

    4 backers

    Exclusive access to "A Hacker's Guide to the Nintendo 64", written by me. This e-book will cover some fun projects, like controller modifications, different adaptation strategies, ripping ROMs from game cartridges, coding your own homebrew N64 games, and a couple arduino projects. I will also attempt to create a hybrid OUYA / N64 controller (with a touchpad on top) that appears like a native OUYA controller to the console. The e-book will document either my success or failure. This reward is not included in any of the other reward tiers, so if you want two rewards, just add the amounts together.

    Estimated delivery:
  • Pledge $50 or more
    You selected

    0 backers

    Everyone who selects this reward will have the option of nominating a GUI feature or customization they want to see added. Once all nominations are received, everyone who has pledged $25 or more will be allowed to vote. Whatever wins the vote will be added to the GUI in a future update. There is no guarantee that I will be able to implement the feature or customization, but I will give it my best effort, and provide progress updates every week or so until it is finished.

    Estimated delivery:
  • Pledge $50 or more
    You selected

    1 backer

    Everyone who selects this reward will have the option of nominating a game compatibility bug they want to see fixed. Once all nominations are received, everyone who has pledged $25 or more will be allowed to vote. Whatever bug wins the vote will be placed at the top of my priority list to fix. There is no guarantee that I will be able to fix the bug, but I will give it my best effort, and provide progress updates every week or so until it is fixed.

    Estimated delivery:
  • Pledge $99 or more
    You selected

    7 backers Limited (13 left of 20)

    Receive a custom N64 controller with a USB plug on the end, that can be plugged into your OUYA to play N64 games just like on the original console! These limited-edition controllers will be hand-crafted by me personally, and will sport the Mupen64Plus OUYA logo on the case (logo artwork not yet decided on). Colors may vary, but will most likely be the classic grey. If you have your own N64 controller of a specific color you want modified into a USB controller, you can send it to me and I'll use it instead of the classic grey controller. If your controller is broken, I'll fix it during the modification process (just add an additional $30 to your pledge).

    Estimated delivery:
    Add $50 USD to ship outside the US
  • Pledge $100 or more
    You selected

    0 backers

    Nominate one change to the emulator or GUI. This change may be a bug fix, customization, feature, or whatever. Once all of these special nominations have been received, they will be presented to the OUYA community to vote on. This vote will be separate from those of the $50 tiers, and will have much higher visibility since it will involve the community, not just the backers on Kickstarter. There is no guarantee that I will be able to implement whatever is chosen, but I will give it my absolute best effort, I'll talk with other experienced developers about it, and provide weekly progress updates until it is implemented.

    Estimated delivery:
  • Pledge $500 or more
    You selected

    0 backers Limited (2 left of 2)

    Specify one GUI feature or customization you want to see added, and I will add it in a future update as soon as possible. IMPORTANT: there is no guarantee that I will be able to implement every possible feature, but I will give it my absolute best effort, I'll talk with other experienced developers about it, and provide weekly progress updates until it is implemented. If I am ultimately unable to implement the feature, you will have the option of choosing something else, until one you choose is implemented. This reward is limited and first-come, first-serve. "Estimated delivery" indicates when I will start working on the chosen customization or feature. It is impossible to estimate a completion date, as it depends on what you choose and how difficult it is to implement.

    Estimated delivery:
  • Pledge $800 or more
    You selected

    0 backers Limited (2 left of 2)

    Specify one game compatibility bug that you want to see fixed, and I will move it to the very top of my priority list. IMPORTANT: there is no guarantee that I will be able to fix every bug, but I will give it my absolute best effort, I'll talk with other experienced developers about it, and provide weekly progress updates about the bug until it is solved. If I am ultimately unable to solve the chosen bug, you will have the option of choosing a different bug, until one you choose is solved. This reward is limited and first-come, first-serve. "Estimated delivery" indicates when I will start working on the chosen bugs. It is impossible to estimate a completion date for the fixes, as it depends on what bug you choose and how difficult it is to fix.

    Estimated delivery:
Funding period

- (14 days)