The wiki page:
https://wiki.mobileread.com/wiki/Page_numbers
and the thread:
https://www.mobileread.com/forums/sh...d.php?t=159357
give location number as:
Code:
floor(a * 2 / 300 + 1)
where a is the byte locatation in the RAWML file for the book. So for the maximum location
a is the total number of bytes in the RAWML file. Use:
Code:
kindleunpack -d book_file_name
to produce the assembled_text.dat RAWML file
Alternatively, the length is given in the p_contentSize column in the row for the book in the sqlite database cc.db somewhere under /var on the kindle.