Hacking WIP XCIment - Auto XCI file renaming tool

WolfThatGoesMoo

Active Member
OP
Newcomer
Joined
Jun 1, 2018
Messages
43
Trophies
0
Age
39
XP
183
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!!


p9ErBJw.png

DPotWMm.png

Download:
Github coming very soon.

 

Attachments

  • XCIment v1.1.zip
    1.5 MB · Views: 5,597
Last edited by WolfThatGoesMoo,

Type_O_Dev

Developer
Developer
Joined
Dec 12, 2017
Messages
683
Trophies
0
XP
1,469
Country
United States
XCIment - Auto XCI file renaming tool

Current Version: 1.0 (Beta)

Change log:

v. 1.1 (Pending) - Enable drag & drop of folders instead of manually selecting from button above
v. 1.0 - Released

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

Removing these because apparently they're links and I'm a new member so I can't post them?

If you consider this to be a cheeky work around, please let me know before issuing punishment, I'll just remove them

Source:

Imgur

File Names:

https://i.imgur.com/SNYm3J8.png
https://i.imgur.com/p9ErBJw.png
https://i.imgur.com/DPotWMm.png

Instructions:
1. Have a directory/folder prepared with only .xci files in it (Has not been tested yet with a folder that has something else in it)
2. Open XCIment and click the top center button and navigate to the folder containing the files you want renamed
3. Each file will automatically be selected, prepared for renaming. To exclude files from being renamed, just unchecked them.
4. Click proceed, and they will automatically be renamed.
5. To handle another directory with .xci files, simply click cancel, then repeat steps 2-4.

Additional Information:
Fast Mode (As seen as a setting in the upper right) will rename files based off of a scene name supplied rather than looking up internal header information.
Significantly faster, but less accurate if your .xci file isn't a bbb release. NOTE: Requires internet for Fast Mode! This downloads a copy of nswdb's xml file!!

This is my first program that I've ever really made, so I'd appreciate a little feedback.
If you want any changes/updates or have any questions, feel free to ask and I'll see what I can do

Download:
Pending github and source release...have to make one. See attached in the mean time

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
 

Mark2333

Banned!
Banned
Joined
Aug 29, 2017
Messages
283
Trophies
0
Age
30
XP
227
Country
United States
XCIment - Auto XCI file renaming tool

Current Version: 1.0 (Beta)

Change log:

v. 1.1 (Pending) - Enable drag & drop of folders instead of manually selecting from button above
v. 1.0 - Released

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

Removing these because apparently they're links and I'm a new member so I can't post them?

If you consider this to be a cheeky work around, please let me know before issuing punishment, I'll just remove them

Source:

Imgur

File Names:

SNYm3J8.png
p9ErBJw.png
DPotWMm.png

Instructions:
1. Have a directory/folder prepared with only .xci files in it (Has not been tested yet with a folder that has something else in it)
2. Open XCIment and click the top center button and navigate to the folder containing the files you want renamed
3. Each file will automatically be selected, prepared for renaming. To exclude files from being renamed, just unchecked them.
4. Click proceed, and they will automatically be renamed.
5. To handle another directory with .xci files, simply click cancel, then repeat steps 2-4.

Additional Information:
Fast Mode (As seen as a setting in the upper right) will rename files based off of a scene name supplied rather than looking up internal header information.
Significantly faster, but less accurate if your .xci file isn't a bbb release. NOTE: Requires internet for Fast Mode! This downloads a copy of nswdb's xml file!!

This is my first program that I've ever really made, so I'd appreciate a little feedback.
If you want any changes/updates or have any questions, feel free to ask and I'll see what I can do

Download:
Pending github and source release...have to make one. See attached in the mean time
Perfectly, wait to use it for my SX products.
 
  • Like
Reactions: WolfThatGoesMoo

Drejj

Well-Known Member
Newcomer
Joined
Dec 31, 2006
Messages
55
Trophies
1
XP
501
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,

WolfThatGoesMoo

Active Member
OP
Newcomer
Joined
Jun 1, 2018
Messages
43
Trophies
0
Age
39
XP
183
Country
United States
Okay, just wanted to say thanks to everyone who has tried it so far!

