Hacking Porting C# games / Apps to the switch

  • Thread starter Thread starter zzzzBeatz
  • Start date Start date
  • Views Views 5,820
  • Replies Replies 11

zzzzBeatz

Member
Newcomer
Joined
Mar 19, 2018
Messages
22
Reaction score
8
Trophies
0
Age
46
XP
233
Country
Canada
Now that HBL is available, I am wondering if there is any documentations, tool list or "how to" about how to build my C# projects so that they can work with HBL. I am currently developing games in unity and I would love to try it out on the switch, I would also like to try out some apps that I am planning on coding (C#).

Any kind of help would be much appreciated since I do not have a nintendo dev account
 
Now that HBL is available, I am wondering if there is any documentations, tool list or "how to" about how to build my C# projects so that they can work with HBL. I am currently developing games in unity and I would love to try it out on the switch, I would also like to try out some apps that I am planning on coding (C#).

Any kind of help would be much appreciated since I do not have a nintendo dev account
You can run linux on the switch with the fusee galee (or however its called)
look it up, you could install ubuntu on the switch and write your c# code to target linux on arm processor...
 
You can run linux on the switch with the fusee galee (or however its called)
look it up, you could install ubuntu on the switch and write your c# code to target linux on arm processor...
I think he's looking for a more native solution. Unfortunately, he's not going to find much at the moment because all focus has been, for the most part, in getting Atmosphere in a public state.
 
I think he's looking for a more native solution. Unfortunately, he's not going to find much at the moment because all focus has been, for the most part, in getting Atmosphere in a public state.

Yes that is exactly the kind of info I was looking for, so far I could not find much indeed. I will keep digging though
 
Now that HBL is available, I am wondering if there is any documentations, tool list or "how to" about how to build my C# projects so that they can work with HBL. I am currently developing games in unity and I would love to try it out on the switch, I would also like to try out some apps that I am planning on coding (C#).

Any kind of help would be much appreciated since I do not have a nintendo dev account
There's already Python so .NET might come but I won't hold my hopes up for now.
But even if it ever comes, you should be aware that this doesn't automatically include Unity in any way.
Just because of the fact that the scripting in Unity is done in C# (which is a thing I really like about Unity btw) doesn't mean the whole engine or what it compiles would run via homebrew.
However it's very likely that - if you can get your hands on the Switch SDK - you'll be able to "officially" compile your games for Horizon OS. That's intended to be tested on devkit consoles (I doubt you'll ever get one as a small dev) but with a CFW like Atmosphere that patches signature checks, you will be able to just install it to your homescreen and run it.
At least that's the case for the 3DS and Wii U with their custom firmwares.
I'm a (hobby) Unity dev myself and with the official Wii U SDK I ported my tower defense game to the Wii U. Of course I can't release it but I was able to test it in Loadiine and once it was in a good state, I installed it to my homescreen with WUP Installer which worked just fine. Of course it only runs if I launch a CFW (Haxchi) before.

we are still not able to get into hbl with rcm mode right?
Off topic question but the answer is no. Actually only 3.0.0 ppl (and SciresM obviously) can use homebrew.
Everyone else can as soon as Atmosphere is bootable.
 
Last edited by lordelan, , Reason: quote
  • Like
Reactions: iktwo and jakibaki
Well I made a bit of progress... I got the SDK support for Unity installed. I may end up using a devkit since I have access to one but it is not mine so, I'd rather be able to do this on my own switch if possible.

imgur.com/a/AKnZicF
 
Thanks for the pointers, just in case anyone wonders, I finished setting up and it works so far. I've succefully built a small test project (snake game). I needed the "standalone" sdk files and switch support SDK files (unity "addon" exe) . Once these 2 things were installed, I could output a .nspd file from unity's build settings window (after selecting the build platform and clicking the build button). Still need to try that output on an actual switch though but I will asap.
 
Last edited by zzzzBeatz,
The .nspd files are a compressed file with internal PFS0 extension. Inside brings several .nca .xml files. .cert and .tik packaged to be installed in a manager such as Switch's DevMenu. Maybe you can run when they launch CFW.

--------------------- MERGED ---------------------------

You can use HacToolGui to extract .nsp or .nspd
 
Well I made a bit of progress... I got the SDK support for Unity installed. I may end up using a devkit since I have access to one but it is not mine so, I'd rather be able to do this on my own switch if possible.

imgur.com/a/AKnZicF

I would very much like to know where you found the SDK.
 

Site & Scene News

Popular threads in this forum