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,

The Real Jdbye

*is birb*
Member
Joined
Mar 17, 2010
Messages
23,387
Trophies
4
Location
Space
XP
14,021
Country
Norway

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.
Decent guide, but could be a bit more in depth.
For example, you could be more specific about "Make sure your keys are in keys.ini filename and format and is next to hactool.exe aswell", what exactly does "keys.ini filename and format" mean? It's not clear to noobs.
Also you could explain how to figure out the title ID in order to rename the folder (or link a thread/guide/website that explains how to do so)
Other than that, I think it's good :)
 

Shinox

Well-Known Member
Newcomer
Joined
Oct 2, 2016
Messages
54
Trophies
0
Age
35
XP
352
Country
Doesn't seem to work with Octobath Traveler , it extracts just the romfs.bin alone inside the folder and that file alone is about 3GB
 
Last edited by Shinox,

Bigjokker

Well-Known Member
Member
Joined
Jan 4, 2015
Messages
98
Trophies
0
Age
47
XP
356
Country
United States
Doesn't seem to work with Octobath Traveler , it extracts just the romfs.bin alone inside the folder and that file alone is about 3GB

Yeah, me too. I'm getting section 0 is corrupt which I think is causing it


did you write this? if so could you add a title id patcher thanks

I added a title ID finder to this one and some other stuff to make it a little easier.
 

Attachments

  • DECRYPT_XCI_NCA_NSP.rar
    2.9 MB · Views: 488
Last edited by Bigjokker,
  • Like
Reactions: RazorX2014

Bigjokker

Well-Known Member
Member
Joined
Jan 4, 2015
Messages
98
Trophies
0
Age
47
XP
356
Country
United States
New build of hactool can now decrypt newer games like Octopath Traveler.

*UPDATE* NEW Decrypt_XCI_NCA_NSP
Changelog:
-Can Patch main.npdm
-Finds NSP Titlekey instantaneous now
-minor improvements
-minor bug fixes
 

Attachments

  • DECRYPT_XCI_NCA_NSP.rar
    2.9 MB · Views: 683
Last edited by Bigjokker,

ArcAngl

New Member
Newbie
Joined
Mar 17, 2019
Messages
1
Trophies
0
Age
51
XP
48
Country
Canada
I am really new to this, I was able to extract it correctly but how do you play it on the switch after you have it extracted. I made the correct folders in atmosphere.
 

Trunsel

Member
Newcomer
Joined
Apr 10, 2019
Messages
8
Trophies
0
Age
35
XP
69
Country
Hungary
Hello, im new here i understand this decrypt make exeFS folder and Romfs.bin but i want romfs FOLDER for PKNX, how can i make this?
 

Deastrumquodvicis

Member
Newcomer
Joined
Jan 18, 2021
Messages
16
Trophies
0
Age
34
XP
216
Country
United States
The only things in my xciDecrypted folders are a .cert and a .tik. I haven't been getting hactool to open up at all, not even when I drag-and-drop, so I'm not sure what's going on with my process.
 

Attachments

  • 008-ddvram-pregen-04.png
    008-ddvram-pregen-04.png
    131.6 KB · Views: 106

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • a_username_that_is_cool @ a_username_that_is_cool:
    DDDS . Dual Developer Dedede System :)
    +1
  • BakerMan @ BakerMan:
    also happy birthday @Xdqwerty
    +1
  • BigOnYa @ BigOnYa:
    Is it me you're looking for?
  • MysticStarlight @ MysticStarlight:
    'Cause I wonder where you are
  • MysticStarlight @ MysticStarlight:
    wait I got the lyrics mixed up
    +1
  • BigOnYa @ BigOnYa:
    And I wonder what you do...Lol
  • BigOnYa @ BigOnYa:
    Its all good, I'm here to talk to you.
  • BigOnYa @ BigOnYa:
    Hello
  • BigOnYa @ BigOnYa:
    I've been playing fallout4 all day, I went into a elevator and it kept going, never stopped, waited 5 minutes, must of been a bug. How bout you, whatcha do today?
    +1
  • MysticStarlight @ MysticStarlight:
    I'm wondering why a stray tuxedo cat has a cloudy eye
  • MysticStarlight @ MysticStarlight:
    I've been playing TOTK all day also
    +1
  • MysticStarlight @ MysticStarlight:
    Oh you reminded me of those elevator nightmares
  • BigOnYa @ BigOnYa:
    Awesome game, fun how they force you to build, but you can build as you want
  • MysticStarlight @ MysticStarlight:
    It is super fun, I actually prefer it over BoTW
    +1
  • BigOnYa @ BigOnYa:
    The guy holding the sign always cracked me up, esp when you fail, and it falls
  • MysticStarlight @ MysticStarlight:
    Ah yes, that guy lol. I still need to find all his signs. The game has a lot to do though so I don't know what to finish first
  • MysticStarlight @ MysticStarlight:
    I'm 120 hours in and am still like 44.4% done
    +1
  • BigOnYa @ BigOnYa:
    Good times. Building is starting to get good around now for you. You making me want to make run thru again.
  • BigOnYa @ BigOnYa:
    Ok good chatting, enjoy your gaming, and avoid the lightning, or put your sword away. Good night.
  • K3Nv2 @ K3Nv2:
    All I gotta do is not spend $10 in the next 5 days and I'll break even this month lol
  • K3Nv2 @ K3Nv2:
    @BigOnYa, tell your wife not to forget her wallet
    +1
    K3Nv2 @ K3Nv2: https://youtu.be/YMAa6obDNZs?si=rymChLKeTdyS8nqk