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,

SexiestManAlive

The key that lights the dark
Member
Joined
Apr 18, 2016
Messages
617
Trophies
0
Age
22
XP
2,458
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: 405

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: 301
  • 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,458
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
  • K3Nv2 @ K3Nv2:
    Yeah even bt support for Xbox one controllers are just as easy as pairing
    +1
  • ColdBlitz @ ColdBlitz:
    considering the steamdeck can emulate the switch (yikes) theres almost 0 reason to buy the switch apart from playing online and using cartridges
  • K3Nv2 @ K3Nv2:
    Xinput and 360 dongles were a driver nightmare
  • K3Nv2 @ K3Nv2:
    I remember having to manually put in drivers and what not
  • Psionic Roshambo @ Psionic Roshambo:
    Yeah the 360 dongles sucked
  • Psionic Roshambo @ Psionic Roshambo:
    But the new Xbox pads? PIr it up and if a game supports it it just works
  • K3Nv2 @ K3Nv2:
    Most emulators even automatically detect them now
  • Psionic Roshambo @ Psionic Roshambo:
    Yeah it's a good time to be alive lol
  • Psionic Roshambo @ Psionic Roshambo:
    Pi4 and Batocera works with them perfectly too
  • K3Nv2 @ K3Nv2:
    I'd like to see future tap to pair options like you hold it over a scanner and it just automatically pairs
  • K3Nv2 @ K3Nv2:
    No need for additional cords buttons or anything
  • Psionic Roshambo @ Psionic Roshambo:
    Hmmm yeah that is possible BT has an address like an IP
  • Psionic Roshambo @ Psionic Roshambo:
    Scan a QR code on your phone open a page with the controller and a QR code for the device, hit go and done
  • K3Nv2 @ K3Nv2:
    One less latency issue for radio frequency
  • K3Nv2 @ K3Nv2:
    Or even wifi pair opening just an app to sign is nice
  • Psionic Roshambo @ Psionic Roshambo:
    Yeah it could be hosted on the phone hmmm it's an idea Ken
  • K3Nv2 @ K3Nv2:
    But could be bad for people with lower speeds but how many mbs would it really need to detect a button press
  • Psionic Roshambo @ Psionic Roshambo:
    Nearly nothing
  • Psionic Roshambo @ Psionic Roshambo:
    Most of it BT used
  • BigOnYa @ BigOnYa:
    That's how I pair with uremum, I wave a $5 bill across her face, and instant link.
  • K3Nv2 @ K3Nv2:
    A priest travels to China holy covid
  • The Real Jdbye @ The Real Jdbye:
    being able to turn into a dinosaur would be low key amazing
  • K3Nv2 @ K3Nv2:
    Just don't be a Trex you can't fondle your dong
    K3Nv2 @ K3Nv2: Just don't be a Trex you can't fondle your dong