Tutorial  Updated

Decrypt XCI to RomFS and ExeFS for Atmosphere/FSRedirect/Backup Loading/Ryujinx/Yuzu in 1 click


IMPORTANT:
  • THIS TUTORIAL ASSUMES YOU HAVE THE DECRYPTION KEYS!
  • THIS TUTORIAL WILL NEVER PROVIDE KEYS
  • YOU ARE NOT ALLOWED TO POST ANY KEYS HERE!


Get Switch Keys (NEEDED):
My tutorial is here


Tutorial — RISEofProBB


Step 1 - PreparationStep 2 - DecryptionStep 3 - FinalizingExtras


    1. Download hactool: https://github.com/SciresM/hactool/releases/
    2. Extract the following next to hactool.exe: https://gbatemp.net/attachments/decrypt-xci-v2-1-zip.131659
    3. Make sure your keys are in keys.ini filename and format and is next to hactool.exe aswell

    1. Put the .XCI you want to decrypt next to hactool.exe (Important)
    2. Drag the .XCI onto the Decrypt-XCI.bat
    3. Let it do its thing, it could take a while
    4. Once you see "DONE!" your done!

  1. The new folder xciDecrypted next to hactool.exe is now the romfs and exefs of the xci decrypted.
    romfs in xciDecrypted/romfs.bin and exefs in xciDecrypted/exefs
    The structure is 100% ready to copy and paste into sd:/atmosphere/titles/{titleid}/ for Backup Loading/LayeredFS Mods.
    (but you still need to rename the folder to the titleid and edit the main.npdm)
    To use this with Ryujinx, drag the xciDecrypted/exefs folder onto Ryujinx.exe (No idea about Yuzu).

    • If you want the Batch file to close once its done, remove the last line (pause >nul) and save.


Thanks to gdkchan for the original script, since the original script, I have HEAVILY modified it.
 

Attachments

  • Decrypt-XCI-v2.1.zip
    772 bytes · Views: 11,377
Last edited by PRAGMA,

Ty_

Well-Known Member
Member
Joined
May 22, 2018
Messages
399
Trophies
0
Age
44
XP
1,256
Country
United Kingdom
Still getting issues about an invalid NCA header. Also get an error message that it couldn't find a .npdm file.

I'm pretty sure I'm dumping the right keys, I'm getting the "Now you can do hactool" message
 

PRAGMA

Well-Known Member
OP
Member
Joined
Dec 29, 2015
Messages
2,258
Trophies
1
Location
Ireland
Website
github.com
XP
5,042
Country
Ireland
Updated to v2.1
  • Heavilly improved the batch files process. It doesnt have to do as much now.
  • the game.istorage file no longer goes into /exefs as its not needed for layeredfs and its the exact same file as romfs.bin
  • no longer have to manually rename romfs.romfs to romfs.bin
  • no longer have to delete a bunch of files
  • small speedup

--------------------- MERGED ---------------------------

Still getting issues about an invalid NCA header. Also get an error message that it couldn't find a .npdm file.

I'm pretty sure I'm dumping the right keys, I'm getting the "Now you can do hactool" message
that msg always shows regardless of errors.
How many keys do you have?
Also is your keys file keys.dat or keys.ini
 
  • Like
Reactions: TunaKetchup

JJTapia19

I fight for my friends.
Member
Joined
May 31, 2015
Messages
2,171
Trophies
1
Age
32
XP
2,438
Country
Puerto Rico
Updated to v2.1
  • Heavilly improved the batch files process. It doesnt have to do as much now.
  • the game.istorage file no longer goes into /exefs as its not needed for layeredfs and its the exact same file as romfs.bin
  • no longer have to manually rename romfs.romfs to romfs.bin
  • no longer have to delete a bunch of files
  • small speedup
I just tried it out with the DKC tropical Freeze .xci but in the folder xciDecrypted I did not get the exefs folder with the .npmd. Just got a .cert, .tik and the romfs.bin. Did I did something wrong? :unsure:
 

kuki89

Member
Newcomer
Joined
Nov 18, 2016
Messages
6
Trophies
0
Age
34
XP
48
Country
Gambia, The
Hey guys. Everything worked for me, but i only got the Masterkeys 0 and 4 so far. I also tried to decrypt it with the 1-click-decrypt tool, but it does not work, because "section 0" is corrupted. Any ideas?
also i only get the romfs.bin and not the exefs

