Hacker News new | ask | show | jobs
by amrocha 1168 days ago
Are open source tools banned on playstation and switch?
3 comments

The issue is that console SDKs are under NDA, meaning that open source tools can't target consoles because they would reveal details about the SDK. Some projects have workarounds for this, for example SDL maintains a private Switch port that you can get access to by emailing one of the maintainers with proof you're a Nintendo licensee.
There is no one open source, but various open source licenses.

Nintendo Switch and Playstation and titles from Sony and Nintendo incorporate BSD-licensed open source code, so it is obvious that “open source is banned” is not true. It’s only GPL and other viral licenses that lawyers argue is too risky, because it might require disclosing proprietary source when linked.

Same goes for Apple App Store as well

https://news.ycombinator.com/item?id=12827624

Look at the other comments in this thread, the reason is more complicated than that. Open source tools might be fine but game engines can't be open source if they want to support console builds because that would disclose proprietary information.
> game engines can't be open source if they want to support console builds because that would disclose proprietary information.

Technically, they could. It would require someone who hasn't actually licensed the SDK, and so aren't subjected to an NDA, to reverse-engineer things and produce their own implementation under an open source license.

Certainly would be an enormous project, but it is well within the realm of the possible. It's been done with complex systems before.

We're talking about a viable alternative to proprietary game engines.

Yes, I know it's possible to reverse engineer the consoles, but that doesn't make it a viable alternative for the games industry.

> that doesn't make it a viable alternative for the games industry.

It makes it legally viable, in that it would allow the production of an SDK that isn't restricted by any NDA, and therefore could be incorporated into opens source projects.

If it was a homebrew project then sure, but this isn't viable for commercial projects:

- The platform holders can and will ban software built without the official SDK

- You'd get delayed access to patches, which might break compatibility with new OS versions

- You're relying on someone being able to reverse engineer new versions for the life of the console. This is a rare skill.

It's like saying you can write your own C compiler. Yeah you can, but you wouldn't use it in production at your job.

The engine is already there. We're talking about alternatives to the console-specific shim layers.
Not banned, just that every build platform has to be supported and not every open source project prioritizes each platform.

Godot, for example, doesn't support console builds, only working with a third party to facilitate porting to those platforms (that may change in the future now that they're getting a lot more support from the community after all this).

> Godot, for example, doesn't support console builds, only working with a third party to facilitate porting to those platforms

For the full nuanced details I've listed the relevant links here:

* https://news.ycombinator.com/item?id=37649430

That's a really useful comment, thank you!
Gotcha, so it's not that open source isn't possible, the industry just needs to invest in community support for an engine