View Single Post
Old 05-26-2014, 07:59 PM   #747
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,945
Karma: 6361444
Join Date: Nov 2009
Device: many
Hi,

Yes the KDP generated file has first_content and last_content fields in the Old Mobi header as set to 0xffff (offsets are 0xc0 [Halfword in size] and 0xc2 [Halfword in size].

The fallback code to find the first and last resources when this happens is complete rubbish.

I am in the process of fixing it now so that splitting should now work properly again.

Damn Amazon can't even keep its own fields consistent across its own tools!
One tool does it one way and another tool does it differently.

Anyway, I should have a fix soon.

Kevin

Quote:
Originally Posted by DiapDealer View Post
I am, however, seeing the same problem others are mentioning with regard to images being missing from the azw3 file produced when "splitting" the Kindlegen/KDP-produced dual-format file (with both v0.65 and v0.66) into its component MOBI/AZW3 parts.

I'm guessing something in the a newer version of KindlePreviewer has broken something in KindleUnpack's Splitter function (EDIT: as verified by KevinH above).

I've no idea why the Images folder is empty when Aaron attempts to unpack.
KevinH is online now   Reply With Quote