Jump to content

Comic Book Archives


Go to solution Solved by Mobius,

Recommended Posts

Hello all I was wondering if any one new of a way to extract the files from a Comic Book Archive (.cbr)?

My original thought was to use 7za.exe (&-zip console app) but when I run:

7za x 1.cbr 

7-zip returns:

Processing archive: 1.cbr
Error: Can not open file as archive
 
Does anyone a suggestion or other method?
PS I am trying to make a .cbr to .pdf script
Link to comment
Share on other sites

here, allow me:

http://bit.ly/R39RnQ

also:

http://bit.ly/191wLyW

also an online service: zamzar.com

Edited by orbs

Signature - my forum contributions:

Spoiler

UDF:

LFN - support for long file names (over 260 characters)

InputImpose - impose valid characters in an input control

TimeConvert - convert UTC to/from local time and/or reformat the string representation

AMF - accept multiple files from Windows Explorer context menu

DateDuration -  literal description of the difference between given dates

Apps:

Touch - set the "modified" timestamp of a file to current time

Show For Files - tray menu to show/hide files extensions, hidden & system files, and selection checkboxes

SPDiff - Single-Pane Text Diff

 

Link to comment
Share on other sites

i'm truely glad i could help! i guess you'll just have to study the internals of the .cbr format yourself, or find a reader application that supports conversion to PDF and has an API.

b.t.w. some hints suggest that .cbr is actually a .rar format, so you can rename the extension and call the console version of WinRAR to extract the images, then automate some standard image viewer application to print the images to PDF.

ready... set... GO!  :bike:

Signature - my forum contributions:

Spoiler

UDF:

LFN - support for long file names (over 260 characters)

InputImpose - impose valid characters in an input control

TimeConvert - convert UTC to/from local time and/or reformat the string representation

AMF - accept multiple files from Windows Explorer context menu

DateDuration -  literal description of the difference between given dates

Apps:

Touch - set the "modified" timestamp of a file to current time

Show For Files - tray menu to show/hide files extensions, hidden & system files, and selection checkboxes

SPDiff - Single-Pane Text Diff

 

Link to comment
Share on other sites

b.t.w. some hints suggest that .cbr is actually a .rar format, so you can rename the extension and call the console version of WinRAR to extract the images,

Been there done that. I have a brain and am quite capable of reading the first to links on Google.

Link to comment
Share on other sites

  • Moderators

libreau3,

Please lose the attitude. You made no mention of any previous knowledge in the OP so you have absolutely no right to complain when someone offers you help. :naughty:

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Link to comment
Share on other sites

  • Moderators

libreau3,

Thanks. And we now return to our normal programming. :)

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Link to comment
Share on other sites

  • Solution

@OP,

7ZA.exe is the standalone version of the 7zip download that only supports 7z, xz, ZIP, GZIP, BZIP2 and TAR formats natively.

So looking at this copied information about comic book formats from the wiki:

.cb7 → 7z

.cba → ACE

.cbr → RAR

.cbt → TAR

.cbz → ZIP

Of course 7za will fail on the cbr file you posted about.

There are dynamic link libraries (and command line binaries) available for extraction of these archive formats available on the web, should you wish to automate the process or write your own application.

There are even some pdf user defined functions and examples on this forum if you search.

Regarding extraction:

The simplest method is merely to automate command-line applications for the various formats, a good example of a tool that does this is universal extractor;

http://legroom.net/software/uniextract

Whose AutoIt sourcecode (available at the site) might assist you; should you decide upon this method for your tool.

Where you go from here is upto you.

Vlad

wtfpl-badge-1.png

Link to comment
Share on other sites

Does anyone a suggestion or other method?

PS I am trying to make a .cbr to .pdf script

I use the open source program named Calibre to do these tasks. It has many command line tools to handle ebook tasks such as this and is good to use with AutoIt. For conversion tasks, you can have a look here that shows many parameters available to use. If interested. Calibre has plenty of features to discover if your into the ebook stuff. Your problem could be handled perhaps in just one line of code.

Link to comment
Share on other sites

Regarding extraction:

The simplest method is merely to automate command-line applications for the various formats, a good example of a tool that does this is universal extractor.

Mobius,

     I installed uniextract and went through the binarys. In there I found several exe that will work.

Thnx for that idea.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...