View Single Post
Old 05-15-2020, 01:08 PM   #849
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 7,121
Karma: 92500001
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by dstaley View Post
Any suggestion on how I might compare two KPF files? ... Opening them in the Previewer seems to indicate they're exactly the same, but they don't have the same file hash, so there must be some difference
Two different KPF files are never going to be exactly the same, even if they effectively have the same content. The date/time of conversion as well as some randomly generated data is present in those files.


Quote:
Originally Posted by dstaley View Post
Would looking at the "book.ion" output from the KFX Input plugin be a good place to start?
Yes, that is what I would do. Use the command line interface of the KFX Input plugin with the "--unpack" option to convert each KPF to a ZIP file. Then do a diff on the "book.ion" files from each.

You can expect to see a few differences. The "book_id" and "asset_id" are randomly generated. The "asset_id" value can be expected to appear multiple times in the file. If there are other difference than those I can help you decode what they mean if you want.
jhowell is offline   Reply With Quote