Homebrew RELEASE [OFFICIAL] 4NXCI - A tool for converting XCI to NSP

The-4n

Well-Known Member
OP
Member
Joined
Aug 3, 2018
Messages
372
Trophies
0
Age
43
XP
2,764
Country
United States
Total noob on this how hard is it to make a nsp from xci as I know nothing of python and just wondered what all I need to do this by chance

there's no need to have knowledge about python
you just need to have switch keys, you can find a guide if you look at this topic pages

Ok, i've done some research on this post, and i dont find any post that can answer my problem.

First i had a switch v.3.0.1 i converted some games with my key and all worked well.

Yesterday i try to convert Octopath Traveller, i see that i need to update do v5.x.x my switch. I've done that and get my keys after the update.

Since then i am unable to install any game with tinfoil... i am unable to convert them with 4nxci but when i try to install them on my console i have always an error with bad ID....

did my keys could be the problem ?

i think you meant you are able to convert the games with 4nxci but you can't install them with tinfoil right?
first of all, make sure that you are using the latest version of your cfw and it comes with sig patches
after that grab the latest version of tinfoil and use it to install the converted games
make sure to remove fs_mitm.kip cause it cause lots of problems
 

naddel81

Well-Known Member
Member
Joined
Dec 14, 2009
Messages
2,498
Trophies
1
XP
2,994
Country
United States
does the install order really matter? haven't experienced a problem, yet. I rename all my nsps to GAME.nsp/GAME(UPD).nsp and GAME(DLC).nsp.
 

BillyJo

Well-Known Member
Newcomer
Joined
Jan 8, 2017
Messages
57
Trophies
0
Age
39
Location
Canada
XP
1,213
Country
Canada
thans for the info @The-4n, i use the latest SDfilesv801. I boot ReinX, i was sure that sig patches was with it. i will check if it is or not.
I use the latest tinfoil and latest 4nxci v1.20

i will check too for the fs_mitm.kip file, i suppose i have to remove the files in sysmodules directory ?

thanks for the support
 

The-4n

Well-Known Member
OP
Member
Joined
Aug 3, 2018
Messages
372
Trophies
0
Age
43
XP
2,764
Country
United States
thans for the info @The-4n, i use the latest SDfilesv801. I boot ReinX, i was sure that sig patches was with it. i will check if it is or not.
I use the latest tinfoil and latest 4nxci v1.20

i will check too for the fs_mitm.kip file, i suppose i have to remove the files in sysmodules directory ?

thanks for the support

you need sysmodule files for your cfws
just remove fs_mitm, it's known to cause lots of problems
 

gene0915

Well-Known Member
Member
Joined
Apr 6, 2008
Messages
331
Trophies
0
XP
1,216
Country
United States
I grabbed the cert file from BOB, renamed it to keys.dat and when I try to convert any XCI file, I get this error: Invalid NCA magic!

Guessing using that cert file from BOB was not the right thing to do? If I need to provide different keys, could somebody post a quick, step-by-step, guide for what keys 4nxci needs?
 

BillyJo

Well-Known Member
Newcomer
Joined
Jan 8, 2017
Messages
57
Trophies
0
Age
39
Location
Canada
XP
1,213
Country
Canada
you need sysmodule files for your cfws
just remove fs_mitm, it's known to cause lots of problems
tried to install my converted games with hekate CFW and works like a charm, so the problem was not my keys but the sig patches that was not working with ReinX, maybe i will try RajnX, but i dont think he have payload for trinket...

thanks for your great support !
 

Bigjokker

Well-Known Member
Member
Joined
Jan 4, 2015
Messages
115
Trophies
0
Age
46
XP
344
Country
United States
4nxci v1.20 is not creating DLC nsp with Sonic Mania Plus as it does with V1.10.

