Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Game console support? #507

Open
Shadowblitz16 opened this issue May 4, 2023 · 3 comments
Open

Game console support? #507

Shadowblitz16 opened this issue May 4, 2023 · 3 comments

Comments

@Shadowblitz16
Copy link

Can this be made to support game consoles like...

  • xbox x
  • xbox one
  • ps4
  • ps5
  • switch
@equalent
Copy link

equalent commented May 5, 2023

.NET in general is not supported on consoles on its own, you'll have to use Mono (slow as JIT is not allowed on consoles) or think of your own solution (e.g. Unity translates .NET IL to C++ code to support running it on consoles).
In any case, no such code will be publically available. If you have access to console development, ask on platform-specific forums behind NDA (e.g. Sony DevNet for PS4/PS5).

@Shadowblitz16
Copy link
Author

.NET in general is not supported on consoles on its own, you'll have to use Mono (slow as JIT is not allowed on consoles) or think of your own solution (e.g. Unity translates .NET IL to C++ code to support running it on consoles). In any case, no such code will be publically available. If you have access to console development, ask on platform-specific forums behind NDA (e.g. Sony DevNet for PS4/PS5).

You can use C# AOT though

@equalent
Copy link

equalent commented May 5, 2023

In theory, yes, but consoles have their own platform APIs and system services. Memory allocation is also very different. So it's not only about building your application with AOT, it's more about porting the entire .NET runtime to a very limited and highly specialised platform. Still, you would need to be a licensed console developer with a devkit to do any of this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants