View Single Post
Old 02-20-2022, 07:52 PM   #1178
shamanNS
Wizard
shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.
 
Posts: 1,125
Karma: 12345678
Join Date: Feb 2010
Location: Serbia
Device: Kindle PW5, Kobo Libra 2, Kindle PW1
I would say that even though many years have passed since 2016. you are still the most knowledgeable person regarding KFX internals and in best position to figure out a simple fix
Could you please try to fix that cover extraction problem?

I tried reading screensaver hack source code and comparing its version of kfxmeta.py with version (newer ?) used by ExtractCoverThumbs script and the only semi-useful thing I've managed to check (by pointing the GUI app to folder containing required subfolders, same as on actual Kindle drive: documents & system > thumbnails) is that ExtractCoverThumbs uses correct image to create thumbnail file for the same kfx file created by this Calibre plugin that results in incorrect image extraction by SS hack version and that just adding " 424: b"cover_image" " to SYMBOL_TABLE and using that key instead of 414 (bcRawMedia) doesn't fix the problem but causes "TypeError: Incorrect padding" when script calls " base64.b64decode(data[cover_key])".

Last edited by shamanNS; 02-21-2022 at 10:12 AM.
shamanNS is offline   Reply With Quote