Code:
4NXCI v1.20 by The-4n
Saving Secure Partition...
Saving 789c76ada44493dab9680bb12e6028dc.nca to 4nxci_extracted_xci\789c76ada44493dab9680bb12e6028dc.nca
Saving 2f3cdf0292951f34b12ae17c8398bb24.nca to 4nxci_extracted_xci\2f3cdf0292951f34b12ae17c8398bb24.nca
Saving 53ec2194e8ca0d050dbdb5d1ed7f8821.nca to 4nxci_extracted_xci\53ec2194e8ca0d050dbdb5d1ed7f8821.nca
Saving 25d5974fa3fc08089d5f9c95da5388eb.nca to 4nxci_extracted_xci\25d5974fa3fc08089d5f9c95da5388eb.nca
Saving 7a65b434cfd792048e8edd9d1421eb21.cnmt.nca to 4nxci_extracted_xci\7a65b434cfd792048e8edd9d1421eb21.cnmt.nca
Saving 1175e068bb8b1ae8fba5885516c9a133.nca to 4nxci_extracted_xci\1175e068bb8b1ae8fba5885516c9a133.nca
Saving 8fe5da282fd2d25c993633cf18b8ad4d.cnmt.nca to 4nxci_extracted_xci\8fe5da282fd2d25c993633cf18b8ad4d.cnmt.nca
Saving e20678a0c8f171cdb2244ed88be48637.nca to 4nxci_extracted_xci\e20678a0c8f171cdb2244ed88be48637.nca
Saving 9723e1d3322b71984a468b7c75edfcd3.nca to 4nxci_extracted_xci\9723e1d3322b71984a468b7c75edfcd3.nca
Saving 2d43196a416fb9e0866dbf4e3ea8e0be.nca to 4nxci_extracted_xci\2d43196a416fb9e0866dbf4e3ea8e0be.nca
Saving 693dc0c76c121c7be3687d6921809540.nca to 4nxci_extracted_xci\693dc0c76c121c7be3687d6921809540.nca
Saving 37b8eefd54f161cf5146caa1a07bd50c.cnmt.nca to 4nxci_extracted_xci\37b8eefd54f161cf5146caa1a07bd50c.cnmt.nca
Saving 01009aa000faa8000000000000000004.tik to 4nxci_extracted_xci\01009aa000faa8000000000000000004.tik
Saving 01009aa000faa8000000000000000004.cert to 4nxci_extracted_xci\01009aa000faa8000000000000000004.cert
===> Processing Application Metadata:
Patching 4nxci_extracted_xci\789c76ada44493dab9680bb12e6028dc.nca
Patching 4nxci_extracted_xci\2f3cdf0292951f34b12ae17c8398bb24.nca
Patching 4nxci_extracted_xci\53ec2194e8ca0d050dbdb5d1ed7f8821.nca
Patching 4nxci_extracted_xci\25d5974fa3fc08089d5f9c95da5388eb.nca
Patching 4nxci_extracted_xci\7a65b434cfd792048e8edd9d1421eb21.cnmt.nca
Creating xml metadata 4nxci_extracted_xci\7a65b434cfd792048e8edd9d1421eb21.cnmt.xml
Creating dummy tik 4nxci_extracted_xci\01009aa000faa0000000000000000005.tik
Creating dummy cert 4nxci_extracted_xci\01009aa000faa0000000000000000005.cert
Creating nsp 01009aa000faa000.nsp
Packing 4nxci_extracted_xci\01009aa000faa0000000000000000005.tik into 01009aa000faa000.nsp
Packing 4nxci_extracted_xci\01009aa000faa0000000000000000005.cert into 01009aa000faa000.nsp
Packing 4nxci_extracted_xci\7a65b434cfd792048e8edd9d1421eb21.cnmt.xml into 01009aa000faa000.nsp
Packing 4nxci_extracted_xci\789c76ada44493dab9680bb12e6028dc.nca into 01009aa000faa000.nsp
Packing 4nxci_extracted_xci\2f3cdf0292951f34b12ae17c8398bb24.nca into 01009aa000faa000.nsp
Packing 4nxci_extracted_xci\53ec2194e8ca0d050dbdb5d1ed7f8821.nca into 01009aa000faa000.nsp
Packing 4nxci_extracted_xci\25d5974fa3fc08089d5f9c95da5388eb.nca into 01009aa000faa000.nsp
Packing 4nxci_extracted_xci\7a65b434cfd792048e8edd9d1421eb21.cnmt.nca into 01009aa000faa000.nsp
===> Processing Patch Metadata:
Processing 4nxci_extracted_xci\e20678a0c8f171cdb2244ed88be48637.nca
Processing 4nxci_extracted_xci\9723e1d3322b71984a468b7c75edfcd3.nca
Processing 4nxci_extracted_xci\2d43196a416fb9e0866dbf4e3ea8e0be.nca
Processing 4nxci_extracted_xci\693dc0c76c121c7be3687d6921809540.nca
Processing 4nxci_extracted_xci\37b8eefd54f161cf5146caa1a07bd50c.cnmt.nca
Creating xml metadata 4nxci_extracted_xci\37b8eefd54f161cf5146caa1a07bd50c.cnmt.xml
Creating nsp 01009aa000faa800.nsp
Packing 4nxci_extracted_xci\01009aa000faa8000000000000000004.tik into 01009aa000faa800.nsp
Packing 4nxci_extracted_xci\01009aa000faa8000000000000000004.cert into 01009aa000faa800.nsp
Packing 4nxci_extracted_xci\37b8eefd54f161cf5146caa1a07bd50c.cnmt.xml into 01009aa000faa800.nsp
Packing 4nxci_extracted_xci\e20678a0c8f171cdb2244ed88be48637.nca into 01009aa000faa800.nsp
Packing 4nxci_extracted_xci\9723e1d3322b71984a468b7c75edfcd3.nca into 01009aa000faa800.nsp
Packing 4nxci_extracted_xci\2d43196a416fb9e0866dbf4e3ea8e0be.nca into 01009aa000faa800.nsp
Packing 4nxci_extracted_xci\693dc0c76c121c7be3687d6921809540.nca into 01009aa000faa800.nsp
Packing 4nxci_extracted_xci\37b8eefd54f161cf5146caa1a07bd50c.cnmt.nca into 01009aa000faa800.nsp
===> Processing 1 Addon(s):
===> Processing AddOn 1 Metadata:
 
  • Like
