ROM Hack [Release] FunKeyCIA - make GOOD cias from eshop content, no tickets needed!

cearp

瓜老外
OP
Developer
Joined
May 26, 2008
Messages
8,721
Trophies
2
XP
8,473
Country
Tuvalu
A NEW big update to FunKeyCIA!
It can now create tickets only (use -ticketsonly)
It can now accept a encTitleKeys.bin file as input, have the file in the same directory as FunKeyCIA.
Use -keyfile to read the file, OR use -nfskeyfile and the latest fresh encTitleKeys.bin straight from 3ds.nfsho... will be downloaded and used :)
You can use -all to go through everything, or -title and write multiple title ids that you want to download.
You can still use a single title id and key if you want :)


I'm removing the download from the OP, 932 downloads, that was fast :O thanks guys

Please download the latest file from my github.
https://github.com/llakssz/FunKeyCIA/raw/master/FunKeyCIA.py

-----------------------

Here is FunKeyCIA!
This is not a replacement for FunkyCIA, which uses the ticket.db/tickets to download titles and create good CIAs.
This tool lets you enter a Title ID and an Encrypted Title Key to download and build a good CIA.
The Encrypted Title Key can be obtained straight from the ticket.db.

This tool will unlock stuff, the DLC cias, everything will be unlocked, and with demos, the limits are removed.

When I say GOOD CIA, I mean a cia that will not interfere with eshop downloads.
For example, download a GOOD CIA of an update. In the future, that update can gets updated. You download the new update from eshop, it installs fine.
You can delete the installed game if you want, and still redownload it via eshop!
With a BAD CIA (like from plaicdn), eshop will give you an error at 99% if you try to update/redownload via eshop.

This tool, like FunkyCIA, will not lose any of the data of the content, for example, the manual, download play ability, etc.
This tool, like FunkyCIA, you can build any content, DSiware, updates, DLC... unlike plaicdn.

I created FunkyCIA (and now FunKeyCIA) so that the community could share better CIAs, because CDNto3DS was not a good option.
The method it uses is bad, the method is meant for raw content, not for eshop content. plaicdn uses this old method, so it is a new tool, but uses old methods, it is a step backwards for cia creation and the community.

CIAs created with FunKeyCIA, like FunkyCIA, will have the same hash/checksum each time.
If using plaicdn, the hash will be different each time, not good for verifying etc...

I hope in the future some cfw/dev will discover what is stopping us from installing personal legit CIAs, as made by FunkyCIA. Then we can have our 'true'/'lossless'/'perfect' CIA backups.

ENCRYPTED KEY not decrypted key

HOW TO USE:
python FunKeyCIA.py -title XXXXXXXXXXXXXXXX -key XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

ENCRYPTED KEY not decrypted key

Use Decrypt9 to dump your encrypted title keys :)

Download FunKeyCIA at my github
https://github.com/llakssz/FunKeyCIA/
(https://github.com/llakssz/FunKeyCIA/raw/master/FunKeyCIA.py)
 
Last edited by cearp,

Xenon Hacks

Well-Known Member
Member
Joined
Nov 13, 2014
Messages
7,414
Trophies
1
Age
30
XP
4,687
Country
United States
Code:
C:\Users\??????\Desktop\FunKeyCIA>FunKeyCIA.py 0004000000125500 ?????????????????????????????????????????
usage: FunKeyCIA.py [-h] [-outputdir OUTPUT_DIR] [-nodownload] [-nobuild]
[-retry {0,1,2,3,4,5,6,7,8,9}] [-titleid TITLEID]
[-key KEY]
FunKeyCIA.py: error: unrecognized arguments: 0004000000125500 ???????????????????????????????????????
 

Kohmei

Well-Known Member
Member
Joined
Feb 17, 2013
Messages
824
Trophies
0
XP
1,039
Country
United States
So I have a probably stupid question: are the encrypted and decrypted keys at all related? For instance, could you use a fixed algorithm on a decrypted key and derive an encrypted key?
 

cearp

瓜老外
OP
Developer
Joined
May 26, 2008
Messages
8,721
Trophies
2
XP
8,473
Country
Tuvalu
Code:
C:\Users\??????\Desktop\FunKeyCIA>FunKeyCIA.py 0004000000125500 ?????????????????????????????????????????
usage: FunKeyCIA.py [-h] [-outputdir OUTPUT_DIR] [-nodownload] [-nobuild]
[-retry {0,1,2,3,4,5,6,7,8,9}] [-titleid TITLEID]
[-key KEY]
FunKeyCIA.py: error: unrecognized arguments: 0004000000125500 ???????????????????????????????????????
ooh, my first user used it wrong ;)
you need to specify what the title is and what the key is, see the op.
python FunKeyCIA.py -title XXXXXXXXXXXXXXXX -key XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

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

