Thread: Troubleshooting X-ray functionality for "War and Peace"
View Single Post
Old 07-08-2018, 03:22 PM   #38
PoP
 curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.
 
PoP's Avatar
 
Posts: 3,018
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
Quote:
Originally Posted by j.p.s View Post
That is what I've been doing.


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.

Thanks for pointing the usefulness of od -a .

In addition to removing DRM, by "touching with Calibre", I meant converting AZW3 to AZW3 or KFX to KFX with the KFX input plugin. This indeed does modify the file length and does cause invalid X-Ray references.

Per your analysis I have to agree that X-Ray matching should be perfect when only sideloading

I never was succesful in testing this though, when I replaced amazon "War and Peace" by its de-DRMed sideloaded copy I never saw the book appearing on the Kindle. It obstinately gave me a message saying "1 item pending download from the cloud" until I gave in, deleted everyting -- sdr directory and book -- and re-downloaded a fresh copy from amazon.

Makes me wonder of the correct procedure for moving an original sdr directory + its de-DRMed book to another ereader.
PoP is offline   Reply With Quote