CIA File renamer (Mass)

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by Zonark, Oct 27, 2016.

  1. Zonark
    OP

    Zonark Member

    Newcomer
    34
    5
    Jul 11, 2010
    United States
    I'm searching for a program to rename a large amount of .CIA files automatically.
    The files are currently named "Titleid".cia. I am looking to name them to the GAMENAME.cia

    Thanks in advance for any help.
     
  2. RyDog

    RyDog Lazy Animal Crossing hacker

    Member
    1,609
    1,192
    Apr 26, 2015
    United States
    This can be done with a python script.
    Code:
    import os
    os.path.abspath(path) #set path to where the folder of the cia files are
    os.rename(old_file_name, new_file_name)
    I bet you could use variables so you can copy and paste the entire game title list corresponding to their title ID, but I'm not sure how :unsure:
    I'll report back later if I figure something out.
     
    Last edited by RyDog, Oct 27, 2016
    Zonark likes this.
  3. Zonark
    OP

    Zonark Member

    Newcomer
    34
    5
    Jul 11, 2010
    United States
    I was looking into this to see if there is a way to use decTitlekeys.bin to get the information about the game I.e. Matching titleid to come up with rename name aka game name.
     
  4. hippy dave

    hippy dave BBMB

    Member
    2,600
    1,809
    Apr 30, 2012
    United Kingdom
    That titlekey site has some useful json files you could use to match the title id to the name. Try adding /json to the url.