Homebrew Question Trouble building for Swich with Unity3D

smooth2795

New Member
Newbie
Joined
Oct 19, 2021
Messages
2
Trophies
0
Age
29
XP
32
Country
Portugal
I am also trying to run build nsps from Unity on my hacked switch. I have the real sdk but because of remote work I don't have access to what I want. How can I do this? I get the NCA error on goldleaf
 

masagrator

The patches guy
Developer
Joined
Oct 14, 2018
Messages
6,263
Trophies
3
XP
12,022
Country
Poland
I am also trying to run build nsps from Unity on my hacked switch. I have the real sdk but because of remote work I don't have access to what I want. How can I do this? I get the NCA error on goldleaf
You can't install NSPs build with SDK without repacking them because they are encrypted using dev keys which are different than retail keys.
 

smooth2795

New Member
Newbie
Joined
Oct 19, 2021
Messages
2
Trophies
0
Age
29
XP
32
Country
Portugal
@
You can't install NSPs build with SDK without repacking them because they are encrypted using dev keys which are different than retail keys.
So I need to use this ->
gbatemp.net/threads/how-to-easy-extract-game-files-from-nsp-xci.534724/
Then this?
hacPack
 

masagrator

The patches guy
Developer
Joined
Oct 14, 2018
Messages
6,263
Trophies
3
XP
12,022
Country
Poland
Basically that should do it yeah
Iirc no, because you still need dev keys which are nowhere to be found. But in Nintendo SDK there is included an app that can extract dev NSPs data (exactly speaking NCAs in NSP are encrypted with dev keys). But I don't remember how it was named.

Use this app and then hacpack to pack them.
 
Last edited by masagrator,

hippy dave

BBMB
Member
Joined
Apr 30, 2012
Messages
9,858
Trophies
2
XP
28,898
Country
United Kingdom
Iirc no, because you still need dev keys which are nowhere to be found. But in Nintendo SDK there is included an app that can extract dev NSPs data (exactly speaking NCAs in NSP are encrypted with dev keys). But I don't remember how it was named.

Use this app and then hacpack to pack them.
Hm I thought dev keys were somewhere to be found, I feel like I remember using them with hactool. Could be wrong tho.
 

ZachyCatGames

Well-Known Member
Member
Joined
Jun 19, 2018
Messages
3,398
Trophies
1
Location
Hell
XP
4,209
Country
United States
Iirc no, because you still need dev keys which are nowhere to be found. But in Nintendo SDK there is included an app that can extract dev NSPs data (exactly speaking NCAs in NSP are encrypted with dev keys). But I don't remember how it was named.

Use this app and then hacpack to pack them.
Hm I thought dev keys were somewhere to be found, I feel like I remember using them with hactool. Could be wrong tho.
Scires' tsec firm derives them on retail and lockpick_rcm dumps them.
 
  • Like
Reactions: hippy dave

ZachyCatGames

Well-Known Member
Member
Joined
Jun 19, 2018
Messages
3,398
Trophies
1
Location
Hell
XP
4,209
Country
United States
Is this how you got the dev menu back to work?

The UnMetal game has a similar bug that will not allow it to run on inferior firmware, even if patched with NCSP Build.
No? Old DevMenu broke because of breaking api changes in the OS, if you want DevMenu on modern firms, you obtain a modern build of it from the sdk or some one with access to the sdk and patch smth.
If you’re asking if that how I got the keys to do that, no, scires’ tsec firm a recent thing, I obtain my dev keys by other means (manually deriving them or dumping from a dev unit).
 

mcdij

Active Member
OP
Newcomer
Joined
Dec 2, 2018
Messages
41
Trophies
0
Age
44
XP
250
Country
United States
No? Old DevMenu broke because of breaking api changes in the OS, if you want DevMenu on modern firms, you obtain a modern build of it from the sdk or some one with access to the sdk and patch smth.
If you’re asking if that how I got the keys to do that, no, scires’ tsec firm a recent thing, I obtain my dev keys by other means (manually deriving them or dumping from a dev unit).

Hi, how are you configuring the joycons/switch input?

I dont really know how to set it up.

Any help would be appreciated,
 
Last edited by mcdij,

Imancol

Otak Productions
Member
Joined
Jun 29, 2017
Messages
1,375
Trophies
0
XP
2,762
Country
Colombia
Hi, how are you configuring the joycons/switch input?

I dont really know how to set it up.

Any help would be appreciated,
The latest SDK has a configuration package for the latest Unity Input System, adding support for Joy-Con/Switch Pro Controller

No? Old DevMenu broke because of breaking api changes in the OS, if you want DevMenu on modern firms, you obtain a modern build of it from the sdk or some one with access to the sdk and patch smth.
If you’re asking if that how I got the keys to do that, no, scires’ tsec firm a recent thing, I obtain my dev keys by other means (manually deriving them or dumping from a dev unit).
I have access to a recent SDK and it has the DevMenu, but it is impossible to patch as I have been doing with Unity NSPs
 

ZachyCatGames

Well-Known Member
Member
Joined
Jun 19, 2018
Messages
3,398
Trophies
1
Location
Hell
XP
4,209
Country
United States
I have access to a recent SDK and it has the DevMenu, but it is impossible to patch as I have been doing with Unity NSPs
What's your definition of recent?
As of 7.x you need to modify the main nso, they explicitly check if it's being ran on a retail device and abort if it is nowadays. Repacking isn't good enough.
 

mcdij

