Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader > Kobo Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 11-15-2013, 04:49 AM   #406
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
Here is the custom line spacing patch for firmware 3.0.0 (0cbc3626b3) on Touch/Glo/AuraHD. I have tested it a little bit on my Glo, it doesn't seem to cause any problems so far (actually it seems to work better than the 2.8.1 patch, which caused problems when reading kepubs):

Spoiler:
Code:
<Patch>
# Firmware 3.0.0 (0cbc3626b3) on Touch N905C / Glo / Aura HD
patch_name = `My line spacing values` 
patch_enable = `yes`
# Bypass code-injected values
replace_bytes = 817CEE, 57 F5 16 EE, 00 46 00 46
replace_bytes = 817D3C, 57 F5 EE ED, 00 46 00 46
replace_bytes = 817D62, 57 F5 DC ED, 00 46 00 46
replace_bytes = 817D98, 57 F5 C0 ED, 00 46 00 46
replace_bytes = 817DF4, 57 F5 92 ED, 00 46 00 46
# Values for replace
replace_float = 817E38, 1.05, 0.8
replace_float = 817E40, 1.07, 0.85
replace_float = 817E48, 1.1,  0.9
replace_float = 817E50, 1.35, 0.95
replace_float = 817E58, 1.7,  1.0
replace_float = 817E60, 1.8,  1.05
replace_float = 817E68, 2.2,  1.1
replace_float = 817E70, 2.4,  1.2
replace_float = 817E78, 2.6,  1.3
replace_float = 817E80, 2.8,  1.5
</Patch>
GeoffR is offline   Reply With Quote
Old 11-15-2013, 06:21 AM   #407
Nick_1964
Bookworm
Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.
 
Nick_1964's Avatar
 
Posts: 975
Karma: 768585
Join Date: Aug 2010
Location: Netherlands
Device: Sony prs-650, Kobo Glo HD (2x), Kobo Glo
Only question for 2.10.0 is, can I use the values from 2.8.1 after ReadingFooter {\n\tmin-height: 70px;\n\tmax-height: 70px;\n\tqproperty-footerMargin etc etc to disable the footer.
tshering did a lot of work there for me and I want to keep the settings.
Nick_1964 is offline   Reply With Quote
Old 11-15-2013, 06:37 AM   #408
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Nick_1964,
No, this is not possible. Since the original data has changed. The new string is:

Code:
replace_xor_6E = 1372BC8, `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: 15;\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: 20;\n}\n\n* {\n\tfont-size: 31px;\n\tfont-family: Amasis;\n}\n\n[localeName="ja_JP"] {\n\tfont-family: A-OTF Gothic MB101 Pr6N;\n}`

Last edited by tshering; 11-15-2013 at 06:46 AM.
tshering is offline   Reply With Quote
Old 11-15-2013, 06:44 AM   #409
Nick_1964
Bookworm
Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.
 
Nick_1964's Avatar
 
Posts: 975
Karma: 768585
Join Date: Aug 2010
Location: Netherlands
Device: Sony prs-650, Kobo Glo HD (2x), Kobo Glo
Quote:
Originally Posted by tshering View Post
Nick_1964,
No, this is not possible. Since the original data has changed. The new string is:
Wow, this is with my value of the footer height, and the amasis font ? man can I donate some money to you, you are so, so kind !!

I wait

My line 12 with 2.8.1 is now:
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: 20;\n}\n\n* {\n\tfont-size: 31px;\n\tfont-family: Amasis;\n}\n\n[localeName="ja_JP"] {\n\tfont-family: A-OTF Gothic MB101 Pr6N;\n}`

Last edited by Nick_1964; 11-15-2013 at 06:47 AM.
Nick_1964 is offline   Reply With Quote
Old 11-15-2013, 07:26 AM   #410
indyglow
Connoisseur
indyglow is the One.indyglow is the One.indyglow is the One.indyglow is the One.indyglow is the One.indyglow is the One.indyglow is the One.indyglow is the One.indyglow is the One.indyglow is the One.indyglow is the One.
 
Posts: 77
Karma: 101837
Join Date: Oct 2012
Device: iPad Air, Kobo Forma, Kobo Aura HD (RIP)
I installed the patcher v8 on Kobo Aura HD running 2.10.0 and got the bottom margin perfectly with default configs but the fonts are a bit smallish. Any idea how to get rid of the book title on top altogether for full screen reading on kepubs? I am using KoboTouch Extended plugin to covert to kepubs on the fly while transferring from calibre to my device. I know I can use plain vanilla epub for this but any idea how to make it happen with kepubs and increase default font value in Kobo patcher?
indyglow is offline   Reply With Quote
Old 11-15-2013, 07:27 AM   #411
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Nick_1964,

Everything is ok. I just got a little unsure whether I posted the correct data, since at the moment I am having to many editor windows open at my screen. I checked and it should be ok.
tshering is offline   Reply With Quote
Old 11-15-2013, 07:36 AM   #412
Nick_1964
Bookworm
Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.
 
Nick_1964's Avatar
 
Posts: 975
Karma: 768585
Join Date: Aug 2010
Location: Netherlands
Device: Sony prs-650, Kobo Glo HD (2x), Kobo Glo
Quote:
Originally Posted by tshering View Post
Nick_1964,

Everything is ok. I just got a little unsure whether I posted the correct data, since at the moment I am having to many editor windows open at my screen. I checked and it should be ok.
I am not allowed to give karma, perhaps because I did it in the past, I try it later,my girlfriend keeps talking and is now nagging me with a ruler, so I can't make changes, maybe I have to patch her to ?
Nick_1964 is offline   Reply With Quote
Old 11-15-2013, 07:56 AM   #413
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by Nick_1964 View Post
my girlfriend keeps talking and is now nagging me with a ruler, so I can't make changes, maybe I have to patch her to ?
Sounds like a good idea. I just looked up the Urban Dictionary for "to patch". However, I did not find the meaning I was hoping for.
tshering is offline   Reply With Quote
Old 11-15-2013, 08:21 AM   #414
treadlightly
Wizard
treadlightly ought to be getting tired of karma fortunes by now.treadlightly ought to be getting tired of karma fortunes by now.treadlightly ought to be getting tired of karma fortunes by now.treadlightly ought to be getting tired of karma fortunes by now.treadlightly ought to be getting tired of karma fortunes by now.treadlightly ought to be getting tired of karma fortunes by now.treadlightly ought to be getting tired of karma fortunes by now.treadlightly ought to be getting tired of karma fortunes by now.treadlightly ought to be getting tired of karma fortunes by now.treadlightly ought to be getting tired of karma fortunes by now.treadlightly ought to be getting tired of karma fortunes by now.
 
treadlightly's Avatar
 
Posts: 1,370
Karma: 6957792
Join Date: Nov 2010
Location: Ottawa, ON
Device: Kobo H2O
Quote:
Originally Posted by DNSB View Post
Perhaps you could ask if the replace_xor_6E is a generalized routine so I could adapt it to FW 3.0.0 by changing the location to 13BE688 and the XOR value to D3 or if this requires a rewrite of the code. That is to replace the existing line for 2.10.0:

replace_xor_6E = 1372BC8, `ReadingFooter

