Dec wrote:But is there any standard of file names inside archive?
https://en.wikipedia.org/wiki/Comic_book_archive wrote:The file names inside an archive are usually numbered in ascending order according to the original page number, including the use of preceding zeros for all positions (example: using 001 rather than 1) to force the proper display of images by viewers across all operating systems. Otherwise files can be displayed out of order (example: 1, 10-19, 100-199, 2, 20-29, 3, etc.) due to differences in how file name characters are handled by each operating system.
I have some experience in archive processing. So I can create my own implementation of WLX plugin. Do somebody know where can I download a set of example files in different formats which can be used for testing?
Sir_SiLvA wrote:BUT Code:
green latern - in darkest night - 001.jpg
....
green latern - in darkest night - 0026.jpg
green latern - in darkest night - cover.jpg
is also possible....
I've not seen such files, and I have a lot of CBx archives too.
The only thing that comes close is:
name 000-00cover.JPG
name 000-01.JPG
name 000-02.JPG
name 001.JPG
name 002003.JPG
name 004.JPG
...
A simple binary compare to find the "lowest" page is enough for 99% of the archives out there (due to the ASCII code correctly sorting numbers before letters).
If the archive creator is not able to generate names that are sortable in the correct order, it's their fault.
Supported cb7, cbr, cbt, cbz. Cba is not supported because of x64 version of Unace.dll is not exist.
I tried to implement some heuristics in algorithm of detection of cover image. And if you see wrong cover - let me know.
tested and working fine
tanks Dec
just a question, why is the unrar dll needed as far as I know Igor implemented rar 5.0 in 7zip 15.06 and you included 7z dll's 15.14 which already have rar 5.0 support?
Please note that this plugin is now outdated: If you currently using it, you can uninstall it since I released a new plugin: mthumbs.wlx that is the continuity and offers additional features: support JPG, PNG, GIF and TGA + albums support (priority to *cover* *folder* *preview*) + other advanced functions like ADS cache saving, unicode support, ect...