Homebrew Question Trouble building for Swich with Unity3D

  • Thread starter Thread starter mcdij
  • Start date Start date
  • Views Views 96,791
  • Replies Replies 290
thank you, but I have already tried your code in your explanation in this topic, but it asks me for files like controll that I do not have

and I tried with BUILD NSP.BAT and I have this

BUILD NSP.PNG


and I defined these environment variables like this

hacpack.PNG


USER.PNG


I didn't understand well how it works
 
thank you, but I have already tried your code in your explanation in this topic, but it asks me for files like controll that I do not have

and I tried with BUILD NSP.BAT and I have this

View attachment 305226

and I defined these environment variables like this

View attachment 305227

View attachment 305228

I didn't understand well how it works
You have to have access to hacpack as an environment variable or have it next to the .bat

the folder is .switch. Various programs use that path to find the prod.keys

the temp folder temporarily stores the hackpack files. Because the above failed, those files were not created and therefore not found.

System Variable:
1649215582431.png


also add in "Patch" the route of hacpack
1649215794512.png


Use "Firmar NSP (All Procces).bat" to compile the NSP created by Unity

Use "Firmar NSP (Unity Temp Project).bat" to compile the files found in the "TEMP" folder of your Unity-created project



"BUILD NSP.bat" is for test only, to make forwarder, it comes with this package.
 

Attachments

Last edited by Naminave,
thank you so much you saved my life it works

a small question how to find or realize the c# code for the joycon and the motion detection
 
I'm talking about the c# code for unity input for joycone and motion detection
You need the NintendoSDKPlugin. Then import the library "nn.hid". And an example called HidSixAxisSensor.

If you use the new input system, it will be easier if you import the com.unity.inputsystem.switch package since it's all configured.
 
I tried to use bolt on the Switch support of Unity, the compilation does not create an error but the visual code of bolt does not work on my Switch.
 
yes I add application.desc on my SDK, is there any relation with Bolt
I'm not sure if there is sorry, my question was unrelated sorry, I was just generally asking as I'm having some trouble building working nsps. At first the application.desc I was using wouldn't allow an nsp to be built at all, after some editing it now builds but I'm sure theres still problems.

It seems I need a different application.desc but can't find it anywhere so just wondering if you started with the same file as me
 
NintendoSDKPlugin. It’s a package with everything related to “nn” namespace that can be used in .NET.
I'm sure a lot is lost by using Unity even by using that plugin. You are limited to one program, so it does not give you the freedom to work in subprograms. So you can't use the ExecuteProgram classes.
 
1. The sdk is free. You pay for the license and devkit.
2. Yes. You only need to decrypt the nsp with sdk tools (you need the dev keys) and rebuild it for retail keys.
Hi! I have access to nintendo sdk but no money for dev kit, how can I find the tools to decrypt the nsp and rebuilt it?
 

Site & Scene News

Popular threads in this forum