Tutorial  Updated

Play .NSP Games for higher Firmware on lower Firmware (ReiNX, Hactool,Tinfoil + extracted NSP)

Hello there! I just found a way to play .NSP games for higher firmwares on my 4.1.0 Switch.

THIS ALSO WORKS WITH ATMOSPHERE /w sigpatches



These methods seem to be obsolete, since the newest Tinfoil builds ignore the "minimum required firmware"-info in the xml-files of any NSP. Just Install any game/update/DLC with the newest Tinfoil and it should just work out of the box! (If the keygeneration limitation is still met!)


_____________________________________________________________________________________________________________________________________________________________

KEEP IN MIND:
1. only basegames and updates can be installed with newest tinfoil! DLC don't work, yet! But update patching doesn't work with my method (yet?)
2. Not every game can be used with every Switch Firmware! Read the red text at the end of this post for more Information!


I tested this method with Pokemon Quest and Captain Toad, both start after editing the games.

NEW Method for playing games with lower Firmware:

1. Open NSP with Hexeditor e.g. HxD (https://mh-nexus.de/en/programs.php)
2. search for "RequiredSystemVersion" in the file
3. change <RequiredSystemVersion>335675392</RequiredSystemVersion> to all zeroes like that <RequiredSystemVersion>000000000</RequiredSystemVersion>
3.1 Count the digits again! dont forget any of them!
4. save file and install nsp!

That means no extracting anymore! Installable with e.g. Devmenu, too!

Sadly this method doesn't work for game patches/updates: they still force you to update!

_____________________________________________________________________________________________________________________________________________________________
Old Method for playing games with lower Firmware:
You need to do the following:
1. extract the .NSP file with hactool in a cmd window:
"/path/to/hactool.exe" -tpfs0 --pfs0dir=GameFolder "/path/to/YourGame.nsp"

keep in mind to change the path and name of hactool.exe and YourGame.nsp according to your setup!

2. edit the ....cnmt.xml file in the extracted folder with wordpad:
change e.g <RequiredSystemVersion>335675392</RequiredSystemVersion> to <RequiredSystemVersion>0</RequiredSystemVersion>

protip: the string is almost at the bottom of the xml file!

3. copy the folder of the game with all the nca, etc. files to
SD:/tinfoil/extracted/GameFolder/....

4. Boot ReiNX and install extracted NSP with tinfoil

5. ????

6. Profit!



___________________________________________________________________________________________________________________________

If you plan on doing this often, prepare a batchfile:

1. make a new whatever.txt file
2. edit and put in the following command (but according to your setup):

"/path/to/hactool.exe" -tpfs0 --pfs0dir=GameFolder "%1"
pause

3. save the file and rename the fileextension to .cmd.
4. you can now drag/drop any .nsp file on this .cmd file and you will get your game extracted into GameFolder.


______________________________________________________________________________________________________________________________


PLEASE HELP ME:

It seems that only some games run on lower firmwares through this method, since the game encryption etc. has changed over time!
The "Keygeneration" in the XML file should tell us which FW is at least needed to play a game!

Keygeneration 0=at least FW ??? needed?, e.g. VOEZ, Mario+Rabbids
Keygeneration 1=at least FW ??? needed?
Keygeneration 2=at least FW ??? needed?
Keygeneration 3=at least FW ??? needed?, e.g. Super Mario Odyssey
Keygeneration 4=at least FW 4.1.0 needed?, e.g. Captain Toad, Pokemon Quest, Octopath Traveler, Limbo, Lego Incredibles, Hello Neighbor
Keygeneration 5=at least FW 5.0.0< needed! e.g. Nekopara Thanks @puppydg68

I need help testing those games on low firmwares! Please tell me on which firmware you are on and what games work/don't work.

If I get enough data (game name+firmware of your switch+key generation of the game) I'll compile a list of compatible games!

When you try to install a game with higher key generation than your FW is capable of the game will install fine with tinfoil (no Error)! But in the home menu you will only have a grey box with a loading circle in it!
We have currently no way to play those games!
___________________________________________________________________________


Get the newest Tinfoil by Adubbz here: Click!
Added old Tinfoil build. Works for me but no updates allowed!
_______________________________________________________________________________________________



UPDATE: Keyfile not mentioned anymore, since it doesn't seem to be needed for .nsp extraction! Thanks @Wizard0f0z for accidentally finding that out!
UPDATE2: Keygeneration in cnmt.xml should be an indicator which fw you at least need for the game to be played
UPDATE3: Newest Keygeneration (5) added. Those games seem to work only on 5.0.0+.
UPDATE4: Error when installing higher key generation game added.
UPDATE5: easier method added!
UPDATE6: Added Tinfoil files! @Adubbz I hope it's okay?
UPDATE7: greyed everything out (methods are obsolete as of Aug. 5th), since Tinfoil ignores the min. Fw. requirement!
 

Attachments

  • Tinfoil works for me but old.rar
    96.2 KB · Views: 870
Last edited by Zocker4444,

Zocker4444

Well-Known Member
OP
Newcomer
Joined
Aug 20, 2013
Messages
78
Trophies
0
Age
30
XP
220
Country
Germany
@Zocker4444

Here's a gist with a very early (and slow) prototype I put together in 30min: https://gist.github.com/rdmrocha/e4318816d9abd4b5831702caf6ba0aaa
Should work OK but use it with caution.

When I have time, I'll speed up the binary file search properly. But for now it should work and you can compile it for all platforms.
Or if someone wants to pick it up and optimize it, be my guest :)


