Live data from Hacker News

Ryujinx (Switch Emulator) Update

blog.ryujinx.org

21–27 of 27 posts

Re: Ryujinx (Switch Emulator) Update

#21

Earlier quoted context omitted.

This is fairly common in many console emulators, see: - PS3 (Nvidia RSX): https://github.com/RPCS3/rpcs3/blob/master/rpcs3/Emu/RSX/rsx... - PS4 (AMD GCN): https://github.com/AlexAltea/orbital-qemu/blob/master/hw/ps4... The hardware is known ahead of time, so console platforms take advantage of that: GPU drivers allocate a context and hand it over to userspace which can do nearly anything it wants with it (abstraction…

Fascinating, and still an impressive technical lift especially for hobby projects without full time funding.

If you want to visit crazy-land, check out Dolphin's UberShaders; the gamecube had a mostly fixed function but super configurable graphics pipeline that can't really be translated well to modern hardware, and this caused lots of stutters and annoyances, so eventually some mad lad decided to write a GPU shader that just simulated the entire pipeline flow, no more translation or anything. Won't work on your laptop very well, but if you have an 8 year old dedicated GPU or newer, fixes the problem outright.

A similar thing was actually done in n64 world for RSP emulation, another proto-gpu device with it's own highly configurable microcode. First it was emulated in CPU with AngryLion, and someone else I think made it all run in compute shaders on the GPU, meaning you can FINALLY play nearly every n64 game accurately rendered, upscaled rendering if you want, and no slowdowns or bugs or glitches from more rare techniques, like the spy gadget in perfect dark.

Re: Ryujinx (Switch Emulator) Update

#22

Earlier quoted context omitted.

https://github.com/Ryujinx/Ryujinx/wiki/Ryujinx-Setup-&-Conf... > Your Switch keys and either your dumped firmware or recent game cartridge untrimmed XCI > Your dumped Nintendo Switch games or homebrew You don't need a hacked switch if you can find the homebrew apps / games / firmware on the internet and if you can find a donor set of keys. But that enters questionable territory

Fortunately, it's way easier to dump keys/etc from recent eras of of consoles than consoles of old.

How do you dump keys from newer versions of the switch that fixed the old way?

Re: Ryujinx (Switch Emulator) Update

#23

Earlier quoted context omitted.

Fascinating, and still an impressive technical lift especially for hobby projects without full time funding.

If you want to visit crazy-land, check out Dolphin's UberShaders; the gamecube had a mostly fixed function but super configurable graphics pipeline that can't really be translated well to modern hardware, and this caused lots of stutters and annoyances, so eventually some mad lad decided to write a GPU shader that just simulated the entire pipeline flow, no more translation or anything. Won't work on your laptop very…

"Ubershaders: A Ridiculous Solution to an Impossible Problem" https://dolphin-emu.org/blog/2017/07/30/ubershaders/

Hah. Yes. I appreciate people doing all of this because from a preservation standpoint these emulators will likely be maintainable long after working original hardware becomes very rare.

Re: Ryujinx (Switch Emulator) Update

#25

Earlier quoted context omitted.

It runs on Windows, macOS and Linux, how much more portable do you want it to be?

Android, iOS, Fuchsia

.NET also runs on Android and iOS so Ryujinx could support them in the future. Most emulators written in C/C++ don't run on all of those platforms either.

Re: Ryujinx (Switch Emulator) Update

#26

Earlier quoted context omitted.

Android, iOS, Fuchsia

.NET also runs on Android and iOS so Ryujinx could support them in the future. Most emulators written in C/C++ don't run on all of those platforms either.

Don't run, right now. But with some effort they could be ported by someone who wants. With .NET you are just shit out of luck.

Re: Ryujinx (Switch Emulator) Update

#27

Earlier quoted context omitted.

.NET also runs on Android and iOS so Ryujinx could support them in the future. Most emulators written in C/C++ don't run on all of those platforms either.

Don't run, right now. But with some effort they could be ported by someone who wants. With .NET you are just shit out of luck.

Why? .NET also runs on iOS and Android
Post reply on HN