Homebrew [Release] CIAngel - download GOOD cias right on your 3ds :)

thefinetdoge

Active Member
Newcomer
Joined
Oct 19, 2015
Messages
25
Trophies
0
XP
103
Country
United States
I kinda feel bad for ninety. Now we can pirate directly from their server
ok... My comprehension isn't comprehending. What does this tool do? It downloads cia's directly to your 3ds? Am i getting it right? And it download the file from the eshop?
This tool builds .cias from eshop content using the titlekey. Basically, it lets you pirate stuff directly from the nintendo servers.
 
  • Like
Reactions: Zech

Ev1l0rd

(⌐◥▶◀◤) girl - noirscape
Member
Joined
Oct 26, 2015
Messages
2,004
Trophies
1
Location
Site 19
Website
catgirlsin.space
XP
3,441
Country
Netherlands
ok... My comprehension isn't comprehending. What does this tool do? It downloads cia's directly to your 3ds? Am i getting it right? And it download the file from the eshop?
More or less. It downloads the CIA from the CDN which the eshop also downloads from.

On a serparate note: Whilst downloading from the cdn to a cia without using the eshop is safe (you don't use your NNID and stuff), is there a ban risk with using the tickets theory?
 
  • Like
Reactions: Zech

Xenon Hacks

Well-Known Member
Member
Joined
Nov 13, 2014
Messages
7,414
Trophies
1
Age
31
XP
4,698
Country
United States
More or less. It downloads the CIA from the CDN which the eshop also downloads from.

On a serparate note: Whilst downloading from the cdn to a cia without using the eshop is safe (you don't use your NNID and stuff), is there a ban risk with using the tickets theory?
We wont know but unbanning is easy
 

DocKlokMan

Plugin Dev
Member
Joined
Apr 20, 2007
Messages
3,009
Trophies
2
Age
36
XP
4,571
Country
United States
So... Since all this stuff exists, it was real easy to throw together a method for installing all the stuff from the eShop (based on FunKeyCIA, I know this is the wrong thread, but meh).
This program creates tickets from an encTitleKeys.bin (you know how to get it), to install them with FBI.
Then you can install the games straight from eShop.
http://chunk.io/f/da0e426f23d74d1297c7bd2713fbe34f?lang=py

Usage:
Code:
python3 gentickets.py encTitleKeys.bin output_dir

You can batch-install them with the newest FBI.

This method would need an easy way to update the tickets without reinstalling them all, as well as filtering to install only tickets for your region, and filtering system titles and applets and such, and preferably a program on the 3ds itself to do this straight on the console.

I know this isn't right for archival purposes, but don't tell me it isn't the most convenient to install them straight from eShop.
I think your script and my script (link) may be able to be merged in order to only output tickets that are valid and of the region you want.

My script takes both the decTitleKeys.bin to grab the decrypted keys for validating titles and then passes the confirmed valid titles via an array to a second part of the script which then grabs meta data for name and region as well as the corresponding encrypted key from encTitleKeys.bin and then outputs it to the screen or to a CSV file.

With your permission I can try to merge the two in order to optionally process a decTitleKeys.bin then download some meta data and finally build a ticket using the encrypted key while being able to filter by region. I'd have the resulting tickets named "Title Name (REG)". Command would be executed like so:
Code:
python3 gentickets.py [-check] [-REG]
Check implying to validate keys (otherwise if you have an encTitleKeys.bin that you know only contains valid keys you can skip the check) and REG being USA, EUR, JPN, TWN, Etc. ALL is implied and included with each.

Also @Ptrk25 I know your icon.bin method of retrieving title name and region which is faster and more accurate than mine, I wouldn't mind some help switching that over.
 
Last edited by DocKlokMan,

DocKlokMan

Plugin Dev
Member
Joined
Apr 20, 2007
Messages
3,009
Trophies
2
Age
36
XP
4,571
Country
United States
Ok here we go, something cool!

CIAngel is a homebrew program that downloads content from Nintendo's servers.
You give it a title id and the encrypted key, and this will make a GOOD cia that will be able to be reinstalled, it will not interfere with eshop... etc.
The output is just like my python tool FunKeyCIA.
Please understand, CIAngel and FunKeyCIA cannot make legit CIAs, FunkyCIA can.

As it is right now, CIAngel reads a text file in sd:/CIAngel/input.txt - this text file MUST have linux line endings.
I'll fix that later, I just wanted to get this release online, shared and working :)
The text file should have 2 lines, 1st line is the title id. 2nd line is the encrypted title key.

Once the contents are downloaded, the cia generation may take some time... don't worry, just wait.
The output files will be stored to sd:/CIAngel - you can delete the 'tmp' file.

This has LOADS of room for improvement, but I cannot do it all myself, time wise and ability wise. So I hope people will help contribute on github :)
What I'm thinking of:

  • encTitleKeys.bin parsing, letting us choose what games to download with a selection menu.
  • getting the game's name/icon from CDN, displaying this to help us download.
  • adding this homebrew keyboard - because what use it having CIAngel on a portable device if you still need a computer to add data to it! :)
  • letting the user quit CIAngel, at the moment you have to power down... sorry! :)