greetings
 

PRAGMA

Well-Known Member
OP
Member
Joined
Dec 29, 2015
Messages
2,258
Trophies
1
Location
Ireland
Website
github.com
XP
5,042
Country
Ireland
Hey guys. Everything worked for me, but i only got the Masterkeys 0 and 4 so far. I also tried to decrypt it with the 1-click-decrypt tool, but it does not work, because "section 0" is corrupted. Any ideas?
also i only get the romfs.bin and not the exefs

greetings
What game is it just curious.
But when this happens, you need more keys. Newer titles cause this to happen, new games tend to do this. Older games dont.
 

kuki89

Member
Newcomer
Joined
Nov 18, 2016
Messages
6
Trophies
0
Age
34
XP
48
Country
Gambia, The
What game is it just curious.
But when this happens, you need more keys. Newer titles cause this to happen, new games tend to do this. Older games dont.
I tried it so far with Scribblenouts and Dragon Quest Builders. Both times this happened.

Edit: Grammar
 
Last edited by kuki89,

BlastedGuy9905

where's the updated autopsy report
Member
Joined
Apr 13, 2017
Messages
2,334
Trophies
1
Age
34
Location
under your desk
XP
4,053
Country
United States
what the fuck, all i got after i decrypted a donkey kong xci was a romfs.bin and a .cert and .tik file

help?

--------------------- MERGED ---------------------------

note: didnt say that section 0 was corrupted or anything
 

Hondyn

Well-Known Member
Member
Joined
Jan 2, 2018
Messages
258
Trophies
0
Age
36
XP
627
Country
United Kingdom
When I drag Axiom Verge over Decrypt-XCI-v2.1 The only file I get is the romfs.bin
Is there something wrong to Axiom Verge? Like, I tried to do it to other games and I did get romfs.bin and exefs
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BigOnYa @ BigOnYa:
    I'm doing good, just made my first drink of the day, so better now, Captain and Coke today. I had to cut grass all day, then get my hair cut. I messed with my wifey, she knew I was going to get hair cut, and I went and bought a purple dyed wig, and came home wearing it, she freaked out, thinking I dyed my hair purple, was funny.
    +1
  • SylverReZ @ SylverReZ:
    @BigOnYa, Hey BigOnYa
  • BigOnYa @ BigOnYa:
    Hey hope all is well
    +1
  • SylverReZ @ SylverReZ:
    @BigOnYa, And you too :)
    +1
  • S @ salazarcosplay:
    @BigOnYa how are you doing
  • S @ salazarcosplay:
    any mushroom trip adventures you can share
  • JakobAir @ JakobAir:
    Damn, I haven't been on here in while. My wife and I went on a mushroom trip like 10 years ago. A friend had a PS3TV with the glasses and some racing game. It hit when I was playing the game and I freaked out because I thought I was really driving and crashed.
  • K3Nv2 @ K3Nv2:
    Orange ocean Hawaiian punch is pretty good but @BigOnYa keeps putting vodka in it
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    With enough Vodka everything is good
    +1
  • Xdqwerty @ Xdqwerty:
    Im back
  • Xdqwerty @ Xdqwerty:
    We are having a bbq
  • Sicklyboy @ Sicklyboy:
    Nice! Hopefully the weather is good today?
  • Xdqwerty @ Xdqwerty:
    @Sicklyboy, it's a bit cloudy but Yea it's good
    +1
  • K3Nv2 @ K3Nv2:
    80 for us all that rain then mother nature's like have some sun burn
  • Sicklyboy @ Sicklyboy:
    @Xdqwerty, good weather, good food, what's not to like about that? Hope you have a lovely day dude
  • K3Nv2 @ K3Nv2:
    Got some porkchops marinating in honey teriyaki hope it comes out good
  • Sonic Angel Knight @ Sonic Angel Knight:
    Porkchop was the name of that dog in that one cartoon, DOUG! :P
  • Xdqwerty @ Xdqwerty:
    @Sonic Angel Knight, never watched doug
  • Xdqwerty @ Xdqwerty:
    I might play Roblox again
  • BigOnYa @ BigOnYa:
    Nuh jump back to gdevelop
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, i say "play Roblox" not "make games on Roblox"
    Xdqwerty @ Xdqwerty: @BigOnYa, i say "play Roblox" not "make games on Roblox"