1. WolfThatGoesMoo

    OP WolfThatGoesMoo Member
    Newcomer

    Joined:
    Jun 1, 2018
    Messages:
    41
    Country:
    United States
    XCItment - Auto XCI file renaming tool

    Current Version: 1.1 UPDATED 06/06


    WARNING:
    This program triggers flags within anti-virus scans and could be considered dangerous! If this worries you please do not use this tool!!

    This has been proven to be a false positive by @Moko - However, still use at your own risk please! Thank you!

    Note: This will most likely be the last version of this file, excluding bug fixes.
    I'm working on a tool that manages all files as a game library instead, and renaming files will be one of the many functions within the game manager.


    Version 1.2 (Pending Release)
    • Improvement: Add more logic checks to see if a given file is already correctly named, and skip processing if it if is. (This is make it run significantly faster and lets you update a folder as you get more .xci files instead of renaming them all over again.) [Working on it..]
    • Improvement: Check for duplicate file names that start from different original names (different regions have same internal name from the header, and results in naming conflict if you own the same game in different regions) [Done]
    • Improvement: Found a better method for reading header files. Significantly faster and supports cart2 files. [Done]
    • Improvement: Publishing source code to github. [Working on it..]
    • New Feature: Support for appending attributes to file names. (Request) [Done]
    • New Feature: Support for finding .xci files within sub-directories (Request) [Done]
    • New Feature: Support for directory creation for each file, so the .xci file is stored within its own sub folder. e.g. : /This Is The Police/This Is The Police.xci (Request) [Done]
    • New Feature: Add ability to sort the files by the three main columns (Alphabetically, reverse alphabetically, and by status) [Working on it..]
    • New Feature: Support for drag & drop of folders containing .xci's and single .xci's onto the main window to be processed [Working on it..]
    • New Feature: Adding a settings option that replaces "Fast Mode" on the interface. Fast Mode will be a setting within a new window. This allows more options to be implemented and organized. [Done]
    • New Feature: Add "Undo" feature to reverse the rename of a selected item or all items (In case there was an error....this is mostly for me) [Working on it..]
    • New Feature: XCI Validity Checker. Check to make sure the files you're working with are valid and complete! (What?...you got it from some where sketchy?...well feel safe knowing!) [Done]
    • New Feature: Support for cart2 files [Done]
    • New Feature: Error handling with a flagging system to graphically show users a failed rename: [Done]

    Version 1.1
    • Improvement: Each file is deselected as it's renamed and removed from the list [Done]
    • Improvement: Cancel button text has changed to "Finish" after the renaming process has finished [Done]
    • Improvement: Removed final prompt showing how many files were renamed. It was inaccurate (fixed) and has been moved to the status bar on the bottom instead. [Done]
    • Improvement: Status will now reflect a file that is already named correctly and skip it [Done]
    • Improvement: Increased width of status and status label to show full strings [Done]
    • Improvement: Added a time out function if a process stalls [Done]
    • Improvement: General over haul and refactoring of code. [Done]
    • Improvement: Added 250+ lines of debugging and error handling. [Done]
    • Bug Fix: The cancel button didn't stop it from renaming files lol fixed that #CriticalInterruptProcess [Done]
    • Bug Fix: Proceed button was being re-enabled after renaming all files, which caused errors [Done]
    • Bug Fix: Deselect/Select All button not being disabled after renaming process. Caused glitches [Done]
    • Bug Fix: 30+ game title name errors including those mentioned by Drejj and Znuf. Now have dedicated string check logic and files are being named correctly now. Thanks guys! [Done]
    • Bug Fix: blank .xci files are a thing of the past! [Done]
    Version 1.0
    • Released [Done]

    Features:
    - Batch processing of .xci files using internal header data (Defaults with Fast Mode Though, See Additional Information Below)
    - Settings file for quick re-use
    - Also handles individual files easily
    - Support for cart2 files

    Instructions:
    1. Open XCItment and click the top center button and navigate to the folder containing the files you want renamed
    2. Each file will automatically be selected, prepared for renaming. To exclude files from being renamed, just unchecked them.
    3. Click proceed, and they will automatically be renamed.

    [Optional] To handle another directory with .xci files, simply click cancel, then repeat steps 1-3
    [Optional] Click settings to make changes to how files are renamed.

    Additional Information:
    Fast Mode (...) will rename files based off of a scene name rather than looking up internal header information first.
    Significantly faster, but less accurate. NOTE: Requires internet for Fast Mode! This downloads a copy of nswdb's xml file!!

    [​IMG]
    [​IMG]
    [​IMG]

    Download:
    Github coming very soon.

     

    Attached Files:

    Last edited by WolfThatGoesMoo, Jun 26, 2018
  2. LightOffPro

    LightOffPro ユキオクン
    Member

    Joined:
    Jun 10, 2016
    Messages:
    316
    Country:
    Portugal
    Just used it, works wonderfully.

    Thanks!
     
    WolfThatGoesMoo likes this.
  3. Type_O_Dev

    Type_O_Dev GBAtemp Advanced Fan
    Member

    Joined:
    Dec 12, 2017
    Messages:
    648
    Country:
    United States
    Great Job, used now works great, nice ui

    https://i.imgur.com/SNYm3J8.png
    https://i.imgur.com/p9ErBJw.png
    https://i.imgur.com/DPotWMm.png
     
    hippy dave and WolfThatGoesMoo like this.
  4. Rafael Esposito

    Newcomer

    Joined:
    Jul 27, 2016
    Messages:
    33
    Country:
    Brazil
    Thanks! I was looking for this.

    P.S. Can you make this work with subfolders?
     
    Trappie and WolfThatGoesMoo like this.
  5. Mark2333

    Mark2333 Banned
    Banned

    Joined:
    Aug 29, 2017
    Messages:
    283
    Country:
    United States
    Perfectly, wait to use it for my SX products.
     
    WolfThatGoesMoo likes this.
  6. Auyx

    Auyx GBAtemp's Unofficial Sanic impersonator
    Member

    Joined:
    Jun 20, 2007
    Messages:
    273
    Country:
    If you manage to add .xci batch trimming it would be awesome. Like Tokyotrim reborn.
     
  7. MHDestination

    MHDestination GBAtemp Fan
    Member

    Joined:
    Sep 12, 2009
    Messages:
    392
    Country:
    Germany
    This tool is for renaming. It doesn't trim at all.

    Use XCI-Cutter or XCI-Explorer to trim.
     
  8. Auyx

    Auyx GBAtemp's Unofficial Sanic impersonator
    Member

    Joined:
    Jun 20, 2007
    Messages:
    273
    Country:
    Yeah that's why I said "add".
     
  9. MHDestination

    MHDestination GBAtemp Fan
    Member

    Joined:
    Sep 12, 2009
    Messages:
    392
    Country:
    Germany
    And why don't you use the other tools?

    I don't understand why OP should spend several ours coding
    something that has been done (multiple times) before.
     
  10. Drejj

    Drejj Advanced Member
    Newcomer

    Joined:
    Dec 31, 2006
    Messages:
    54
    Country:
    Atelier.Lydie.and.Suelle.The.Alchemist.and.the.Mysterious.Paintings.NSW-BigBlueBox (shows &Amp; instead of &)
    Puyo.Puyo.Tetris.USA.PROPER.NSW-BigBlueBox (Puyo Puyo..¢ Tetris)
    Pokken.Tournament.DX.PROPER.NSW-BigBlueBox (Pokkã‰N Tournament Dx)

    Half of them show up as just ".xci". Not always the same ones every search.
     
    Last edited by Drejj, Jun 5, 2018
  11. WolfThatGoesMoo

    OP WolfThatGoesMoo Member
    Newcomer

    Joined:
    Jun 1, 2018
    Messages:
    41
    Country:
    United States
    Okay, just wanted to say thanks to everyone who has tried it so far!

    This will take a bit of redesign, but I'm definitely looking into it and if I can, I will

    I won't be adding batch trimming to the tool directly at this time, but I may create a solution that does the following, what do you think?
    - Takes the newly renamed list of files and opens your trimming tool of choice, and dumps said list into it if the tool supports batch processing.
    Does that sound appropriate?

    Thank you for bringing these to my attention! For the first 3 that you've mentioned, I will look into them and hopefully update it to handle those strings
    As for the last, I'm really not sure because I haven't run into that issue with any of my testing, but I'll try to add more error handling.
     
    Last edited by WolfThatGoesMoo, Jun 5, 2018
    Masterwin and Rafael Esposito like this.
  12. Deleted User

    Deleted User Newbie

    To be fair the other tools dont automatically search the input folder for all the XCI files like this does
     
  13. WolfThatGoesMoo

    OP WolfThatGoesMoo Member
    Newcomer

    Joined:
    Jun 1, 2018
    Messages:
    41
    Country:
    United States
    That's true, and with this update I'm working on it should allow someone who just extracts the original archives to use it as well, because it will support reading through as many levels of sub folders as there is. It's working pretty well.

    All the aforementioned errors have been resolved as well, and I'm working on throwing errors so I can get some feedback from you guys when it fails or only names it ".xci" for whatever reason.

    Should be finished in a few days, just distracted with another project at the same time....what's that?...you want a sneak peak?...sure I guess!
    [​IMG]
    [​IMG]
    [​IMG]

    -- Edited: I can officially post links! --
     
    Last edited by WolfThatGoesMoo, Jun 6, 2018
    Trappie, LuiG and Drejj like this.
  14. Znuf

    Znuf Advanced Member
    Newcomer

    Joined:
    Nov 10, 2017
    Messages:
    50
    Country:
    Switzerland
    Thanks for this software.

    Small problem with :
    Ultra Street Fighter II The Final Challengers
    Ultra Street Fighter„¢ Ii The Final Challengers

    Work great !
     
    WolfThatGoesMoo likes this.
  15. LuiG

    LuiG Newbie
    Newcomer

    Joined:
    Jun 5, 2018
    Messages:
    4
    Country:
    United States
    Getting the same empty ".xci" error as well for some games.
    Sorry to ruin the fun for others but I found the 'sneak peak':
    Try imgur + kKqIM6C (sorry cant post links since i am noob)

    Can't wait to see what this project is about. (Haven't looked at it too much) Also, thank you for the renaming tool it's awesome!
     
    WolfThatGoesMoo likes this.
  16. WiiuGold

    WiiuGold GBAtemp Advanced Fan
    Member

    Joined:
    Jan 5, 2015
    Messages:
    896
    Country:
    United States
    nice program, Can you add . sub folders renamer too has the title. like this
    This Is The Police/This Is The Police.xci

    thats how i have mine all in Sub Folders.
    If you can .. Keep up the great Work
    Maybe add the I.D to the sub Folder.. or Regions
    .
     
    WolfThatGoesMoo likes this.
  17. WolfThatGoesMoo

    OP WolfThatGoesMoo Member
    Newcomer

    Joined:
    Jun 1, 2018
    Messages:
    41
    Country:
    United States
    Thank you for the help and letting me know! That's been fixed for the next update

    I'm seeing that there will be a desire for additional settings per user, so I'll be replacing the fast mode toggle with a settings button to configure it in there, including an option to add sub folders with a given name convention.
    Thanks for the feedback!
     
  18. WolfThatGoesMoo

    OP WolfThatGoesMoo Member
    Newcomer

    Joined:
    Jun 1, 2018
    Messages:
    41
    Country:
    United States
    Anyone know how to update a thread name? I'm interested in changing it to reflect the updates this receives. Is that a thing? Or am I just blind?
     
    Rafael Esposito likes this.
  19. Deleted User

    Deleted User Newbie

    Thanks for the reply! I can't wait for the next update! You have a great tool here. You could probably even become the goto if you include the trimming in your tool as well so that everything is in one place!

    You're doing a great job!
     
  20. hippy dave

    hippy dave BBMB
    Member

    Joined:
    Apr 30, 2012
    Messages:
    6,080
    Country:
    United Kingdom
    You can't change the thread title yourself, but you can report your post and ask for it to be changed.
     
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - renaming, XCIment,