Reactions: The-4n

rvkasper

Member
Newcomer
Joined
Dec 21, 2010
Messages
8
Trophies
0
XP
15
Country
United States
XCI works - keys also worked using SwitchSDTool to make working NSP files out of Super Mario Galaxy and Oxenfree from my NAND... ugh wtf
@The-4n I feel dumb! I didn't have space on system memory apparently - installed fine to MicroSD! Misleading error :) Thanks for the prompt responses much appreciated keep up the good work.
 

BillyJo

Well-Known Member
Newcomer
Joined
Jan 8, 2017
Messages
57
Trophies
0
Age
39
Location
Canada
XP
1,213
Country
Canada
@benserwa

Theres some method to get your keys:
1- (easiest) - With the apps called Kezplez-nx.
Get the apps (https://github.com/tesnos/kezplez-nx/releases) boot your console with the ipl.bin payload.
Once on the hekate menu, print your tsec fuses on your sd card (press power once all keys on the screen), next repeat and print your fuses info.
After you can load CFW.
After go into Hombrew Channel (select album), boot Kezplez and press "A" when the rainbow is on the scree. The apps will write a files named "keys.txt" on the root of your SD card.

2- (medium) - With your backup files and script locally on your PC.
Follow this guide : https://gbatemp.net/threads/how-to-get-switch-keys-for-hactool-xci-decrypting.506978/

Once you have the keys.txt file, rename it keys.dat and place the file in your 4NXCI directory and.... ENJOY !

Hope it will help you !
 
Last edited by BillyJo,

Asia81

Yuri Lover ~
Member
Joined
Nov 15, 2014
Messages
6,532
Trophies
3
Age
28
XP
2,805
Country
France
I converted then installed Layton KAtrielle Deluxe, it work fine.
I wonder if it's the same savefiule format as the 3ds version.
 

Asia81

Yuri Lover ~
Member
Joined
Nov 15, 2014
Messages
6,532
Trophies
3
Age
28
XP
2,805
Country
France
@The-4n I got 1 feature for you, if you could take it as a request.
- Automatically rename the generated nsp file(s) according the the input .xci instead naming them with their TitleID.

When you convert a lot of xci in a batch process, as I'm currently doing :
Code:
4NXCI.exe Bayonetta2.xci
4NXCI.exe CrashBandicootNSaneTrilogy.xci
4NXCI.exe KirbyStarAllies.xci
4NXCI.exe MarioKart8Deluxe.xci
4NXCI.exe MyHeroAcademiaOnesJustice.xci
4NXCI.exe OctopathTraveler.xci
4NXCI.exe Splatoon2.xci
4NXCI.exe SuperMarioOdyssey.xci
4NXCI.exe ZeldaBreathOfTheWild.xci
pause

It could help to determin what game each nsp files are.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Skelletonike @ Skelletonike:
    3h left until work finishes, bah
  • Skelletonike @ Skelletonike:
    link doesn't work
    +2
  • Skelletonike @ Skelletonike:
    1H left, such a slow week.
  • Sonic Angel Knight @ Sonic Angel Knight:
    Okay, I had spaghetti :P
  • SylverReZ @ SylverReZ:
    Hope they made lots of spaget
  • K3N1 @ K3N1:
    Chill dog
  • SylverReZ @ SylverReZ:
    Chilli dog
  • Skelletonike @ Skelletonike:
    Damn, I'm loving the new zelda.
  • xtremegamer @ xtremegamer:
    loving the new zelda, i started a game, it was so fucking good, so i
    am waiting on my friend to get home so we can start a new one together
  • Skelletonike @ Skelletonike:
    I just dislike that they don't let me choose the voices before the game starts. Happened with botw as well, had to change to japanese and restart.
  • K3N1 @ K3N1:
    But the important question is can you choose gender
  • Skelletonike @ Skelletonike:
    Same way you can choose Gerald's gender.
  • Skelletonike @ Skelletonike:
    *Geralt, damn autocorrect.
  • Psionic Roshambo @ Psionic Roshambo:
    But can he be trans? Lol
  • K3N1 @ K3N1:
    Zelda transforms into link
  • Psionic Roshambo @ Psionic Roshambo:
    Link I'm not the princess your looking for.... *Pulls a crying game*
  • K3N1 @ K3N1:
    *skirt up* it's exactly what I always wanted
  • Skelletonike @ Skelletonike:
    Just scanned all my zelda amiibos, took a while but didn't get anything that cool, did get the lon lon ranch hylian fabrics though.
  • Skelletonike @ Skelletonike:
    It was pretty funny when I scanned wolf link and got a shit load of meat.
  • K3N1 @ K3N1:
    @Skelletonike, btw I ran that custom for mgs4 on the deck I'm amazed it got that far in game
  • K3N1 @ K3N1:
    Plug in*
    K3N1 @ K3N1: Plug in*