Installing an NSP from the Switch SDK (UE4 game) on a hacked Switch?

BSoD38

Member
OP
Newcomer
Joined
Nov 9, 2023
Messages
7
Trophies
0
Age
25
XP
19
Country
France
Hi, I have a friend that asked me to test a build of a game he's working on that is made on UE4 using the official Switch SDK.

I have the NSP on my SD card, but when I tried to install it on several programs (TinWoo, Goldleaf, Tinfoil, DBI), all I get is an error along the lines of "Invalid NCA magic".

I'm on Atmosphere 1.6.2, DeepSea 4.9.0, with the latest sigpatches. I can install/run other NSPs just fine.

Has anyone tried to do this before? How do you install these NSPs on a hacked Switch? These are normally made for devkits.
Post automatically merged:

I tried disabling signature checks on TinWoo (and also tried AtmoXL Titel Installer), and the program simply crashed when trying to install the NSP. I'm completely stumped.
 
Last edited by BSoD38,

BSoD38

Member
OP
Newcomer
Joined
Nov 9, 2023
Messages
7
Trophies
0
Age
25
XP
19
Country
France
I thought it was something like that. Any idea how to proceed? I've never done something similar before.
 

a_username_that_isnt_cool

Well-Hated Member (Also)
Member
Joined
Apr 22, 2023
Messages
583
Trophies
0
Location
gbatemp. where do you think you are
XP
872
Country
United States
Hmm, does that imply that the person that compiled the NSP has to re-compile it using the console prod keys, or can I repackage the existing NSP file myself?
You can use the source code to do it, or you can send prod.keys (I wouldn't recommend this for reasons I don't know) to the creator and recompile with your console's product/production keys
 

BSoD38

Member
OP
Newcomer
Joined
Nov 9, 2023
Messages
7
Trophies
0
Age
25
XP
19
Country
France
You can use the source code to do it, or you can send prod.keys (I wouldn't recommend this for reasons I don't know) to the creator and recompile with your console's product/production keys
I guess I could go see my friend and see if they can do that with their SDK, but I have a feeling that the official Nintendo SDK doesn't really allow devs to compile applications using alternative keys. I might be wrong though.
 

a_username_that_isnt_cool

Well-Hated Member (Also)
Member
Joined
Apr 22, 2023
Messages
583
Trophies
0
Location
gbatemp. where do you think you are
XP
872
Country
United States
I guess I could go see my friend and see if they can do that with their SDK, but I have a feeling that the official Nintendo SDK doesn't really allow devs to compile applications using alternative keys. I might be wrong though.
Is this Homebrew or an official Nintendo E-Shop planned game?
 

BSoD38

Member
OP
Newcomer
Joined
Nov 9, 2023
Messages
7
Trophies
0
Age
25
XP
19
Country
France
Is this Homebrew or an official Nintendo E-Shop planned game?
It's a project from a game dev school. I doubt they plan on releasing anything on the e-shop, but they do have actual real devkit software (from the Nintendo Developer Portal) and hardware. I'm simply trying to help them out by testing the game on my Switch, because they don't always have access to the hardware since it's shared for the whole school.
Perhaps I wasn't clear enough on my original post by saying "official Switch SDK".
 

a_username_that_isnt_cool

Well-Hated Member (Also)
Member
Joined
Apr 22, 2023
Messages
583
Trophies
0
Location
gbatemp. where do you think you are
XP
872
Country
United States
It's a project from a game dev school. I doubt they plan on releasing anything on the e-shop, but they do have actual real devkit software (from the Nintendo Developer Portal) and hardware. I'm simply trying to help them out by testing the game on my Switch, because they don't always have access to the hardware since it's shared for the whole school.
Perhaps I wasn't clear enough on my original post by saying "official Switch SDK".
I think you have to use dev hardware with this, and if there isn't any dev hardware chances are this is an illegal operation because official Switch SDKs leak often (Unity homebrew games exist)
 

BSoD38

Member
OP
Newcomer
Joined
Nov 9, 2023
Messages
7
Trophies
0
Age
25
XP
19
Country
France
I think you have to use dev hardware with this, and if there isn't any dev hardware chances are this is an illegal operation because official Switch SDKs leak often (Unity homebrew games exist)
Oh no it's not illegal, as I said, since the devkits are shared across the whole school, they have a wait list to be able to access them. To avoid having to wait for them, they were trying to find other ways to test their game on real hardware. It's not really that problematic if it's not possible to do what I was asking, they'll just have to wait to get access to the devkits.
 

masagrator

The patches guy
Developer
Joined
Oct 14, 2018
Messages
6,297
Trophies
3
XP
12,078
Country
Poland
You would need to unpack NCAs with devkit prodkeys and pack them using retail prodkeys to be able to install them. Dunno where you will get devkit keys though, and sharing them here is against rules anyway.
Post automatically merged:

Dunno if it's possible, but maybe UE4 doesn't remove files generated for packing to NSP just after finishing packing? Then you could pack them to retail NCAs manually.
 

a_username_that_isnt_cool

Well-Hated Member (Also)
Member
Joined
Apr 22, 2023
Messages
583
Trophies
0
Location
gbatemp. where do you think you are
XP
872
Country
United States
Oh no it's not illegal, as I said, since the devkits are shared across the whole school, they have a wait list to be able to access them. To avoid having to wait for them, they were trying to find other ways to test their game on real hardware. It's not really that problematic if it's not possible to do what I was asking, they'll just have to wait to get access to the devkits.
they have to repack it with your keys as we said before
the official nintendo sdk DOES allow custom keys, whole reason homebrew unity games exist pretty sure
 

nonei22

New Member
Newbie
Joined
Nov 5, 2022
Messages
2
Trophies
0
XP
323
Country
United States
It's a project from a game dev school. I doubt they plan on releasing anything on the e-shop, but they do have actual real devkit software (from the Nintendo Developer Portal) and hardware. I'm simply trying to help them out by testing the game on my Switch, because they don't always have access to the hardware since it's shared for the whole school.
Perhaps I wasn't clear enough on my original post by saying "official Switch SDK".
I've only tried this with Unity and I'm pretty sure I didn't need any devkit keys since something apart of the SDK already did the trick of encrypting it, but I only used my regular switch keys, repacked the nsp into retail, and the game worked just fine. iirc there's a guide on here for doing this but I can't link it
 

luzifix

Member
Newcomer
Joined
Dec 26, 2023
Messages
7
Trophies
0
Age
30
XP
24
Country
Germany
Hi, I have a friend that asked me to test a build of a game he's working on that is made on UE4 using the official Switch SDK.

I have the NSP on my SD card, but when I tried to install it on several programs (TinWoo, Goldleaf, Tinfoil, DBI), all I get is an error along the lines of "Invalid NCA magic".

I'm on Atmosphere 1.6.2, DeepSea 4.9.0, with the latest sigpatches. I can install/run other NSPs just fine.

Has anyone tried to do this before? How do you install these NSPs on a hacked Switch? These are normally made for devkits.
Post automatically merged:

I tried disabling signature checks on TinWoo (and also tried AtmoXL Titel Installer), and the program simply crashed when trying to install the NSP. I'm completely stumped.

If you still looking for a way to repack the nsp check this out. The tutorial is for unity but I think the repacking part is the same.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Psionic Roshambo @ Psionic Roshambo:
    When I worked for Dell we had access to data about military contracts and addresses for high ranking people.
  • Psionic Roshambo @ Psionic Roshambo:
    I personally handled a call from the second highest person at Raytheon. That call bothered me a lot... The guy was nice and smart what bothered me was the way management basically just blew him off instead of going the extra mile to help him.
  • Psionic Roshambo @ Psionic Roshambo:
    In the end that call ended up costing Dell millions in lost contracts with Raytheon, and really the issue could have been solved for like 450 bucks lol
  • NinStar @ NinStar:
    sometimes I wonder why anyone would ever buy mega man x legacy collection 2
  • NinStar @ NinStar:
    I always thought that capcom shuffled the games in these collection, but apparently they are all in chronological order, which makes legacy collection 2 worthless
  • BakerMan @ BakerMan:
    guys, i want to start singing pirate metal songs and sea shanties if i play sea of thieves
  • The Real Jdbye @ The Real Jdbye:
    find a pirate metal playlist
    +2
  • The Real Jdbye @ The Real Jdbye:
    and sing along
  • BakerMan @ BakerMan:
    nevermind i just learned swearing is against the rules in sea of thieves

    i was about to start singing the song i last put in "what song are you currently listening to" yesterday
  • BakerMan @ BakerMan:
    but yeah ig so
  • The Real Jdbye @ The Real Jdbye:
    swearing not allowed in a pirate game? what has the world come to
  • BakerMan @ BakerMan:
    (here's the song for context)
  • BigOnYa @ BigOnYa:
    Just add -izle to the end of every curse word, you will be fine.
    +2
  • The Real Jdbye @ The Real Jdbye:
    i like alestorm
    +1
  • The Real Jdbye @ The Real Jdbye:
    @BigOnYa too many syllables
    +1
  • BakerMan @ BakerMan:
    same lmao
  • BigOnYa @ BigOnYa:
    hi, welcome to the Temp!
    +1
  • BakerMan @ BakerMan:
    Welcome to the Underground!
    +1
  • BakerMan @ BakerMan:
    the booty boogie from (once again) the donkey kong country cartoon could also be a good song to sing while playing sea of thieves
  • BigOnYa @ BigOnYa:
    Please insert 25 cents for an additional 30 minutes of talk time.
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    It's the Switcheroo
    Psionic Roshambo @ Psionic Roshambo: It's the Switcheroo