I'm not thinking about incorporating a CIA installer into this, I don't think it's important.

First I need and want to thank @machinamentum for FirmwareDownloader because without that, CIAngel would not exist, it is heavily based on that work! It's a great tool. Thanks for 3dsguy and make_cdn_cia, and of course @Friendsxix who shared the method so I could make FunkyCIA!


https://github.com/llakssz/CIAngel
This is awesome! I'm working on a script with @mid-kid to generate just tickets for batch installation with FBI. I see your homebrew makes a ticket file as part of the CIA generation. Any chance at getting an option we could choose that would just stop at the ticket step? Then we'd have a just a ticket we could import assuming it's for our region.
 

Ptrk25

Well-Known Member
Member
Joined
Sep 6, 2015
Messages
524
Trophies
0
Location
::1
XP
1,181
Country
Germany
This is awesome! I'm working on a script with @mid-kid to generate just tickets for batch installation with FBI. I see your homebrew makes a ticket file as part of the CIA generation. Any chance at getting an option we could choose that would just stop at the ticket step? Then we'd have a just a ticket we could import assuming it's for our region.
You mean a .tik file?
 

DocKlokMan

Plugin Dev
Member
Joined
Apr 20, 2007
Messages
3,009
Trophies
2
Age
36
XP
4,571
Country
United States
Right, and I'm already working to implement in GroovyCIA2 xD
Well okay then! I'm assuming GroovyCIA2 will let us use encTitleKeys.bin or manually input encrypted keys and let us build either a CIA or ticket file (hopefully in bulk with multi select)? If so I literally cannot wait for this to be ready. Will it have a validity checker via decTitleKeys.bin?
 

Ptrk25

Well-Known Member
Member
Joined
Sep 6, 2015
Messages
524
Trophies
0
Location
::1
XP
1,181
Country
Germany
Well okay then! I'm assuming GroovyCIA2 will let us use encTitleKeys.bin or manually input encrypted keys and let us build either a CIA or ticket file (hopefully in bulk with multi select)? If so I literally cannot wait for this to be ready. Will it have a validity checker via decTitleKeys.bin?
Yep it will.
 

CeeDee

fuckin dork
Member
Joined
May 4, 2014
Messages
5,366
Trophies
3
XP
9,991
Country
United States
The war continues... and so does the warez eShop CIA backup download convenience!
We've got Plaicdn for CIAs, we got Funkey for eShop redownload compatibility, CIAngel for doing it straight from 3DS (with a text file from PC) and another tool to let you get a ticket file and do it straight from eShop. This is just incredible.

Well, I guess I'll never need to go through like 5 adf.ly links to get to a ROM again!
 
  • Like
Reactions: Quantumcat

DocKlokMan

Plugin Dev
Member
Joined
Apr 20, 2007
Messages
3,009
Trophies
2
Age
36
XP
4,571
Country
United States
The war continues... and so does the warez eShop CIA backup download convenience!
We've got Plaicdn for CIAs, we got Funkey for eShop redownload compatibility, CIAngel for doing it straight from 3DS (with a text file from PC) and another tool to let you get a ticket file and do it straight from eShop. This is just incredible.

Well, I guess I'll never need to go through like 5 adf.ly links to get to a ROM again!
As long as people keep putting TitleKeys out there (Bravely Second USA I'm looking for you and I'm gonna find you).
 
  • Like
Reactions: Xenosaiga

jerrmy12

Well-Known Member
Member
Joined
Apr 8, 2016
Messages
240
Trophies
0
XP
108
Country
United States
Ok here we go, something cool!