with a line for 3.0.0:

replace_xor_D3 = 13BE688, `ReadingFooter


First time I've made use of that old XOR search tool in close to a decade.

Regards,
David
It would be great if we could patch 3.0.0 right away for the footer! Just so I get this straight, is this sequence correct?

1) Update reader to 3.0.0
2) Copy libnickel.so.1.0.0 from the KoboRoot.tgz of the 3.0.0 update to replace the one supplied in Metazoa's patch 08
3) Replace the xor statement for the reading footer you have above in the kpg.conf and delete all other css as it may not apply to the 3.0.0 libnickel (although the ones GeoffR posted will work too)
4) Run kpg.exe and proceed with regular patch procedure

Am I missing anything? The only other css statement besides the footer that I was really interested in was the long paragraph bug hack.
treadlightly is offline   Reply With Quote
Old 11-15-2013, 08:30 AM   #415
Nick_1964
Bookworm
Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.
 
Nick_1964's Avatar
 
Posts: 975
Karma: 768585
Join Date: Aug 2010
Location: Netherlands
Device: Sony prs-650, Kobo Glo HD (2x), Kobo Glo
Quote:
Originally Posted by tshering View Post
Sounds like a good idea. I just looked up the Urban Dictionary for "to patch". However, I did not find the meaning I was hoping for.
I am fighting with the default line height in the Kobo eReader.conf
It is now :
readingLineHeight = 1.35
but one stupid book has a lineheight of 2.0, there is more white then txt, I really hate it to have every book loaded in sigil to change it.
They want to give the ebook the looks of the real book but with this kind of settings i have to overrule them all and calibre isn't working the way I want it, to much settings that have to be all right.
And there is no "kobo simulator" so I have to put the book on the reader, watch it,adjust it..the reader has so much beautiful "switches" to tune the book,but the epub makes ruin them because all of the "nice" settings in the css.
There is no sigil for android to, so I can't hook the reader to my tablet to edit it.. the advantage of a paper book is that you can burn it ritual if you don't like it
Nick_1964 is offline   Reply With Quote
Old 11-15-2013, 08:47 AM   #416
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,251
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Metazoa Patcher v09 for fw3.0.0 released

Quote:
Originally Posted by treadlightly View Post
It would be great if we could patch 3.0.0 right away for the footer!
It seems you can! Metazoa has released Patcher v09 for fw 3.0.0. What a star

Here is the download link.

Last edited by jackie_w; 11-15-2013 at 08:52 AM. Reason: add title
jackie_w is offline   Reply With Quote
Old 11-15-2013, 09:02 AM   #417
treadlightly
Wizard
treadlightly ought to be getting tired of karma fortunes by now.treadlightly ought to be getting tired of karma fortunes by now.treadlightly ought to be getting tired of karma fortunes by now.treadlightly ought to be getting tired of karma fortunes by now.treadlightly ought to be getting tired of karma fortunes by now.treadlightly ought to be getting tired of karma fortunes by now.treadlightly ought to be getting tired of karma fortunes by now.treadlightly ought to be getting tired of karma fortunes by now.treadlightly ought to be getting tired of karma fortunes by now.treadlightly ought to be getting tired of karma fortunes by now.treadlightly ought to be getting tired of karma fortunes by now.
 
treadlightly's Avatar
 
Posts: 1,370
Karma: 6957792
Join Date: Nov 2010
Location: Ottawa, ON
Device: Kobo H2O
Quote:
Originally Posted by jackie_w View Post
It seems you can! Metazoa has released Patcher v09 for fw 3.0.0. What a star
This guy is great. Thanks for the link!
treadlightly is offline   Reply With Quote
Old 11-15-2013, 09:55 AM   #418
Quexos
Member Retired
Quexos ought to be getting tired of karma fortunes by now.Quexos ought to be getting tired of karma fortunes by now.Quexos ought to be getting tired of karma fortunes by now.Quexos ought to be getting tired of karma fortunes by now.Quexos ought to be getting tired of karma fortunes by now.Quexos ought to be getting tired of karma fortunes by now.Quexos ought to be getting tired of karma fortunes by now.Quexos ought to be getting tired of karma fortunes by now.Quexos ought to be getting tired of karma fortunes by now.Quexos ought to be getting tired of karma fortunes by now.Quexos ought to be getting tired of karma fortunes by now.
 
Posts: 1,999
Karma: 11348924
Join Date: Jan 2011
Location: Limbo
Device: none
Ok using patcher for 2.10.0 in default mode works fine. I got a full screen but for a little bit of space left blank up and down on the screen. So I'm trying to reduce that space and in the "Dragon" part of the code of the first patch I tried to change values 120 120 20 to 60 60 10 but when I do so, the program won't generate a .tgz file so I must assume I cannot change those values as they cause an error. Only problem is I don't see where else on the first patch any "Dragon" code that maximizes full screen use.

So anyone knows where I can change values to decrease even further the blank space up and down on my Aura HD screen ?
Quexos is offline   Reply With Quote
Old 11-15-2013, 11:17 AM   #419
Nick_1964
Bookworm
Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.
 
Nick_1964's Avatar
 
Posts: 975
Karma: 768585
Join Date: Aug 2010
Location: Netherlands
Device: Sony prs-650, Kobo Glo HD (2x), Kobo Glo
Quote:
Originally Posted by Quexos View Post
Ok using patcher for 2.10.0 in default mode works fine. I got a full screen but for a little bit of space left blank up and down on the screen. So I'm trying to reduce that space and in the "Dragon" part of the code of the first patch I tried to change values 120 120 20 to 60 60 10 but when I do so, the program won't generate a .tgz file so I must assume I cannot change those values as they cause an error. Only problem is I don't see where else on the first patch any "Dragon" code that maximizes full screen use.

So anyone knows where I can change values to decrease even further the blank space up and down on my Aura HD screen ?
Use the code on this post :
https://www.mobileread.com/forums/sho...&postcount=408

does someone know if there exist an epub editor like sigil, running on android ?
Nick_1964 is offline   Reply With Quote
Old 11-15-2013, 11:51 AM   #420
lohtse
Groupie
lohtse juggles running chainsaws for a bit of light exerciselohtse juggles running chainsaws for a bit of light exerciselohtse juggles running chainsaws for a bit of light exerciselohtse juggles running chainsaws for a bit of light exerciselohtse juggles running chainsaws for a bit of light exerciselohtse juggles running chainsaws for a bit of light exerciselohtse juggles running chainsaws for a bit of light exerciselohtse juggles running chainsaws for a bit of light exerciselohtse juggles running chainsaws for a bit of light exerciselohtse juggles running chainsaws for a bit of light exerciselohtse juggles running chainsaws for a bit of light exercise
 
lohtse's Avatar
 
Posts: 197
Karma: 38050
Join Date: Oct 2013
Location: Anywhere I am sent!!!
Device: Kobo Touch
used version 9 of patch on my touch with fw 3 and now in some books the margins are uneven..Left side theres a gap and right side the text is of the screen ie for with then become fo.... have to adjust margin in the settings but then I have a large left margin and small right margin!!! so damn annoying !!! may have to reinstall fw 3 to fix unless someone has a suggestion...
lohtse is offline   Reply With Quote
Reply


Forum Jump

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


All times are GMT -4. The time now is 05:04 AM.


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