FunkyCIA Guide - how to make CIAs from your eshop stuff :)

Requirements -
  • A 3DS on 4.X, with the DS profile exploit. You do not need Gateway I believe.
  • Internet on your computer
  • Able to run python
Step 1 - Download http://gbatemp.net/attachments/launcher_ticketdb-dat-zip.13329/
**** The code is unstable, you might have to run it a bunch of times before it works.
When it works you will know, it is fast, so if your screen does nothing for like 5 seconds just turn off and try again. I once had to try 7 times - usually I am lucky though ***


Step 2 - Extract it and rename it to Launcher.dat - rename the actual GW Launcher.dat to something else for now.
Step 3 - Put it on your 3DS's sd card. Load up the exploit (settings, profile, etc...)
Step 4 - It should run, when it is done, turn off your 3DS. Hold the power button until it is off.
Step 5 - Take out the sd card from the 3DS, put it in your computer. You should see ticket.db and ticket.db_gwemu. The first file is from the sysnand, the second is from emunand. Copy them somewhere, maybe to your desktop.
Step 6 - Download http://gbatemp.net/attachments/funkycia2-zip.15361/ - and extract it.


Now, you run the python file. (On mac it's very easy, I'm not sure about windows)
type: python FunkyCIA.py ticket.db_gwemu -type dlc
This would download all the dlc you have installed, and make them into CIAs :)
You can specify what type of content you want to download, like: -type dlc would download dlc, -type demo gameapp would download the demos and gameapps that you have in your ticket.db.
You can use -type with gameapp, update, dlc, demo, dsiware, system, or ALL
You can download everything you have if you specify -type ALL. This includes system titles, so maybe you don't want to do that, just list all the types you want apart from 'system'. Find the title ids of the stuff you want using 3ds.essh.co, maybe devtool, maybe some other method.

Or, if there is some specific title ids (specific games/updates/etc) that you want to download, use:
-title XXXXXXXXXXXXXXXX YYYYYYYYYYYYYYYY and you will download and make a CIA for those 2 titles only.
You cannot choose to download a content type (dlc, update, etc), and specific title(s) at the same time.

You can turn off downloading with -nodownload (if you want to only show the title ids you have in your ticket.db)
You can turn off CIA generation with -nobuild (so the stuff will only be downloaded)
You can turn off sorting by -nosort (by default, the contents are sorted into folders, so all the demos would go in a demo folder, all the system stuff would go in a system folder, etc)
 

cearp

瓜老外
OP
Developer
Joined
May 26, 2008
Messages
8,721
Trophies
2
XP
8,470
Country
Tuvalu
if anyone needs help, i will try to help, and update the OP to make it more clear, on what you needed help with so others can learn, if you understand what i mean :)
 

Omer

Well-Known Member
Member
Joined
May 13, 2014
Messages
260
Trophies
0
Age
38
XP
803
Country
What CIA and what it dose can anyone tell me

CIA is file that can be installed into your console sd card by using a special program such as bigbluemenue.And you can install various games , application,homebrue via using these CIA files
 
  • Like
Reactions: Juan2416

cearp

瓜老外
OP
Developer
Joined
May 26, 2008
Messages
8,721
Trophies
2
XP
8,470
Country
Tuvalu
Thanks for your script, it just works.
Just one title remains, SMT4 Euro (+1,8 Gb).

Interestingly FunkyCIA output files always have the same md5 / sha1 checksums unlike compared to the other guide.
and that game works? you got a cia or not? :)
thanks, yes i forgot, makrom does create a different output every time, i never checked makecdncia, thanks.
 

cearp

瓜老外
OP
Developer
Joined
May 26, 2008
Messages
8,721
Trophies
2
XP
8,470
Country
Tuvalu
It's probably something simple that was missed or not tested at the time like considering ContentID as u8(or u16) instead of u32.

so you think i can simply do that and have it work? -- i'll try. thanks bug_checker_

-ok, only changing then content_id from u8 to u32 causes some other problems:
[!] One or both of the signatures in the TMD 'Cert Chain' are unrecognised
[!] Input files could not be processed successfully

