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,006
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
  • Xdqwerty
    what are you looking at?
  • BakerMan
    I rather enjoy a life of taking it easy. I haven't reached that life yet though.
  • Xdqwerty @ Xdqwerty:
    @Psionic Roshambo, why are most new south park episodes half hour specials?
    +1
  • K3Nv2 @ K3Nv2:
    @Psionic Roshambo, let me get a Netflix account I've always been nice to you
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I made a honey pepper glazed turkey breast for dinner turned out pretty bomb
  • K3Nv2 @ K3Nv2:
    We can Netflix and chill
  • Xdqwerty @ Xdqwerty:
    Nvm not half hour, but hour long
  • Xdqwerty @ Xdqwerty:
    Normal south park episodes are already half hour
  • Psionic Roshambo @ Psionic Roshambo:
    Got 2 free Xumo boxes they work pretty good
  • K3Nv2 @ K3Nv2:
    I'm happy to get anything most series don't make it pass 6 seasons
  • Psionic Roshambo @ Psionic Roshambo:
    Except Stars and Encore those are being a bitch lol
  • K3Nv2 @ K3Nv2:
    I may consider that onn pro box finally a media box with type A ;O
    +1
  • Xdqwerty @ Xdqwerty:
    @K3Nv2, cuz the companies don't want em to
  • K3Nv2 @ K3Nv2:
    No it's revenue and demand south park could argue has a bigger audience than family guy about the same
    +1
  • K3Nv2 @ K3Nv2:
    Family guy is worth 300mill south parks worth 1Bill according to the interwebs
  • Xdqwerty @ Xdqwerty:
    @K3Nv2, probably cuz family guy is more disliked compared to south park
  • K3Nv2 @ K3Nv2:
    It just does the same formula south park can press buttons without going overboard
  • Xdqwerty @ Xdqwerty:
    And bc most of the family guy budget is spent on the voice actors rather than on the animation
  • K3Nv2 @ K3Nv2:
    Southpark could spend 30k on a animated dick and people would laugh at it
    +2
  • K3Nv2 @ K3Nv2:
    lol one prescription to Lizzo
  • Xdqwerty @ Xdqwerty:
    who is lizzo?
  • Xdqwerty @ Xdqwerty:
    yawn
  • BakerMan @ BakerMan:
    guys, doge is dead
  • BakerMan @ BakerMan:
    let's get some o7s for that legendary dog

    o7
  • Xdqwerty @ Xdqwerty:
    i think its raining
    Xdqwerty @ Xdqwerty: i think its raining