View Single Post
Old 04-11-2014, 09:58 AM   #704
tkeo
Connoisseur
tkeo began at the beginning.
 
Posts: 94
Karma: 10
Join Date: Feb 2014
Location: Japan
Device: Kindle PaperWhite, Kobo Aura HD
kindleunpack.py v0.64b

Quote:
Originally Posted by KevinH View Post
Given that calibre is a big producer of both azw3 and joint mobis, and calibre does NOT generate a RESC section, then yes we need to make sure we don't barf on calibre generated files.

That is why I thought this fix is needed. Also, if calibre tries to keep an old RESC around, it would have the wrong skelids in the RESC, so we really need to protect against missing or ill-formed RESC sections and ignore them.
Hi Kevin,
OK.

I have updated 'kindleunpack.py' to improve compatibility and reliability. The functional differece from v0.64a is to make cover page creation enable even when RESC is missing.
Please update the offcial release if it has no ploblem.
Thanks,

P.S.
In the future, I might separate the code for the cover page creation from 'mobi_k8resc.py' to an independent file and integrate the code which DiapDealer have written. But I do not plane it.
Attached Files
File Type: zip kindleunpack.py.v064b.zip (18.3 KB, 263 views)

Last edited by tkeo; 04-11-2014 at 10:01 AM. Reason: Failed to attach a file.
tkeo is offline   Reply With Quote