it will need more work :)
 
D

Deleted User

Guest
Well i got a cia for Gunman Clive but did not test it because it is still installed,
still have to try SMT4 later.
Thanks for your info about makerom.

About the cia creation, my ticket.gw has three entries for Gunman Clive,
maybe i need to setup emunand again cause there is this warning:
"Caution, Ticket and TMD Title Versions do not match".

Full output:

Code:
D:\xxx\xxx\funky>FunkyCIA.py ticket.gw -title 00040000000c6300
*******
FunkyCIA
*******
 
Title ID:            00040000000c6300
 
Downloading contents... please wait
 
Downloading 2 title content(s), please wait...
Downloaded 32268288 of 32268288 bytes (100.00%)
Downloaded 102400 of 102400 bytes (100.00%)
Title download complete
 
CTR_Toolkit - CIA Generator for CDN Content
Version 1.0 (C) 3DSGuy 2013
 
[!] Caution, Ticket and TMD Title Versions do not match
[!] CETK Title Ver: 0
[!] TMD Title Ver:  1024
[*] cia\eShopApp\00040000000c6300\00040000000c6300.cia Generated Sucessfully
 
D

Deleted User

Guest
Hmm, seems like Gunman Clive cia will not be correct, after downloading
SMT4 EU there were no warnings on creating the cia.

Any hint to clean up ticket.db_gwemu without losing all the other stuff?

cmd output:
Code:
D:\xxx\xxx\funky>FunkyCIA.py ticket.gw -title 0004000000141c00
*******
FunkyCIA
*******
Title ID:            0004000000141c00
Downloading contents... please wait
Downloading 2 title content(s), please wait...
Downloaded 1875677184 of 1875677184 bytes (100.00%)
Downloaded 2887680 of 2887680 bytes (100.00%)
Title download complete
CTR_Toolkit - CIA Generator for CDN Content
Version 1.0 (C) 3DSGuy 2013
[*] cia\eShopApp\0004000000141c00\0004000000141c00.cia Generated Sucessfully
eShop Apps            -  1
Download Play Child  -  0
Demo                  -  0
Update Patches        -  0
DLC                  -  0
System                -  0
DSiWare              -  0
DSi System Apps      -  0
DSi System Data      -  0
All tickets/titles found in file (might contain duplicates) - 167. You selected 1
of them
 

cearp

瓜老外
OP
Developer
Joined
May 26, 2008
Messages
8,721
Trophies
2
XP
8,470
Country
Tuvalu
Hmm, seems like Gunman Clive cia will not be correct, after downloading
SMT4 EU there were no warnings on creating the cia.
Any hint to clean up ticket.db_gwemu without losing all the other stuff?

i know what you mean, for example i have 3 pokemon y update tickets because i downloaded 1.1, 1.2 and 1.3. because the latest update version is 1.4 i think, maybe i wouldn't be able to make a legit update unless i get a 1.4 ticket.

can you test SMT4 to see if it works in classic mode? :) please tell me
at the moment i am updating the code to detect duplicate tickets and TRY.. to find the newest one. it might not be easy/possible. maybe it is.
we cannot really clean up/delete any tickets in the file, unless you do it on the computer yourself. i will improve funkycia :)
please pm me the tmd and cetk you have for smt4, i want to check something...
 

paulyd

Active Member
Newcomer
Joined
Jun 11, 2009
Messages
36
Trophies
0
XP
164
Country
the launcher.dat file isn't working for me, all I get is a black screen that has the time & date on it with "ticket.db dump tool Dev by enler" over the top of the date & time, nothing else happens

Edit : I launcher it for the 3rd time & it's working now
 
  • Like
Reactions: tjexp

cearp

瓜老外
OP
Developer
Joined
May 26, 2008
Messages
8,721
Trophies
2
XP
8,470
Country
Tuvalu
the launcher.dat file isn't working for me, all I get is a black screen that has the time & date on it with "ticket.db dump tool Dev by enler" over the top of the date & time, nothing else happens

Edit : I launcher it for the 3rd time & it's working now

