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
  • 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
  • Xdqwerty @ Xdqwerty:
    also @BigOnYa im making some progress on my gdevelop project, implemented various mechanics
  • Psionic Roshambo @ Psionic Roshambo:
    They went all in on streaming, should have been more of a hybrid approach
    +1
  • BigOnYa @ BigOnYa:
    Or free government supplied high speed internet be nice also. Like Obama care. Xdqwerty that's cool, its time consuming but rewarding once done or playable, to see what you've made from scratch. Animations take forever, but worth it.
    +1
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, although the bullets are a bit buggy
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Not to mention this would be a massive pain to pirate
  • Xdqwerty @ Xdqwerty:
    @BigOnYa,
    and the visual aspect of the game is quite crude (the sprite that looks best is that of the protagonist just because he is a stickman with sunglasses)
    +1
  • BigOnYa @ BigOnYa:
    There is a bullets behaviour you assign to your character, that makes the code easier, under "behaviours"
  • Xdqwerty @ Xdqwerty:
    i meant that when the character is pointing to the right, the bullets spawn where they should, but when he is on the right, they move to the right but the spawn point is incorrect
  • BigOnYa @ BigOnYa:
    Itch.io has lots of free assets also. Under the bullets behavior tab, there is a "rotate bullets" option, can try that. Or in the code can try
    - fire bullet Player.X(PlayerDirection)
  • Xdqwerty @ Xdqwerty:
    im taking a break for today anyway
    +1
  • BigOnYa @ BigOnYa:
    YEa gotta after a while, looking at code for long periods will bug your eyes.
    +1
  • BigOnYa @ BigOnYa:
    That's cool tho, I'm proud of you going back to it, not giving up. It is difficult at first to learn, but fun once you get the hang of it. I think I've watched every tutorial video there is, but I still struggle sometimes to get stuff to work right. But gotta keep trying dif things, and eventually you will get it right.
    +1
    BigOnYa @ BigOnYa: That's cool tho, I'm proud of you going back to it, not giving up. It is difficult at first to... +1