Thread: Troubleshooting X-ray functionality for "War and Peace"
View Single Post
Old 07-04-2018, 09:34 PM   #36
j.p.s
Grand Sorcerer
j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.
 
Posts: 5,814
Karma: 103362673
Join Date: Apr 2011
Device: pb360
Quote:
Originally Posted by DuckieTigger View Post
Did that actually ever work? ...
Quote:
Originally Posted by PoP View Post
Yes, that is also the way it worked for me.
That is what I've been doing.
Quote:
Originally Posted by PoP View Post
After the book has been touched by Calibre it no longer is the same book and it won't trigger the X-Ray download from Amazon. Even if it did, the X-Ray entities locations won't match the locations in the de-DRMed book. You can try this by using Amazon's X-Ray files with the sideloaded book, X-Ray seems functional but give irrelevant references.
My (limited) experience is a bit different. After Calibre, the file is the same size and the xray file works fine with either. I agree that an xray file from the KFX form of the book will give garbage references for an AZW3 book and vice versa.

You have goaded me into an experiment. Doing an od -a (like hex dump, but ascii like characters) on both gave results with 3 small blocks of differences near the top.

od -a precalbook.azw3 > precalbook.txt
od -a postcalbook.azw3 > postcalbook.txt

The parts that were the same had the same offset from the beginning of the file, so xray matching should be perfect.
j.p.s is offline   Reply With Quote