View Single Post
Old 07-02-2010, 04:39 PM   #24
lilman
Addict
lilman has learned how to read e-bookslilman has learned how to read e-bookslilman has learned how to read e-bookslilman has learned how to read e-bookslilman has learned how to read e-bookslilman has learned how to read e-bookslilman has learned how to read e-bookslilman has learned how to read e-books
 
lilman's Avatar
 
Posts: 326
Karma: 960
Join Date: Jul 2009
Location: Florida, US
Device: Kindle DX, iPad
Still working on the final release of Canti (so much coding!), but I wanted to release this now. There is a bug in the previous releases of Canti that if you use @archive_input_image_folders using @archive_format .zip or .cbz on a Windows machine than the filenames of the images within the archives will have a \ placed at the beginning (for example, \01.jpg instead of 01.jpg). This bug has already been fixed in the final release of Canti, but I'm releasing this tool so that you can rearchive affected folders.

Just extract the program from the attached zip and run:
java -jar FixArchives.jar [path to folder containing affected archives]

For example:
java -jar FixArchives.jar C:\\Manga\\SchoolRumble\\

It will go through all the .zip/.cbz archives in the specified folder, unarchive them to temporary folders, fix the filenames, and then rearchive. Depending on how many archives you have in the specified folder it may take a few minutes for the program to complete.

It's kinda strange that this bug only occurred on Windows machines and only if you used @archive_input_image_folders (not sure why the output folder archives weren't affected). Anyway, sorry about that.
Attached Files
File Type: zip FixArchives.zip (17.9 KB, 253 views)
lilman is offline   Reply With Quote