Live data from Hacker News

RyujinX – Open Source Nintendo Switch Emulator

ryujinx.org

171–180 of 215 posts

Re: RyujinX – Open Source Nintendo Switch Emulator

#171
post #145

Earlier quoted context omitted.

I think one need only to look a at happens in China to see the ramifications when you have flagrant disregard to IP protections. Which world state is sadder?

The world that hoards it’s IP so a few can be rich is sadder for sure. China will soon overtake the US in EVs per capita.

Let me know how well that works with EV charging infrastructure in China.

Re: RyujinX – Open Source Nintendo Switch Emulator

#172

Earlier quoted context omitted.

It also creates a ton of e-waste for a few hours of entertainment when you already have the compute power available to you in another portable device you already have to own anyway.

Certainly. I satisfy my conscience by not flying and biking all distances under 20 kilometers.

I've messed around with emulators in the past. To be honest the tweaking and fiddling with things drove me mad. It was 100 times easier to just switch on a dedicated device and dive into a game.

Then again I'm not buying the latest games or consoles, I've got some other ones that I dive into every now and then for a distraction.

Re: RyujinX – Open Source Nintendo Switch Emulator

#173
post #121
post #95

Earlier quoted context omitted.

I experience the same hyperfocus, but I don't have ADHD, I'm quite the opposite really. My background is design and when I was a child I could easily 'get lost' in various forms of art etc for hours. I've met plenty people over the years that are the same, so I'd argue it might be something more aligned with some creative and analytical thought process, and a drive etc to understand/solve the problem at hand. In term…

There are three types of ADD[1]. That which you describe here sounds a lot like the "Inattentive" type. [1] https://www.healthline.com/health/adhd/three-types-adhd

I've learned something new, thank you!

Re: RyujinX – Open Source Nintendo Switch Emulator

#174

Earlier quoted context omitted.

They can run any code. You can use checksum and such a site centralizing would be in the clear as it doesn't contain any copyrighted material, only hashes (perhaps including cover art would be a problem?) As far as I know there exists one specifically for switch (nswdb.com, which is used by a common dumping tool to verify if your dump is valid or not) and another for basically every console but the switch (for some r…

Thanks for the links! Missing word, I meant to ask if they can safely run untrusted code! I.e if the emulator is sandboxed.

In general emulated code should only be able to interact with the emulated machine, not the host machine running the emulator. But there's no specific sandboxing and there have been cases of bugs in emulators that allowed specially crafted roms to execute code on the host (https://scarybeastsecurity.blogspot.com/2016/11/0day-exploit...)

Re: RyujinX – Open Source Nintendo Switch Emulator

#175

Earlier quoted context omitted.

NES-era games also ran on bare metal. Modern consoles run proper modern operating systems with everything you'd expect to find in one — preemptive multitasking, virtual memory, hardware abstractions, kernel- and user-mode with syscalls, etc. PlayStation OS is a Unix system (something-BSD IIRC), Xbox's is obviously based on Windows NT, and Switch runs something Nintendo built from scratch. Cycle-counting doesn't make…

fwiw, the switch actually uses cooperative multitasking. This causes emulation headaches of its own, because sometimes retail games are buggy, but due to the relative determinism of scheduling nobody ever noticed (e.g. race conditions that are reliably won on real hardware will suddenly start breaking in emulation).

Cooperative multitasking on a multi-core CPU? How on earth does that work? Do games themselves assign their threads to cores explicitly?

Re: RyujinX – Open Source Nintendo Switch Emulator

#176
post #169
post #59

Earlier quoted context omitted.

I'd say just being curious, reading and tinkering a lot. I recently wrote a GameBoy emulator to give myself a better understanding of the inner workings of CPUs. It's anything but precise, but it passes all the CPU instruction test ROMs and it's able to run all my childhood games so that's mission accomplished for me. Maybe I'll try to emulate something more complex next. Writing an emulator is very frustrating at fi…

and how long did that take you? just to gauge how big a task this was

Something like 3-4 days combined I think? It also supports sound but that part is far from perfect, especially the noise channel.

Re: RyujinX – Open Source Nintendo Switch Emulator