Active Member
OP
Newcomer
Joined
Dec 2, 2018
Messages
41
Trophies
0
Age
44
XP
250
Country
United States
The latest SDK has a configuration package for the latest Unity Input System, adding support for Joy-Con/Switch Pro Controller


I have access to a recent SDK and it has the DevMenu, but it is impossible to patch as I have been doing with Unity NSPs

Unfortunatley im not using the latest SDK :(

I have a new issue, I can successfully build a NSP and repack it to run in the Switch Emulator YuZu. When I try to run it on a modded switch (atmosphere 1.1.1, HOS 13.0.0, patches downloaded from ITotalJustice) I get the error:

Could not start the software. Please try again from the HOME Menu. When I try to launch it again ot says "Corrupted data has been detected. Please run a check for corrupt data"

I have installed it via tinfoil to SD card/internal storage with all the options set to no.

Anybody have any ideas?

Thanks.
 

mcdij

Active Member
OP
Newcomer
Joined
Dec 2, 2018
Messages
41
Trophies
0
Age
44
XP
250
Country
United States
What's your definition of recent?
As of 7.x you need to modify the main nso, they explicitly check if it's being ran on a retail device and abort if it is nowadays. Repacking isn't good enough.
How can you tell what version of the SDK you have?

Thanks
 

ZachyCatGames

Well-Known Member
Member
Joined
Jun 19, 2018
Messages
3,398
Trophies
1
Location
Hell
XP
4,209
Country
United States
How can you tell what version of the SDK you have?

Thanks
That comment isn't relevant to what you're doing, but check NintendoSDK/Revisions/NintendoSDK_Revision.txt and NintendoSDK-NXAddon_Revision.txt, they should look smth like:
Branch: release/sdk/v13.3.0-en
Hash: c33e24efa623098a1eef78443c42839e74587414
Number: 246865
 

mcdij

Active Member
OP
Newcomer
Joined
Dec 2, 2018
Messages
41
Trophies
0
Age
44
XP
250
Country
United States
That comment isn't relevant to what you're doing, but check NintendoSDK/Revisions/NintendoSDK_Revision.txt and NintendoSDK-NXAddon_Revision.txt, they should look smth like:

Hi, seems I'm running 9.2.0.

Can NSP's created with 9.2.0 run a modded switch? (once its extracted and repacked with retail keys) as I get "Could not start the software. Please try again from the HOME Menu", I have the latest patches.

The NSP seems to run fine in the Yuzu emulator.

Thanks.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    Please dont go we need you.
  • K3Nv2 @ K3Nv2:
    I really learned not to give a fuck what others do online it's helped ease my mind try it sometime.
  • RedColoredStars @ RedColoredStars:
    @SylverReZ That reply to you was when we werent on good terms. lol. I tried everything. Changing privacy settings etc.
  • Veho @ Veho:
    Fuck Chromium. Firefox 4evar.
    +1
  • Veho @ Veho:
    (Firefox 4 now, anyway. Let's see if they pull some crap too.)
    +1
  • DinohScene @ DinohScene:
    Netscape ftw
    +1
  • K3Nv2 @ K3Nv2:
    Funny enough went to download chrome Bing gave error installed Firefox fine
    +1
  • RedColoredStars @ RedColoredStars:
    Thing is , the videos work fine in the Edge Dev and Canary builds. But whatever the fix they made was, has never been pushed to Beta or Stable builds. Its been that way for as far back as I tested. Which was Edge 84. They are on 125 now.
    +1
  • SylverReZ @ SylverReZ:
    @RedColoredStars, Yeah, and I was in quite a mood at that time. I would consider choosing Firefox or Opera instead, been using Firefox for over 7 years now than Chrome.
  • RedColoredStars @ RedColoredStars:
    Tried contacting Nintendo to see if they can reach out to MS about it. But Nintendo said the videos are working fine. Without enough people saying no, they don't work fine, it will never get fixed.
  • RedColoredStars @ RedColoredStars:
    I have Firefox and used it for many years. But Edge runs noticible faster on my pc at both opening and loading pages.
  • SylverReZ @ SylverReZ:
    I don't think Nintendo will know anything about troubleshooting Edge. They mostly do technical support regarding their console family.
  • K3Nv2 @ K3Nv2:
    Tell them you downloaded their trailer without permission
    +2
  • SylverReZ @ SylverReZ:
    Good one, Ken.
  • RedColoredStars @ RedColoredStars:
    Right. But they could create a ticket that gets forwarded to the proper team. I think Nintendo would care that their videos aren't working on a major browser
  • RedColoredStars @ RedColoredStars:
    LOL K3N. HAHAH!
  • K3Nv2 @ K3Nv2:
    My left eyes hitting random pain for whatever reason allergy cold bring it on
  • RedColoredStars @ RedColoredStars:
    Dont know why FF is slower on my pc either. Tried all the "speed up firefox" tricks but notta.
  • RedColoredStars @ RedColoredStars:
    In good news... I get to pick up my kittys ashes today.
  • K3Nv2 @ K3Nv2:
    Could be a ram stick failing
  • RedColoredStars @ RedColoredStars:
    Im going right when they open at 8am. Been waiting 2 weeks to get her back
  • sp3off @ sp3off:
    Chrome is like "BRRRRRRRR" but I dislike the fact it's a powerhouse, and the fact that Manifest v3 exists
  • RedColoredStars @ RedColoredStars:
    Im not sure if a ram stick has a whole lot to do with your eye. lol :P
  • K3Nv2 @ K3Nv2:
    Is your porn loading fine?
    K3Nv2 @ K3Nv2: Is your porn loading fine?