Hacking WIP XCI2TitleConverter - Automated process for XCI to Title

Dvdxploitr

Well-Known Member
Member
Joined
May 24, 2008
Messages
705
Trophies
1
XP
1,295
Country
United States
Okay, this is very interesting...got 3 games to work on this program.....however, ever since I got those to work, every other game says sector 0 is corrupted and to check my keys...yet, the first three games I decrypted work just fine!
 

javilobo8

Well-Known Member
OP
Newcomer
Joined
May 10, 2018
Messages
90
Trophies
0
Age
30
Website
lobobot.com
XP
502
Country
Spain
Okay, this is very interesting...got 3 games to work on this program.....however, ever since I got those to work, every other game says sector 0 is corrupted and to check my keys...yet, the first three games I decrypted work just fine!
Google the keys, they are unique for al consoles, that error is you haven't all the keys :)
 

Dvdxploitr

Well-Known Member
Member
Joined
May 24, 2008
Messages
705
Trophies
1
XP
1,295
Country
United States
Meh, I wouldn't even know what keys are needed...what to do with them once I did find 'em...guess I can just try to throw some keys in there (any public one I find anyway)



EDIT: Threw the public keys into the keys.txt file and no errors! It said "Success!" Thanks for letting me know about the keys!
 
Last edited by Dvdxploitr,
  • Like
Reactions: javilobo8

jmmc

Well-Known Member
Member
Joined
May 8, 2011
Messages
168
Trophies
1
XP
1,681
Country
Last edited by jmmc,
  • Like
Reactions: javilobo8

Ryab

Well-Known Member
Member
Joined
Aug 9, 2017
Messages
3,232
Trophies
1
XP
4,460
Country
United States
Hello! I have just created a tool to create a title folder from a XCI file.

Hactool and your own Switch keys are required.

ddea55573bf41c95226577d200f6f893.png


Hope this is useful for you.

https://github.com/javilobo8/XCI2TitleConverter

Releases:

1.0.0
  • Initial release
1.1.0
  • Add NPDM patching (thanks to @Falo )
  • Add more target titles
1.2.0
  • Some refactor
  • Add more target titles
something to take note is the keys.py that helps you get your keys is outdated and is missing a few master keys needed for newer games
 
  • Like
Reactions: javilobo8

javilobo8

Well-Known Member
OP
Newcomer
Joined
May 10, 2018
Messages
90
Trophies
0
Age
30
Website
lobobot.com
XP
502
Country
Spain

Garlik82

Member
Newcomer
Joined
May 12, 2018
Messages
5
Trophies
0
Age
41
XP
143
Country
Portugal
I’ve created a tool in Java based on this to be multiplatform (Windows/Linux/macOS)

You just need java to run the .jar file.

For Mac and Linux you have to compile the hactool yourself, it’s very easy. And the key.txt

Any guide to compile hactool for MacOS available?
 
  • Like
Reactions: davidAIR

jmmc

Well-Known Member
Member
Joined
May 8, 2011
Messages
168
Trophies
1
XP
1,681
Country
Any guide to compile hactool for MacOS available?

Download source code from release:
https://github.com/SciresM/hactool/archive/1.1.0.zip

Unzip that file and then open a terminal inside the unzipped folder.

Execute the following command: mv config.make.template config.make

Then execute the command: make

If all goes good, you will have a single hactool file in the same folder, copy that file next to my .jar file.

If make command gives you an error (not found or something similar) try installing the c compiler gcc or installing Xcode from the App Store (and open it one to install required components)

Hope it works.
 
  • Like
Reactions: Garlik82

Garlik82

Member
Newcomer
Joined
May 12, 2018
Messages
5
Trophies
0
Age
41
XP
143
Country
Portugal
Download source code from

Unzip that file and then open a terminal inside the unzipped folder.

Execute the following command: mv config.make.template config.make

Then execute the command: make

If all goes good, you will have a single hactool file in the same folder, copy that file next to my .jar file.

If make command gives you an error (not found or something similar) try installing the c compiler gcc or installing Xcode from the App Store (and open it one to install required components)

Hope it works.
Thanks. It worked :)
 

HoTsHoTz79

GIC-Developer
Member
Joined
May 9, 2018
Messages
322
Trophies
0
Age
39
XP
964
Country
Canada
@javilobo8 Question:

When I run this twice for the same game but with 2 different Donors, i get the following:

Output result:
//atmosphere/titles/010008900705C000/exefs/<files here>
//atmosphere/titles/010008900705C000/romfs.bin

//atmosphere/titles/0100E65002BB8000/exefs/<files here>
//atmosphere/titles/0100E65002BB8000/romfs.bin

I want to know what files are different from the above... just main.npdm? is romfs.bin untouched? or does it also get patched with donor titleid?

because if its just the main.npdm file, i am wondering if i can make duplicate copies of npdm file and update the titleid (and replace when ready to test next donor)
instead of using the tool 3 times to test each donor for same game... takes quite a lot of time when running multiple times and copying to SD card
 
Last edited by HoTsHoTz79,

shabbypenguin

Well-Known Member
Newcomer
Joined
Apr 29, 2015
Messages
84
Trophies
0
Age
36
XP
403
Country
United States
@javilobo8 Question:

When I run this twice for the same game but with 2 different Donors, i get the following:

Output result:
//atmosphere/titles/010008900705C000/exefs/<files here>
//atmosphere/titles/010008900705C000/romfs.bin

//atmosphere/titles/0100E65002BB8000/exefs/<files here>
//atmosphere/titles/0100E65002BB8000/romfs.bin

I want to know what files are different from the above... just main.npdm? is romfs.bin untouched? or does it also get patched with donor titleid?

because if its just the main.npdm file, i am wondering if i can make duplicate copies of npdm file and update the titleid (and replace when ready to test next donor)
instead of using the tool 3 times to test each donor for same game... takes quite a lot of time when running multiple times and copying to SD card
yes, only main.npdm changes per donor.
 
  • Like
Reactions: HoTsHoTz79

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    AncientBoi @ AncientBoi: Imma make quesadillas for lunch :D +1