Quote:
Originally Posted by KevinH
Hi Nick,
I think your code could be tweaked to split a new kindlegen mobi into old and new pieces. In the old piece you could look for FONT and RESC sections and make them zero length (but keeping that section) since the old mobi never would access the RESC or FONT sections.
Either that of make a standalone strip kf8 utility.
|
Yes that is easily done.
Quote:
BTW, does the new mobi_unpacker.py actually work with your stripped mobi8 files or does it need to be fixed to properly unpack them.
|
No but all it has to do is test version==8 in record 0 and if true proceed immediately to the kf8 code (skipping the mobi7 code). Edit: well there's a bit more to it since the images etc, are in the kf8 segment but it's still easy.
Maybe what I'll do is update mobiunpack to do both--create standalone mobi7 and mobi8 files for combo files and properly handle mobi8-only files.