CIAngel is a homebrew program that downloads content from Nintendo's servers.
You give it a title id and the encrypted key, and this will make a GOOD cia that will be able to be reinstalled, it will not interfere with eshop... etc.
The output is just like my python tool FunKeyCIA.
Please understand, CIAngel and FunKeyCIA cannot make legit CIAs, FunkyCIA can.

As it is right now, CIAngel reads a text file in sd:/CIAngel/input.txt - this text file MUST have linux line endings.
I'll fix that later, I just wanted to get this release online, shared and working :)
The text file should have 2 lines, 1st line is the title id. 2nd line is the encrypted title key.

Once the contents are downloaded, the cia generation may take some time... don't worry, just wait.
The output files will be stored to sd:/CIAngel - you can delete the 'tmp' file.

This has LOADS of room for improvement, but I cannot do it all myself, time wise and ability wise. So I hope people will help contribute on github :)
What I'm thinking of:

  • encTitleKeys.bin parsing, letting us choose what games to download with a selection menu.
  • getting the game's name/icon from CDN, displaying this to help us download.
  • adding this homebrew keyboard - because what use it having CIAngel on a portable device if you still need a computer to add data to it! :)
  • letting the user quit CIAngel, at the moment you have to power down... sorry! :)

I'm not thinking about incorporating a CIA installer into this, I don't think it's important.

First I need and want to thank @machinamentum for FirmwareDownloader because without that, CIAngel would not exist, it is heavily based on that work! It's a great tool. Thanks for 3dsguy and make_cdn_cia, and of course @Friendsxix who shared the method so I could make FunkyCIA!


https://github.com/llakssz/CIAngel
What's the difference between a good and legit cia, in this context?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BigOnYa @ BigOnYa:
    A friend give me a $35 cigar, and pssf, just as good as a $5 one. But of course gonna have to tell him it was awesome.
  • Psionic Roshambo @ Psionic Roshambo:
    What makes a good Cuban rum soaked cigar is a nice cosmopolitan to go with it.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Used to do that every time I went to Miami on business
  • Psionic Roshambo @ Psionic Roshambo:
    There was this little bar I would stop in have that combo and watch the beach
    +1
  • BigOnYa @ BigOnYa:
    I've never met a girl named cosmopolitan, but cool. And where do you insert the cigar? Mr clinton
  • Psionic Roshambo @ Psionic Roshambo:
    Slightly more than 35 dollars lol but I was making thousands on a job.
  • Psionic Roshambo @ Psionic Roshambo:
    Cosmopolitan is just vodka and cranberry juice lol
  • Psionic Roshambo @ Psionic Roshambo:
    I'm a martini glass
  • K3Nv2 @ K3Nv2:
    My dental assistant is Cuban I'm gonna have to him for cigars and sandwiches now
    +1
  • BigOnYa @ BigOnYa:
    Yea wish I could get Cubans cheap, they are ridiculous priced up here. But they are hard workers.
  • Psionic Roshambo @ Psionic Roshambo:
    I think I was paying like 75 back in the early 90s
  • Psionic Roshambo @ Psionic Roshambo:
    Rolled on the thighs of virgins if the stories are to be believed
  • K3Nv2 @ K3Nv2:
    I don't think we belive any of your stories
  • Psionic Roshambo @ Psionic Roshambo:
    That's honestly for the best lol
  • BigOnYa @ BigOnYa:
    I'd read his autobiography.
  • K3Nv2 @ K3Nv2:
    "If I may have done it."
  • Psionic Roshambo @ Psionic Roshambo:
    I'm deliberately vague about some of the details sure it's been 30 years but some crimes don't have limitations
  • K3Nv2 @ K3Nv2:
    Psis sex life is Dubai
    FB-IMG-1717887564361.jpg
  • BigOnYa @ BigOnYa:
    Or I picture its like quagmire from family guy, gigity.
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    Back then I was so wasteful with money, didn't bother me to spend 600 bucks in a strip club, some of those private dances though... Lol
  • Psionic Roshambo @ Psionic Roshambo:
    My life back then was a mix of Breaking Bad and John Wick and Dumb and Dumber lol
  • Psionic Roshambo @ Psionic Roshambo:
    The things we do as kids so lucky to be alive lol
  • Sonic Angel Knight @ Sonic Angel Knight:
    Kids put chocolate in their pockets :ninja:
    Sonic Angel Knight @ Sonic Angel Knight: Kids put chocolate in their pockets :ninja: