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: 302
  • 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
  • BigOnYa @ BigOnYa:
    Nighty night
  • BigOnYa @ BigOnYa:
    Yea is sad. His 2 movies were good. Informative about our food industry.
  • BigOnYa @ BigOnYa:
    This was one of the craziest movies I've seen about our food industry, lots of stuff I didn't know. A must see. https://youtu.be/OqzjC-ENrl8?si=GYxmdY5nShzGniVi
  • OctoAori20 @ OctoAori20:
    Oh, that dude?
  • OctoAori20 @ OctoAori20:
    I stopped believing or caring about that dude when I found out about some of the more questionable nonsense he did in his life.
  • BigOnYa @ BigOnYa:
    Like what? I didn't know or hear.
  • K3Nv2 @ K3Nv2:
    You mean like every famous person that ever existed
    +1
  • K3Nv2 @ K3Nv2:
    I get so tired of hearing oh I liked him until...
  • OctoAori20 @ OctoAori20:
    I just know dude was a chronic alcoholic and such.
  • BigOnYa @ BigOnYa:
    I've been to his chicken restaurant he started in his 2nd movie, Holy Chicken, was pretty good. It is only 15-20 miles from me in Ohio. It only lasted 1 yr or so then closed tho.
  • OctoAori20 @ OctoAori20:
    There are very few people I just have just an immense dislike of and he's one of those very few people, the only other example is Gene Simmons. My musician uncle on my mother's side of the family actually met Gene once during some event and said he was the most unpleasant person to be around.
  • K3Nv2 @ K3Nv2:
    I met myself once turns out that guy is a giant piece of shit that doesn't deserve any of my respect
  • BigOnYa @ BigOnYa:
    Damn alcoholics! (Sshhh- Opens another beer)
  • OctoAori20 @ OctoAori20:
    Agreed, Ken
  • OctoAori20 @ OctoAori20:
    I can't say I've ever tried even a sip of beer tbh-
  • K3Nv2 @ K3Nv2:
    You met yourself also and is a giant piece of shit?
    +1
  • OctoAori20 @ OctoAori20:
    Then again, I don't think I'd really enjoy it //shrug
  • OctoAori20 @ OctoAori20:
    I'm sure it's an acquired taste :P
  • K3Nv2 @ K3Nv2:
    Poor lad can never enjoy the amazing taste of four loko
    +1
  • BigOnYa @ BigOnYa:
    Root beer is a gateway drink, don't ever try it either.
  • K3Nv2 @ K3Nv2:
    @BigOnYa, don't you love how smooth MD20 is
  • BigOnYa @ BigOnYa:
    Mad dog 20 20? Oh yea fixed the typo. I haven't seen that or had forever. Do they still make it?
  • K3Nv2 @ K3Nv2:
    I think it's why I'm alive
    +1
    K3Nv2 @ K3Nv2: I think it's why I'm alive +1