View Single Post
Old 08-12-2024, 07:08 PM   #2
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,800
Karma: 103362673
Join Date: Apr 2011
Device: pb360
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.
j.p.s is offline   Reply With Quote