[Release] Newquay - helper for installing new additions to that titlekey site

Discussion in '3DS - Homebrew Development and Emulators' started by hippy dave, Sep 27, 2016.

  1. hippy dave
    OP

    hippy dave Butts Butts Megabutts

    Member
    2,592
    1,805
    Apr 30, 2012
    **** Update: 25/07/2017 ****
    This tool is now obsolete, has no purpose, don't download it.

    ****End update ****

    You know that titlekey site. You love that titlekey site. But sometimes it's frustrating when new decrypted keys have been added (the rss is good for checking that), and there's something that you want, but you've got to wait for the dude to upload the encrypted keys. Sure, the dude's busy, but nobody likes waiting.

    So I made this app, called Newquay (pronounced "new key", duh). Run Newquay and get it to download the decTitleKeys.bin, then reboot to Decrypt9 and encrypt it to encTitleKeys.bin.... reboot, run Newquay, choose a title and it will make you an input.txt. Open that with CIAngel and your chosen game will be installed.

    I mean, just try it, the instructions are right there in the app.

    Download v0.3: https://github.com/hippydave/Newquay/releases/download/0.3/Newquay.cia

    Source: https://github.com/hippydave/Newquay

    QR (v0.3):
    [​IMG]

    Changelog:
    0.3:
    • decTitlekeys.bin is now downloaded to /files9 if it exists (or sd root if not).
    • Warns if downloaded decTitlekeys.bin has 0 entries.
    • Reversed order the title list is displayed in, so newest entries are first.
    0.2: Add support for encTitleKeys.bin in /files9 folder (checked first) as well as root /

    0.1 First release

    Todo:

    Reverse order of title list (newest first).
    Check if decTitleKeys.bin has more than zero entries.
    Put decTitleKeys.bin in /files9 (or /Decrypt9) if exists.

    Display title info (region/type).
    Maybe add entries to wings.json?

    Credits:

    Based on FBI by Steveice10: https://github.com/Steveice10/FBI - for app base and user interface.
    Utility functions from 3DSGuy and possibly others.
    json library by James McLaughlin et al.
    Smealum and the usual suspects for ctrulib etc.
    If I've missed anyone just tell me.
     
    Last edited by hippy dave, Jul 25, 2017 - Reason: Newquay is obsolete now. Thanks for playing!
  2. KunoichiZ

    KunoichiZ GBAtemp Guru

    Member
    8,398
    3,510
    Mar 16, 2012
    United States
    So I just tested this. Everything worked out fine, but I have one tiny issue with it. When Decrypt9 makes the decTitleKeys into encTitleKeys, it outputs the encTitleKeys.bin file into the files9 folder, not the SD card root. You then have to use your computer or FBI to move it to the right place. It would be easier if it could also read the the file from the files9 folder as well as the SD card root.

    Like I said, it's a tiny complaint. Great work though!
     
    Last edited by KunoichiZ, Sep 27, 2016
  3. Ericjwg

    Ericjwg GBAtemp Psycho!

    Member
    3,045
    806
    Jul 2, 2015
    Canada
    quay....
    I thought it's [kwe…™]:ninja:
     
    LongTimeLurker likes this.
  4. hippy dave
    OP

    hippy dave Butts Butts Megabutts

    Member
    2,592
    1,805
    Apr 30, 2012
    Oh right, mine didn't do that - I guess either because I didn't have a files9 folder or my Decrypt9 is out of date. I'll fix that tho, thanks for letting me know!
     
    KunoichiZ likes this.
  5. hippy dave
    OP

    hippy dave Butts Butts Megabutts

    Member
    2,592
    1,805
    Apr 30, 2012
    Version 0.2 uploaded, supports /files9 folder for encTitleKeys.bin :)
     
  6. KunoichiZ

    KunoichiZ GBAtemp Guru

    Member
    8,398
    3,510
    Mar 16, 2012
    United States
    Has the QR code been updated?
     
  7. cearp

    cearp the ticket master

    Member
    7,550
    4,813
    May 26, 2008
    Tuvalu
    "installing new additions to that key site"
    it sounded like you made something that uploads our keys to it, i was really excited lol
    anyway thanks, a nice idea
     
  8. hippy dave
    OP

    hippy dave Butts Butts Megabutts

    Member
    2,592
    1,805
    Apr 30, 2012
    Yes :)

    Nice idea, I'd be happy to add that function if I can figure out how. I don't know much about coding http actions, have mostly been using other people's functions, but if I can figure out how to submit a post thingy I'll do it.
     
    zeldaism, Ryccardo and cearp like this.
  9. turnways

    turnways Newbie

    Newcomer
    6
    2
    Aug 20, 2016
    United States
    THANK YOU! I was just talking about this in the CIAngel thread and hoping something like this existed!
     
    hippy dave likes this.
  10. Ann0ying

    Ann0ying GBAtemp Regular

    Member
    112
    72
    Apr 12, 2016
    NtDH! GA!
    Gj, dude.
     
    hippy dave likes this.
  11. OrGoN3

    OrGoN3 GBAtemp Addict

    Member
    2,042
    458
    Apr 23, 2007
    United States
    Any idea why we're able to add decrypted title keys to that site but not encrypted ones?
     
  12. ihaveamac

    ihaveamac GBAtemp Guru

    Member
    5,481
    6,052
    Apr 20, 2015
    United States
    Tigard, OR
    decrypted keys are easier to verify if they are legitimate. if they are, then encrypted ones are put up later.
     
    OrGoN3 likes this.
  13. OrGoN3

    OrGoN3 GBAtemp Addict

    Member
    2,042
    458
    Apr 23, 2007
    United States
    You and your logic.
     
  14. Tomy Sakazaki

    Tomy Sakazaki GBAtemp Advanced Fan

    Member
    787
    215
    Oct 23, 2006
    Brazil
    I thought that this was done automatically using scripts? Well, good and ol' manual labor still works anyway.
     
  15. ihaveamac

    ihaveamac GBAtemp Guru

    Member
    5,481
    6,052
    Apr 20, 2015
    United States
    Tigard, OR
    decrypted keys can be verified quickly with automated scripts. encrypting keys requires a 3DS system until bootrom is dumped to get missing encryption keys.
     
  16. hippy dave
    OP

    hippy dave Butts Butts Megabutts

    Member
    2,592
    1,805
    Apr 30, 2012
    Yeah what they said. The site automatically verifies decrypted keys when they're submitted so they can be added immediately.
     
  17. ederenzi78

    ederenzi78 Advanced Member

    Newcomer
    59
    11
    Dec 14, 2012
    Italy
    Hello,
    Great little program! Could you add additional information available in CIAangel, such as Region, Type (Game or DLC), etc?
    Thanks!
     
    hippy dave likes this.
  18. hippy dave
    OP

    hippy dave Butts Butts Megabutts

    Member
    2,592
    1,805
    Apr 30, 2012
    Thanks :)
    Yeah I can get that info from the json, so sure, I'll try to add it soon. Will have to figure out more of the intricacies of the user interface code :)

    The other change I'm going to do next, which will be quick and simple, is to reverse the order in which the titles are listed, so the newest additions are at the top. I meant to do that before the initial release, but forgot... Protip for now, when the list comes up, press Up to loop around to the bottom of the list which is the newest entry!
     
  19. ederenzi78

    ederenzi78 Advanced Member

    Newcomer
    59
    11
    Dec 14, 2012
    Italy
    Thanks!
     
  20. pyrofool

    pyrofool Member

    Newcomer
    29
    16
    Apr 29, 2012
    United States
    Would it be possible to add an option to append to the wings.json file that CIAangel uses? I wasn't able to find a way just to install a ticket from the input.txt. I tried letting it start and cancel but that didn't work. It would also be nice to be able to add multiple titles to the file from your app and then go to CIAangel to download them or in my case I like to just instal the tickets and then download the game from eshop.