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

Go Back   MobileRead Forums > E-Book Formats > Kindle Formats

Notices

Reply
 
Thread Tools Search this Thread
Old 06-28-2011, 03:35 AM   #1
Xabache
Carbon Reserve
Xabache began at the beginning.
 
Xabache's Avatar
 
Posts: 44
Karma: 10
Join Date: Jun 2010
Device: PC
unzippable .mobis

I'm using the very latest (7-11) Kindlegen version 1.2 build 33307 to create my .mobi files. Mine unzip, i've heard this can't happen [see attached] finally looking at numerous other .mobi files i agree, they are compiled i think, and universally do not unzip. why do mine open up with any copy of winrar? how can i prevent this with kindlegen?
Attached Files
File Type: mobi ENFE001s.mobi (92.6 KB, 124 views)
Xabache is offline   Reply With Quote
Old 06-28-2011, 09:31 AM   #2
pholy
Booklegger
pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.
 
pholy's Avatar
 
Posts: 1,783
Karma: 7999034
Join Date: Jun 2009
Location: Toronto, Ontario, Canada
Device: BeBook(1 & 2010), PEZ, PRS-505, Kobo BT, PRS-T1, Playbook, Kobo Touch
My linux unzip -t says there are 52288 bytes of stuff at the beginning of the file, followed by files that look suspiciously like the source files for your mobi. Since Kindlegen now does tack the source files on at the end, I suspect that winrar is silently ignoring your mobi part and giving you back your source files. Mac users have a way of stripping the trailing source files, but I'm not sure it's been done for Windows (or Linux) users of Kindlegen.
The 12 files following add up to 72628 bytes, so they must be somewhat zipped up, at least. That's nice to know.

Last edited by pholy; 06-28-2011 at 09:35 AM. Reason: Added total length of files following.
pholy is offline   Reply With Quote
 
Enthusiast
Old 06-28-2011, 09:36 AM   #3
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 8,752
Karma: 39372759
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
why do mine open up with any copy of winrar?
Because it's not a mobi. It's an OEBPS zip archive with a mobi extension. You're saying that Kindlegen creates this file with that exact file name? I've never seen that kind of behavior before.

EDIT: My bad... it appears to be both.
I'm seeing the same behavior as pholy with 7zip.

Last edited by DiapDealer; 06-28-2011 at 09:38 AM.
DiapDealer is offline   Reply With Quote
Old 06-28-2011, 09:42 AM   #4
pholy
Booklegger
pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.
 
pholy's Avatar
 
Posts: 1,783
Karma: 7999034
Join Date: Jun 2009
Location: Toronto, Ontario, Canada
Device: BeBook(1 & 2010), PEZ, PRS-505, Kobo BT, PRS-T1, Playbook, Kobo Touch
DiapDealer - Here's what my unzip reports:

phil@AmyDee:~/Downloads$ unzip -l ENFE001s.mobi
Archive: ENFE001s.mobi
warning [ENFE001s.mobi]: 52288 extra bytes at beginning or within zipfile
(attempting to process anyway)
Length Date Time Name
--------- ---------- ----- ----
3315 2011-06-13 12:37 content.opf
681 2011-06-13 12:37 css/style.css
1022 2011-06-13 12:37 html/ENFE001-m14.html
1444 2011-06-13 12:37 html/ENFE001-m15.html
1624 2011-06-13 12:37 html/ENFE001-m16.html
1405 2011-06-13 12:37 html/ENFE001-m18.html
1464 2011-06-13 12:37 html/ENFE001-m29.html
1802 2011-06-13 12:37 html/ENFE001-m30.html
9284 2011-06-13 12:37 html/ENFE001-m31.html
1797 2011-06-13 12:37 html/ENFE001-m32.html
46341 2011-06-13 12:37 image/ENFE001-m00.jpg
2449 2011-06-13 12:37 misc/toc.ncx
--------- -------
72628 12 files
phil@AmyDee:~/Downloads$

pdurrant reported earlier that Kindlegen was now tacking on the source files; it looks like they have been zipped and then appended to the mobi portion of the file.
pholy is offline   Reply With Quote
Old 06-28-2011, 09:44 AM   #5
Doitsu
Wizard
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 1,857
Karma: 4630359
Join Date: Dec 2010
Device: Kindle PW2
Use Mobipocket Creator

You can use Mobipocket Creator to compile your book. However, you'll need to comment out the following line in your .opf file, because, .ncx files are not supported:

Code:
<!--item id="toc" href="misc/toc.ncx" media-type="application/x-dtbncx+xml" /-->
However, even .prc files can be decompiled.
Doitsu is offline   Reply With Quote
Old 06-28-2011, 02:23 PM   #6
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
Posts: 9,501
Karma: 4597184
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2
For some reason, known only to Amazon, they now include a copy of the original file in every KindleGen created document. This, of course, basically doubles the size of the file and opens the possibility to the things you discovered. At one point in an older version of Kindlegen you could optionally stop this but in the latest version the option has been removed.

Dale
DaleDe is offline   Reply With Quote
Old 06-28-2011, 02:25 PM   #7
Xabache
Carbon Reserve
Xabache began at the beginning.
 
Xabache's Avatar
 
Posts: 44
Karma: 10
Join Date: Jun 2010
Device: PC
Thank you for your answers,

So it looks perfect in kindle previewer and kindle pc, the unzip-ability is of no concern then. It doesnt bother me, my epubs contain very similar material, unsecurely and open source for those in-the-know is always a help, i never imagined unzipping them until told it was possible anyway.

It would be nice if kindlegen gave this compiling option, can't say i'd use it, maybe eventually.
Xabache is offline   Reply With Quote
Old 07-08-2011, 12:55 PM   #8
st_albert
Fanatic
st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.
 
Posts: 543
Karma: 64420
Join Date: Feb 2010
Device: none
You can strip out the source files if you want to, thanks to pdurrant's kindlestrip.py script.

See this thread.
st_albert is offline   Reply With Quote
Old 07-15-2011, 07:38 AM   #9
Xabache
Carbon Reserve
Xabache began at the beginning.
 
Xabache's Avatar
 
Posts: 44
Karma: 10
Join Date: Jun 2010
Device: PC
i had wondered. thanks for the info i will look into this as being dialup, everything uploaded is sure torture.
Xabache is offline   Reply With Quote
Reply

Tags
compile mobi, kindlegen, unzip mobi

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
transfering mobis Soxendom Kindle Formats 3 05-13-2011 12:42 PM
Problems converting Baen CD mobis to EPUB Robotech_Master Calibre 8 04-14-2010 06:10 AM


All times are GMT -4. The time now is 10:22 PM.


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