12 ms·
Ryujinx: Experimental Nintendo Switch Emulator written in C#
- ekianjo 4y agoInterview here with its creator https://boilingsteam.com/an-interview-with-gdkchan-creator-of-ryujinx/ https://boilingsteam.com/an-interview-with-gdkchan-creator-o...
- uneekname 4y ago> Ryujinx has been tested on approximately 4,050 titles There are >4k titles available for Switch? Wow
- cheeze 4y agoNintendo loves their shovelware
- naikrovek 4y agolots of junk in the eShop.
- emodendroket 4y agoIt is one of the best-selling systems of all time and has a digital distribution service with a relatively low barrier of entry.
- ranger_danger 4y ago> low barrier of entry Strongly disagree. I'm a third party Nintendo developer and they do not just give out the Switch SDK to all devs like they did with 3DS/WiiU. My understanding is that you must pitch an idea to corporate and get approval before they will ever let you see any tools or docs at all.
- alphager 4y agoThe existence of "AAA Clock" and several clones of the concept points to a very very low barrier to entry.
- 0xcde4c3db 4y agoI'm not in the industry, but I've heard that for a lot of lower-spec/lower-budget games the original dev house never actually touches a console SDK. Instead they develop on PC with Unity/Unreal/FNA etc. to a console spec (in terms of target resolution, asset detail, mandatory behavior, etc.) and then hand it over to the publisher, which has a team or contractor that specializes in turning those intermediate products into a shippable console game.
- emodendroket 4y agoIt’s through the floor compared to what you would have had to do to mint a PlayStation 2 title.
- tysam_and 4y agoOne of the things I love about console releases is about 10-15 years or so after their release is the magical period where the really strange glitches and exploits are found. That's where the fun truly begins, and basically all of it happens on accurate emulators. :D For example, Mario Kart Wii (one of my all time favorite games, I used to time trial it for fun! Very zen but no rubber bumpers on the GameCube controller thumbpads and one of them had a piece snapped off the edge, so very bruised and hurting thumbs and such the next day) has seen loads of incredible TAS' in the last year or so, with the introduction of superhopping and a few other techniques bringing vehicles other than the flamerunner back into the limelight. Then there's also this incredible demonstration of beating the Legend of Zelda demo in Super Smash Brothers Brawl before the 5 minute timer runs out, using game state manipulation and pointer creation from positions/objects/etc, a technique I first saw popularized in Super Mario World a few years back. https://www.youtube.com/watch?v=jusgAEW4soo https://www.youtube.com/watch?v=jusgAEW4soo It's incredible both the debug tools people create and lengths of research that people will go to to be able to accomplish what many consider a 'silly' goal, one that often is oddly enough extremely grounded in an active community. Speedrunning is a beautiful thing and it's one of the foundations for how and why I work with neural networks in the way that I do today. In case you haven't seen this particularly excruciatingly cool demo before: https://www.youtube.com/watch?v=hB6eY73sLV0 https://www.youtube.com/watch?v=hB6eY73sLV0
- juliusgeo 4y agoI’m sure you are already aware of this video, but for those who are not: https://m.youtube.com/watch?v=kpk2tdsPh0A https://m.youtube.com/watch?v=kpk2tdsPh0A this video is an amazing exploration of the various ways speed runners will use glitches to their advantage.
- tysam_and 4y agoGosh, I must have watched that sleep-deprived a very long time ago last night, but I will have to take another look at that. So many views. Foggy memories, I think I remember seeing this. In any case, yay amnesia! Worth seeing again for the half-first time. ;PPPP
- nalzok 4y agoI wonder why Nintendo hasn't attempted to take it down. It seems that the only use of such a "Nintendo Switch Emulator" is to play pirated games?
- HideousKojima 4y agoWhile I'm sure it's the primary use by far, it's not the only one. Homebrew games, for example, are a legal use. And depending on your jurisdiction, ripping your own legally purchased games and playing them in an emulator is legal.
- teeray 4y agoThere has traditionally been a pretty vibrant homebrew community with Nintendo consoles.
- pdntspa 4y agoSigh... they have perfectly legitimate uses too. You can't play Zelda in 4K @ 60fps on a switch... I really wish this angle of thought would die. Stop parroting what the business fucks tell you.
- Freire_Herval 4y ago[dead]
- nalzok 4y agoMaybe make a pull request to the repo with what you said in the comment so that people like me don't have to ask this question in the first place? I assume this is a very frequently asked question.
- pdntspa 4y agoFor what? To ask them to add a disclaimer to pretty please not use it for piracy? Emulation is completely legal in the US. Its legality has been challenged in court and it won.
- 4y ago
- rootw0rm 4y agoyuzu is another good Switch emulator. here's a link to their latest progress report, they're a pretty good read: https://yuzu-emu.org/entry/yuzu-progress-report-mar-2023/ https://yuzu-emu.org/entry/yuzu-progress-report-mar-2023/
- VHRanger 4y agodoesn't boot TOTK at the moment though. Overall it tends to be better however.
- hitekker 4y agoThis is the only switch emulator which runs natively on Mac M1/M2 chips https://blog.ryujinx.org/the-impossible-port-macos/amp/ https://blog.ryujinx.org/the-impossible-port-macos/amp/
- circuit10 4y agoYuzu is at least working on it though
- VHRanger 4y agoI worked on some of those pull requests in 2021. One of the main issue is that the core Yuzu devs don't have this hardware to motivate them. One of the core ones that started the work went back to working on Citra as well, I think. At the time we could get 2d games to boot through MoltenVK, but had issues with things like geometry shaders and so on. Ryujinx managed to get fixes for those issues by having very clever graphics engineers resolve it. Those vulkan/moltenVK pipeline hacks would have to be backported to Yuzu. Also, we did it through straight compilation of the ARM JIT (so it'd work on intel macs) but this doesn't exploit the hypervisor bypassing the JIT like Ryujinx does. I think I've seen someone else doing the hypervisor trick in Yuzu but their fork wasnt submitted as a pull request. TL;DR definitely possible, but as any good open source issue it's lacking the one person with the perfect mix of skills, motivation and free time to actually spend the hours doing it.
- neonsunset 4y agoLooking forward to seeing how much % of performance improvement we'll get with the release of .NET 8 (even better arm64 codegen, better Dynamic PGO, which RyuJinx uses and more struct optimizations)
- ranger_danger 4y agoIt hasn't been updated in a while though and has way more bugs than the Intel version. Many tracks in Mario Kart are unplayable for example due to graphical corruption.
- emodendroket 4y agoI wouldn't call it "experimental" considering it's completely suitable for playing commercial games right now.
- zoover2020 4y agoIsn't this legal lingo to prevent 'tendo from DCMA requests?
- emodendroket 4y agoI don’t see this wording in the original page.
- zoover2020 4y agoOf course they don't admit this, duh.
- emodendroket 4y agoI meant it’s not described as “experimental” on the page, only in the link.
- DoctorOW 4y agoLook under "About". The title is just Github repo name + description.
- edandersen 4y agoRyujinx has replaced Stack Overflow as the canonical "C#/.NET" showpiece. And it is fantastic for it.
- oaiey 4y agoThere is still Unity ;) ... which okay is not exactly pure C# but ;)
- wokwokwok 4y agoThere is no universe in which Unity is a show case for “why should we pick c#?” The engine is C++, the C# integration is bad, the new ECS translates C# to C++ (or some cpp like IR) before it runs, and the whole thing is closed source and openly hostile to open source (eg. package managers) that might damage their revenue from the asset store. Don’t get me wrong; modern C# projects are pretty cool, but this is way cooler than Unity.
- LtdJorge 4y agoBurst translates C# to to LLVM IR (and first to some simplified C#, etc).
- jayd16 4y ago>the C# integration is bad, the new ECS translates C# to C++ (or some cpp like IR) This makes me suspicious of your take seeing as IL2CPP has been part of Unity for years and years and not the ECS stack. They also have a package manager now as well as custom/3rd party repo settings. But on the whole, yes. Unity is not a shining example of C#. Although its an example of how far you can hack with it.
- wokwokwok 4y agohttps://docs.unity3d.com/Packages/com.unity.burst@1.8/manual/csharp-hpc-overview.html https://docs.unity3d.com/Packages/com.unity.burst@1.8/manual... Burst and IL2CPP are different things. Burst is also a different “can’t believe it’s not c#” custom layer they invented, own and now have to maintain a separate fork of. (Apparently just maintaining IL2CPP wasn’t keeping them busy enough)
- oaiey 4y agoThat we get this link today has surely nothing to do that Zelda: Tears of a Kingdom was leaked yesterday? Surely not ;) Independent of a bit sarcasm, this project is a nice showcase how versatile C# and .NET is.
- manojlds 4y agoNot yesterday. Been a few days
- cogitoergofutuo 4y agoI personally chuckled when I saw this on the front page within minutes of finding out that the new Zelda is $70.
- oaiey 4y agoIf the this Zelda is as good as breath of the wild, it is worth every cent of it.
- cogitoergofutuo 4y agoThere’s probably a very high price ceiling for diehard Zelda fans! I was one myself until BotW, which in my opinion is the worst game with the Zelda name attached to it ever made. I hope by the time they get shake off the “endless grind for crafting materials in a giant featureless grass field” high they won’t be charging an arm and a leg for a proper Zelda game.
- yamtaddle 4y agoI enjoyed and beat BOTW (I think I even did all the shrines) but spent most of the time wishing it were the game they almost made. There's just not quite enough body to it, not enough content. Lots of great-looking empty space, lots of cool stuff that punishes you for actually using it (the horse taming is such a good little system... but you're not going to ride horses much, unless you like getting places less efficiently), stuff that feels half-baked or weirdly dead (all the towns), et c. Lots of cookie-cutter shrines, four forgettable and way-too-similar dungeons, some labyrinths that are trivially bypassed and don't really reward you for going through them "properly", et c. The lazy "our economy and game-loop-incentive system are broken so we'll just make weapons break really fast to make the player give a shit about mob drops" thing that lots of people hate (I was OK with it—but I'd have much rather seen a better solution to that problem) The best large element was probably the upgrade-nut (I forget what they were called) puzzles and a couple puzzley sidequests, but even those only had a few types, aside from a handful of (great!) one-offs. Mostly, it made me dream of a world in which Bethesda uses that engine or one like it for the next Elder Scrolls.
- timwaagh 4y agoGreat. Facilitating more piracy. Can't people wait at least until the successor is out? I understand that it's a good way to put your name out there by being the first to do a certain thing and upload to GitHub but it's also just wrong. Also am I stupid for buying a switch instead of emulating it?
- egoisticalgoat 4y agoWhile piracy is the most common use, it's not the only use for emulators. There's also the speedrunning communities, as well as modding communities which are steadily growing.
- solanav 4y agoYeah, we should restrict the creation of emulation software to authorized parties only. /s
- der_rod 4y ago> Also am I stupid for buying a switch instead of emulating it? No, while the emulation is pretty good, it's not perfect, and new titles won't always run out of the box. And things like online multiplayer naturally don't work. A Switch is a guaranteed-to-work way to play those titles, and arguably more convenient if you actually use the portability of it. There are of course non-piracy ways to use them. I own a hackable Switch and have dumped the games I purchased so I can play them in an emulator on my Steam Deck. But not every title will run perfectly that way, so sometimes the Switch is the only portable way of actually playing them.
- thaumasiotes 4y ago> And things like online multiplayer naturally don't work. A Switch is a guaranteed-to-work way to play those titles Online multiplayer won't work on a Switch either. It's a separate paid subscription service.
- ThatMedicIsASpy 4y agoOnline technically works on yuzu - it emulates the same capabilities as switches connected to each others locally. This doesn't mean there are no issues. A PC and a Steam Deck running Mario Kart will have desync issues due to the Deck not hitting 60fps 100% of the time resulting in a quick connection loss.
- haunter 4y agoThanks to them Pokemon Scarlet Violet is actually playable in smooth 60fps https://youtu.be/33Ao4elXwtc https://youtu.be/33Ao4elXwtc The Switch has many great quality ports but somehow Nintendo’s first party titles are so bad, as if they don’t care at all (casue people buy the Pokemon games no matter what)
- bakugo 4y agoDoes the mod actually work well without any major issues? I kinda dropped the game halfway through on console, the awful performance and graphics being the main reason why, but if it works well enough on an emulator now, I might grab my save and continue there.
- haunter 4y agoYes but you need a more or less top of the line PC. Most guides recommend an RTX 30xx at least + a very recent multi core CPU (Intel 12th/13th gen or AMD Ryzen 5000/7000). Also it depends on the resolution you want to play at. 4k is possible but it's also more demanding. 4k 60 fps for example https://www.youtube.com/watch?v=EEPzsoqqav4 https://www.youtube.com/watch?v=EEPzsoqqav4
- bakugo 4y agoI've got an 12600k and RTX 3070 so I'll give it a try.
- Kyrio 4y agoPokémon isn't a Nintendo first-party title, it's not developed internally and often considered third-party by the company, as they only own part of it. But nitpicking aside, the titles developed by Nintendo look and perform fine, they're often some of the most advanced titles on the platform, so I'm not sure where you got that idea.
- noirscape 4y agoThe ownership of Pokemon is an interesting little rabbit hole in general. The property technically isn't owned by Game Freak or Nintendo. Its instead owned by a holding company called quite literally "The Pokemon Company inc." TPCi is owned in equal parts by Nintendo, Game Freak and somehow the manufacturers of the card game, Creatures Inc. So you'd think Nintendo owns 33% of the Pokemon IP through TCPi, except they also have a significant amount of stock (not a majority of shares) in Game Freak. The exact amount isn't known but the result is that Nintendo most likely controls TCPi entirely. Also, just to head it off - the anime (the other most popular Pokemon product after the video games and card games) is made by Studio OLM (which also did the 1997 Berserk adaptation as well as a truckload of other anime based on Japanese video games) and they have no controlling stake in TCPi whatsoever.
- jhatemyjob 4y agoHow do you write C# for mac?
- becquerel 4y agoYou can write C# in VS Code. It's not the best-ever experience, but it's workable. If you just mean getting it running, .NET is cross-plat.
- CharlieDigital 4y ago> It's not the best-ever experience, but it's workable It's pretty damn good, IMO. Been using it personally building some rather large projects. The only time I miss Rider is when doing refactoring (Rider still much better for that) and code suggestions. Otherwise, VS Code is a great editor for C# IME.
- TobbenTM 4y agoRider is pretty good as an IDE, and .Net works on both M1/2 ARM as well as X64 macOS.
- TheBinaryGuy 4y agoVia .NET, which has been cross platform since 2016 or so (before that Mono was the preferred framework). For the UI bit, I'd recommend Avalonia UI (which is what Ryujinx uses as well). It's cross platform, has been out forever (2013 - from their FAQ page) and even runs on embedded devices. Rider (by JetBrains) has excellent Avalonia support via a plugin and is much better for other .NET stuff over Visual Studio for Mac.
- jasomill 4y agoRelevant aside: while the Ryujinx Avalonia UI has more features and is generally nicer, due to a small number of outstanding issues, Ryujinx uses an older GTK+ UI in its default builds. Avalonia builds are, however, readily available with each release, and auto-update just like standard GTK+ builds. See the project FAQ[1] for full details. [1] https://github.com/Ryujinx/Ryujinx/wiki/FAQ-and-Troubleshooting#-what-is-avalonia https://github.com/Ryujinx/Ryujinx/wiki/FAQ-and-Troubleshoot...
- vrglvrglvrgl 4y ago[dead]
- manojlds 4y agoHow is this on SteamDeck?
- fernandotakai 4y agoi prefer early access yuzu to ryujinx.
- SamuelAdams 4y agoLooks like this needs dumped switch firmware and keys (prod.keys) to get up and running. Does anyone know how to get around this? I do not have a physical Nintendo Switch at the moment. https://github.com/Ryujinx/Ryujinx/wiki/Ryujinx-Setup-&-Configuration-Guide#initial-setup---placement-of-prodkeys https://github.com/Ryujinx/Ryujinx/wiki/Ryujinx-Setup-&-Conf...
- parker_mountain 4y agoNintendo's stance is that modifying the firmware and dumping keys from the Switch is in violation of the DMCA. Downloading keys from the internet is a violation of Nintendo's copyright. Dumping games? Violation of the license. Their stance is: if you're a US citizen, there is no legal way to use an emulator for a modern system to play retail games. Take that as you will.
- ranger_danger 4y agoTheir stance doesn't 100% align with what's actually legal in the US. Dumping your own games/bios/firmware and then playing them on an emulator is perfectly legal for example.
- realusername 4y agoIf you are in the EU, in most countries there are interoperability exceptions for this purpose which apply here since you are using the games in another system.
- Double_a_92 4y agoIt's not too difficult to find "illegal" copies for the prod.keys online. The the firmware is not really needed.
- ranger_danger 4y agoFirmware is 100% necessary for Ryujinx to function. Most xci images do contain firmware already though, and it supports loading from that, or there are sites that archive all the firmware revisions separately.
- jcmontx 4y agoThe project looks fantastic. I wonder how much free time one has to have in order to pursue such a massive endeavor for love of art.
- spokeonawheel 4y agowhich ROM sites should I avoid because downloading a rom for switch would be unethical and illegal?
- waboremo 4y agoReddit has links to plenty, base64 encoded, although most of them tend to be really shit and not much better quality than just perusing your usual... marketplace of torrential magnets, for NSPs.
- neurostimulant 4y agoDefinitely do not try searching for roms on torrent sites such as 1337x, which is very illegal and faster than any random rom download sites. Also, for older consoles, do not try searching The Internet Archive for old roms.