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 01-12-2020, 08:40 AM   #226
geek1011
Wizard
geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.
 
Posts: 2,804
Karma: 7025947
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
Quote:
Originally Posted by JSWolf View Post
Would there be someway to kill nickel and restart it so the new font weight value can be read without having to reboot?
Yes, but you might as well reboot. It takes the same amount of time for nickel to restart. Unless you'd rather I introduce a segfault for the close button of the advanced font settings ?
geek1011 is offline   Reply With Quote
Old 01-12-2020, 09:21 AM   #227
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,796
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
I was thinking that the reason the bug in Advanced Font Controls with ePub wasn't found is that the fonts already loaded have been adjusted already.
JSWolf is offline   Reply With Quote
Advert
Old 01-13-2020, 10:04 PM   #228
peejayw
Enthusiast
peejayw , Klaatu Barada Niktu!peejayw , Klaatu Barada Niktu!peejayw , Klaatu Barada Niktu!peejayw , Klaatu Barada Niktu!peejayw , Klaatu Barada Niktu!peejayw , Klaatu Barada Niktu!peejayw , Klaatu Barada Niktu!peejayw , Klaatu Barada Niktu!peejayw , Klaatu Barada Niktu!peejayw , Klaatu Barada Niktu!peejayw , Klaatu Barada Niktu!
 
Posts: 42
Karma: 5394
Join Date: Jan 2013
Location: NZ
Device: Kobo Clara
When I run the kobopatch.bat file, a command prompt window opens briefly and closes, too fast to see what it says.
There is no Koboroot.tgz in the Out folder but there is a log.txt file written there.
What am I doing wrong?
Thanks.
peejayw is offline   Reply With Quote
Old 01-13-2020, 10:13 PM   #229
codychan
Groupie
codychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud of
 
codychan's Avatar
 
Posts: 153
Karma: 27950
Join Date: Nov 2018
Device: Kobo Aura One, Kobo Forma
Quote:
Originally Posted by peejayw View Post
When I run the kobopatch.bat file, a command prompt window opens briefly and closes, too fast to see what it says.
There is no Koboroot.tgz in the Out folder but there is a log.txt file written there.
What am I doing wrong?
Thanks.
Read the log.txt
1. Enabled two or more items which are conflicted with each other at the same time
2. Indent issue, notice the numbers of spaces at the beginning of the lines
3. typo?
codychan is offline   Reply With Quote
Old 01-13-2020, 10:31 PM   #230
peejayw
Enthusiast
peejayw , Klaatu Barada Niktu!peejayw , Klaatu Barada Niktu!peejayw , Klaatu Barada Niktu!peejayw , Klaatu Barada Niktu!peejayw , Klaatu Barada Niktu!peejayw , Klaatu Barada Niktu!peejayw , Klaatu Barada Niktu!peejayw , Klaatu Barada Niktu!peejayw , Klaatu Barada Niktu!peejayw , Klaatu Barada Niktu!peejayw , Klaatu Barada Niktu!
 
Posts: 42
Karma: 5394
Join Date: Jan 2013
Location: NZ
Device: Kobo Clara
Quote:
Originally Posted by codychan View Post
Read the log.txt
1. Enabled two or more items which are conflicted with each other at the same time
Found it, thanks.
peejayw is offline   Reply With Quote
Advert
Old 01-23-2020, 12:54 PM   #231
Jonitxo
Junior Member
Jonitxo began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Dec 2019
Device: Kobo Aura
Hello. This patches works on Kobo libra H20?
Thanx for you support
Jonitxo is offline   Reply With Quote
Old 01-23-2020, 01:53 PM   #232
forster01
Groupie
forster01 can do the Funky Gibbon.forster01 can do the Funky Gibbon.forster01 can do the Funky Gibbon.forster01 can do the Funky Gibbon.forster01 can do the Funky Gibbon.forster01 can do the Funky Gibbon.forster01 can do the Funky Gibbon.forster01 can do the Funky Gibbon.forster01 can do the Funky Gibbon.forster01 can do the Funky Gibbon.forster01 can do the Funky Gibbon.
 
Posts: 197
Karma: 82624
Join Date: May 2013
Device: Kobo Forma, Kobo Aura One, Kobo Aura HD, Kindle, Amazon Fire HD
it's working if you download libra software.
forster01 is offline   Reply With Quote
Old 01-23-2020, 01:56 PM   #233
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,796
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Jonitxo View Post
Hello. This patches works on Kobo libra H20?
Thanx for you support
Yes, these patches will work on a Kobo Libra H2O.
JSWolf is offline   Reply With Quote
Old 01-23-2020, 03:28 PM   #234
Jonitxo
Junior Member
Jonitxo began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Dec 2019
Device: Kobo Aura
Quote:
Originally Posted by JSWolf View Post
Yes, these patches will work on a Kobo Libra H2O.
Thanx for your answer!!
Jonitxo is offline   Reply With Quote
Old 01-26-2020, 03:16 AM   #235
Hendo
Junior Member
Hendo began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jan 2020
Device: Kobo Aura H20 V1
Hi,

Just found out about the existence of this forum and the kobo patch files. Absolutely amazed at the hard work you all put in to make these patches possible.

