![]() |
#1 |
Carbon Reserve
![]() Posts: 44
Karma: 10
Join Date: Jun 2010
Device: PC
|
repacking mobi error
unzip a standard mobi file
rezip the resulting 4 folders and 1 file, without the unzip folder rename to a mobi extension. does not open in kindle pc can mobi files not be repacked? is there a special utility to do this? I am trying to create my own mobi files without a utility like pocket or ecub using only the raw files and a winrar utility but for my demo i am unpacking an ecub created perfectly functional mobi file. i can take it apart but why cant i run it after putting all the pieces back together? |
![]() |
![]() |
![]() |
#2 |
reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,977
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
A MOBI file isn't a renamed ZIP file, it is a PRC file (originally designed for a Palm PDA).
An ePub is a ZIP file, renamed .epub, but the first file in the ZIP Container MUST be ‘mimetype’ which holds the MIME type for the ZIP Container (i.e., “application/epub+zip”). The file MUST NOT be compressed nor encrypted and there MUST NOT be an extra field in its ZIP header. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Carbon Reserve
![]() Posts: 44
Karma: 10
Join Date: Jun 2010
Device: PC
|
Hmm very interesting thank you, I did not know this.
So then, what i want to do is create a mobi file from its constituent folders and files, that one finds when one unzips a mobi. it may not be a zip but it can be unzipped into these components. so i am going to create these components exactly as they are there, for ease of mass production. then put them into a mobi file or as you say prc. how can i do this? how do i turn these four folders and .opf file into a mobi without using one of the conventional do it all clients, i only want to pack them, i will create their ingredients myself. |
![]() |
![]() |
![]() |
#4 |
reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,977
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
I suggest using the MobiPocket toots, either MobiPocket Creator or the command line tool kindlegen. See http://www.mobipocket.com/dev/.
|
![]() |
![]() |
![]() |
#5 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,570
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
You may be thinking of an OEBPS compliant archive (almost an epub) that can be used to create a mobi. But once it's been turned into mobi: winzip, winrar, 7zip, or any standard archiving program won't be able to do anything with it. |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Aug 2012
Device: Kindle
|
Quote:
Although I can't with WinZip. Must be some kind of compression that's not used a lot. |
|
![]() |
![]() |
![]() |
#7 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,570
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Kindlegen includes the zipped up source as part of the produced file. You are only unzipping the original source (which is included as one of the database records) ... not the actual mobi.
|
![]() |
![]() |
![]() |
#8 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Aug 2012
Device: Kindle
|
Thank you DiapDealer for your answer, I guess that makes sense cause the file produced was twice the size of the unzipped folder, I was wondering how that was possible
![]() Can I ask where did you get that info ? (not that I don't trust you, but is there a doc that explains that). Thanks again for your answer. |
![]() |
![]() |
![]() |
#9 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,570
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
One thread down is a discussion about a tool that can be used to strip the source package from kindlegen's output. |
|
![]() |
![]() |
![]() |
#10 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Aug 2012
Device: Kindle
|
Thank you.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
OS-X PDF to Mobi Fontconfig error | jdubya | Calibre | 5 | 07-13-2010 10:08 PM |
Epub to Mobi with error | kornhill | Calibre | 3 | 06-29-2010 12:53 PM |
Unpacking/repacking mobi books | Jellby | Kindle Formats | 9 | 12-25-2009 06:21 AM |
RTF to MOBI error | rcuadro | Calibre | 1 | 06-21-2009 07:30 PM |
Mobi error from one library, not another | Dorney | Amazon Kindle | 0 | 08-11-2008 02:57 PM |