Homebrew Question Trouble building for Swich with Unity3D

  • Thread starter Thread starter mcdij
  • Start date Start date
  • Views Views 96,628
  • Replies Replies 290
i have a switch patched

I want to know is what this modchip for the patcher switch can install The .Nsp Unity, without hardware debugging problem
 
i have a switch patched

I want to know is what this modchip for the patcher switch can install The .Nsp Unity, without hardware debugging problem

If you repacked the nsp with retail keys, any cfw with sigpatches can install it and run it
 
Thank you for your support

1- if I have an uncorrected console it is the same debugging system of the .NSP Unity for a patched console

it's worth it for the modchip for this case or I have to change this console


2- I downloaded the sdk "NintendoSDK16.7_NXaddon (11,9 Go)" which is composed of 19 parts because I could not extract it I tried this command

Code:
openssl enc -aes-256-cbc -d -K 44D43712E2450B6D4C076A419532C2E7B6F2376CE34D292F722F739FEE4D544F -iv 360F6D4E54893B56086297FD49893A09 -in file -out archive.zip

under the devkitpro directory

Code:
C:\devkitPro\msys2\usr\bin

and I have this message

Code:
bad decrypt
34359836736:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad dec
rypt:crypto/evp/evp_enc.c:583:

and then I have a small file "archive.zip" which has 24,0 Ko
 
I have a problem with compilation, the nsp compiles and all, but when i run it on switch i get this:
unknown.png


btw: it's just the sample project so you can't tell me it's invalid shaders

Anyone knows how to fix this?
 
I have a problem with compilation, the nsp compiles and all, but when i run it on switch i get this:
unknown.png


btw: it's just the sample project so you can't tell me it's invalid shaders

Anyone knows how to fix this?
Are you using HDRP? Because even if you know it, it is clearly a shader problem.
 
I have a problem with compilation, the nsp compiles and all, but when i run it on switch i get this:
unknown.png


btw: it's just the sample project so you can't tell me it's invalid shaders

Anyone knows how to fix this?
This seems like a shader compilation problem. Most probably Unity can't find the path to the SDK directory where shader compilers are stored. You can check it by selecting a shader in your Unity project and clicking "Compile and show code" with Switch selected as a target platform. The disassembly should have a comment that goes something like "failed to compile for target Switch" if indeed the shader cannot be compiled.
 

Attachments

  • upload_2020-7-31_21-1-45.png
    upload_2020-7-31_21-1-45.png
    75.2 KB · Views: 390
  • Like
Reactions: Quarions
This seems like a shader compilation problem. Most probably Unity can't find the path to the SDK directory where shader compilers are stored. You can check it by selecting a shader in your Unity project and clicking "Compile and show code" with Switch selected as a target platform. The disassembly should have a comment that goes something like "failed to compile for target Switch" if indeed the shader cannot be compiled.
I actually fixed this problem just by using another version of Unity
 
I have a question for a while

the build plugins which are downloaded from the Unity servers

its called like this

UnityforN3DS"Version"N3DSSupport for-Editor"UnityVersion"
UnityforN3DS"Version"WiiUSupport for-Editor"UnityVersion"
UnityforN3DS"Version"Switch-Support for-Editor"UnityVersion"
 
So I got NintendoSDK+NWv9.2.0 installed and working and I ran the sdk envrionment checker and nvn api version 53.312 is missing, is this important?
 
Does anyone know why the LTS versions do not bring the Target platform of Switch? Or there is a way to get it.
 
Everything works now for me. Thanks for the support.
I have the exact same issue, and I already use a "FIXED" version of the SDK... so I absolutely don't get what the issue is right now...
Maybe it is not fixed actually ?

EDIT: Fixed with official SDK...
Still, trying to install it give me "Invalid NCA Magic"

EDIT2: Fixed by using Authoring Tool to extract NSP, then repack the NCA folders and the NSP with Hacpack.
 
Last edited by cyberkevin,
I have the exact same issue, and I already use a "FIXED" version of the SDK... so I absolutely don't get what the issue is right now...
Maybe it is not fixed actually ?

EDIT: Fixed with official SDK...
Still, trying to install it give me "Invalid NCA Magic"

EDIT2: Fixed by using Authoring Tool to extract NSP, then repack the NCA folders and the NSP with Hacpack.
What version of Unity are you using?
 
You can get the unity plugin from unity servers and the sdk from ninty servers/ internet. The plugin is easy to find (for any platform). And you can compile just clicking on Build once you have stuff already setup.
You just need to install the environment / set up environment paths and install the plugin like any other module.
Where can i find those plugins? If you can't send a tell me here add me on discord: Kapilarny#0272

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

I have had the same exact problem, I have fixed it. You need to get older SDK (I have used 4.5.0) and replace one file from it to the new SDK (Ideally 9.2.0) "Application.desc" from \NintendoSDK\Resources\SpecFiles
Where can you find the sdk? i only found unity support pack but couldnt find SDK?
If you cant link it here add me on discord: Kapilarny#0272
 
I'm sorry :( ... it won't happen .. I'm just asking because I see conversations from many in the community .. and I thought that if someone knew where to get it, it wasn't a risk ... I'm developing a title and I have an authorized nintendo license for wii uy N3Ds .. but the truth is it is difficult to obtain a license for nSwicth in my region .. so ask ... don't worry guys I won't ask any more about it ... XD and thanks for the help
 

Site & Scene News

Popular threads in this forum