10-04-2013, 08:49 AM | #241 |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
@Nick_1964,
Now you have totally confused me. Your version of 2.8.1 kpg.conf line 12 is totally different from the one I suggested in post #226. You appear to have reverted back to the v07 original with 2 different settings for height and font-size. Code:
`* {\n\theight: 30px;\n\tfont-size: 25px;\n}\n\n` In a nutshell, I am totally at a loss what you are trying to do because you appear to have totally ignored post #226. Secondly, the error message you posted when running the Patcher... The clue would appear to be in this part of the error message Code:
Data for replace in libnickel.so.1.0.0 and kpg.conf does not match!
libnickel.so.1.0.0 is already patched or from the wrong firmware version.
|
10-04-2013, 09:14 AM | #242 | |
Bookworm
Posts: 975
Karma: 768585
Join Date: Aug 2010
Location: Netherlands
Device: Sony prs-650, Kobo Glo HD (2x), Kobo Glo
|
Quote:
And now I see what I did wrong. The mistake i made was that I only changed the red numbers you presented in my config line 12, didn't notice that it was totally different, so I deleted my line 12 and replaced it with yours and no error, the error about a "already patched file" is wrong. Now I gonna place it in my Kobo. Did replaced it and changing the values in red does give me more or less white space at the bottom, but now to figure out how to get the white space less and the page nn of nn at the same place. it now is: Code:
replace_zlib = 1205FF4, `ReadingFooter {\n\tmin-height: 70px;\n\tmax-height: 70px;\n\tqproperty-footerMargin: 40;\n}\n\nReadingFooter[deviceCodeName="kraken"], \nReadingFooter[deviceCodeName="phoenix"] {\n\tmin-height: 82px;\n\tmax-height: 82px;\n\tqproperty-footerMargin: 110;\n}\n\nReadingFooter[deviceCodeName="dragon"] {\n\tmin-height: 120px;\n\tmax-height: 120px;\n\tqproperty-footerMargin: 20;\n}\n\n* {\n\tfont-size: 16px;\n}\n\n[deviceCodeName="kraken"], \n[deviceCodeName="phoenix"] {\n\tfont-size: 20px;\n}\n\n[deviceCodeName="dragon"] {\n\tfont-size: 26px;\n}\n\n[localeName="ja_JP"] {\n\tfont-family: A-OTF Gothic MB101 Pr6N;\n}`, `ReadingFooter {\n\tmin-height: 70px;\n\tmax-height: 70px;\n\tqproperty-footerMargin: 40;\n}\n\nReadingFooter[deviceCodeName="kraken"], \nReadingFooter[deviceCodeName="phoenix"] {\n\tmin-height: 40px;\n\tmax-height: 40px;\n\tqproperty-footerMargin: 40;\n}\n\nReadingFooter[deviceCodeName="dragon"] {\n\tmin-height: 50px;\n\tmax-height: 50px;\n\tqproperty-footerMargin: 20;\n}\n\n* {\n\tfont-size: 16px;\n}\n\n[deviceCodeName="kraken"], \n[deviceCodeName="phoenix"] {\n\tfont-size: 20px;\n}\n\n[deviceCodeName="dragon"] {\n\tfont-size: 24px;\n}\n\n[localeName="ja_JP"] {\n\tfont-family: A-OTF Gothic MB101 Pr6N;\n}` Last edited by Nick_1964; 10-04-2013 at 10:33 AM. |
|
10-04-2013, 09:54 AM | #243 |
Grand Sorcerer
Posts: 12,168
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
|
10-04-2013, 10:35 AM | #244 |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Sure. The data is compressed by zlib. The compression level is "default compression." This means the compressed blocks start with the byte sequence 78 9C. Since zlib does not indicate the size of the compressed block, one starts decompressing at this position and continues until an error occurs. If there is no resulting data, 78 9C did not actually introduce compressed data in that case.
|
10-04-2013, 10:40 AM | #245 |
Grand Sorcerer
Posts: 12,168
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
Thanks
With your lead (and some quick googling) I have now got a simple python script that will find all compressed streams in libnickel I just have to dash out the door for a few hours but will cleanup the script and update the conf file when I get back! Last edited by PeterT; 10-04-2013 at 11:03 AM. |
10-04-2013, 10:50 AM | #246 |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
@ Nick, nevermind, I've just seen your edited post
Last edited by jackie_w; 10-04-2013 at 10:52 AM. Reason: too late |
10-04-2013, 11:38 AM | #247 |
Bookworm
Posts: 975
Karma: 768585
Join Date: Aug 2010
Location: Netherlands
Device: Sony prs-650, Kobo Glo HD (2x), Kobo Glo
|
Yes, stupid me, I understand that only the red values has to change so I bravely change them in my settings.. in this case the error message put you on the wrong track.
Now see what happens when I change the 60 / 60 value in 60/50 or zo, just to squeeze all the empty space.. I must say I am dissapointed a bit now in KOBO, I have the Aura HD, not one of the cheapest, only to see that a lot of that extra space is white, let me decide my margins, then I have to edit almost every ebook to cut out the margins there, and the .xpgt files has to be removed to. I understand that in a real book you want to control the margins, but in a e-reader... now I hope Kobo doesn't send an update |
10-04-2013, 11:38 AM | #248 |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Very nice! This script could open some doors for some people. They could for instance run it against kpg.exe and extract the python script. But don't let us forget: kpg.exe is copyrighted.
|
10-04-2013, 11:41 AM | #249 |
Bibliophagist
Posts: 35,434
Karma: 145525534
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
This is an update to an earlier post. Thanks the TShering's work, I've added the custom reading footer modification.
If anyone is interested in testing this on an Aura, have fun. I've tested it on an Aura HD running 2.9.0 and it seems to work fine. Only 5 items from Metazoa's original v7 patches have been included:
Regards, David |
10-04-2013, 03:33 PM | #250 |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
|
10-04-2013, 05:08 PM | #251 |
Wizard
Posts: 1,370
Karma: 6957792
Join Date: Nov 2010
Location: Ottawa, ON
Device: Kobo H2O
|
|
10-04-2013, 06:55 PM | #252 |
Addict
Posts: 255
Karma: 1151364
Join Date: Aug 2009
Device: Aura HD and H2O
|
Nice, now I'm less concerned about getting an unwanted update to 2.9.x on my HD. Hopefully the "Wi-Fi insomnia" and "Fix page breaks bug" patches can also be included.
|
10-05-2013, 05:54 AM | #253 |
Enthusiast
Posts: 26
Karma: 10
Join Date: Nov 2011
Location: Moon
Device: Kindle 5
|
thank you soooooo much i have the new 2.8.1 (b2c05cda0e, 20/09/13) on my HD and it worked perfectly, i also put DNSB's brightness controll (post #236), which is perfect as well
|
10-05-2013, 08:52 AM | #254 |
Member Retired
Posts: 1,999
Karma: 11348924
Join Date: Jan 2011
Location: Limbo
Device: none
|
Since It took me a long time to understand the Russian patch as it is, I think I'll wait for V8 of it, hoping it will patch 2.8.1B as it is called around here.
Besides, I only need two patches from it. The long paragraph bug and full screen mode (for my AuraHD) So PeterT I hope you plan to include V8 of the Russian patch when it is available, in your first post at the very beginning of this thread, please. Thanks |
10-05-2013, 05:46 PM | #255 | |
Junior Member
Posts: 8
Karma: 11516
Join Date: Oct 2013
Device: Kobo Aura HD
|
Quote:
EDIT: Apparently it's not allowed to give links to Kobo firmware. I'm sorry, I wasn't aware of this; I removed it. Last edited by bartbrat; 10-06-2013 at 01:33 PM. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Glo How to import reading Life Statistics from Kobo Touch to Kobo Glo? | the_m | Kobo Reader | 5 | 12-13-2012 03:40 PM |
$25 gift card w. purchase of Kobo Touch or Kobo Vox at Frys | sufue | Deals and Resources (No Self-Promotion or Affiliate Links) | 0 | 07-15-2012 10:39 AM |
Touch Kobo Touch defective after 3 months and Kobo Customer Support useless | shaf | Kobo Reader | 5 | 12-04-2011 05:10 PM |
Touch Kobo Touch not ejecting cleanly with Calibre OR Kobo Desktop - Windows 7 | JBlyth | Kobo Reader | 11 | 08-03-2011 05:38 PM |
Kobo Touch not disconnecting properly from Calibre OR Kobo Desktop - Windows 7 | JBlyth | Devices | 1 | 08-03-2011 06:50 AM |