CIA-to-Ticket Converter

Discussion in '3DS - Flashcards & Custom Firmwares' started by ShiftCode, Apr 23, 2016.

  1. ShiftCode
    OP

    ShiftCode Member

    Newcomer
    26
    22
    Apr 22, 2016
    Australia
    Hey, I just created a automated cia-to-ticket script.
    With this, you can create a file, which, if installed, allows you to download the Game/DLC/whatever directly from the eShop.

    Credits:
    - FunKeyCIA by llakssz
    - ctrtool from dk03's 3DS-Tools-Collection
    - dumpTicketKeys.py from abdellbobo3ds's eShop Toolkit
    - my batch script

    Usage:
    - put ONE LEGIT CIA into the input folder
    - run the batch file
    - copy the ticket from the tickets folder onto the SD card
    - install ticket with Steveice10's FBI 2.0.5 or higher
    - download the game/dlc/whatever from the eshop for free
    - profit

    Info:
    - I have no idea if this will ban you or not, but as this doesn't affect your NNID, it will probably not.

    Download:
    MEGA

    Hope anyone will use this ._.
    ShiftCode
     
    Last edited by ShiftCode, Apr 24, 2016
    klear, kbmarinha, keyra and 6 others like this.


  2. Argentlan

    Argentlan GBAtemp Regular

    Member
    222
    39
    Oct 27, 2015
    Brazil
    Anyone tested?
     
  3. ShiftCode
    OP

    ShiftCode Member

    Newcomer
    26
    22
    Apr 22, 2016
    Australia
    My first download is finished in a minute. Will update this post then.
    UPDATE: First DL failed, don't know why yet, will check tomorrow ._.
    UPDATE 2: Found the Problem. It was a converted .3ds file.
     
    Last edited by ShiftCode, Apr 23, 2016
  4. The Real Jdbye

    The Real Jdbye Always Remember 30/07/08

    Member
    GBAtemp Patron
    The Real Jdbye is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    11,832
    5,002
    Mar 17, 2010
    Norway
    Alola
    Nice, this will be of great use to some people. Though you should probably point out that it will only allow you to download the game from the eShop if the CIA uses a valid ticket/title key (which I don't think there is an easy way to check beforehand...)
     
  5. ShiftCode
    OP

    ShiftCode Member

    Newcomer
    26
    22
    Apr 22, 2016
    Australia
    Yup, that was the problem with my first download, it was a converted .3ds file. :)
     
  6. Josephvb10

    Josephvb10 The Pokémon guy

    Member
    532
    384
    Aug 26, 2009
    Lumiose City
    But don't most cia files around the Internet have invalid keys?
     
    Subtle Demise likes this.
  7. cearp

    cearp the ticket master

    Member
    7,471
    4,708
    May 26, 2008
    Tuvalu
    quick, before this gets out of hand.
    FunkyCIA can do this. it has been able to do it since jan 2015.

    just use -no build -nodownload -noignore
    https://github.com/llakssz/FunkyCIA
    you will get a ticket in the raw/titleid folder

    if people really want to do this i can simplify it more.

    no need to make this tied down to windows, batch file?
    but, no need to make limited tools when other tools can do this already...


    but, you have no way of verifying whether the ticket is legit or not, if they key is ok.
    anyway, i'm not going to spend time helping you (sorry) because my tool does the same thing etc.
     
    Last edited by cearp, Apr 24, 2016
  8. ThePwnerer

    ThePwnerer Member

    Newcomer
    19
    3
    Mar 9, 2016
    Cote d'Ivoire
    -edited-
     
    Last edited by ThePwnerer, Apr 24, 2016
  9. doggomando
    This message by doggomando has been removed from public view by Minox, Apr 24, 2016, Reason: Offtopic.
    Apr 24, 2016
  10. secretclean

    secretclean Member

    Newcomer
    33
    4
    Sep 10, 2015
    United States
    What would be the benefit of doing this? I'm legitimately curious, because it seems pointless to me to go through all these extra steps if you already have a CIA you can install. I installed some tickets earlier for games that nobody has uploaded CIAs for, but why do this if you've got the CIA already downloaded and can simply install it?

    Also, I would think this definitely affects your NNID, since you have to log in to access eShop. You're logging in, visiting a game page, and "redownloading" it for free. It seems like they'd be keeping track of all your "purchases" using the eShop, especially since whenever I visit it my DLC and themes are removed.
     
  11. Hking0036

    Hking0036 GBAtemp Fan

    Member
    397
    194
    Sep 15, 2015
    United States
    every time you install a cia to your 3ds it's added to your ticket.db anyways.
    some people are anal about .cias that come form eshop rather than converted from .3ds dumps. For me, it's convenient for VC games that are hard to find, and if there's a game I might want to play later but not now.
     
  12. sLpFhaWK

    sLpFhaWK Member

    Newcomer
    28
    3
    Sep 16, 2013
    United States
    sorry to ask, but I've never ran a python script before. what is the correct way to type out the command to say download 0004000000055E00?
     
  13. cearp

    cearp the ticket master

    Member
    7,471
    4,708
    May 26, 2008
    Tuvalu
    i was reminded by someone on /3dshacks, we can use ctrtool to dump the ticket too...!
    no need for any python lol
    what exactly do you want to do? you want to pirate a game? you want to dump your ticket? you have cfw?
     
  14. sLpFhaWK

    sLpFhaWK Member

    Newcomer
    28
    3
    Sep 16, 2013
    United States
    I have cfw, I own pokemon y retail, i want a ticket to download it from the eshop. how would i go about it using your script?
     
  15. cearp

    cearp the ticket master

    Member
    7,471
    4,708
    May 26, 2008
    Tuvalu
    to be honest you are best of downloading the legit cia of pokemon y, it's just neater :) it would work without hacks if you upgraded in the future, for example
    but if you want just any cia, then ooh - you can use python? you have it installed on windows, or if you are on mac lnux you don't need to worry.
     
  16. sLpFhaWK

    sLpFhaWK Member

    Newcomer
    28
    3
    Sep 16, 2013
    United States
    I installed python, I tried python funkacia.py -title 0004000000055E00 but then it says something about not printing weird. i got the titleid from 3ds releases website. downloading a legit cia would be from ciangel? I'm real new to 3ds hacking, so I am not really familiar with all the terminology.
     
  17. GothicIII

    GothicIII GBAtemp Fan

    Member
    495
    135
    Jan 4, 2015
    Gambia, The
    @cearp
    Again this old topic, but does it work with dlc tickets? Extract ticket and install it to get dlc running without eshop.
     
  18. cearp

    cearp the ticket master

    Member
    7,471
    4,708
    May 26, 2008
    Tuvalu
    old topic? sorry i don't understand.
    i haven't tested but people say that you can't redownload dlc, like we can redownload games. dlc is different i guess.
    but if you install the dlc CIA, it is fine, but if you want to install just the ticket and want to 'redownload' - no.

    you have python2.7?
    to download a legit cia just use google, it can't come from CIAngel.
     
  19. sLpFhaWK

    sLpFhaWK Member

    Newcomer
    28
    3
    Sep 16, 2013
    United States
    no I installed the newest version of python, I didn't think it mattered.

    this is the error I am getting.

    C:\FunkyCIA-master>python FunkyCIA2.py -title 0004000000171200 -key d11320d83ee0f2872cb6db2fda17da5f
    File "FunkyCIA2.py", line 19
    print '*****\n!!!!!Warning - Only tested with Python 2.7!!!!!\n*****\n'
    ^
    SyntaxError: Missing parentheses in call to 'print'

    Okay well now looking at the error it says only tested with version 2.7 I didn't think it would matter, but it does. go figure. lol
     
  20. GothicIII

    GothicIII GBAtemp Fan

    Member
    495
    135
    Jan 4, 2015
    Gambia, The
    @cearp

    No I don't want to download anything. I just don't want to reinstall 2gb+ of dlc when I visit eshop or install updates.

    Since the files are already installed and only the ticket is wiped out of the tickets.db when visiting eshop, I'm looking for a method to extract and install the ticket only.

    I said old topic because I compiled that tool on another thread that should do it but it doesn't work on new fw.
     
  21. sLpFhaWK

    sLpFhaWK Member

    Newcomer
    28
    3
    Sep 16, 2013
    United States
    This is why it's so damn confusing. I keep getting errors.

    C:\Python27>python FunkyCIA2.py -nobuild -nodownload -noignore -title 0004000000171200 -key d11320d83ee0f2872cb6db2fda17da5f
    usage: FunkyCIA2.py [-h]
    [-type {gameapp,update,dlc,demo,dsiware,system,ALL} [{gameapp,update,dlc,demo,dsiware,system,ALL} ...]
    | -title SPECIFIC_TITLES [SPECIFIC_TITLES ...]]
    [-ignoretitles IGNORE_TITLES [IGNORE_TITLES ...]]
    [-outputdir OUTPUT_DIR] [-nosort] [-nodownload] [-nobuild]
    [-noignore] [-nopatchdlc] [-nopatchdemo] [-personal]
    [-preinstalled] [-retry {0,1,2,3,4,5,6,7,8,9}]
    [-db USE_TICKET] [-key USE_KEY]
    inputfile
    FunkyCIA2.py: error: too few arguments

    what is the proper sequence?!?!