Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > Kindle Formats

Notices

Reply
 
Thread Tools Search this Thread
Old 11-02-2019, 09:05 AM   #1
elreymon
Junior Member
elreymon began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jun 2018
Device: Kindle touch v7
Lightbulb Help to understand/ extract data from .mbp and .apnx

Good day to all:

I have an old kindle backup and I want to extract the information of some books (only a few). Specifically I want to extract the last read page of them (to resume the reading). I have 3 files per book:
1 .mobi (or *.azw)
2 .mbp
3 .apnx

¿Does anyone know a method /program to extract than informacion?

Thanks indavance and regards.
elreymon is offline   Reply With Quote
Old 11-02-2019, 09:12 AM   #2
elreymon
Junior Member
elreymon began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jun 2018
Device: Kindle touch v7
PS: I´m not searching for any real page number or similar. I just want to resume my own reading from the exact point where I was when the backup was created.
elreymon is offline   Reply With Quote
Old 11-02-2019, 11:57 AM   #3
elreymon
Junior Member
elreymon began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jun 2018
Device: Kindle touch v7
Well I have analyzed the .apnx https://wiki.mobileread.com/wiki/APNX but there, there is not information about last page read. Only a page mapping between page numbers and offset of the decompressed HTML.

Lets look at .mbp file...
elreymon is offline   Reply With Quote
Old 11-02-2019, 12:13 PM   #4
jhowell
Wizard
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: 3,082
Karma: 31474207
Join Date: Nov 2011
Location: Florida
Device: Oasis 2, Fire, iPad Air 2, Nexus 7
The .mbp file encodes information about your reading including annotations and the last position read. It was used in old Kindle devices, newer ones use a different file format to store this information. There is some cryptic documentation on it here.

I an not aware of any software that can parse this file, but something very old probably exists somewhere.

If you can find where the position number is encoded in the file you can divide it by 150 to obtain the corresponding location number. You can then enter that into the "go to" menu on your kindle to return to that place in the book.
jhowell is offline   Reply With Quote
Old 11-02-2019, 12:54 PM   #5
elreymon
Junior Member
elreymon began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jun 2018
Device: Kindle touch v7
Well as far as I have seen, nowadays it´s impossible to extract the last read position from a .mbp file. The problem is that it´s not clear where in the file it´s exactly stored, or better said: how to decode it.

https://wiki.mobileread.com/wiki/Mbp#MBP

As said in http://www.angelfire.com/ego2/idlelo...ile_format.txt there are 4 four positions related with the last read position but not further or detailed information is given :-(

I´m sad reading that. That´s a really pity
elreymon is offline   Reply With Quote
Old 11-02-2019, 01:09 PM   #6
elreymon
Junior Member
elreymon began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jun 2018
Device: Kindle touch v7
Quote:
Originally Posted by jhowell View Post
If you can find where the position number is encoded in the file you can divide it by 150 to obtain the corresponding location number. You can then enter that into the "go to" menu on your kindle to return to that place in the book.
Why by 150?

If you see the file format (that you linked) there are 4 different places where it is. So there would be 4 different numbers to divide by 150.... a bit crazy.
elreymon is offline   Reply With Quote
Old 11-02-2019, 01:44 PM   #7
j.p.s
Wizard
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: 2,396
Karma: 38437359
Join Date: Apr 2011
Device: pb360
Quote:
Originally Posted by elreymon View Post
Why by 150?

If you see the file format (that you linked) there are 4 different places where it is. So there would be 4 different numbers to divide by 150.... a bit crazy.
Amazon defines 1 "location" as 150 bytes of HTML in the book, so location 100 would be 15,000 bytes into the book.
j.p.s is online now   Reply With Quote
Old 11-02-2019, 02:03 PM   #8
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 54,001
Karma: 50774064
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 4, iPhone 5
You may be out of luck and it may be best to just start over.
JSWolf is offline   Reply With Quote
Reply

Tags
apnx, mbp

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Page number data in files other than apnx j.p.s Kindle Formats 1 09-08-2019 10:06 PM
The evasive apnx Iznogood Kindle Formats 8 11-22-2013 05:28 AM
Extract data from *.dat dictionary file mijd Workshop 6 09-09-2013 07:14 PM
using templates/pyhon and custom columns to extract specific data from tags smoothrolla Library Management 6 11-10-2011 06:12 PM
I don't understand meta data "Series" Imatechie2006 Calibre 6 01-03-2010 04:08 AM


All times are GMT -4. The time now is 09:48 PM.


MobileRead.com is a privately owned, operated and funded community.