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

Discussion in '3DS - Tutorials' started by cearp, Dec 26, 2014.

  1. cearp
    OP

    cearp the ticket master

    Member
    7,464
    4,704
    May 26, 2008
    Tuvalu
    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)
     


  2. Omer

    Omer GBAtemp Regular

    Member
    212
    20
    May 13, 2014
    Great.Nice work cearp.Making eshop CIA files really easy now.
     
  3. jonthedit

    jonthedit GBAtemp Advanced Maniac

    Member
    1,691
    438
    May 30, 2011
    Bangladesh
    You are the best!! I love your dedication! Thanks for all your releases and this guide to help spread the joy! :yay:
     
  4. cearp
    OP

    cearp the ticket master

    Member
    7,464
    4,704
    May 26, 2008
    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 :)
     
  5. Juan2416

    Juan2416 Member

    Newcomer
    38
    2
    Dec 26, 2014
    United States
    Rialto, California
    What CIA and what it dose can anyone tell me
     
  6. Omer

    Omer GBAtemp Regular

    Member
    212
    20
    May 13, 2014
    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
     
    Juan2416 likes this.
  7. Juan2416

    Juan2416 Member

    Newcomer
    38
    2
    Dec 26, 2014
    United States
    Rialto, California
    Ok thank
     
  8. brushguy

    brushguy Member

    Newcomer
    19
    5
    Dec 26, 2014
    Germany
    Thanks for your script, it just works.
    Just one title remains, SMT4 Euro (+1,8 Gb).

    Since i had problems with the first guide here;
    (https://gbatemp.net/threads/how-to-dump-and-backup-eshop-games-and-dlc.375586/)
    i compiled a 64bit version of make_cdn_cia.exe just in case.

    Interestingly FunkyCIA output files always have the same md5 / sha1 checksums unlike compared to the other guide.
     

    Attached Files:

  9. cearp
    OP

    cearp the ticket master

    Member
    7,464
    4,704
    May 26, 2008
    Tuvalu
    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.
     
  10. arm113ds

    arm113ds Member

    Newcomer
    31
    20
    Nov 1, 2014
    when I create the cia of themes, make_cdncia stopped working and the program closes. Any solution?
     
  11. cearp
    OP

    cearp the ticket master

    Member
    7,464
    4,704
    May 26, 2008
    Tuvalu
    hmm make_cdn_cia is not perfect, 3dsguy (the author) has gone... :( i hope someone can improve it
     
  12. Bug_Checker_

    Bug_Checker_ GBAtemp Advanced Fan

    Member
    950
    444
    Jun 10, 2006
    United States
    It's probably something simple that was missed or not tested at the time like considering ContentID as u8(or u16) instead of u32.
     
    cearp likes this.
  13. cearp
    OP

    cearp the ticket master

    Member
    7,464
    4,704
    May 26, 2008
    Tuvalu
    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 :)
     
  14. brushguy

    brushguy Member

    Newcomer
    19
    5
    Dec 26, 2014
    Germany
    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
    
     
  15. brushguy

    brushguy Member

    Newcomer
    19
    5
    Dec 26, 2014
    Germany
    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
     
  16. cearp
    OP

    cearp the ticket master

    Member
    7,464
    4,704
    May 26, 2008
    Tuvalu
    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...
     
  17. paulyd

    paulyd Member

    Newcomer
    36
    9
    Jun 11, 2009
    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
     
    tjexp likes this.
  18. cearp
    OP

    cearp the ticket master

    Member
    7,464
    4,704
    May 26, 2008
    Tuvalu
    yeah the guy who made it says it is unstable, it worked for me though the 1st time i used it
     
  19. StraTTtheRipper

    StraTTtheRipper Member

    Newcomer
    10
    0
    Mar 28, 2013
    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>
     
  20. tjexp

    tjexp Happy New Year!

    Member
    735
    233
    May 20, 2012
    England
    Just tried this to dump some updates, very quick and easy :)
     
    cearp likes this.