If I understand it correctly (unfortunately I'm not fluent in coding language) this should patch a NSP without extracting it? Nice!!!

If this proves to be good, I will definetly push your file/code to my OP, if you're okay with it :)
 
Last edited by Zocker4444,

rrocha

Developer
Developer
Joined
Nov 21, 2016
Messages
137
Trophies
0
XP
1,815
Country
Portugal
If I understand it correctly (unfortunately I'm not fluent in coding language) this should patch a NSP without extracting it? Nice!!!

If this proves to be good, I will definetly push your file/code to my OP, if you're okay with it :)

It's exactly that. But bear in mind that it's prototype code. No proper error handling, pattern search is slow and ugly, no help... But it works. Tested it with Sonic Mania, Octopath and Captain Toad. All install and run on my 4.1.0 switch.

I'm also pretty sure that "on the fly" patching for NSP installs is something we should expect to get in the next SX OS. It would be great to drag and drop, while their launcher/installer takes care of it for us
 
Last edited by rrocha,
  • Like
Reactions: Zocker4444

Panpan

Member
Newcomer
Joined
Apr 4, 2016
Messages
8
Trophies
0
Age
28
XP
1,245
Country
Gambia, The
So I've patched my .nsp with the tool and manually with HxD, but none of the edited .nsp works after I install them, they always say I need to update. What am I doing wrong? My Switch is on 4.1.0 and I'm trying to play Captain Toad.
 

Cdoan34

Member
Newcomer
Joined
Mar 15, 2009
Messages
11
Trophies
0
XP
115
Country
United States
So I've patched my .nsp with the tool and manually with HxD, but none of the edited .nsp works after I install them, they always say I need to update. What am I doing wrong? My Switch is on 4.1.0 and I'm trying to play Captain Toad.

What tool are you using to install them? I got the same problem when i used the SXOS nsp installer but didnt have any issues when using the version of tinfoil linked in OP
 

Panpan

Member
Newcomer
Joined
Apr 4, 2016
Messages
8
Trophies
0
Age
28
XP
1,245
Country
Gambia, The
What tool are you using to install them? I got the same problem when I used the SXOS nsp installer but didnt have any issues when using the version of tinfoil linked in OP

I've used the SX installer through ReiNX rommenu, but I already tested installing them with tinfoil, although I started tinfoil with the ReiNX rommenu, and again it won't let me play the installed games instead, it prompts me to update.

So should I start tinfoil with the proper HBmenu? Or should i install the NSPs completely without using ReiNX and just play them with it?
 

kylum

Well-Known Member
Member
Joined
Dec 8, 2008
Messages
394
Trophies
1
XP
1,481
Country
United States
I've used the SX installer through ReiNX rommenu, but I already tested installing them with tinfoil, although I started tinfoil with the ReiNX rommenu, and again it won't let me play the installed games instead, it prompts me to update.

So should I start tinfoil with the proper HBmenu? Or should i install the NSPs completely without using ReiNX and just play them with it?
Patched games don’t install correctly with RomMenu. Tinfoil is the way to go for now. You can use tinfoil with ReiNX. Just make sure you have an older version of tinfoil as the latest one is broken, well from what I read. I’m using tinfoil with the latest ReiNX and it’s working great. I’m only using tinfoil for patched nsp’s
 
Last edited by kylum,
  • Like
Reactions: Cdoan34

pausuri

Well-Known Member
Member
Joined
Jul 15, 2018
Messages
116
Trophies
0
Age
41
XP
770
Country
United Kingdom
to get it working go to first page and download tinfoilbutold.rar and it will work its write under your nose buddy
to get it working go to first page and download tinfoilbutold.rar and it will work its write under your nose buddy

I am asking about the new TinFoil the one that supports updates, the one you mentioned works but you can only use it to install base games.
Apparently, when you mod the update (for instance Mario Tennis latest update 1.1.6) and use the newest TinFoil version it keeps asking to update the game to play the updated game... Am I missing something? Or this method doesn’t fully support updates yet?
Cheers
 

Kobigov

Well-Known Member
Member
Joined
Jan 10, 2018
Messages
129
Trophies
0
Age
44
XP
300
Country
United States
I am asking about the new TinFoil the one that supports updates, the one you mentioned works but you can only use it to install base games.
Apparently, when you mod the update (for instance Mario Tennis latest update 1.1.6) and use the newest TinFoil version it keeps asking to update the game to play the updated game... Am I missing something? Or this method doesn’t fully support updates yet?
Cheers
You could try patching the update with this: https://gbatemp.net/threads/nspatch-patch-nsp-files-to-their-actual-needed-fw-version.513138/
 
  • Like
Reactions: loler55

kylum

Well-Known Member
Member
Joined
Dec 8, 2008
Messages
394
Trophies
1
XP
1,481
Country
United States
I am asking about the new TinFoil the one that supports updates, the one you mentioned works but you can only use it to install base games.
Apparently, when you mod the update (for instance Mario Tennis latest update 1.1.6) and use the newest TinFoil version it keeps asking to update the game to play the updated game... Am I missing something? Or this method doesn’t fully support updates yet?
Cheers
As far as my testing has gone thus far with the games I have, which is only 8 games. The update has only worked out of the box(not editing). If they didn’t work, editing didnt help, even if they look as if they should have based on Keygeneration and required version. I can not speak for others though.

I’m thinking it has something to do with how updates are installed and the changes might have been implemented in the base game install as well. Hence, why the newest version of tinfoil, SX OS and RomMenu won’t install patched base games they way older versions of tinfoil does. However I’m no Dev/coder so I really have no clue.
 

Zocker4444

Well-Known Member
OP
Newcomer
Joined
Aug 20, 2013
Messages
78
Trophies
0
Age
30
XP
220
Country
Germany
@pausuri Update patching still doesn't work! The newest Tinfoil will install the update but it will still need an systemupdate!! This Tinfoil is the newer one in the OP. I think this problem is a limitation of the patching method and not a bug of Tinfoil, to be honest.

from OP:

KEEP IN MIND:
1. only basegames and updates can be installed with newest tinfoil! DLC don't work, yet! But update patching doesn't work with my method (yet?)




 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    Inb4 kiiwii gives it a 0/10
  • BigOnYa @ BigOnYa:
    6/10 rating on steam
  • Psionic Roshambo @ Psionic Roshambo:
    I would like a Predator game "Kill Team" it takes place in the Jungle of the first movie, your team is sent to hunt the predator, using current tech drones and a trained team. Set traps use strategy to hunt and trap or kill the predator.
  • BigOnYa @ BigOnYa:
    Ill stick with my Battlefield. Yea a predator hunting game like that would be cool. Esp if you can be Arnold and say "Get to da choppa"
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Maybe Arnold could do a cameo voice acting, he is the one briefing you on the mission
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Honestly surprised they didn't make a tie in game for Predators that movie was awesome
  • Psionic Roshambo @ Psionic Roshambo:
    I was kinda sad the Yakuza guy died sword fighting a predator lol
  • Psionic Roshambo @ Psionic Roshambo:
    The Russian guy went out like a boss
  • Psionic Roshambo @ Psionic Roshambo:
    Double claymores to the face definitely kill a predator lol
  • BigOnYa @ BigOnYa:
    I went today and looked at a motorcycle someone was selling. I get there and the battery on it was dead, so the guy grabbed a battery charger and hooked it up. He plugged it into the wall, and the motorcycle sparked and started smoking. Come to find out the bike uses a 6 volt battery and the guy had the charger set to 12v. I said sorry to the dude and walked away. I felt bad for him tho.
  • Psionic Roshambo @ Psionic Roshambo:
    Sounds like it would be an exciting ride....
  • Psionic Roshambo @ Psionic Roshambo:
    Not sure I would want something on fire between my legs
  • BigOnYa @ BigOnYa:
    He ruined it basically. Sad cause it was a decent old bike. It would take more money to rewire the bike than it was worth tho.
  • Psionic Roshambo @ Psionic Roshambo:
    Yeah I'm sure at minimum the starter was fried
  • Psionic Roshambo @ Psionic Roshambo:
    Alternator and battery
  • BigOnYa @ BigOnYa:
    Prob alot of fried parts. It was still smoking when I left.
  • K3Nv2 @ K3Nv2:
    I would've said show me how it rides
  • Psionic Roshambo @ Psionic Roshambo:
    I always wanted one of those Smart Cars with a Hyabusa motor in it.
  • K3Nv2 @ K3Nv2:
    I'm getting sick and tired of cheap ass baking pans now
  • BigOnYa @ BigOnYa:
    I think it be cool to have one that would fit in my pickup truck bed, then I could put down ramps n drive it off.
  • K3Nv2 @ K3Nv2:
    Used this one 5 times already impossible to clean
  • BigOnYa @ BigOnYa:
    @K3Nv2 I didn't know Sonic serves they food in baking pans.
    BigOnYa @ BigOnYa: @K3Nv2 I didn't know Sonic serves they food in baking pans.