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

jimmyleen

Well-Known Member
Member
Joined
Feb 28, 2016
Messages
1,171
Trophies
0
XP
704
Country
Gateway users who claim Gateway is easier than converting and installing cias to justify having bought it won't be able to use that excuse soon :-)

I think it depends does gateway convert .3ds to .cia, .3ds and eshop games to .cia, or just eshop games to .cia?
 
Last edited by jimmyleen,

Drakia

Well-Known Member
Member
Joined
Mar 15, 2008
Messages
1,644
Trophies
2
Age
36
XP
2,596
Country
Canada
Yeah I tend to jump from scene to scene a lot, so I'll be around for a few months helping out where I can then disappear again ;)
sure at the moment, tmp folder is easy to be removed at the end, it will come soon :)
someone just told me they are going to try making the progress bar, nice right!
thanks :)

I'm actually working on making the code download the content data directly into the CIA versus having temp files. If this goes according to plan (damned slow hotel wifi) it will mean the only temp file will be 'tmd' which is quite small.

@mysamdog
As for download progress bar, with the changes I made to downloading (Grabbing it in 1MB buffer chunks) it should be possible to have a progress bar using escape codes that just compares current downloaded size to total size (Both should be available from libctru's HTTP functions)
 
  • Like
Reactions: cearp

cearp

瓜老外
OP
Developer
Joined
May 26, 2008
Messages
8,737
Trophies
2
XP
8,577
Country
Tuvalu
maybe don't make the tmd the only temp file, i have just extracted the ticketgen code, so that it can be called separately to the download game function.
i built, and i am just about to test, if working we will have enctitlekeys.bin file processing = outputting to .tik files in a 'ticket' folder.
no downloading from the .bin file because there would just be too many, if we could implement some menu to search, display the game's name that would be great. but then displaying names is difficult, not every game name is simply A-Z... japanese korean names... etc


i added fetching the latest file from that nfshost key website... :) anyway, i'm just about to see if i didn't break anything. then i will commit

downloading the data straight to the cia seems like a very neat idea, no negatives i guess, right? good luck! thanks
 
Last edited by cearp,
  • Like
Reactions: Xenon Hacks

Drakia

Well-Known Member
Member
Joined
Mar 15, 2008
Messages
1,644
Trophies
2
Age
36
XP
2,596
Country
Canada
Sorry, it will be the cetk and tmd files. The only other files are the content, which are going to be downloaded directly into the generated CIA file, saving the need to copy it from tmp to the CIA after downloading. I just finished testing and the generated CIA file has the same MD5 as generated by both FunKeyCIA and my last pull request that fixes the alignment padding.
This should speed things up quite a bit since there's no longer a need to process the content data twice (Download + copy). I'll be opening a PR for this as well (Which should be merged after the hash difference PR)
 

cearp

瓜老外
OP
Developer
Joined
May 26, 2008
Messages
8,737
Trophies
2
XP
8,577
Country
Tuvalu
@Steveice10 you need to get in on this stuff to make this install the game to the 3DS while downloading instead of making a CIA.
Replacement eShop anybody?
i want to still be able to create a cia. but sure, if we could install straight to the 3ds that would be cool too... but i'm not sure how viable it is to stream data from online straight to the 3ds. but yeah fbi does that with the network thing...
 

Xenosaiga

Time to switch it up
Member
Joined
Oct 9, 2015
Messages
1,501
Trophies
0
Age
34
Location
The Shadows
XP
1,080
Country
United States
i want to still be able to create a cia. but sure, if we could install straight to the 3ds that would be cool too... but i'm not sure how viable it is to stream data from online straight to the 3ds. but yeah fbi does that with the network thing...
It was just an idea. Theres nothing stopping me from using this to download a cia and then installing with FBI. was just thinking this could do both.
 

cearp

瓜老外
OP
Developer
Joined
May 26, 2008
Messages
8,737
Trophies
2
XP
8,577
Country
Tuvalu
It was just an idea. Theres nothing stopping me from using this to download a cia and then installing with FBI. was just thinking this could do both.
no it would be cool :) but, i took a look at fbi's code and for me, it's very complex...! but given time, sure let's try to add something like it :)
 
  • Like
Reactions: Xenosaiga

cearp

瓜老外
OP
Developer
Joined
May 26, 2008
Messages
8,737
Trophies
2
XP
8,577
Country
Tuvalu
If nothing else you could just write something to install the CIA then delete it once installed. It would save having to go back in later and deleting it.
well either way, cia installing code will have to be added, whether the cia is being streamed or is already saved. :)
 
  • Like
Reactions: Xenosaiga

cearp

瓜老外
OP
Developer
Joined
May 26, 2008
Messages
8,737
Trophies
2
XP
8,577
Country
Tuvalu
oh yeah, people said it before, but i have to add, i downloaded a game that needed cryptofixing, it wouldn't run when i opened it.
i downloaded this with CIAngel, i typed in the title id and key :)
so i went to the game's eshop page. that is all i had to do.
then the game worked.
just like going into the in game dlc area, that gets you are dlc ticket for the game.
going oo the eshop page gets you the seed for the game. cool :)
 

TheCruel

Developer
Banned
Joined
Dec 6, 2013
Messages
1,350
Trophies
2
XP
3,131
Country
United States
I was going to do an overhaul on BrewMan. I could repurpose it as a CIA downloader/installer. I was going to just have it be for CIA homebrew, but I'm considering expanding it. I've honestly never used or studied the eShop, NUS, or any of Nintendo's servers/web services. I'll see how feasible/useful this is.
 

Ryuzaki_MrL

Green Thunder
Member
Joined
Jun 23, 2015
Messages
781
Trophies
0
Age
26
XP
2,046
Country
Brazil
I made a banner for the app and then compiled as cia. I don't know if it would help, but it's here anyway.
 

Attachments

  • CIAngel.zip
    397.5 KB · Views: 89
  • banner.png
    banner.png
    3.5 KB · Views: 296

cearp

瓜老外
OP
Developer
Joined
May 26, 2008
Messages
8,737
Trophies
2
XP
8,577
Country
Tuvalu
I made a banner for the app and then compiled as cia. I don't know if it would help, but it's here anyway.
Thanks but we are not building as a CIA, but when that happens thanks for the banner :)

--------------------- MERGED ---------------------------

I was going to do an overhaul on BrewMan. I could repurpose it as a CIA downloader/installer. I was going to just have it be for CIA homebrew, but I'm considering expanding it. I've honestly never used or studied the eShop, NUS, or any of Nintendo's servers/web services. I'll see how feasible/useful this is.
Maybe help contribute on CIAngel instead? ;)
Your choice though, good luck!

--------------------- MERGED ---------------------------

i see alot of potential here. With a game title id data base list it would make the ultimate game manager/cia manger/installer
Yes but navigation of title ids, sorting, searching on the 3ds will be a lot of work... but if done would look great!
 

paradox355

Member
Newcomer
Joined
Dec 31, 2009
Messages
17
Trophies
0
XP
199
Country
United States
Yes but navigation of title ids, sorting, searching on the 3ds will be a lot of work... but if done would look great!

This could be done without too much work using the xml download from 3dsdb. I've been looking at the data and it's a really clean structure, it'd be pretty easy to parse through. That's assuming C has an easily accessible XML DOM like C++/#.

If you want to get real fancy with the menu stuff you could even filter the list by Region just by using that node's value. :)
 
  • Like
Reactions: Xenon Hacks

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Veho @ Veho: Click on your profile pic in the top right corner, and you'll get the profile menu popup, with... +1