![]() |
#226 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
I am not sure whether I am inspecting the right files now. Yesterday, I factory reset my Touch and updated via desktop to 2.5.0. I selected all offered dictionaries and syncronized. Strangely, among the 19 dictionaries only two worked (Italian definition dictionary and Spanish definition dictionary; though I know that the English dictionary works for ShellShock). In the database all entries in the dictionary table looked ok to me. I manually installed 2.4.0 over 2.5.0 (note: without removing the new dictionaries), and everything is working again.
I just opened some of the dictionaries and see that the filestamp of the html files is rather old (07.08.2012 in dicthtml.zip and dicthtml-de.zip; the words files are even older than that). Is this the same with you or are my files somehow messed up? Yesterday I already had a look at the new dictionaries. I was looking whether there are still some not encrypted. The Japanese dictionary was still plain text, but since it did not work on my Touch anyway, I thought there is not much to be learned from it about a new format or so (and I did not see anything new). I am a little clueless right now. German dictionary is still plain text (provided I am really looking at the new files; actually the html files are the same as in the "old" dictionary). Is this dictionary working under 2.5.0 on anyone's device? Last edited by tshering; 04-20-2013 at 01:29 PM. |
![]() |
![]() |
![]() |
#227 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,178
Karma: 2431850
Join Date: Sep 2008
Device: IPad Mini 2 Retina
|
Somehow I don't think you have the latest dictionaries. The html files in my 2.5 German dictionary (dicthtml-de.zip) are encrypted, but the Japanese (dicthtml-ja.zip) ones don't seem to be. Looking at the 2.1.4 versions, the German one is also are encrypted. Also the 2.5.0 German dictionary works fine for me on firmware 2.5.0. Its file size is 6.54 MB (6,866,837 bytes).
Looking at an html file in the Ja 2.5.0 firmware I can't see any formatting differences compared to my custom dictionary, apart from the Ja file is all one line. I have tried the same with my dictionary, and it still does not work. Last edited by ShellShock; 04-20-2013 at 03:10 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#228 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Thank you, ShellShock. That probably explains why the dictionaries did not work for me. Strange thing is that the dictionary-zip files in my desktop application folder have all the filestamp 29.03.2013, and this is in accordance with the information in the database. The dictionary files on my Touch, however, have all the timestamp 19.04.2013. But the content is much older than the content of the desktop dictionaries. One could think that some of the dictionaries were copied from the reset partition, and only those unavailable (in FW 1.9.16) were downloaded.
I just see that the Portuguese dictionary in the desktop application folder and the one on my Touch are in plain text. The file stamps of the htmls of this dictionary is 28.10.2012 (much younger than my reset FW 1.9.16). So this dictionary has evidently been downloaded yesterday after updating to 2.5.0. This might be the cause for this problem. The new Italien dictionary too is in plain text.The file name convention seems a little different: 11.html has been split into 1a.html and so on. No more filenames with accented letters. The entries from ké.html, e.g., are gone to k1.html. Anyway, if this dictionary is working under 2.5.0, it might be a helpful case. Last edited by tshering; 04-20-2013 at 06:18 PM. |
![]() |
![]() |
![]() |
#229 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11
Karma: 4264
Join Date: Dec 2011
Device: kobo touch
|
Maybe it is LZMA compressed file without header?
Or we can say it is a .7z file without header? |
![]() |
![]() |
![]() |
#230 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,178
Karma: 2431850
Join Date: Sep 2008
Device: IPad Mini 2 Retina
|
I tried all the compression formats supported by 7zip by renaming the .html extension of one of the existing Kobo dictionary files and seeing if they would open in 7zip. I did not have any success. But I did not remove any headers (I don't know how to). I suspect the files are gzip with some added encryption/obfuscation.
Last edited by ShellShock; 04-21-2013 at 04:08 AM. |
![]() |
![]() |
Advert | |
|
![]() |
#231 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Could anybody please confirm whether the new Italian dictionary is working under 2.5.0?
|
![]() |
![]() |
![]() |
#232 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,178
Karma: 2431850
Join Date: Sep 2008
Device: IPad Mini 2 Retina
|
|
![]() |
![]() |
![]() |
#233 |
Digital Amanuensis
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 727
Karma: 1446357
Join Date: Dec 2011
Location: Turin, Italy
Device: Several eReaders and tablets
|
Thanks for your observations. I will try to get the "new" Italian dictionary and inspect it.
|
![]() |
![]() |
![]() |
#234 |
Digital Amanuensis
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 727
Karma: 1446357
Join Date: Dec 2011
Location: Turin, Italy
Device: Several eReaders and tablets
|
|
![]() |
![]() |
![]() |
#235 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,178
Karma: 2431850
Join Date: Sep 2008
Device: IPad Mini 2 Retina
|
Good luck. I have looked at the new Italian dictionary, and it is "encrypted" but the Portuguese one dicthtml-pt is not. I have formatted my custom dictionary to match the Portuguese one, but it still does not work. The Kobo Portuguese dictionary also seems to be broken - looking up "ola" does not work.
Last edited by ShellShock; 04-21-2013 at 10:33 AM. |
![]() |
![]() |
![]() |
#236 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11
Karma: 4264
Join Date: Dec 2011
Device: kobo touch
|
I think kobo is using lzma sdk which can get a smaller size. But it is not using 7z header routine.
|
![]() |
![]() |
![]() |
#237 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,178
Karma: 2431850
Join Date: Sep 2008
Device: IPad Mini 2 Retina
|
So, how do we write the file without the header? Does anyone know the size of the 7z LZMA header? I have been googling and can't get a clear answer. Is it even a fixed size? I have tried different sizes but no luck so far...
|
![]() |
![]() |
![]() |
#238 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 525
Karma: 4503161
Join Date: May 2009
Location: Portugal
Device: Kobo Glo, kindle
|
|
![]() |
![]() |
![]() |
#239 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,178
Karma: 2431850
Join Date: Sep 2008
Device: IPad Mini 2 Retina
|
I don't think so. It could not find olaria either.
|
![]() |
![]() |
![]() |
#240 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Quote:
Spoiler:
After reading that ShellShock's Italian dictionary is encrypted, I tried to download the Italian dictionary again via the desktop application. The application reported for a long time that it is downloading dictionaries, but actually no dictionary was downloaded; even after I repeated the process nothing changed. An inspection of the traffic showed however, that the application sent a GET /ereader/dictionaries/dicthtml-it.zip ... Host: download.kobobooks.com. I downloaded the file via the web browser. Its size is 11.206.504, it is encrypted. I guess this is the same as ShellShock's. Or maybe it is not? Note that the filestamps of the htmls of my Sunday Italian dictionary are older than those of my Saturday Italian dictionary.
Spoiler:
Another question: Did somebody try to adjust the database entries of Size and LastModified in accordance with the values of a custom dictionary? |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
What's file format of dictionary | mnjkl | Kobo Reader | 2 | 12-12-2011 08:48 AM |
Dictionary format | jgray | Sony Reader | 1 | 10-25-2010 09:52 AM |
English Thesaurus in the dictionary format | osnova | Amazon Kindle | 14 | 12-12-2009 06:42 PM |
Dictionary: what version? can it be in firmware? | jedix | Sony Reader Dev Corner | 7 | 12-05-2008 12:00 PM |
Webster dictionary in DEPReader format | abigail | Reading and Management | 0 | 08-10-2005 08:00 AM |