Homebrew WIP Experimental Switch emulator in C#

gdkchan

Well-Known Member
OP
Member
Joined
Jul 8, 2015
Messages
181
Trophies
0
Age
26
XP
425
Country
Brazil
This is an experimental emulator, currently in early stages of development, that I started last year. The main difference from other emulators is that it is written in C#, instead of other languages like C++ where emulators are usually written. It translates the Arm64 machine code into the .NET intermediate language (MSIL), which in turn is transformed by the .net JIT (RyuJIT) into x86 machine code.

Demos

Currently, the emulator can only run a few homebrew apps, and it is quite slow too.

Running Sonic 3 on the PicoDrive retroarch port (video): https://gfycat.com/NiceWealthyEastsiberianlaika

It doesn't run any commercial games yet, althrough Puyo Puyo Tetris show some logos:
CF9gQP6.png
However it gets stuck on that screen due to unimplemented audren:u functionality (and its also really really slow).
Other games usually fail earlier due to unimplemented services or bugs due to poorly implemented svc and/or services.

Source:

The source can be found on the following repository: https://github.com/gdkchan/Ryujinx

The .NET Core runtime or SDK is necessary to run it.
Any contribution, suggestion or constructive criticism is always welcome.
If you have some homebrew that currently doesn't work on it, I also accept PMs with the compiled NRO/NSO and source code if possible and will work to make them work. LibNX is know to be broken because I don't have any app compiled on it.

Special thanks goes to the people working on reverse engineering the Switch OS and writing the docs at Switchbrew.

Discord:

Thanks to Dr. Hacknik we now have a Discord server! If you want to get in touch, ask questions or want to contribute to the project, join our server: https://discord.gg/VkQYXAZ
 
Last edited by gdkchan,

The Real Jdbye

*is birb*
Member
Joined
Mar 17, 2010
Messages
23,380
Trophies
4
Location
Space
XP
14,003
Country
Norway
That's an interesting approach to coding an emulator, I wonder if it'll be as fast as native code.
I'm a C# coder myself, so I find this pretty cool.
Good luck with your project, looking forward to seeing how it progresses.
 
  • Like
Reactions: Dr.Hacknik

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • BigOnYa @ BigOnYa:
    I'd rather spend like $150 more for a surround receiver.
  • K3Nv2 @ K3Nv2:
    I bought the game at launch never fucked with it until recently
  • BigOnYa @ BigOnYa:
    Its fun, I like it, even tho I'm not a big harry potter fan. Like a wizard rpg. Flying around on a broomstick is cool.
  • K3Nv2 @ K3Nv2:
    Flying sucks ass on it
  • BigOnYa @ BigOnYa:
    Nuh just takes a min to get used to. I think you can upgrade or buy new broomstick also that are better.
    +1
  • K3Nv2 @ K3Nv2:
    I weirdly like inverted controls on all flying type games
  • BigOnYa @ BigOnYa:
    Prob can change it, inverted flying controls.
  • K3Nv2 @ K3Nv2:
    Only thing that annoys me is trying to find wtf to do in it
    +1
  • BigOnYa @ BigOnYa:
    Alright off to the store, later gators.
    +1
  • K3Nv2 @ K3Nv2:
    Some places amaze me were not in network with your insurance would you still like an appointment
    +1
  • AncientBoi @ AncientBoi:
    uhhh, I think I'll just stick with my PSP 3001
  • AncientBoi @ AncientBoi:
    lol, Now I gotta go to the store for more Coffee Mate n other stuff.
  • Xdqwerty @ Xdqwerty:
    i downloaded final fantasy vii into my tv stick
  • Xdqwerty @ Xdqwerty:
    i mean, the game was already there but its the japanese version
  • Xdqwerty @ Xdqwerty:
    and i only downloaded disc 1 so far bc of storage stuff
  • Psionic Roshambo @ Psionic Roshambo:
    @BigOnYa, yeah the patty on McDs burger is 1/10th of a pound now and I think that's the pre cooked weight lol
  • Psionic Roshambo @ Psionic Roshambo:
    I use the app for the 20% off coupon and it's still over priced
  • Xdqwerty @ Xdqwerty:
    @Psionic Roshambo, why is mcdonalds overpriced if their food is bad?
  • Xdqwerty @ Xdqwerty:
    i mean why is mcdonalds food overpriced
  • Psionic Roshambo @ Psionic Roshambo:
    Inflation and greed
    +1
  • ZeroT21 @ ZeroT21:
    it's just fries, make 'em at home
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    I make potato wedges at home with spices and stuff lol
    Psionic Roshambo @ Psionic Roshambo: I make potato wedges at home with spices and stuff lol