[RELEASE] TIKdevil "Reboot" - Batch make and install tickets

Discussion in '3DS - Homebrew Development and Emulators' started by Kyraminol, May 1, 2016.

  1. Kyraminol
    OP

    Kyraminol Member

    Newcomer
    12
    56
    Jan 27, 2016
    Italy
    Hi everyone, you may or may not know me for TIKdevil 0.1
    Well it was a very experimental batch tickets generator, it was slow and generated some rubbish tickets too.

    So here is a complete revamp of that.

    [​IMG]
    Icon & Banner by @manuelx98 <3​
    Features:
    • Doesn't anymore rely on encTitleKeys.bin nor any files, direct table parse from that title key site;
    • Complete revamp, 1 click take-them-all in less than 5 minutes;
    • Reads already installed tickets and only generates missing ones;
    • Directly installs generated tickets!
    • Removes temp files, leaving only table for local storage.

    Soon:
    • Region filtering;
    • Separate menu items for single things;
    • QR to CIA for quick installing and updating TIKdevil;
    • Go to e-Shop after install;
    • Overhaul process speed and stuff :3
    Downloads:
    https://github.com/Kyraminol/TIKdevil/releases

    Source:
    https://github.com/Kyraminol/TIKdevil/


    Credits:
    Thanks to @cearp and @Drakia for some base code!
    Thanks to @smealum for ctrulib!
     
    Last edited by Kyraminol, May 1, 2016


  2. Dorimori

    Dorimori professional lurker

    Member
    409
    1,090
    Mar 17, 2016
    United States
    possibly in your closet
    Nice revamp! I didn't use TIKDevil 0.1 because of it's speed. I'll put this on my 3DS.
     
    Kyraminol likes this.
  3. Drakia

    Drakia GBAtemp Advanced Maniac

    Member
    1,512
    1,761
    Mar 15, 2008
    Canada
    Hmm, so there's no option to generate only, this just throws every .tik from that nfshost page into your NAND?

    Also, why are you parsing the HTML from the page just to (essentially) get the titleId and titleKey, instead of just using the encTitleKeys file itself? (I see you do a check on the Type listed, to only install tickets for Games and DLC. Is there not a way to do that using just the data in encTitleKeys?)

    Anyways, just a note to users, unlike 0.1 and CIAngel, this isn't generating .tik files, this is installing every "eShop Application"/"DLC" ticket from that nfshost site right into your NAND.
     
  4. cearp

    cearp the ticket master

    Member
    7,477
    4,710
    May 26, 2008
    Tuvalu
    ooh if you don't mind i'll use the ticket installing code :) nice work anyhow!
    @Drakia, i guess it's nicer to rely on the site instead of afile, even though the file can come from the site. but the page has more info like region that this guy wants, important because otherwise you get lots of useless tickets installed
     
    Last edited by cearp, May 1, 2016
    klear and Quantumcat like this.
  5. Tenshi_Okami

    Tenshi_Okami GBAtemp Maniac

    Member
    1,376
    564
    Nov 3, 2015
    Puerto Rico
    i suggest to do the Region Filtering ASAP cause if you install all the tickets, some may be corrupted(For me Smash for USA was corrupted, had to install it manually) and it could install useless Tickets(Like EUR ones, for me TIKdevil 0.1 did that and i had to recover my old ticket.db(from emuNAND) cause of how much tickets it had).

    Not trying to hurry you up or anything, just wanted to warn you about this. And don't take this the wrong way, i do love this and I'm glad you made something like this :D
     
    Kyraminol likes this.
  6. Kyraminol
    OP

    Kyraminol Member

    Newcomer
    12
    56
    Jan 27, 2016
    Italy
    Next release will be separed menu options for different things, until now my goal was to "make it work".

    It does not just throw any tik, it checks if it's already installed so no time waste for already "owned" tickets.

    encTitleKeys is unrelyable, parsing the whole file and takes too much time because it contains system titles and patches too. XML parsing and searching is way faster. Also, i was planning to use title name in some functions.. Maybe i'll make a lightweight database with PHP for self updates linked to nfshost

    @cearp sure! I borrowed from you some code so it's fair
     
    Last edited by Kyraminol, May 1, 2016
    klear and cearp like this.
  7. Ricken

    Ricken We'll Carry On

    Member
    2,192
    2,347
    Jan 19, 2016
    United States
    Shibuya, The small one from Vegas
    Im tempted to delete all my tickets but...

    Obvi reasons
     
  8. Tenshi_Okami

    Tenshi_Okami GBAtemp Maniac

    Member
    1,376
    564
    Nov 3, 2015
    Puerto Rico
    you could just get the ticket.db from an old backup/emuNAND(had to be unlinked BEFORE installing the tickets), its better this way
     
  9. Ricken

    Ricken We'll Carry On

    Member
    2,192
    2,347
    Jan 19, 2016
    United States
    Shibuya, The small one from Vegas
    Laziness. and lack of a Nand backup with a blank ticket.db
     
  10. Tenshi_Okami

    Tenshi_Okami GBAtemp Maniac

    Member
    1,376
    564
    Nov 3, 2015
    Puerto Rico
    Uh do you have both emuNAND and sysNAND unlinked? If you do then you can use the ticket.db from sysNAND to emuNAND(I ask since you have menuhax + rxTools setup)
     
  11. Ricken

    Ricken We'll Carry On

    Member
    2,192
    2,347
    Jan 19, 2016
    United States
    Shibuya, The small one from Vegas
    Take a closer inspection at that part of my sig
     
  12. Tenshi_Okami

    Tenshi_Okami GBAtemp Maniac

    Member
    1,376
    564
    Nov 3, 2015
    Puerto Rico
    Oh i didn't see that, sorry ;~;
     
    Ricken likes this.
  13. Ricken

    Ricken We'll Carry On

    Member
    2,192
    2,347
    Jan 19, 2016
    United States
    Shibuya, The small one from Vegas
    lol itsk

    I rlly should make another backup tho
     
  14. Tenshi_Okami

    Tenshi_Okami GBAtemp Maniac

    Member
    1,376
    564
    Nov 3, 2015
    Puerto Rico
    Wait what did you do to the backups that you make while applying A9LH?
     
  15. Ricken

    Ricken We'll Carry On

    Member
    2,192
    2,347
    Jan 19, 2016
    United States
    Shibuya, The small one from Vegas
    good question :P

    The one that I am aware of (which was of my EmuNand just before A9LH) doesnt have a blank ticket.db either

    I'm only missing out on downloading like 6 games from the eShop tho, so its no big deal
     
  16. richardparker

    richardparker GBAtemp Advanced Fan

    Member
    707
    113
    Oct 10, 2014
    India
    Swallowed up by the ocean!
    how do i use this pls answer fast thanks!
     
  17. Ricken

    Ricken We'll Carry On

    Member
    2,192
    2,347
    Jan 19, 2016
    United States
    Shibuya, The small one from Vegas
    I... But... Um...

    You just do it and don't let your dreams be dreams?
     
    slaphappygamer and Quantumcat like this.
  18. richardparker

    richardparker GBAtemp Advanced Fan

    Member
    707
    113
    Oct 10, 2014
    India
    Swallowed up by the ocean!
    ?? didnt get it pls tell me!how do i use this?

    — Posts automatically merged - Please don't double post! —

    @Ricken fire emblem awakening ? right?
     
  19. Ricken

    Ricken We'll Carry On

    Member
    2,192
    2,347
    Jan 19, 2016
    United States
    Shibuya, The small one from Vegas
    Do you have a CFW set up?

    And yes, that's where i got the Username. Its never taken :P
     
    cearp likes this.
  20. richardparker

    richardparker GBAtemp Advanced Fan

    Member
    707
    113
    Oct 10, 2014
    India
    Swallowed up by the ocean!
    i have a9lh luma 3ds, i have the cia installed,all i wanna know is that what option do i select,what file do i put in the sd card etc.
    right now i have selected the option- update ur tickets and the operation is complete. now what?
     
    Last edited by richardparker, May 1, 2016