yeah the guy who made it says it is unstable, it worked for me though the 1st time i used it
 

StraTTtheRipper

Well-Known Member
Newcomer
Joined
Mar 28, 2013
Messages
48
Trophies
1
Age
43
XP
401
Country
United States
Could someone please post a guide for using Python with Windows? I swear I've tried everything. I need a dummy guide lol I keep getting "Syntax errors." I've managed to open Funky CIA with Python gui but then I'm lost again. Any help would be greatly appreciated! Thanks!

Edit: Okay, I got FunkyCIA to work through python using the cmd. Now I have a new problem. The games are downloading, but they won't convert to cia files. Here's my window:

*******
FunkyCIA
*******

Title ID: 000400000f980000

Downloading contents... please wait

ERROR: Could not download TMD?
Title ID: 0004000000051700

Downloading contents... please wait

Downloading 2 title content(s), please wait...
Downloaded 8847360 of 8847360 bytes (100.00%)
Downloaded 1110016 of 1110016 bytes (100.00%)
Title download complete

'make_cdn_cia.exe' is not recognized as an internal or external command,
operable program or batch file.

Title ID: 000400000009c800

Downloading contents... please wait

Downloading 1 title content(s), please wait...
Downloaded 8327168 of 8327168 bytes (100.00%)
Title download complete

'make_cdn_cia.exe' is not recognized as an internal or external command,
operable program or batch file.

eShop Apps - 3
Download Play Child - 0
Demo - 0
Update Patches - 0
DLC - 0
System - 0
DSiWare - 0
DSi System Apps - 0
DSi System Data - 0

All tickets/titles found in file (might contain duplicates) - 124. You selected
3 of them


***
*** 1 error(s). Please look in the log file.
***

C:\Users\StraTT>
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    I was gone for like an hour and none of you thought to write or call pos
  • BigOnYa @ BigOnYa:
    We knew you were going to Sonic to get lunch.
  • K3Nv2 @ K3Nv2:
    Sonics fast I would've been home in 10 mins
  • BigOnYa @ BigOnYa:
    Meet and greet with AncientBoi then?
  • K3Nv2 @ K3Nv2:
    That would've gone slow he's old
    +1
  • ZeroT21 @ ZeroT21:
    sadly the person in question feels too young for his own good
  • K3Nv2 @ K3Nv2:
    We don't question people
  • ZeroT21 @ ZeroT21:
    me neither, i just bash them
  • K3Nv2 @ K3Nv2:
    We just question @AncientBoi
  • ZeroT21 @ ZeroT21:
    it wasn't a question, it was fact
  • BigOnYa @ BigOnYa:
    He said he had 3 different doctors apt this week, so he prob there. Something about gerbal extraction, I don't know.
    +1
  • ZeroT21 @ ZeroT21:
    bored, guess i'll spread more democracy
  • LeoTCK @ LeoTCK:
    @K3Nv2 one more time you say such bs to @BakerMan and I'll smack you across the whole planet
  • K3Nv2 @ K3Nv2:
    Make sure you smack my booty daddy
    +1
  • LeoTCK @ LeoTCK:
    telling him that my partner is luke...does he look like someone with such big ne
    eds?
  • LeoTCK @ LeoTCK:
    do you really think I could stand living with someone like luke?
  • LeoTCK @ LeoTCK:
    I suppose luke has "special needs" but he's not my partner, did you just say that to piss me off again?
  • LeoTCK @ LeoTCK:
    besides I had bigger worries today
  • LeoTCK @ LeoTCK:
    but what do you know about that, you won't believe me anyways
  • K3Nv2 @ K3Nv2:
    @BigOnYa can answer that
  • BigOnYa @ BigOnYa:
    BigOnYa already left the chat
  • K3Nv2 @ K3Nv2:
    Biginya
  • BigOnYa @ BigOnYa:
    Auto correct got me, I'm on my tablet, i need to turn that shit off
  • K3Nv2 @ K3Nv2:
    With other tabs open you perv
    K3Nv2 @ K3Nv2: With other tabs open you perv