Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 01-15-2010, 10:45 PM   #1
Tony_A20
Enthusiast
Tony_A20 knows what's going on.Tony_A20 knows what's going on.Tony_A20 knows what's going on.Tony_A20 knows what's going on.Tony_A20 knows what's going on.Tony_A20 knows what's going on.Tony_A20 knows what's going on.Tony_A20 knows what's going on.Tony_A20 knows what's going on.Tony_A20 knows what's going on.Tony_A20 knows what's going on.
 
Tony_A20's Avatar
 
Posts: 26
Karma: 25000
Join Date: Dec 2009
Device: Kindle 3
Where do I get Zip.exe?

Hello everyone,

I'm going straight to the Wizards for help. I'm building my first EPUB and I'm having problems putting files in the container.

I've just finished building a kindle mobi version from scratch, and I've edited all my files (opf, ncx etc) according to the EPUB spec's.

My problem seems to be that I'm using 7Zip to create the EPUB container and it doesn't do the job.

I've searched all over the internet, but I can't find an executable copy of Zip.exe. Can you point me to a download site (I've already scoured everything I can find)?

I'm using a Windows XP system.

Thanks,
Tony
Tony_A20 is offline   Reply With Quote
Old 01-15-2010, 10:51 PM   #2
Patricia
Reader
Patricia ought to be getting tired of karma fortunes by now.Patricia ought to be getting tired of karma fortunes by now.Patricia ought to be getting tired of karma fortunes by now.Patricia ought to be getting tired of karma fortunes by now.Patricia ought to be getting tired of karma fortunes by now.Patricia ought to be getting tired of karma fortunes by now.Patricia ought to be getting tired of karma fortunes by now.Patricia ought to be getting tired of karma fortunes by now.Patricia ought to be getting tired of karma fortunes by now.Patricia ought to be getting tired of karma fortunes by now.Patricia ought to be getting tired of karma fortunes by now.
 
Patricia's Avatar
 
Posts: 11,520
Karma: 2199070
Join Date: May 2007
Location: South Wales, UK
Device: Sony PRS-500, PRS-505, Asus EEEpc 4G
CNET is usually a useful source:
http://download.cnet.com/zip-exe/300..._4-158091.html
Patricia is offline   Reply With Quote
Old 01-15-2010, 11:00 PM   #3
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 37,038
Karma: 18147936
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
Quote:
Originally Posted by Patricia View Post
Wrong Zip.exe
JSWolf is offline   Reply With Quote
Old 01-15-2010, 11:02 PM   #4
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 37,038
Karma: 18147936
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
I've just attached the command line ZIP & Unzip that I use with Windows 7. I've used them with Windows 98, XP, Vista, & now 7.
Attached Files
File Type: zip zipunzip.zip (137.7 KB, 339 views)
JSWolf is offline   Reply With Quote
Old 01-16-2010, 11:13 AM   #5
Tony_A20
Enthusiast
Tony_A20 knows what's going on.Tony_A20 knows what's going on.Tony_A20 knows what's going on.Tony_A20 knows what's going on.Tony_A20 knows what's going on.Tony_A20 knows what's going on.Tony_A20 knows what's going on.Tony_A20 knows what's going on.Tony_A20 knows what's going on.Tony_A20 knows what's going on.Tony_A20 knows what's going on.
 
Tony_A20's Avatar
 
Posts: 26
Karma: 25000
Join Date: Dec 2009
Device: Kindle 3
Thanks for the Info!

Thanks for your prompt reply and support for an epub newbie. Having successfully completed the hand-built process for the Kindle format, I'm surprised at the problems I'm having with epub.
The Kindle generator, "Kindlegen" builds the document from the construction files (opf, ncx etc) and provides very good error messages for all problems, and builds a single o/p file.

The epub process doesn't allow any error checking of the construction files until everything is successfully packaged in a Zip container, making the process more difficult I think, especially with the restrictions on archive position of mimetype, and file attributes.

I'll give the zipunzip download a try and see if I can get another step along the process.

Thanks again,

Tony
Tony_A20 is offline   Reply With Quote
Old 01-16-2010, 12:03 PM   #6
nrapallo
GuteBook/Mobi2IMP Creator
nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.
 
nrapallo's Avatar
 
Posts: 2,958
Karma: 2530531
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
Quote:
Originally Posted by Patricia View Post
The Zip.exe homepage can be found at http://www.info-zip.org/

Quote:
Originally Posted by JSWolf View Post
I've just attached the command line ZIP & Unzip that I use with Windows 7. I've used them with Windows 98, XP, Vista, & now 7.
Thanks for the Zip.exe as I never used/collected it. I had always preferred using PKzip.exe v2.50, but liked unzip.exe by Info-ZIP better. The verison of unzip.exe I use is newer though
Code:
UnZip 5.52 of 28 February 2005, by Info-ZIP.  Maintained by C. Spieler.  Send
bug reports using http://www.info-zip.org/zip-bug.html; see README for details.
For current version downloads check ftp://ftp.info-zip.org/pub/infozip/ for your operating system. This location is mentioned in the FAQ available here http://www.info-zip.org/FAQ.html#download

I just updated to Zip 3.0 and UnZip 6.00, just in case I need these useful utilities again.
For Windows 32-bit systems, direct downloads available here:
Zip 3.0 ==> ftp://ftp.info-zip.org/pub/infozip/win32/zip300xn.zip
UnZip 6.00 ==> ftp://ftp.info-zip.org/pub/infozip/win32/unz600xn.exe
nrapallo is offline   Reply With Quote
Old 01-16-2010, 08:39 PM   #7
Joebill
Fanatic
Joebill ought to be getting tired of karma fortunes by now.Joebill ought to be getting tired of karma fortunes by now.Joebill ought to be getting tired of karma fortunes by now.Joebill ought to be getting tired of karma fortunes by now.Joebill ought to be getting tired of karma fortunes by now.Joebill ought to be getting tired of karma fortunes by now.Joebill ought to be getting tired of karma fortunes by now.Joebill ought to be getting tired of karma fortunes by now.Joebill ought to be getting tired of karma fortunes by now.Joebill ought to be getting tired of karma fortunes by now.Joebill ought to be getting tired of karma fortunes by now.
 
Joebill's Avatar
 
Posts: 517
Karma: 459442
Join Date: Jan 2010
Location: Alpha Centauri's Library of Alexandria
Device: Pandigital Novel
I don't understand...

I have winzip, doesn't that work or this is requirement something else ?
Joebill is offline   Reply With Quote
Old 01-16-2010, 08:46 PM   #8
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 37,038
Karma: 18147936
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
I use WinRAR to do my unzipping and zipping of ePub.
JSWolf is offline   Reply With Quote
Old 01-17-2010, 10:26 AM   #9
Tony_A20
Enthusiast
Tony_A20 knows what's going on.Tony_A20 knows what's going on.Tony_A20 knows what's going on.Tony_A20 knows what's going on.Tony_A20 knows what's going on.Tony_A20 knows what's going on.Tony_A20 knows what's going on.Tony_A20 knows what's going on.Tony_A20 knows what's going on.Tony_A20 knows what's going on.Tony_A20 knows what's going on.
 
Tony_A20's Avatar
 
Posts: 26
Karma: 25000
Join Date: Dec 2009
Device: Kindle 3
I tried the Zip.exe posted by Jon, and it works perfectly. I can now use epubcheck to find the remaining problems with the construction files.
I was also pointed to Zip 3.0 by Harrison Ainsworth, which I downloaded although I have not tried it yet, but it comes with complete Zip documentation.
I will also download Unzip 6.0 and try it and Zip 3.0 when I'm over the present problem of building an epub.

Thanks again.

Tony
Tony_A20 is offline   Reply With Quote
Old 01-17-2010, 03:11 PM   #10
Slash5
Member
Slash5 is on a distinguished road
 
Posts: 13
Karma: 64
Join Date: Nov 2009
Location: S. Ontario, Canada
Device: Jetbook, Sony PRS-505
I found the only easiest way to build a Epub style zip was to start with a generic zip that is already known to be good and then add the files for your epub.
If adding an attachment worked, I have uploaded my starter file, temp.zip. It has the mimetype file at the correct offset and no compression. You can use pretty well any zip program to add your book's files to the base file and get the proper epub structure.
Attached Files
File Type: zip TEMP.ZIP (134 Bytes, 135 views)
Slash5 is offline   Reply With Quote
Old 01-19-2010, 08:39 AM   #11
ShellShock
Guru
ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.
 
ShellShock's Avatar
 
Posts: 878
Karma: 1639368
Join Date: Sep 2008
Device: Sony PRS-505 & PRS-650, Kobo Glo & Aura HD
Quote:
Originally Posted by Tony_A20 View Post
My problem seems to be that I'm using 7Zip to create the EPUB container and it doesn't do the job.
I've used 7Zip for epubs and it works fine.

In Windows Explorer, right click the epub, goto to the 7Zip pop-up menu and there is an option to unzip the file to a sub-directory with the same name as the file.

To go the other way, in Windows Explorer go into the directory that contains the epub content files, select all the files and sub-directories, right click and from the 7Zip pop-up menu select the option to create a new zip archive. This will create a .zip file with the same name as the parent directory. Rename to .epub and that's it.
ShellShock is offline   Reply With Quote
Old 01-20-2010, 12:56 AM   #12
Tony_A20
Enthusiast
Tony_A20 knows what's going on.Tony_A20 knows what's going on.Tony_A20 knows what's going on.Tony_A20 knows what's going on.Tony_A20 knows what's going on.Tony_A20 knows what's going on.Tony_A20 knows what's going on.Tony_A20 knows what's going on.Tony_A20 knows what's going on.Tony_A20 knows what's going on.Tony_A20 knows what's going on.
 
Tony_A20's Avatar
 
Posts: 26
Karma: 25000
Join Date: Dec 2009
Device: Kindle 3
7Zip doesn't work because there is no way (switches etc) to strip file attributes, and prevent entries in the archive directory.

The Zip.exe version posted above by Jon Wolf works perfectly. I arranged my META-INF, OPS, mimetype, and zip.exe in a folder, and used the command:

zip -Xr9D FileName.epub mimetype * -x zip.exe

where:
-X = strip file attributes
r = travels file structure recursively
9 = compression level (does not compress mimetype because of 20 byte file length).
D = no directory entries created in epub file.
* = wildcard to include all files and directories
-x = exclude zip.exe

Getting zip.exe from Jon was the solution to MY problem, the rest was overcoming my stupidity and ignorance, which I was able to do.

Tony
Tony_A20 is offline   Reply With Quote
Old 01-20-2010, 08:20 AM   #13
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 6,146
Karma: 4792399
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by Tony_A20 View Post
7Zip doesn't work because there is no way (switches etc) to strip file attributes, and prevent entries in the archive directory.
But that is not a requisite for ePUB. The only requisite is that "mimetype" is stored first, and not compressed.
Jellby is offline   Reply With Quote
Old 07-10-2011, 05:42 PM   #14
sgtgrom
Junior Member
sgtgrom began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jul 2011
Device: ipad
Thanks for posting the 'zip.exe' file. I downloaded it, and unzipped it, but every time I click on 'zip.exe' to open it, it flashed open for less than a second, and closes. Tried it on XP and Windows 7. Any ideas why or suggestions how to make it stay open? Thanks...
sgtgrom is offline   Reply With Quote
Old 07-10-2011, 05:51 PM   #15
DSpider
Evangelist
DSpider ought to be getting tired of karma fortunes by now.DSpider ought to be getting tired of karma fortunes by now.DSpider ought to be getting tired of karma fortunes by now.DSpider ought to be getting tired of karma fortunes by now.DSpider ought to be getting tired of karma fortunes by now.DSpider ought to be getting tired of karma fortunes by now.DSpider ought to be getting tired of karma fortunes by now.DSpider ought to be getting tired of karma fortunes by now.DSpider ought to be getting tired of karma fortunes by now.DSpider ought to be getting tired of karma fortunes by now.DSpider ought to be getting tired of karma fortunes by now.
 
DSpider's Avatar
 
Posts: 413
Karma: 326969
Join Date: Nov 2009
Location: Romania
Device: iPod touch 2G (16 GB)
I'm 100% sure 7-Zip comes with zipping capabilities by default. We're talking about 7-Zip 9.20 here, right ? The latest 7-Zip. Just right click the files, "7-Zip", "Add to archive..." and choose Zip instead of LZMA, or something like that.

And oh, have you tried right clicking the files "Send To" and then "Compressed (zipped) Folder" ? It's built into the explorer.

Edit:

Quote:
Originally Posted by sgtgrom View Post
Thanks for posting the 'zip.exe' file. I downloaded it, and unzipped it, but every time I click on 'zip.exe' to open it, it flashed open for less than a second, and closes. Tried it on XP and Windows 7. Any ideas why or suggestions how to make it stay open? Thanks...
Um, that's because it's a command line tool. Create a .bat or .cmd file (rename the ".txt" extension of a text file) and add to it:

Code:
@echo off
zip.exe -h
pause
Very important that it has a "pause" command at the end. Else it's going to finish very fast, unless you have an 80 MHz processor or something. Haha. Read the help menu on how to use it.

Last edited by DSpider; 07-10-2011 at 05:58 PM.
DSpider is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
calibre-parallel.exe twice? sideburnt Calibre 12 03-24-2012 08:51 PM
doc2fb.exe KoopaOne Workshop 2 02-10-2010 01:44 PM
PRS-500 lit2lrf.exe waykohler Sony Reader Dev Corner 38 12-25-2009 05:51 AM
PRS-500 PRSUtil.exe geekraver Sony Reader Dev Corner 33 07-07-2008 03:40 PM
bloated explorer.exe Rtman6 Lounge 6 01-24-2004 10:06 PM


All times are GMT -4. The time now is 03:59 AM.


MobileRead.com is a privately owned, operated and funded community.