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,372
Last edited by PRAGMA,

SexiestManAlive

The key that lights the dark
Member
Joined
Apr 18, 2016
Messages
617
Trophies
0
Age
22
XP
2,457
Country
United States
i have all the keys now, but i cant decrypt sonic forces, am i doing something wrong? this is my setup, and voez gives me a cert file and a tik file instead of the romfs
back to one of my older questions

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

Attachments

  • Capture.PNG
    Capture.PNG
    20.8 KB · Views: 404

kingmercian

New Member
Newbie
Joined
Jun 16, 2018
Messages
3
Trophies
0
Age
31
XP
119
Country
United Kingdom
I have created a quick bash script for Linux/OSX which performs the same function as this but also creates a new directory for each file based on the given filename. I have attached a .zip containing the bash script and the hactool binary compiled for Linux/OSX.

Directions:
  1. Place keys.ini file in same directory as hactool and XCIDecryption.sh
  2. make the script executable "chmod 755 XCIDecryption.sh"
  3. Run the script with the .xci as the argument "./XCIDecryption.sh GAMENAME.xci"
Please note this has only been tested on OSX but should work for linux.
 

Attachments

  • XCIDecryption.zip
    150.1 KB · Views: 300
  • Like
Reactions: TunaKetchup

Deleted member 451920

Well-Known Member
Member
Joined
Jun 16, 2018
Messages
126
Trophies
0
Age
30
XP
88
Country
United Kingdom
back to one of my older questions

--------------------- MERGED ---------------------------
No same for me, I have added all master keys yet nothing makes a difference, I have tried it several times and all I get is an empty folder!

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

I tried Axiom Verge on my end and it worked
by doing what exactly
 

TunaKetchup

The Goose is Loose
Member
Joined
Mar 20, 2018
Messages
580
Trophies
0
XP
1,625
Country
Vietnam
No same for me, I have added all master keys yet nothing makes a difference, I have tried it several times and all I get is an empty folder!

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


by doing what exactly

How big is your key.ini file

Mine is 8kb for reference
 

Deleted member 451920

Well-Known Member
Member
Joined
Jun 16, 2018
Messages
126
Trophies
0
Age
30
XP
88
Country
United Kingdom
i put in a bunch of keys i found off a website that cant be named, but im still not able to decrypt sonic forces View attachment 131811
interesting...

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

i put in a bunch of keys i found off a website that cant be named, but im still not able to decrypt sonic forces View attachment 131811
trying that application at the moment

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

i put in a bunch of keys i found off a website that cant be named, but im still not able to decrypt sonic forces View attachment 131811
OMFG!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! IT WORKED!
 

Attachments

  • 1234.PNG
    1234.PNG
    4.9 KB · Views: 404
  • 123.PNG
    123.PNG
    2.6 KB · Views: 408

SexiestManAlive

The key that lights the dark
Member
Joined
Apr 18, 2016
Messages
617
Trophies
0
Age
22
XP
2,457
Country
United States
interesting...

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


trying that application at the moment

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


OMFG!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! IT WORKED!
what does you keys.ini file look like? and what game is that
 

TunaKetchup

The Goose is Loose
Member
Joined
Mar 20, 2018
Messages
580
Trophies
0
XP
1,625
Country
Vietnam
no, that's the one i saw online, just search the app name anddownloadd it and try it for yourself
HsI3Y3g.png


The reason why its not working is because the program cant find the necessary keys.txt path

You have told it to target an INI file which is not what its asking for

It is asking for just a normal txt file.

Until you change that it wont work simple as that
 

Deleted member 451920

Well-Known Member
Member
Joined
Jun 16, 2018
Messages
126
Trophies
0
Age
30
XP
88
Country
United Kingdom
HsI3Y3g.png


The reason why its not working is because the program cant find the necessary keys.txt path

You have told it to target an INI file which is not what its asking for

It is asking for just a normal txt file.

Until you change that it wont work simple as that
I DID! I found this screenshot online since I closed the application and cant be asked to make a screenshot at 1am in the morning
 
  • Like
Reactions: TunaKetchup

TunaKetchup

The Goose is Loose
Member
Joined
Mar 20, 2018
Messages
580
Trophies
0
XP
1,625
Country
Vietnam
I DID! I found this screenshot online since I closed the application and cant be asked to make a screenshot at 1am in the morning

Open up notepad

Copy your keys into the new notepad we just opened

Click on File, then Save As,

On the bottom in the file name box you want "keys"

Below that you will see a box "Save as type" you want to chose .txt

The final file should just be called "keys"


I hope that helps because if not I'm not sure what the problem is. Maybe somebody else can chime in
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    BakerMan @ BakerMan: hot take: freddy fazbear's pizzeria simulator is peak fnaf