#177

Earlier quoted context omitted.

Does it matter from a legal standpoint? You aren't reproducing , distributing , performing, publicly displaying, or making a derivative work. *The uploader is the one reproducing the work, see Disney v. VidAngel And under fair use 3 of the four points would be in your favor, but that isn't determinative

A finding that VidAngel violated copyright doesn't mean their customers didn't also violate copyright. Their customers weren't the ones being sued, that doesn't mean the customers were in the clear. I don't see where you are getting the uploader is the one reproducing the work rather than both parties were? Also that appears to have been a streaming case so not really relevant?

VidAngel covers the requirements for copyright infringement and cites all relevant previous cases

It is true that doesn't mean customers were in the clear. But it's impossible to prove a negative. There are zero copyright cases for streaming customers or downloading without also uploading via p2p.

Are you aware of any case law that finds otherwise?

Re: RyujinX – Open Source Nintendo Switch Emulator

#178
post #52

Earlier quoted context omitted.

I've worked on large projects for almost 10 years before I started working in the field, though perhaps not as complex as an emulator. I dropped out of college due to medical reasons and was given the "opportunity" to receive disability benefits for the rest of my life. I accepted this and just continued my hobby doing programming. In that time I met many hobby programmers online who didn't seem to work or were tempo…

Good for you! Too many people are in it for the money and pure self interest. Now, I like the money our profession pays, it’s great - but I’d by doing something with computers either way, so what a blessing to get rewarded financially as well. Also, as an erstwhile professor who was at a top 3 program, a motivated and curious student is the best. If you had finished college you’d have done well with your attitude.

I feel the opposite. I've been programming for fun since 13 and have a similar experience as op - where I did my own projects for ~10 years before I got a job. I always hated professional programming.

It's boring, problems I'm solving are technically trivial. Most of the real problem is tied to a domain I give 0 shits about and am so bored by that I have to force myself to stay focused. Things I build have practically no value to me, and often no value to anyone except that someone decided to allocate a budget that way.

I would never work on these projects if it didn't pay well. I would prefer craft work if it paid the same.

I'm not complaining though ! I live very comfortably, I came from extreme poverty and I don't see any realistic alternative path that would end me in a better situation.

But I think expecting people to do most programming jobs out of passion is not realistic. If you're really good maybe you'll land in a role that gets you doing something technically innovating that also pays well but I'd say that's top few % of devs, most of us are in the dredges where enthusiastic people are a detriment (worst projects I've seen were a result of someone trying to be too clever for their own good, not lacking skill)

Re: RyujinX – Open Source Nintendo Switch Emulator

#179
post #116
post #13

i gotta ask, what kind of career path does one have to have to figure out how to make this sort of thing? just hacking nights and weekends for 2 years straight? because i dont know how anyone gets paid to do this and yet there is so much incredible depth to learn that is probably undocumented because of legal issues

" i dont know how anyone gets paid to do this and yet there is so much incredible depth to learn that is probably undocumented because of legal issues" - There IS a path to commercial emulator development. Most of these "retro collections" you see being sold on video game online shops are a frontend, a custom made emulator to avoid any legal/license issue (Avoiding GPL code as much as possible), a cool frontend and s…

Some of the official emulators use open source projects. The PlayStation Classic uses ReARMed.

Re: RyujinX – Open Source Nintendo Switch Emulator

#180

Earlier quoted context omitted.

Yes, just hacking nights and weekends. I've done my fair share of console reverse engineering, developing software for console devices (mostly GBA and NDS development, but a fair bit of SMS and Genesis reverse engineering), etc, and it's seriously some of the most fun I've had as a developer. But it takes an enormous amount of tenacity to push through the inevitable challenges.

how do you guys find the energy to hack nights and weekends? I do enjoy hobby programming but it takes me at least one week of vacation to detox from the work grind so I end up doing it only when I have extended vacation

The key for me is that it has to be 100% fun. As soon as I start thinking about external recognition or trying to make money off of a personal project I lose motivation. Right now despite coding all day at work I still have the energy for coding on my own time on a NES emulator just because it's really fun.
Post reply on HN