So I have a probably stupid question: are the encrypted and decrypted keys at all related? For instance, could you use a fixed algorithm on a decrypted key and derive an encrypted key?
i believe you can encrypt the decrypted key and get the encrypted key yes.
but, ideally we will extract all these encrypted keys straight from the ticket.db, either on the computer or via a 3ds homebrew.
having a homebrew that uploads the keys to a server would be beautiful, downloading the keys too, and then downloading/making the cia right on your 3ds would be cool.
 
  • Like
Reactions: Xenosaiga

Xenon Hacks

Well-Known Member
Member
Joined
Nov 13, 2014
Messages
7,414
Trophies
1
Age
30
XP
4,687
Country
United States
Nothing happens

Code:
Microsoft Windows [Version 10.0.10586]
(c) 2015 Microsoft Corporation. All rights reserved.

C:\Users\??????>cd C:\Users\??????\Desktop\FunKeyCIA

C:\Users\??????\Desktop\FunKeyCIA>funkeycia.py -title 0004000000125500 -key XXXXXXXXXXXXXXXXXXXXXXXXXXXXX

C:\Users\??????\Desktop\FunKeyCIA>
 

cearp

瓜老外
OP
Developer
Joined
May 26, 2008
Messages
8,721
Trophies
2
XP
8,473
Country
Tuvalu
@Xenon Hacks i don't use python on windows, but you don't need to type python at the start of the line?
and, are you on python 2 or 3?
maybe the mistake is you, maybe me, but for me this works perfectly :)
 

cearp

瓜老外
OP
Developer
Joined
May 26, 2008
Messages
8,721
Trophies
2
XP
8,473
Country
Tuvalu
i call upon the community to start sharing encrypted title keys.
i can only do so much, i am not a strong dev, i would wish to make a 3ds homebrew to parse the tickets and extract the keys (better yet, upload them), but it would take me some time!
if anyone wants to help, please tell me, because this method IS better than failectcdn but of course, it needs to be used to be useful.

Works smooth in Windows 7 using python 3 (Well i have python 2.7 installen with python 3)
thank you, very happy to hear it :)
to be honest, i'm using windows but i do this stuff in cygwin, so it's not really the same ;)
 

Xenosaiga

Time to switch it up
Member
Joined
Oct 9, 2015
Messages
1,501
Trophies
0
Age
33
Location
The Shadows
XP
1,070
Country
United States
So which version of python should I install then?
I have both python 2.7 and python 3 on windows 10.
what you do for windows:
  • have both installed just because.
  • In the folder with the FunKey.py hold down shift key and the right click in the folder.
  • click on "Open command window here"
  • type: FunKeyCIA.py -title XXXXXXXXXXXXXXXX -key XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  • It should start downloading like that.
EDIT: I opened FunKey.py and saw it calls for Python 2.7 so there is that.
 
Last edited by Xenosaiga,
  • Like
Reactions: Prince Frost

Bu2d85

Well-Known Member
Member
Joined
Nov 6, 2014
Messages
1,042
Trophies
0
Age
38
XP
1,271
Country
United States
If I already installed a "bad" cia will installing a "good" cia over fix my ticket? If not, is there a way to remove the bad ticket?
 

Xenon Hacks

Well-Known Member
Member
Joined
Nov 13, 2014
Messages
7,414
Trophies
1
Age
30
XP
4,687
Country
United States
i'm sorry :( do other python tools work for you?
Well if it makes you feel any better PlaiCDN still works correctly :rolleyes:

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

