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_is_cool

Well-Hated Member (Also)
Member
Joined
Apr 22, 2023
Messages
622
Trophies
0
Location
gbatemp. where do you think you are
XP
962
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_is_cool

Well-Hated Member (Also)
Member
Joined
Apr 22, 2023
Messages
622
Trophies
0
Location
gbatemp. where do you think you are
XP
962
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_is_cool

Well-Hated Member (Also)
Member
Joined
Apr 22, 2023
Messages
622
Trophies
0
Location
gbatemp. where do you think you are
XP
962
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,339
Trophies
3
XP
12,182
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_is_cool

Well-Hated Member (Also)
Member
Joined
Apr 22, 2023
Messages
622
Trophies
0
Location
gbatemp. where do you think you are
XP
962
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
353
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.
  • K3Nv2 @ K3Nv2:
    Crazy people actually spend $50 on that stuff
  • BigOnYa @ BigOnYa:
    Towelie runs my farm, he's awesome.
  • SylverReZ @ SylverReZ:
    @K3Nv2, Polly is still around from what I've heard.
  • K3Nv2 @ K3Nv2:
    @SylverReZ, is Pollys alt I knew it
  • BigOnYa @ BigOnYa:
    Yea I see him every once whi!e , incognito
  • SylverReZ @ SylverReZ:
    @K3Nv2, I'm not him. Keep looking.
    +1
  • K3Nv2 @ K3Nv2:
    Still don't know why he left unless someone really hurt his feelings
  • K3Nv2 @ K3Nv2:
    Don't know why people get so emotional online just get over it ffs
    +2
  • BigOnYa @ BigOnYa:
    He was the ass of gbatemp, everyone knocked on him, I honestly felt bad, even though I was guilty myself, but he egged it all on himself,
  • BigOnYa @ BigOnYa:
    But he still here, but under dif name, he pm me sometimes still even.
  • K3Nv2 @ K3Nv2:
    It's like they think we'll be in their bed pissing on it the next day
  • BigOnYa @ BigOnYa:
    I feel like gbatemp should make t-shirts or memorabilia to remember the lost ones. I bet the Polly shirts would sell out quick.
  • K3Nv2 @ K3Nv2:
    Nah that could actually bring lawsuits
  • K3Nv2 @ K3Nv2:
    Tempsuits
  • BigOnYa @ BigOnYa:
    PollySuits
  • BigOnYa @ BigOnYa:
    Your correct, Somebody would be guilty and there would be riots, then they storm the gbatemp capitol,
  • K3Nv2 @ K3Nv2:
    Online or not there are still certain rights that judges would have no issue handing out a warrant over
  • K3Nv2 @ K3Nv2:
    Just look at Kim dotcom
  • BigOnYa @ BigOnYa:
    Honestly I'm scared to, from you, but ok, lemme turn on vpn, virtual machine, private browser first
  • K3Nv2 @ K3Nv2:
    Remember that Alexa robot I gifted you
  • K3Nv2 @ K3Nv2:
    And that laptop Webcam you never tapped up
  • BigOnYa @ BigOnYa:
    That robot is here somewhere, I hear it moving around at night, but I haven't seen it for months.
  • BigOnYa @ BigOnYa:
    Oh that laptop I give to ancientboi, so you been watching him for months, and he's been watching you
  • K3Nv2 @ K3Nv2:
    Oh good more than enough material for the fbi
    +1
  • BigOnYa @ BigOnYa:
    Damn its 5 in morn, I gotta Go wake your mum and send her to work. Check ya later.
    BigOnYa @ BigOnYa: Damn its 5 in morn, I gotta Go wake your mum and send her to work. Check ya later.