[Release] RenameTool

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by ShiftCode, Apr 24, 2016.

  1. ShiftCode
    OP

    ShiftCode Member

    Newcomer
    26
    22
    Apr 22, 2016
    Australia
    Simple tool to rename files from titleid.ext to name.ext
    Download: GitHub
    Source: GitHub

    Hope you like it :)
     
  2. DrCrygor07

    DrCrygor07 Italian Wario Ware bootleg©

    Member
    1,688
    623
    Sep 4, 2014
    Italy
    Nice! Good job!
     
  3. Xenon Hacks

    Xenon Hacks GBAtemp Guru

    Member
    7,050
    3,367
    Nov 13, 2014
    United States
    Ill try using this to rename tickets thanks :grog:
     
  4. ShiftCode
    OP

    ShiftCode Member

    Newcomer
    26
    22
    Apr 22, 2016
    Australia
    That's exactly why I created this in the first place :P
     
    Xenon Hacks likes this.
  5. Xenon Hacks

    Xenon Hacks GBAtemp Guru

    Member
    7,050
    3,367
    Nov 13, 2014
    United States
    Is there sauce so @cearp can maybe add this into CIAngel?
     
  6. cearp

    cearp the ticket master

    Member
    7,469
    4,706
    May 26, 2008
    Tuvalu
    CIAngel can do this, when you download a cia, it creates a folder with the games name :)
     
    GilgameshArcher likes this.
  7. ShiftCode
    OP

    ShiftCode Member

    Newcomer
    26
    22
    Apr 22, 2016
    Australia
    I'm currently working on an Update/Re-Release, which queries the required information directly from nintendo. This methos is WAYYY slower, but it includes every title out there. For that reason I will now maintain 2 versions of this, one for super-fast-rename based on 3dsdb, and one for slow-but-complete rename based on cdn info. Release ETA: 1-2h
     
    Thelostrune likes this.
  8. Housey

    Housey Advanced Member

    Newcomer
    90
    81
    Jan 19, 2016
    for names only you should use the groovyfx database because it has way more titles than 3dsdb
     
  9. ShiftCode
    OP

    ShiftCode Member

    Newcomer
    26
    22
    Apr 22, 2016
    Australia
    I know, but it's more convenient and easier to code to simply query nintendo directly :P
     
  10. Housey

    Housey Advanced Member

    Newcomer
    90
    81
    Jan 19, 2016
    I can't imagine looking up stuff from the CDN is any easier than just parsing an XML file.

    The thing I did for a couple of my program had to download the first 272 bytes of the tmd, aes decrypt it with the decrypted title key and look through it for info

    the xml parser took me like 20 minutes
     
  11. ShiftCode
    OP

    ShiftCode Member

    Newcomer
    26
    22
    Apr 22, 2016
    Australia
    it's easier if you just parse the output of plaiCDN :P
    [​IMG]
     
  12. Housey

    Housey Advanced Member

    Newcomer
    90
    81
    Jan 19, 2016
    well when you put it like that...
     
  13. ShiftCode
    OP

    ShiftCode Member

    Newcomer
    26
    22
    Apr 22, 2016
    Australia
    :P


    EDIT 1:
    Nevermind, I just used the community.xml File, nintendo's servers were too slow xD


    EDIT 2:
    @cearp is it OK if I include FunKeyCIA in my rar file? for a all-in-one run(download nfskeyfile, make all tickets, rename all tickets, delete everything that couldn't be named
     
  14. ShiftCode
    OP

    ShiftCode Member

    Newcomer
    26
    22
    Apr 22, 2016
    Australia
    Last edited by ShiftCode, Apr 29, 2016
    Thelostrune likes this.
  15. cearp

    cearp the ticket master

    Member
    7,469
    4,706
    May 26, 2008
    Tuvalu
    if you want sure
     
  16. AnalogMan

    AnalogMan sumoCheatMenu Dev

    Member
    1,413
    831
    Apr 20, 2007
    United States
    @ShiftCode I'm working on creating a JSON that holds as many names as I can scrape from the CDN. It won't have TitleKeys in them, so it can be shared. You may find it useful. If I'm satisfied with it I'll share the script. Still need to implement a 'skip' feature for updating the list when new titles come out.