Hacking [Release] PlaiCDN: Download and create installable CIAs (or .3ds) with just a title ID and titlekey

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
Barring some oversimplifications, yes that's a decent analogy, but the main thing is that there isn't so much a password to download the games (they're publicly available to anyone) but there is a password to decrypt the game into usable format, which is only given to legit customers.
I know it's a key for decryption. And I over simplified it on purpose!
 

Plailect

Well-Known Member
OP
Member
Joined
Jan 30, 2016
Messages
546
Trophies
1
XP
1,502
Country
United States
also, another big problem in this, the decrypted keys which people use with this tool will be incorrect if they are from 'bad' cias.
Which is why it has a "-check" and "-checkbin" function, which downloads the first 274 bytes of the first content file specified in the tmd, then decrypts it with the given titlekey and checks for magic ("NCCH"). If people only use titlekeys checked in this manner, it doesn't matter what's in the generated CIA.

and this program creates those 'bad' cias, so this program is just cycling round this incorrectness, the more people who use this, the more people who will be sharing incorrect title keys.
does anyone see what i mean?

Who cares if people share incorrect titlekeys for some reason? They're easily verifiable with the method I described and implemented, and I'm not about to rewrite makerom just to have it use valid titlekeys when it doesn't matter.
 
  • Like
Reactions: dankzegriefer

Garro

Pendulum of souls!
Member
Joined
Aug 15, 2009
Messages
714
Trophies
1
Age
31
Location
Somewhere
Website
garrothedog.tumblr.com
XP
2,387
Country
Chile
Ignore the other guy if he's bothering you, but the only thing I'm misunderstanding is you. I still don't have a clue what your point is, so could you please explain it again?
I'll take cearp is just having a bad day, AFAIK he's usually not that aggressive.

To be fair, I know little to none of how CIA building works, but I know at least the consequences of "bad cias", like, when you try to download a game or an update of a game you installed a CIA of it before, the download freezes at 99% because the decryption key (which I'm not sure it's the same than the titlekey) stored in the console ticket is wrong, this happens when you install a "bad cia" since it associates a wrong key to the ticket when installed. This doesn't affect the game at all but it creates problem with the eShop. I don't know the technicality behind it, but cearp is saying your CIAs have this problem.

To be fair I thought this problem happened only when converting 3ds to cia, but cearp is the author of FunkyCIA which creates correct CIAs, so he probably knows what he's talking about (despite his bad mood).
 
  • Like
Reactions: Xenon Hacks

Plailect

Well-Known Member
OP
Member
Joined
Jan 30, 2016
Messages
546
Trophies
1
XP
1,502
Country
United States
you still didn't explain why you were sharing 'legit' keys :D so, i'm not really surprised i guess

What is a "legit key"?

Are you referring to a valid decrypted titlekey used to decrypt NUS contents? Because the reason there is obvious...

they work, but they will interfere with eshop content. but it is a problem for everyone, but it is a problem

You don't need a valid titlekey in the ticket to download updates.

you didn't do your homework?
you think you are correct here?

Yes...
Take a look at this and tell me where exactly it has input for either a ticket or key of any kind.

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

I'll take cearp is just having a bad day, AFAIK he's usually not that aggressive.

To be fair, I know little to none of how CIA building works, but I know at least the consequences of "bad cias", like, when you try to download a game or an update of a game you installed a CIA of it before, the download freezes at 99% because the decryption key (which I'm not sure it's the same than the titlekey) stored in the console ticket is wrong, this happens when you install a "bad cia" since it associates a wrong key to the ticket when installed. This doesn't affect the game at all but it creates problem with the eShop. I don't know the technicality behind it, but cearp is saying your CIAs have this problem.

To be fair I thought this problem happened only when converting 3ds to cia, but cearp is the author of FunkyCIA which creates correct CIAs, so he probably knows what he's talking about (despite his bad mood).

You don't need a valid titlekey in the ticket to download updates.
 
  • Like
Reactions: dankzegriefer

dankzegriefer

Banned!
Banned
Joined
Aug 19, 2015
Messages
896
Trophies
0
Age
40
XP
560
Country
United States
What is a "legit key"?

Are you referring to a valid decrypted titlekey used to decrypt NUS contents? Because the reason there is obvious...



You don't need a valid titlekey in the ticket to download updates.



Yes...
Take a look at this and tell me where exactly it has input for either a ticket or key of any kind.

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



You don't need a valid titlekey in the ticket to download updates.
If the titlekey was invalid how would the game run?
 

Garro

Pendulum of souls!
Member
Joined
Aug 15, 2009
Messages
714
Trophies
1
Age
31
Location
Somewhere
Website
garrothedog.tumblr.com
XP
2,387
Country
Chile
"Hmmm, someone told me I'm wrong, maybe if I say my incorrect statement again it will become true!"
The problem of an eShop download freezing at 99% is a fact, you can always just turn a blind eye and thing everything is all right, it has happened to me after the first Smash update was released (a year ago or so?), I had to lurk a lot to find a solution about this since its a very hard to find topic. And I hope you change your attitude towards those who disagree with you, otherwise 4chan welcomes your kind of replies.
 
  • Like
Reactions: cearp

Plailect

Well-Known Member
OP
Member
Joined
Jan 30, 2016
Messages
546
Trophies
1
XP
1,502
Country
United States
it just comes off as a noob who had an idea, thought it was a good idea, took someone else's script and changed it a bit :(
no one got mad at me for making FunkyCIA, even though i based it off of the same original script this guy did.

?????????????????????????????????????????????????????????????????????????????????????????????????????
 

cearp

瓜老外
Developer
Joined
May 26, 2008
Messages
8,736
Trophies
2
XP
8,570
Country
Tuvalu
?????????????????????????????????????????????????????????????????????????????????????????????????????
look what i changed, do a diff.
and i think i based my code off of dumptickets, not the cdnto3ds.
there must be a reason why relys was upset at you but not me.
 

DocKlokMan

Plugin Dev
Member
Joined
Apr 20, 2007
Messages
3,009
Trophies
2
Age
36
XP
4,571
Country
United States
There seems to be a lot of confusion. I'm not sure why, but I'll try and put everything I'm seeing down as how I'm interpreting it in the hopes that whoever is misunderstanding whom may see where the misunderstanding is coming from.

This is what I understand so far, PlayCDN will check your decTitleKey.bin file and report either ALL TitleKeys, including invalid ones or you can have it check CDN and only report valid TitleKeys.

You can then use this information for TitleID and TitleKey to download and decrypt eShop titles in order to pass them to MakeROM. MakeROM however does not build the CIA with the included TitleKey, it makes an invalid TitleKey instead, meaning the resulting CIA, when installed will create an invalid TitleKey in that 3DS's ticket.db.

@cearp finds issue with this since they believe it would be better to generate a CIA with a valid TitleKey instead, thus allowing valid TitleKeys to be entered into people's ticket.db. @Plailect doesn't see this as an issue since with CFW it does not matter if the TitleKey is invalid and the issue is with MakeROM. @cearp seems to be implying that their tool FunkyCIA can make these "valid CIA's" using the data in your ticket.db and so should be able to adapt to have a manual TitleKey provided as well.

When titles are legitimately purchased through the eShop they will fail at the 99% downloaded mark if an invalid TitleKey exists in your ticket.db, preventing you from legitimately getting the game. Invalid TitleKeys should not affect updates (and to my experience, does not).

To be honest, I would prefer if the CIA's did have valid TitleKeys just so that if you decide to get the official game from the eShop you can. Also, if the CIA's themselves are shared rather than the TitleKey, anyone who installs it will be able to obtain the TitleKey by running this script.

This is what I've understood, if I've gotten any of it wrong, perhaps that is why there is such a huge misunderstanding going on.
 
Last edited by DocKlokMan,
  • Like
Reactions: Garro

Plailect

Well-Known Member
OP
Member
Joined
Jan 30, 2016
Messages
546
Trophies
1
XP
1,502
Country
United States

shinyquagsire23

SALT/Sm4sh Leak Guy
Member
Joined
Nov 18, 2012
Messages
1,977
Trophies
2
Age
26
Location
Las Vegas
XP
3,765
Country
United States
  • Like
Reactions: Relys

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Psionic Roshambo @ Psionic Roshambo:
    I just want a Pokemon Hell Raiser fan game 😭
  • K3Nv2 @ K3Nv2:
    Anyone wanna play with my joydock
  • BigOnYa @ BigOnYa:
    Biomutant looks cool tho, may have to try that
  • Quincy @ Quincy:
    Usually when such a big title leaks the Temp will be the first to report about it (going off of historical reports here, Pokemon SV being the latest one I can recall seeing pop up here)
  • K3Nv2 @ K3Nv2:
    I still like how a freaking mp3 file hacks webos all that security defeated by text yet again
  • BigOnYa @ BigOnYa:
    They have simulators for everything nowdays, cray cray. How about a sim that shows you playing the Switch.
  • K3Nv2 @ K3Nv2:
    That's called yuzu
    +1
  • BigOnYa @ BigOnYa:
    I want a 120hz 4k tv but crazy how more expensive the 120hz over the 60hz are. Or even more crazy is the price of 8k's.
  • K3Nv2 @ K3Nv2:
    No real point since movies are 30fps
  • BigOnYa @ BigOnYa:
    Not a big movie buff, more of a gamer tbh. And Series X is 120hz 8k ready, but yea only 120hz 4k games out right now, but thinking of in the future.
  • K3Nv2 @ K3Nv2:
    Mostly why you never see TV manufacturers going post 60hz
  • BigOnYa @ BigOnYa:
    I only watch tv when i goto bed, it puts me to sleep, and I have a nas drive filled w my fav shows so i can watch them in order, commercial free. I usually watch Married w Children, or South Park
  • K3Nv2 @ K3Nv2:
    Stremio ruined my need for nas
  • BigOnYa @ BigOnYa:
    I stream from Nas to firestick, one on every tv, and use Kodi. I'm happy w it, plays everything. (I pirate/torrent shows/movies on pc, and put on nas)
  • K3Nv2 @ K3Nv2:
    Kodi repost are still pretty popular
  • BigOnYa @ BigOnYa:
    What the hell is Kodi reposts? what do you mean, or "Wut?" -xdqwerty
  • K3Nv2 @ K3Nv2:
    Google them basically web crawlers to movie sites
  • BigOnYa @ BigOnYa:
    oh you mean the 3rd party apps on Kodi, yea i know what you mean, yea there are still a few cool ones, in fact watched the new planet of the apes movie other night w wifey thru one, was good pic surprisingly, not a cam
  • BigOnYa @ BigOnYa:
    Damn, only $2.06 and free shipping. Gotta cost more for them to ship than $2.06
  • BigOnYa @ BigOnYa:
    I got my Dad a firestick for Xmas and showed him those 3rd party sites on Kodi, he loves it, all he watches anymore. He said he has got 3 letters from AT&T already about pirating, but he says f them, let them shut my internet off (He wants out of his AT&T contract anyways)
  • K3Nv2 @ K3Nv2:
    That's where stremio comes to play never got a letter about it
  • BigOnYa @ BigOnYa:
    I just use a VPN, even give him my login and password so can use it also, and he refuses, he's funny.
  • BigOnYa @ BigOnYa:
    I had to find and get him an old style flip phone even without text, cause thats what he wanted. No text, no internet, only phone calls. Old, old school.
    BigOnYa @ BigOnYa: I had to find and get him an old style flip phone even without text, cause thats what he wanted...