I have both python 2.7 and python 3 on windows 10.
what you do for windows:
  • have both installed just because.
  • In the folder with the FunKey.py hold down shift key and the right click in the folder.
  • click on "Open command window here"
  • type: FunKeyCIA.py -title XXXXXXXXXXXXXXXX -key XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  • It should start downloading like that.
EDIT: I opened FunKey.py and saw it calls for Python 2.7 so there is that.
Im using 2.7 im about to make a video
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, i'm too coward :cry:
  • BigOnYa @ BigOnYa:
    No reason to be afraid. It's more cowardly to not admit that you have issues. I have issues, lots of them, but better to be honest, and open up to someone you trust, so you can work thru those issues together
  • K3Nv2 @ K3Nv2:
    To add there really isn't much help you can get online we gets an escape but if you really want things to get better professionals have those resources
  • Xdqwerty @ Xdqwerty:
    Tbh I have some confidence issues
  • K3Nv2 @ K3Nv2:
    The internets for information life is forever
  • BigOnYa @ BigOnYa:
    Confidence is something I didn't have till my mid 20's, so don't worry, it will come. Just be yourself, and if others don't like it, F em! Your true friends will like you no matter. I was a chubby kid thru school and got teased all the time. Many nights I remember sitting in bed crying thinking about being teased at school. Even made excuses to Mom trying to get out of going to school.
  • RedColoredStars @ RedColoredStars:
    I was teased for being skinny just as bad as larger people do
  • Xdqwerty @ Xdqwerty:
    I have few friends
  • RedColoredStars @ RedColoredStars:
    still skinny. and at 52 yrs old I still hear shit like "eat a sandwich!"
  • K3Nv2 @ K3Nv2:
    Be happy with those few friends larger groups are dangerous
  • RedColoredStars @ RedColoredStars:
    Bitch. I'll out eat most people any day. lol. I eat entire pizzas, chips, baked goodies, giant ass steaks, whatever. I eat all the time and never gain weight.
  • RedColoredStars @ RedColoredStars:
    Difference between now and being a kid & teen ios how I handle those people. lol. I used to let people walk all over me.
  • RedColoredStars @ RedColoredStars:
    Now its like. Eat a sandwich? Excuse me? Did I approach you and tell you how fucking ugly you are? No? Okay then. Buh buy now. lol
    +1
  • BigOnYa @ BigOnYa:
    Yea I used to care what people thought of me, now, I could give two shits. You get what you get like it or leave it!
  • K3Nv2 @ K3Nv2:
    You can call me ugly we know already
  • BigOnYa @ BigOnYa:
    @Xdqwerty Please talk to family about it, no reason to be ashamed, we all have issues in life. I bet your brother has had the same feelings as you at some point, he would relate. Not doing anything or asking for help only makes things worse.
  • RedColoredStars @ RedColoredStars:
    Not only have I always been tall and skinny, Ive also had vitiligo since I was an early teen. It really sucks in the summer time as it sticks out liker a sore thumb. Large white patches all over my body including my face. Most of my original pigment color is gone.
  • K3Nv2 @ K3Nv2:
    Maybe look into local mental health centers also it's been more normalized as a second primary doctor these days
  • RedColoredStars @ RedColoredStars:
    Again, even at 50+ i hear shit. Like "What happened to your face?"
  • RedColoredStars @ RedColoredStars:
    So i've known about confidence issues my entire life.
  • BigOnYa @ BigOnYa:
    If anything I think it's cool to be weird, or as I see it Original, fuck that trying to be like everyone else or look like the fad/style of everyone else. I may may seem like you want to fit in with the crowd, but when you get older, you will see, it's ok to be out of the crowd.
  • Xdqwerty @ Xdqwerty:
    I don't like being autistic
  • RedColoredStars @ RedColoredStars:
    Always remember that how others treat you is a reflection of who THEY are as a person, not of how you are.
    +1
  • RedColoredStars @ RedColoredStars:
    My grand daughter is autistic. And incredibly brilliant at 7 yrs old.
  • RedColoredStars @ RedColoredStars:
    They said she can skip a grade, possibly 2, because shes "gifted". She scored higher in some tests recently than the lady has seen any other kid test in her 20 years here.
    RedColoredStars @ RedColoredStars: They said she can skip a grade, possibly 2, because shes "gifted". She scored higher in some...