I've had my H20 for a few years, very happy with it. I usually dont have wifi on so almost never update firmware. Yesterday I updated to the latest and really didn't like the new header/footer style with the title included (also didn't like the wasted space)

Very happy to find these patches and I have managed to figure out how to enable the bits that I want and all is perfect so far thank you

I have one question regarding the ability to remove capitals on "xx OF xxx" that you can display for book progress.
I have that working fine but I would also like the ability to add additional text to the string ie. "Page xx of xxx" When I try to add the "Page" text then the patch .bat bombs out, I assume it is looking for the string length.

Is there any way that I can do that?

Thanks for the fantastic work and any help you can give
Hendo is offline   Reply With Quote
Old 01-27-2020, 01:37 AM   #236
Hendo
Junior Member
Hendo began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jan 2020
Device: Kobo Aura H20 V1
Update: for clarification, this is when trying to use the below patch:
Quote:
Custom header/footer page number text:
- Enabled: no
- PatchGroup: Header/footer page number text
- Description: Changes the page number text format in the reading header & footer
- FindReplaceString: {Find: "%1 OF %2", Replace: "%1 / %2"}
I would like to have [Replace: "Page %1 of %2"]


I also have a question for jackie_w, when using part #2 of your scrubber text properties patch for the Page X of Y label. I cannot get it to capitalize the word 'page'. I can lowercase it all, uppcase it all but that's all. I have seen your screenshot displaying the text how I would like it. (#2 in this post) https://www.mobileread.com/forums/sh...74&postcount=3 But have no iodea how you managed it. Maybe the latest firmware defaults to all caps?

Any help on how to achieve this greatly appreciated
Hendo is offline   Reply With Quote
Old 01-27-2020, 06:39 AM   #237
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,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by Hendo View Post
I also have a question for jackie_w, when using part #2 of your scrubber text properties patch for the Page X of Y label. I cannot get it to capitalize the word 'page'. I can lowercase it all, uppcase it all but that's all. I have seen your screenshot displaying the text how I would like it. (#2 in this post) https://www.mobileread.com/forums/sh...74&postcount=3 But have no iodea how you managed it. Maybe the latest firmware defaults to all caps?
Patch Custom page navigation scrubber in nickel.yaml has a section 2b. which is commented out by default.
Code:
        # 2b. Customise other font properties of 'Page x of y' label (all models)
        #     e.g. text-transform (uppercase or none)
        #          font-family, font-weight, font-style, etc.
        # Un-comment next 2 lines and change Replace CSS as desired
        #- Find:    "#page {\n  padding-left: 0px;\n}"
        #  Replace: "#page {padding-left: 0px; font-family:Georgia; text-transform:none;}"
Un-comment the last 2 lines and use the 2nd to change styling as required, specifically the text-transform style.

It works in tandem with patch Custom navigation menu page number text in libnickel.so.1.0.0.yaml which can be used to adjust the 'Page x of y' text in the scrubber only.

Quote:
Originally Posted by Hendo View Post
Update: for clarification, this is when trying to use the below patch:

I would like to have [Replace: "Page %1 of %2"]
You probably need geek1011 to explain this better than I can but there are limitations on freedom to patch libnickel.so.1.0.0 because there are always code length considerations. Usually you can make patched text strings shorter (and add padding) but you can't make them longer than the original.

Patches in nickel.yaml have more freedom to expand/contract the original.
jackie_w is offline   Reply With Quote
Old 01-27-2020, 06:52 AM   #238
Semwize
Guru
Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.
 
Posts: 914
Karma: 275656
Join Date: Jun 2016
Device: Kobo
Quote:
Originally Posted by Hendo View Post
Page %1 of %2
Extract KoboRoot.tgz from the archive and place it in the .kobo folder. After rebooting the device, change the language to de (Deutsch).

Click image for larger version

Name:	screen_001.png
Views:	317
Size:	120.2 KB
ID:	176672

unpack.zip
Semwize is offline   Reply With Quote
Old 01-27-2020, 08:25 AM   #239
Hendo
Junior Member
Hendo began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jan 2020
Device: Kobo Aura H20 V1
Quote:
Originally Posted by jackie_w View Post
Patch Custom page navigation scrubber in nickel.yaml has a section 2b. which is commented out by default.

Un-comment the last 2 lines and use the 2nd to change styling as required, specifically the text-transform style.

It works in tandem with patch Custom navigation menu page number text in libnickel.so.1.0.0.yaml which can be used to adjust the 'Page x of y' text in the scrubber only.
I already managed to get the patch to work and can fiddle around with the last two lines. I didn't realise about it working alongside the other patch which defines the text (I was wondering how it was set). I'll give it a try tomorrow.

Thanks for the help
Hendo is offline   Reply With Quote
Old 01-28-2020, 01:41 AM   #240
Hendo
Junior Member
Hendo began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jan 2020
Device: Kobo Aura H20 V1
All working, Semwize recommended "text-transform:none" which did the trick

Now I just need to make the normal footer go back to the old 'Page x of y' and the OCD will be fully satisfied
Hendo is offline   Reply With Quote
Reply

Tags
kobopatch, patch, patch32lsb, patches, patching


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Instructions for patching firmware 3.18.0 GeoffR Kobo Developer's Corner 151 10-21-2016 06:15 AM
Instructions for patching firmware 3.17.0 GeoffR Kobo Developer's Corner 49 08-16-2015 05:20 AM
Instructions for patching firmware 3.16.10 GeoffR Kobo Developer's Corner 12 08-14-2015 03:40 AM
Instructions for patching firmware 3.12.0 GeoffR Kobo Developer's Corner 165 02-07-2015 09:22 AM
Instructions for patching firmware 3.2.0 DNSB Kobo Developer's Corner 66 12-05-2014 07:28 AM


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


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