Homebrew Question Trouble building for Swich with Unity3D

lyokohack

Well-Known Member
Member
Joined
Apr 2, 2018
Messages
294
Trophies
0
Age
27
XP
1,048
Country
France
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
 

lyokohack

Well-Known Member
Member
Joined
Apr 2, 2018
Messages
294
Trophies
0
Age
27
XP
1,048
Country
France
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
 

Quarions

Well-Known Member
Newcomer
Joined
Apr 8, 2020
Messages
91
Trophies
0
Age
22
XP
732
Country
France
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?
 

Manurocker95

Game Developer & Pokémon Master
Member
Joined
May 29, 2016
Messages
1,511
Trophies
0
Age
29
Location
Madrid
Website
manuelrodriguezmatesanz.com
XP
2,792
Country
Spain
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.
 

Kolyasisan

Well-Known Member
Newcomer
Joined
Nov 16, 2013
Messages
77
Trophies
0
Location
Moscow
XP
714
Country
Russia
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: 355
  • Like
Reactions: Quarions

Quarions

Well-Known Member
Newcomer
Joined
Apr 8, 2020
Messages
91
Trophies
0
Age
22
XP
732
Country
France
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
 

lyokohack

Well-Known Member
Member
Joined
Apr 2, 2018
Messages
294
Trophies
0
Age
27
XP
1,048
Country
France
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"
 
D

Deleted User

Guest
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?
 

cyberkevin

Member
Newcomer
Joined
Dec 4, 2009
Messages
10
Trophies
1
XP
323
Country
France
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,

Imancol

Otak Productions
Member
Joined
Jun 29, 2017
Messages
1,375
Trophies
0
XP
2,762
Country
Colombia
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?
 

Kapilarny

New Member
Newbie
Joined
Jul 13, 2021
Messages
2
Trophies
0
Age
24
XP
29
Country
Poland
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
 

PixelBox

Member
Newcomer
Joined
Aug 9, 2021
Messages
5
Trophies
0
Age
44
XP
47
Country
Dominican Republic
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

General chit-chat
Help Users
    AncientBoi @ AncientBoi: lol, Okies. Family graveyard is that way 👉