Page 1 of 2 1 2 LastLast
Results 1 to 10 of 18

Thread: Pseudo CBZ/CBR addon

  1. #1

    Default Pseudo CBZ/CBR addon

    Hello.
    I love the irfanview viewer but it's to bad you can't view cbr/cbz archive with it.
    So i made a realy simple pseudo addon to open cbz/cbr file with irfanview.

    When the addon is installed, when you click a cbz/cbr file, it unzip the archive file in a temporary folder (with 7-zip command line version) then open the folder with irfanview, when you close irfanview, it's deleting the temporary folder.

    It works in VB.net so you'll need the .net framework 4.0 to make it works.

    I think a real programmer can made an optimised version of this "addon" in pure c++ so it won't need any .net frameworks ^^

    the addon as been tested in windows 7 32bits / 64 bits and windows vista 32 bits but to my mind it can works in windows xp too.

    it's working great but can take some time to open big archive file or with slow computers.

    it can open more than one cbz/cbr file at the same time without bug.

    i detected no bug in 15 days of testing with cbz/cbr file from 10mo to 200mo.

    the "addon" don't works with password protected cbz/cbr files

    here the link:
    ftp://ftp2.yatoshi.com/yatoshi/Satsu...View.addon.exe

  2. #2
    Administrator
    Join Date
    May 2007
    Location
    Near Munich, Germany
    Posts
    893
    Version
    IrfanView 4.33
    OS
    64-bit Linux Distribution
    CPU Cores
    8

    Default

    Hi,

    tried it with a cbr file which I find on the internet: yeah, it´s working

    But I highly recommend to use Environment.GetFolderPath(SpecialFolder.Applicatio nData) as the temp directory and not the Program Files directory!

  3. #3

    Default

    thanks for the advice.

    you're right because in vista/seven if don't have admininistrator rights it could block the extraction.

    i'll mod it this evening after my job (need some time to do it because it's my first program in .net).
    i spotted a bug too, if you open 2 cbz/cbr file at the same second, it bugs because the temps folder is time based, so i need to to mod it to make it "time + archive name" based to avoid this bug.

    as i say, it's a pseudo addon, it's here to prove it can works, but i hope a real programmer will do a better job in pure c++ (the best solution would be to my mind to create some kind of ramdisk for the cbz extraction instead of extration to the hard drive but i don't found a simple way to do it in vb.net ^^')

  4. #4
    Administrator
    Join Date
    May 2007
    Location
    Near Munich, Germany
    Posts
    893
    Version
    IrfanView 4.33
    OS
    64-bit Linux Distribution
    CPU Cores
    8

    Default

    Maybe you can put smaller cbr files in a memory stream

  5. #5

    Default

    Link updated

    changelog:
    -Solved a potential bug with non administrator account in windows vista/7 (now use application install folder instead of application data folder as temporary folder).
    -Solved a bug if you oppened 2 cbr/cbz file at the same second (added the cbz/cbr file name in the temps folder).

    todo (in a lonnnng time, need lots of vb.net practice)
    -Replace hard drive temps folder with ram if enought ram free.

  6. #6

    Default

    Link updated

    changelog:
    -Solved a bug with some folder name

  7. #7
    IV Amateur MercWithMouth's Avatar
    Join Date
    Dec 2012
    Posts
    11
    Version
    IrfanView 4.35
    OS
    64-bit Win 7 Home Premium SP1
    CPU Cores
    4

    Default

    The "Pseudo CBZ/CBR addon" works TERRIFICALLY and allows me more freedom when viewing my CBR or CBZ image-comics or image-books with more versatility than CDisplay ever did!! You did great work here! Thank you VERY much! I strongly motion that this become installed with IrfanView by default!

    Click image for larger version. 

Name:	transparent background exploitable myoc redux anime schoolgirl calling you awesome revised dec 2.png 
Views:	2583 
Size:	460.3 KB 
ID:	3419

    THANKS AGAIN!!

  8. #8
    IV Newbie
    Join Date
    Jan 2013
    Posts
    2

    Default

    Anyone know where I can get this from or post another copy? The link is dead and haven't been able to locate it anywhere else.

  9. #9
    IV Beginner Jaff's Avatar
    Join Date
    Nov 2007
    Location
    România
    Posts
    47
    Version
    IrfanView 4.35
    OS
    32-bit Win XP Pro SP2
    CPU Cores
    1

    Default

    Here it is as atachment. Retrived (2013.02.26) 05:33 CET
    Attached Files Attached Files
    Imi este indiferent ce cred ceilalti despre mine, caci oricum fiecare crede ce-i convine lui si nu ceea ce e real,
    doar ca mi-ar fi placut sa ma vada asa cum sint de fapt, nu asa cum poate le-ar placea lor sa creada. Ei au ales deja...

    ··÷¦÷·· ·· · · · ·· ··÷¦÷·· ·· · · · ·· ··÷¦÷·· ·· · · · ·· ··÷¦÷·· ·· · · · ·· ··÷¦÷··
    ·· · ·M· · ·I· · ·D· · ·I· · ·· ·· ·M· · ·A· · ·N· · ·I· · ·A· · ·C· · ·S· · ··
    ··÷¦÷·· ·· · · · ·· ··÷¦÷·· ·· · · · ·· ··÷¦÷·· ·· · · · ·· ··÷¦÷·· ·· · · · ·· ··÷¦÷··

  10. #10
    IV Newbie
    Join Date
    Jan 2013
    Posts
    2

    Default

    Thanks Jaff!

    Quote Originally Posted by Jaff View Post
    Here it is as atachment. Retrived (2013.02.26) 05:33 CET

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •