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,376
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
  • AncientBoi @ AncientBoi:
    :unsure::unsure::unsure: by their standards, yes
    +1
  • BigOnYa @ BigOnYa:
    My wifey got a couple free tickets the Memorial Golf tournament here in Dublin Ohio close to me, and I hate golf, so I asked couple neighbors if they wanted them, and 2 dif neighbors have started a bidding war, they are up to $75 for both so far, lol
  • BigOnYa @ BigOnYa:
    I just can't get into golf, boring to me. I'd rather go drown some worms.
    +1
  • AncientBoi @ AncientBoi:
    $75.01 :teach:
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Take whatever for them, playing golf is fun.... Watching golf at home is relaxing, watching golf in person? Why ...
    +1
  • BigOnYa @ BigOnYa:
    I was gonna just give away, but they both started bidding more than other, so ill take it
    +2
  • BigOnYa @ BigOnYa:
    Looks like ill have steak on the grille tonight for free.
    +3
  • AncientBoi @ AncientBoi:
    Tube? :shy::blush::evil:
    +3
  • BigOnYa @ BigOnYa:
    Games are getting huge nowdays, like 125gb a game (4k games anyways). I feel sorry for players that only have a 512gb hd. (Series S)
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    It's fine just stream the game! Lol
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I wonder if that was the point of game streaming
  • Psionic Roshambo @ Psionic Roshambo:
    But it's a dead end
  • Xdqwerty @ Xdqwerty:
    @Psionic Roshambo, people who cant download it can still play the game
  • BigOnYa @ BigOnYa:
    If your internet speeds are fast enough. Streaming 4k takes alot. I used to only have 20mb sec, and 4k struggled. Now I have 300mb sec and 4k plays fine.
    +1
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, i only have like 1 or 2 mb sec
  • BigOnYa @ BigOnYa:
    Did you feed the hamster in your internet router? It prob died and is running slow now.
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, why did you start saying my pc has a hamster in the first place?
    +1
  • BigOnYa @ BigOnYa:
    Its actua!ly just a old joke, meaning its slow. Was just kidding around with you.
    +1
  • BigOnYa @ BigOnYa:
    I bet @AncientBoi has some hamsters hidden somewhere tho....
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    I think Game streaming should work like this.... Local Hardware able the run the game fine, game engine and common assets stored locally, all FMV and music and textures could be streaming
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Some temporary storage
    Psionic Roshambo @ Psionic Roshambo: Some temporary storage