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
579
Trophies
0
Location
gbatemp. where do you think you are
XP
869
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
579
Trophies
0
Location
gbatemp. where do you think you are
XP
869
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
579
Trophies
0
Location
gbatemp. where do you think you are
XP
869
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,075
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
579
Trophies
0
Location
gbatemp. where do you think you are
XP
869
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
321
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
  • No one is chatting at the moment.
  • SylverReZ @ SylverReZ:
    @Materia_tofu, We do learn a lot from plenty of talented individuals.
  • Materia_tofu @ Materia_tofu:
    this is true! i learned how to make soundfont remixes from a friend back in 2021
    +1
  • BakerMan @ BakerMan:
    Update on my brother: He's home now, tired and hungry, obviously, but other than that, seems to be doing fine.
    +2
  • Veho @ Veho:
    That's a relief to hear. Do you know what happened?
  • SylverReZ @ SylverReZ:
    @BakerMan, Any idea what happened? I hope that your brother's doing good.
  • BakerMan @ BakerMan:
    Well, from what I've heard from my parents, he had a seizure last night, perhaps an epileptic episode, fucking died, had a near death experience, my dad called the paramedics, they showed up, took him to the hospital, and he woke up covered in tubes, and started complaining.
  • BakerMan @ BakerMan:
    He couldn't eat until after his MRI, when he had a bomb pop.
  • BakerMan @ BakerMan:
    What matters now is that he's doing alright.
  • Veho @ Veho:
    But you still don't know what it was?
  • Veho @ Veho:
    Has he had seizures before?
  • The Real Jdbye @ The Real Jdbye:
    apparently stress can cause seizures, my brother had one during a test once
  • The Real Jdbye @ The Real Jdbye:
    never had one before that, and never had one since
  • Redleviboy123 @ Redleviboy123:
    Question about game texture chanching Do i need an own game id?
  • The Real Jdbye @ The Real Jdbye:
    @Veho for those that want to
    experience being sonic the hedgehog
  • Veho @ Veho:
    Ah, you mean
    furries.
    +1
  • The Real Jdbye @ The Real Jdbye:
    well, sonic fans are a whole separate thing from furries
  • The Real Jdbye @ The Real Jdbye:
    like bronys
  • The Real Jdbye @ The Real Jdbye:
    sonic porn is too weird even for me
  • Dumpflam @ Dumpflam:
    bruh
  • Dumpflam @ Dumpflam:
    guys how do i delete a post
  • The Real Jdbye @ The Real Jdbye:
    you don't
  • The Real Jdbye @ The Real Jdbye:
    you can report it and request deletion
  • BakerMan @ BakerMan:
    Also, no, that was his first time having a seizure, and hopefully the last
    +1
    BakerMan @ BakerMan: Also, no, that was his first time having a seizure, and hopefully the last +1