Thanks! I was looking for this. P.S. Can you make this work with subfolders?

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

If you manage to add .xci batch trimming it would be awesome. Like Tokyotrim reborn.

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?

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.

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,
D

Deleted User

Guest
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.
To be fair the other tools dont automatically search the input folder for all the XCI files like this does
 

WolfThatGoesMoo

Active Member
OP
Newcomer
Joined
Jun 1, 2018
Messages
43
Trophies
0
Age
39
XP
183
Country
United States
To be fair the other tools dont automatically search the input folder for all the XCI files like this does
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!
kKqIM6C.png

ZWXxVQB.jpg

Nv98G2S.jpg

-- Edited: I can officially post links! --
 
Last edited by WolfThatGoesMoo,

Znuf

Well-Known Member
Newcomer
Joined
Nov 10, 2017
Messages
57
Trophies
0
Age
37
XP
660
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 !
 
  • Like
Reactions: WolfThatGoesMoo

LuiG

New Member
Newbie
Joined
Jun 5, 2018
Messages
4
Trophies
0
Age
27
XP
311
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!
 
  • Like
Reactions: WolfThatGoesMoo

WiiuGold

Well-Known Member
Member
Joined
Jan 5, 2015
Messages
902
Trophies
0
XP
1,466
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
.
 
  • Like
Reactions: WolfThatGoesMoo

WolfThatGoesMoo

Active Member
OP
Newcomer
Joined
Jun 1, 2018
Messages
43
Trophies
0
Age
39
XP
183
Country
United States
Thanks for this software.

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

Work great !

Thank you for the help and letting me know! That's been fixed for the next update

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
.

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!
 
D

Deleted User

Guest
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!
kKqIM6C.png

ZWXxVQB.jpg

Nv98G2S.jpg

-- Edited: I can officially post links! --
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!
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    What's worse is the dinosaur game popping up when the lotion comes out
    +1
  • RedColoredStars @ RedColoredStars:
    You use paper towels too? :rofl2:
  • sp3off @ sp3off:
    Better keep the safe place 'safe'
  • RedColoredStars @ RedColoredStars:
    Bounty. The quicker picker upper? lol
  • K3Nv2 @ K3Nv2:
    Aloe vera now with rgb
  • sp3off @ sp3off:
    On a serious note, have you tested your ISP DNS answer time ?
  • sp3off @ sp3off:
    Last time i've checked, my ISP was like 5/6 ms slower than Cloudflare x)
  • RedColoredStars @ RedColoredStars:
    yeah. I've tried changing dns too.
  • K3Nv2 @ K3Nv2:
    Check cpuid make sure ram sockets are detected
  • sp3off @ sp3off:
    (and i'm fibered, 5gb shared downloads, 1gb upload)
  • K3Nv2 @ K3Nv2:
    Or even in bios
  • RedColoredStars @ RedColoredStars:
    its mostly when starting firefox that it's noticible slower. Opening and loading the homepage. Tried fresh installs and all.
  • K3Nv2 @ K3Nv2:
    Knowing your system specs would help
  • sp3off @ sp3off:
    if you're in win 11, have you checked which graphical processor Firefox was using ?
  • RedColoredStars @ RedColoredStars:
    after it's open, its a bit slower too at loading pages, but not as noticeable as the initial startup and homepage loading
  • sp3off @ sp3off:
    can make a little difference
  • RedColoredStars @ RedColoredStars:
    You mean as in hardware acceleration on or off?
  • K3Nv2 @ K3Nv2:
    Went to make cup noodles, spilled boiling water on me then the kettle decided to pop
  • K3Nv2 @ K3Nv2:
    Don't know why I saw a kettle with wifi
  • RedColoredStars @ RedColoredStars:
    Will try that now
  • sp3off @ sp3off:
    ouch @K3Nv2 hope nothing's too bad !
  • RedColoredStars @ RedColoredStars:
    xda a good site. My go to site for phone shit. :)
  • K3Nv2 @ K3Nv2:
    Females have burnt me worse
  • ZeroT21 @ ZeroT21:
    females don't exist
    ZeroT21 @ ZeroT21: females don't exist