FORUMS
Remove All Ads from XDA

MonoNX - an experimental Nintendo Switch emulator for Android

15 posts
Thanks Meter: 46
 
By Cyubii, Junior Member on 17th February 2019, 04:46 PM
Post Reply Email Thread
Hello there, I've been working on this for a few days and I thought I'd finally show it off!

Please note that there is absolutely no graphics, only console output! Also, it's not very fast (only runs at 15fps on a SD625) and it only runs old homebrew (e.g. first libtransistor tests and such).

Discord support: https://discord.gg/fn8VV9T
Source code: https://github.com/Cyuubi/MonoNX

Credits:
Ryujinx Team - For the base of MonoNX, without them this would not be possible! Show them some love over at their GitHub (https://github.com/Ryujinx/Ryujinx).
Xamarin - For allowing us C# developers to program on Android.
Dr.Hacknik - Logo design.

Requirements:
An ARM64 or 64-bit x86 processor

NOTE: If you get a ROM load error, close out of MonoNX and go into app info and turn on and off storage permissions. This should fix the issue.

App download: https://play.google.com/store/apps/d...ubiapps.mononx
Test ROM download: https://drive.google.com/open?id=1cV...ch2m6k67t_q5c_
The Following 43 Users Say Thank You to Cyubii For This Useful Post: [ View ] Gift Cyubii Ad-Free
 
 
18th February 2019, 03:26 PM |#2  
abacate123's Avatar
Senior Member
Thanks Meter: 1,767
 
More
Interesting, I'll be looking forward this project. Thanks.
The Following 2 Users Say Thank You to abacate123 For This Useful Post: [ View ] Gift abacate123 Ad-Free
18th February 2019, 03:44 PM |#3  
Pankaj Rai's Avatar
Senior Member
Flag mumbai
Thanks Meter: 359
 
Donate to Me
More
Great work , but can't load rom.
18th February 2019, 04:04 PM |#4  
OP Junior Member
Thanks Meter: 46
 
More
Quote:
Originally Posted by Pankaj Rai

Great work , but can't load rom.

NOTE: If you get a ROM load error, close out of MonoNX and go into app info and turn on and off storage permissions. This should fix the issue.
18th February 2019, 04:16 PM |#5  
VIRGIN KLM's Avatar
Senior Member
Thanks Meter: 97
 
More
Very nice, BUT, I have a very important question.
Do you use on aarch64 target devices dynamic recompilation or you execute directly the code?
If not, would you mind to give an insight?
18th February 2019, 04:45 PM |#6  
OP Junior Member
Thanks Meter: 46
 
More
Quote:
Originally Posted by VIRGIN KLM

Very nice, BUT, I have a very important question.
Do you use on aarch64 target devices dynamic recompilation or you execute directly the code?
If not, would you mind to give an insight?

Sadly, Hypervisors aren't really possible on Android from Xamarin... So we translate ARM64 -> MSIL/CIL -> ARM64, this is quite a hackjob but it works however it kills performance. MonoNX also works on 64-bit x86 processors, so the same thing works for this.
18th February 2019, 04:52 PM |#7  
Senior Member
Thanks Meter: 37
 
More
Toggling the storage permission back and forth changes nothing for me.

Sent from my crosshatch using XDA Labs
18th February 2019, 05:00 PM |#8  
VIRGIN KLM's Avatar
Senior Member
Thanks Meter: 97
 
More
Quote:
Originally Posted by Cyubii

Sadly, Hypervisors aren't really possible on Android from Xamarin... So we translate ARM64 -> MSIL/CIL -> ARM64, this is quite a hackjob but it works however it kills performance. MonoNX also works on 64-bit x86 processors, so the same thing works for this.

Hmm, that still sounds though like something that CAN be tackled among the line.
Like what if somebody would switch (no pun intended, hahahaha) the codebase to Firebase?
18th February 2019, 09:54 PM |#9  
OP Junior Member
Thanks Meter: 46
 
More
UPDATE: Apparently it works with under 4GB RAM. (probably using swap though)
18th February 2019, 10:00 PM |#10  
AlexCmb's Avatar
Senior Member
Flag Nantes
Thanks Meter: 37
 
More
Hello, the app force close for me (test rom and snake homebrew). I can not launch anything. I tried turn on and off. Doesn't help.
18th February 2019, 10:01 PM |#11  
Revenant Ghost's Avatar
Senior Member
Thanks Meter: 142
 
More
Here's what I get when I load the test ROM.

EDIT: The emulator closes shortly afterwards. I have a OnePlus 5 with Android 9.0.3.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20190218-155852.jpg
Views:	2378
Size:	201.0 KB
ID:	4707986  
Post Reply Subscribe to Thread

Tags
64-bit, arm64, emulator, switch

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes