10-04-2013, 06:09 PM | #1 |
Grand Sorcerer
Posts: 12,119
Karma: 73448614
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
Compressed elements in libnickel.so
There seem to have been some MAJOR changes in the CSS used within 2.8.1B and the original 2.8.1.
Attached find a dump of all the compressed streams I found using the signature 0x78 0x9c within the original, and the new libnickel.so. You will see the original had 1525 compressed chunks; the new one only has 47, and one I don't see at all is the ReadingFooter code Suggestions as to what we might look for, for the patcher would be appreciated. This was generated with the following (ugly) python script. Spoiler:
|
10-04-2013, 06:31 PM | #2 |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Things that I tried were:
- checking for streams that share the same properties - checking for streams that share similar values - identifying corresponding streams in the two files and trying to come closer to the searched for code on that way I failed. |
Advert | |
|
10-05-2013, 10:53 AM | #3 |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
With FW 2.8.1[a] some css/html code had already been shifted from libnickel.so.1.0.0 to nickel. With 2.8.1b some more blocks have been shifted, even some new css code inserted. However, I am not able to find the code for ReadingFooter even there. Maybe they stopped defining the appearance of the footer by css code.
In nickel, there are streams with other compression levels too. However, they all seem not to contain human readable code. |
10-05-2013, 11:05 AM | #4 |
Time Waster
Posts: 422
Karma: 289160
Join Date: May 2011
Device: Kobo Glo and Aura HD
|
Kobo designers look to be very proud of their interface the way they thought it... All those moves, beginning with compressing ccs, are obviously meant to block our initiatives.
|
10-05-2013, 11:35 AM | #5 |
Wizard
Posts: 4,465
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
|
Kobo obviously has the means to display the image formats that are stored as image files in the ebooks. Don't think that anyone has unearthed the code that nickel is using for its suspend function, that should show how it gets the file it displays. From a data base reference most likely. A patch should be possible to change the result to always point to a particular image file. (Say a user supplied "ScreenSaver" .png or .jpg or .svg?)
Luck; Ken Last edited by Ken Maltby; 10-05-2013 at 11:38 AM. |
Advert | |
|
10-05-2013, 05:21 PM | #6 |
Grand Sorcerer
Posts: 6,171
Karma: 16228536
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Nevermind
Last edited by jackie_w; 10-05-2013 at 05:35 PM. |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Compressed Book Summaries | Tony30 | Deals and Resources (No Self-Promotion or Affiliate Links) | 1 | 02-25-2013 07:57 AM |
html elements in epub | kamwoj | ePub | 8 | 02-11-2012 05:43 AM |
Compressed Manga | albogango | Sony Reader | 10 | 09-09-2011 10:57 PM |
Feed Elements | mean_gene | Recipes | 6 | 12-12-2010 07:31 PM |
converting from standard mobi to compressed mobi | noideaatall | Kindle Formats | 6 | 07-11-2010 03:10 PM |