Answers.Body: <p>Keep in mind Calibre won’t help if it is a fixed layout book. While azw3 has all the data, it won’t correctly export to mobi. all bug reports regarding fixed layouts are turned down. I have an epub with lots of images, 10 mb in size, but the resulting mobi is 200 kb, it completely ignores all the images when it converts.</p>
  
  <p>kindle preview generates a correct mobi for you from an epub, but it adds your sourcefiles into it. so that the resulting file is much bigger than necessary</p>
  
  <p>It would be great with a mobi packer plugin for Calibre.</p>
  
  <p>edit: kindlegen takes an undocumented parameter: -dont_append_source</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-12-20T06:08:51.313Z
Answers.LastActivityDate: 2018-12-20T08:46:25.960Z
Answers.LastEditDate: 2018-12-20T08:46:25.960Z
Answers.UserDisplayName: AbsolutelyFreeWeb
Answers.Body: <p>To answer the original question, assuming the edits were made to the mobi8 files, just use an epub packager (like ePub Zip/Unzip) to convert the mobi8 folder to an epub file (I also delete the .epub version contained within the mobi8 first). Discard the rest. Then convert new 'mobi8.epub' file to .mobi using Kindlegen (or the Kindle previewer).</p>
  
  <p>Don't use Calibre for fixed ebooks, as was mentioned in the past post. If you just have some minor edits, unpacking it to edit and then repackaging it as an epub is probably the cleanest way to go.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-04-13T02:35:23.567Z
Answers.LastActivityDate: 2019-04-13T02:35:23.567Z
Answers.UserDisplayName: b_q
Body: <p>I used Kindle Unpack in Calibre to unpack a .mobi file, so I could correct mistakes in images and text. It was easy - images were JPGs or JPEGs and text was .html or .htmlx files. Now I need to repack it all as a .mobi file and I'm stumped. The folders I have before me are now:</p>
  
  <ul>
  <li>HDimages (empty folder) </li>
  <li>mobi7 </li>
  <li>mobi8 </li>
  <li>META-INFO </li>
  <li>OEBPS </li>
  <li>mimetype</li>
  <li>kindlegenbuild.log</li>
  </ul>
  
  <p>(it looks like the the last 4 all go back into a kindlegenbuild.zip file.</p>
  
  <p>I've looked for a plugin for Calibre that does it, but no luck. </p>
  
Tags: <calibre><mobi>
Title: How do I repack a .mobi file?
UserDisplayName: NuTuCalibre
ThreadText: # How do I repack a .mobi file?
  
  (Asked by: username_0 on 2016-01-08)
  
  I used Kindle Unpack in Calibre to unpack a .mobi file, so I could correct mistakes in images and text. It was easy - images were JPGs or JPEGs and text was .html or .htmlx files. Now I need to repack it all as a .mobi file and I'm stumped. The folders I have before me are now:
  
  * HDimages (empty folder)
  * mobi7
  * mobi8
  * META-INFO
  * OEBPS
  * mimetype
  * kindlegenbuild.log
  
  (it looks like the the last 4 all go back into a kindlegenbuild.zip file.
  
  I've looked for a plugin for Calibre that does it, but no luck.
  
  **Tags:** calibre, mobi
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2018-12-20. Score: 1
  
  Keep in mind Calibre won’t help if it is a fixed layout book. While azw3 has all the data, it won’t correctly export to mobi. all bug reports regarding fixed layouts are turned down. I have an epub with lots of images, 10 mb in size, but the resulting mobi is 200 kb, it completely ignores all the images when it converts.
  
  kindle preview generates a correct mobi for you from an epub, but it adds your sourcefiles into it. so that the resulting file is much bigger than necessary
  
  It would be great with a mobi packer plugin for Calibre.
  
  edit: kindlegen takes an undocumented parameter: -dont\_append\_source
  
  
  ---
  
  ### Answer by username_2 on 2019-04-13. Score: 1
  
  To answer the original question, assuming the edits were made to the mobi8 files, just use an epub packager (like ePub Zip/Unzip) to convert the mobi8 folder to an epub file (I also delete the .epub version contained within the mobi8 first). Discard the rest. Then convert new 'mobi8.epub' file to .mobi using Kindlegen (or the Kindle previewer).
  
  Don't use Calibre for fixed ebooks, as was mentioned in the past post. If you just have some minor edits, unpacking it to edit and then repackaging it as an epub is probably the cleanest way to go.
  
  
  ---
  
  