03-26-2019, 03:09 PM | #1 | |
curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
Posts: 3,002
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
|
KFX dictionary
I would like to create a NADSAT KFX dictionary (just as a proof of concept).
As the wiki says, dictionaries for new languages are now formatted as an SQLite data base. and, Quote:
Spoiler:
Has anyone else tried to reverse engineer the format? There are not many tables, and the few fragment properties are possibly indicative of a simple structure. I am hoping that replacing the encrypted DRM blobs with properly structured clear text would produce a valid KFX dictionary. |
|
03-27-2019, 07:56 AM | #2 |
Grand Sorcerer
Posts: 6,496
Karma: 84420419
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
|
I looked into this awhile ago.
Kindle Previewer 3 and Kindle Create produce a variant of KFX format known as KPF (Kindle Package Format). The main component of this format is an SQLite 3 database containing the book's metadata and content split into pieces known as fragments or entities. These are highly structured and coded in Amazon's binary Ion format. The KFX dictionaries appear to be in the same format with some exceptions: The fragments that make up the book's content are encrypted in DRMION format. There is an added table that maps words in the dictionary in-language to positions within the book's content, presumably where their definitions are located. Inflection processing appears to be hard coded in the reader software for the small set of languages that are supported by KFX dictionaries. The KFXGenApp, which is part of Kindle Previewer 3 and is used by my KFX Output plugin for calibre, lacks the ability to convert dictionaries. If you bypass the check preventing conversion you find that it is missing language-specific DLLs that are needed for that process. |
05-21-2021, 04:45 PM | #3 | |
Junior Member
Posts: 5
Karma: 10
Join Date: May 2021
Device: Kindle PW4
|
Quote:
|
|
05-22-2021, 07:17 AM | #4 |
curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
Posts: 3,002
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
|
Sadly I didn't. Lack of documentation, and proprietary KFXGenApp, halted my bragging pretentions.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kfx in Calibre yet? | SonDan1 | Conversion | 5 | 03-29-2019 02:44 PM |
KFX to KFX to remove DRM | Tomifonication | Conversion | 12 | 08-09-2018 01:32 PM |
KFX Format | jhowell | Kindle Formats | 710 | 07-26-2018 03:45 PM |
What is a kfx file? | Mirirob | Amazon Kindle | 3 | 02-19-2017 05:37 PM |
KFX Soon? | CRussel | Calibre | 16 | 03-06-2016 11:56 AM |