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 07-25-2017, 11:34 PM   #31
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
Quote:
Originally Posted by boriar View Post
@GeoffR
So, can zip (the program) change unix permissions of a file within an archive even from windows?
I don't know, it might depend on which zip program you use. The Windows 7z program included in the patch archive seems to set all files to executable by default when it creates the KoboRoot.tgz file. I don't know what it does about permissions in the .zip file though.
GeoffR is offline   Reply With Quote
Old 07-25-2017, 11:40 PM   #32
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
Quote:
Originally Posted by goenieg View Post
Just tested it, and I can confirm that "chmod 0755 $NEW/$F;" works for OS X Sierra.
Thanks, I'll make that change in future versions of the patch.

From the output of stat --help it seems your system is using the same stat program as Linux, but some other OS X systems are using a different one, so it will be best to avoid using stat at all.
GeoffR is offline   Reply With Quote
Advert
Old 07-26-2017, 12:06 AM   #33
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
I've updated the attachment to post #1 to include the new 4.5.9587.sh script that fixes a stat/chmod error which would have prevented the script completing on some OS X systems.

See post #24 for the report of the error, and post #27 for details of the fix.
GeoffR is offline   Reply With Quote
Old 07-28-2017, 12:07 PM   #34
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: 73,897
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
@Geoff, would you mind making the patch `Custom page refresh options` go to 99 instead of 12? 99 works and I see no need not to go that high. I know I can do this myself, but, I have to change this every new set of patches.

Last edited by JSWolf; 08-03-2017 at 11:51 AM.
JSWolf is offline   Reply With Quote
Old 08-02-2017, 08:05 PM   #35
eric1116
Member
eric1116 began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Mar 2017
Device: Kobo glo Hd, Kobo Aura One
99 good for me as well

Quote:
Originally Posted by JSWolf View Post
@Geoff, would you mind making the path `Custom page refresh options` go to 99 instead of 12? 99 works and I see no need not to go that high. I know I can do this myself, but, I have to change this every new set of patches.
eric1116 is offline   Reply With Quote
Advert
Old 08-06-2017, 08:03 AM   #36
drjd
The Couch Potato
drjd ought to be getting tired of karma fortunes by now.drjd ought to be getting tired of karma fortunes by now.drjd ought to be getting tired of karma fortunes by now.drjd ought to be getting tired of karma fortunes by now.drjd ought to be getting tired of karma fortunes by now.drjd ought to be getting tired of karma fortunes by now.drjd ought to be getting tired of karma fortunes by now.drjd ought to be getting tired of karma fortunes by now.drjd ought to be getting tired of karma fortunes by now.drjd ought to be getting tired of karma fortunes by now.drjd ought to be getting tired of karma fortunes by now.
 
drjd's Avatar
 
Posts: 34,509
Karma: 230999999
Join Date: Aug 2015
Device: Kobo Glo, Kobo Touch, Archos 9, Onyx Boox C67ML Carta
Quote:
Originally Posted by JSWolf View Post
@Geoff, would you mind making the patch `Custom page refresh options` go to 99 instead of 12? 99 works and I see no need not to go that high. I know I can do this myself, but, I have to change this every new set of patches.
It would be highly appreciable!
drjd is offline   Reply With Quote
Old 08-06-2017, 08:07 AM   #37
drjd
The Couch Potato
drjd ought to be getting tired of karma fortunes by now.drjd ought to be getting tired of karma fortunes by now.drjd ought to be getting tired of karma fortunes by now.drjd ought to be getting tired of karma fortunes by now.drjd ought to be getting tired of karma fortunes by now.drjd ought to be getting tired of karma fortunes by now.drjd ought to be getting tired of karma fortunes by now.drjd ought to be getting tired of karma fortunes by now.drjd ought to be getting tired of karma fortunes by now.drjd ought to be getting tired of karma fortunes by now.drjd ought to be getting tired of karma fortunes by now.
 
drjd's Avatar
 
Posts: 34,509
Karma: 230999999
Join Date: Aug 2015
Device: Kobo Glo, Kobo Touch, Archos 9, Onyx Boox C67ML Carta
Quote:
Originally Posted by jcn363 View Post
Thanks Geoff!

tshering's Bad Eyes adaptation

nickel.patch
Spoiler:
Code:
<Patch>
patch_name = `tshering's BAD EYES unclassified, increased by 30% (ADAPTATION - nickel)`
patch_enable = `yes`
# Version patch: 4.5.9587
find_base_address = `#newLabel `
replace_string = 0000, `#newLabel {\n  font-family: Avenir;\n  color: #ffffff;\n  background-color: #808080;\n  padding-left: 5px;\n  padding-right: 5px;\n  padding-top: 2px;\n  font-size: 17px;\n}\n#newLabel[qApp_deviceIsDaylight=true] {\n  font-size: 22px;\n}\n#newLabel[qApp_deviceIsTrilogy=true] {\n  font-size: 16px;\n}\n`, `#newLabel {\n  font-family: Avenir;\n  color: #ffffff;\n  background-color: #808080;\n  padding-left: 5px;\n  padding-right: 5px;\n  padding-top: 2px;\n  font-size: 22px;\n}\n#newLabel[qApp_deviceIsDaylight=true] {\n  font-size: 38px;\n}\n#newLabel[qApp_deviceIsTrilogy=true] {\n  font-size: 19px;\n}\n`
find_base_address = `SearchBox {`
replace_string = 0000, `SearchBox {\n  border: %1px solid black;\n  background-color: white;\n  margin: %2px;\n}\nSearchBox[qApp_deviceIsTrilogy=true] {\n  font-size: 23px;\n}\nSearchBox[qApp_deviceIsTrilogy=true][qApp_localeName="tr_TR"] {\n  font-size: 20px;\n}\nSearchBox[qApp_deviceIsPhoenix=true] {\n  font-size: 28px;\n}\nSearchBox[qApp_deviceIsDragon=true] {\n  font-size: 36px;\n}\nSearchBox[qApp_deviceIsAlyssum=true] {\n  font-size: 39px;\n}\nSearchBox[qApp_deviceIsDaylight=true] {\n  font-size: 47px;\n}\n`. `\nSearchBox {\n  border: %1px solid black;\n  background-color: white;\n  margin: %2px;\n}\nSearchBox[qApp_deviceIsTrilogy=true] {\n  font-size: 29px;\n}\nSearchBox[qApp_deviceIsTrilogy=true][qApp_localeName="tr_TR"] {\n  font-size: 26px;\n}\nSearchBox[qApp_deviceIsPhoenix=true] {\n  font-size: 34px;\n}\nSearchBox[qApp_deviceIsDragon=true] {\n  font-size: 45px;\n}\nSearchBox[qApp_deviceIsAlyssum=true] {\n  font-size: 48px;\n}\nSearchBox[qApp_deviceIsDaylight=true] {\n  font-size: 60px;\n}`
find_base_address = `#label[qApp_deviceIsTrilogy`
replace_string = 0000, `#label[qApp_deviceIsTrilogy=true] {\n  font-size: 30px;\n  min-width: 264px;\n  max-width: 264px;\n  min-height: 60px;\n  max-height: 60px;\n}\n#label[qApp_deviceIsPhoenix=true] {\n  font-size: 36px;\n  min-width: 331px;\n  max-width: 331px;\n  min-height: 72px;\n  max-height: 72px;\n}\n#label[qApp_deviceIsDragon=true] {\n  font-size: 46px;\n  min-width: 480px;\n  max-width: 480px;\n  min-height: 110px;\n  max-height: 110px;\n}\n#label[qApp_deviceIsDaylight=true] {\n  font-size: 60px;\n  min-width: 624px;\n  max-width: 624px;\n  min-height: 140px;\n  max-height: 140px;\n}\n`, `\n#label[qApp_deviceIsTrilogy=true] {\n  font-size: 39px;\n  min-width: 264px;\n  max-width: 264px;\n  min-height: 60px;\n  max-height: 60px;\n}\n#label[qApp_deviceIsPhoenix=true] {\n  font-size: 45px;\n  min-width: 331px;\n  max-width: 331px;\n  min-height: 72px;\n  max-height: 72px;\n}\n#label[qApp_deviceIsDragon=true] {\n  font-size: 58px;\n  min-width: 480px;\n  max-width: 480px;\n  min-height: 110px;\n  max-height: 110px;\n}\n#label[qApp_deviceIsDaylight=true] {\n  font-size: 78px;\n  min-width: 624px;\n  max-width: 624px;\n  min-height: 140px;\n  max-height: 140px;\n}`
find_base_address = `#QFrame`
replace_string = 0000, `#QFrame {\n  color: #000000;\n}\n#container {\n  background-color: #D0D0D0;\n}\n#container[colorTheme="LightTheme"] {\n  background-color: white;\n}\n#textEdit {\n  font-size: 20px;\n  border: 0px;\n  color: #000000;\n  font-family: Georgia;\n}\n#textEdit[qApp_deviceIsPhoenix=true] {\n  font-size: 24px;\n}\n#textEdit[qApp_deviceIsDragon=true] {\n  font-size: 29px;\n}\n#textEdit[qApp_deviceIsAlyssum=true] {\n  font-size: 32px;\n}\n#textEdit[qApp_deviceIsDaylight=true] {\n  font-size: 38px;\n}\n#textEdit[qApp_localeName="ja_JP"] {\n  font-family: Sans-SerifJP, sans-serif;\n  font-style: normal;\n}\n#characterCount {\n  padding: 10px;\n  color: #4d4d4d;\n}\n`, `\n#QFrame {\n  color: #000000;\n}\n#container {\n  background-color: #D0D0D0;\n}\n#container[colorTheme="LightTheme"] {\n  background-color: white;\n}\n#textEdit {\n  font-size: 26px;\n  border: 0px;\n  color: #000000;\n  font-family: Georgia;\n}\n#textEdit[qApp_deviceIsPhoenix=true] {\n  font-size: 30px;\n}\n#textEdit[qApp_deviceIsDragon=true] {\n  font-size: 35px;\n}\n#textEdit[qApp_deviceIsAlyssum=true] {\n  font-size: 41px;\n}\n#textEdit[qApp_deviceIsDaylight=true] {\n  font-size: 48px;\n}\n#textEdit[qApp_localeName="ja_JP"] {\n  font-family: Sans-SerifJP, sans-serif;\n  font-style: normal;\n}\n#characterCount {\n  padding: 10px;\n  color: #4d4d4d;\n}`
find_base_address = `#titleContainer[qApp_deviceIsTrilogy=true]`
replace_string = 0000, `#titleContainer[qApp_deviceIsTrilogy=true] {\n  qproperty-spacing: 20;\n  min-height: 46px;\n  max-height: 46px;\n}\n#titleContainer[qApp_deviceIsPhoenix=true] {\n  qproperty-spacing: 26;\n  min-height: 56px;\n  max-height: 56px;\n}\n#titleContainer[qApp_deviceIsDragon=true] {\n  qproperty-spacing: 36;\n  min-height: 70px;\n  max-height: 70px;\n}\n#titleContainer[qApp_deviceIsDaylight=true] {\n  qproperty-spacing: 46;\n  min-height: 90px;\n  max-height: 90px;\n}\n#title {\n  font-family: Avenir;\n  text-transform: uppercase;\n}\n#title[qApp_localeName="ja_JP"] {\n  font-family: Sans-SerifJP, sans-serif;\n  font-style: normal;\n}\n#title[qApp_localeName="tr_TR"] {\n  font-family: Georgia;\n}\n#title[qApp_deviceIsTrilogy=true] {\n  font-size: 16px;\n}\n#title[qApp_deviceIsPhoenix=true] {\n  font-size: 20px;\n}\n#title[qApp_deviceIsDragon=true] {\n  font-size: 28px;\n}\n#title[qApp_deviceIsDaylight=true] {\n  font-size: 36px;\n}\n#title[qApp_localeName="ja_JP"] {\n  text-transform: none;\n}\n#link {\n  font-style: italic;\n}\n#link[qApp_localeName="ja_JP"] {\n  font-style: normal;\n}\n`, `#titleContainer[qApp_deviceIsTrilogy=true] {\n  qproperty-spacing: 20;\n  min-height: 46px;\n  max-height: 46px;\n}\n#titleContainer[qApp_deviceIsPhoenix=true] {\n  qproperty-spacing: 26;\n  min-height: 56px;\n  max-height: 56px;\n}\n#titleContainer[qApp_deviceIsDragon=true] {\n  qproperty-spacing: 36;\n  min-height: 70px;\n  max-height: 70px;\n}\n#titleContainer[qApp_deviceIsDaylight=true] {\n  qproperty-spacing: 46;\n  min-height: 90px;\n  max-height: 90px;\n}\n#title {\n  font-family: Avenir;\n  text-transform: uppercase;\n}\n#title[qApp_localeName="ja_JP"] {\n  font-family: Sans-SerifJP, sans-serif;\n  font-style: normal;\n}\n#title[qApp_localeName="tr_TR"] {\n  font-family: Georgia;\n}\n#title[qApp_deviceIsTrilogy=true] {\n  font-size: 21px;\n}\n#title[qApp_deviceIsPhoenix=true] {\n  font-size: 26px;\n}\n#title[qApp_deviceIsDragon=true] {\n  font-size: 34px;\n}\n#title[qApp_deviceIsDaylight=true] {\n  font-size: 45px;\n}\n#title[qApp_localeName="ja_JP"] {\n  text-transform: none;\n}\n#link {\n  font-style: italic;\n}\n#link[qApp_localeName="ja_JP"] {\n  font-style: normal;\n}\n`
find_base_address = `#container[qApp_deviceIsTrilogy=true]`
replace_string = 0000, `#container[qApp_deviceIsTrilogy=true] {\n  qproperty-spacing: 12px;\n}\n#container[qApp_deviceIsPhoenix=true] {\n  qproperty-spacing: 16px;\n}\n#container[qApp_deviceIsDragon=true] {\n  qproperty-spacing: 22px;\n}\n#container[qApp_deviceIsDaylight=true] {\n  qproperty-spacing: 28px;\n}\n#text {\n  font-family: Avenir;\n  text-transform: uppercase;\n}\n#text[qApp_deviceIsTrilogy=true] {\n  font-size: 13px;\n}\n#text[qApp_deviceIsPhoenix=true] {\n  font-size: 16px;\n}\n#text[qApp_deviceIsDragon=true] {\n  font-size: 21px;\n}\n#text[qApp_deviceIsAlyssum=true] {\n  font-size: 23px;\n}\n#text[qApp_deviceIsDaylight=true] {\n  font-size: 27px;\n}\n#text[qApp_localeName="ja_JP"] {\n  font-family: Sans-SerifJP, sans-serif;\n  font-style: normal;\n  text-transform: none;\n}\n#text[qApp_localeName="tr_TR"] {\n  font-family: Georgia;\n}\n`, `#container[qApp_deviceIsTrilogy=true] {\n  qproperty-spacing: 12px;\n}\n#container[qApp_deviceIsPhoenix=true] {\n  qproperty-spacing: 16px;\n}\n#container[qApp_deviceIsDragon=true] {\n  qproperty-spacing: 22px;\n}\n#container[qApp_deviceIsDaylight=true] {\n  qproperty-spacing: 36px;\n}\n#text {\n  font-family: Avenir;\n  text-transform: uppercase;\n}\n#text[qApp_deviceIsTrilogy=true] {\n  font-size: 16px;\n}\n#text[qApp_deviceIsPhoenix=true] {\n  font-size: 19px;\n}\n#text[qApp_deviceIsDragon=true] {\n  font-size: 27px;\n}\n#text[qApp_deviceIsAlyssum=true] {\n  font-size: 30px;\n}\n#text[qApp_deviceIsDaylight=true] {\n  font-size: 39px;\n}\n#text[qApp_localeName="ja_JP"] {\n  font-family: Sans-SerifJP, sans-serif;\n  font-style: normal;\n  text-transform: none;\n}\n#text[qApp_localeName="tr_TR"] {\n  font-family: Georgia;\n}\n`
find_base_address = `#N3ToastView`
replace_string = 0000, `#N3ToastView {\n  background-color: transparent;\n  border-width: 8px;\n  border-image: url(:/images/dialogs/toast_background_simple.png) 8 8 8 8;\n}\n#primaryText[qApp_deviceIsTrilogy=true] {\n  font-size: 19px;\n}\n#primaryText[qApp_deviceIsPhoenix=true] {\n  font-size: 23px;\n}\n#primaryText[qApp_deviceIsDragon=true] {\n  font-size: 29px;\n}\n#primaryText[qApp_deviceIsAlyssum=true] {\n  font-size: 32px;\n}\n#primaryText[qApp_deviceIsDaylight=true] {\n  font-size: 37px;\n}\n#primaryText[qApp_localeName="ja_JP"] {\n  qproperty-leading: 0;\n}\n`, `#N3ToastView {\n  background-color: transparent;\n  border-width: 8px;\n  border-image: url(:/images/dialogs/toast_background_simple.png) 8 8 8 8;\n}\n#primaryText[qApp_deviceIsTrilogy=true] {\n  font-size: 22px;\n}\n#primaryText[qApp_deviceIsPhoenix=true] {\n  font-size: 29px;\n}\n#primaryText[qApp_deviceIsDragon=true] {\n  font-size: 35px;\n}\n#primaryText[qApp_deviceIsAlyssum=true] {\n  font-size: 41px;\n}\n#primaryText[qApp_deviceIsDaylight=true] {\n  font-size: 48px;\n}\n#primaryText[qApp_localeName="ja_JP"] {\n  qproperty-leading: 0;\n}\n`
find_base_address = `* {\n  font-family: Georgia;\n}\n*[qApp_localeName="ja_JP"] {\n  font-family: Sans-SerifJP, sans-serif;\n  font-style: normal;\n}\nbody {\n  padding`
replace_string = 0000, `* {\n  font-family: Georgia;\n}\n*[qApp_localeName="ja_JP"] {\n  font-family: Sans-SerifJP, sans-serif;\n  font-style: normal;\n}\nbody {\n  padding: 0px;\n  margin: 0px;\n  line-height: 150%;\n  text-align: justify;\n}\nbody[qApp_deviceIsTrilogy=true] {\n  font-size: 20px;\n}\nbody[qApp_deviceIsPhoenix=true] {\n  font-size: 24px;\n}\nbody[qApp_deviceIsDragon=true] {\n  font-size: 29px;\n}\nbody[qApp_deviceIsDaylight=true] {\n  font-size: 38px;\n}`, `* {\n  font-family: Georgia;\n}\n*[qApp_localeName="ja_JP"] {\n  font-family: Sans-SerifJP, sans-serif;\n  font-style: normal;\n}\nbody {\n  padding: 0px;\n  margin: 0px;\n  line-height: 1.2em;\n text-align: justify;\n}\nbody[qApp_deviceIsTrilogy=true] {\n  font-size: 26px;\n}\nbody[qApp_deviceIsPhoenix=true] {\n  font-size: 30px;\n}\nbody[qApp_deviceIsDragon=true] {\n  font-size: 35px;\n}\nbody[qApp_deviceIsDaylight=true] {\n  font-size: 49px;\n}`
find_base_address = `YTouchLabel`
replace_string = 0000, `YTouchLabel {\n  border-top: 1px solid black;\n  qproperty-indent: 0;\n  qproperty-forceRepaintOnInvert: true;\n  qproperty-highQualityInvert: false;\n  font-family: Georgia;\n  font-style: italic;\n}\nTouchLabel[qApp_deviceIsTrilogy=true] {\n  font-size: 23px;\n}\nTouchLabel[qApp_deviceIsPhoenix=true] {\n  font-size: 26px;\n}\nTouchLabel[qApp_deviceIsDragon=true] {\n  font-size: 32px;\n}\nTouchLabel[qApp_deviceIsAlyssum=true] {\n  font-size: 35px;\n}\nTouchLabel[qApp_deviceIsDaylight=true] {\n  font-size: 42px;\n}\nTouchLabel[qApp_localeName="ja_JP"] {\n  font-family: Sans-SerifJP, sans-serif;\n  font-style: normal;\n}`, `YTouchLabel {\n  border-top: 1px solid black;\n  qproperty-indent: 0;\n  qproperty-forceRepaintOnInvert: true;\n  qproperty-highQualityInvert: true; \n  font-family: Georgia;\n  font-style: italic;\n}\nTouchLabel[qApp_deviceIsTrilogy=true] {\n  font-size: 29px;\n}\nTouchLabel[qApp_deviceIsPhoenix=true] {\n  font-size: 32px;\n}\nTouchLabel[qApp_deviceIsDragon=true] {\n  font-size: 41px;\n}\nTouchLabel[qApp_deviceIsAlyssum=true] {\n  font-size: 44px;\n}\nTouchLabel[qApp_deviceIsDaylight=true] {\n  font-size: 54px;\n}\nTouchLabel[qApp_localeName="ja_JP"] {\n  font-family: Sans-SerifJP, sans-serif;\n  font-style: normal;\n}`
</Patch>

libnickel.so.1.0.0.patch
Spoiler:
Code:
#__________________________ tshering's  BAD EYES __________________________


<Patch>
patch_name = `Dictionary, remove long winded closest match notification`
patch_enable = `yes`
# Version patch: 4.5.9587
#note=Idea by pakoe
#note=cf. https://www.mobileread.com/forums/showpost.php?p=3043631&postcount=111
find_base_address = `Your search`
replace_string = 0000, `Your search for &ldquo;%1&rdquo; did not match any words in the dictionary. The closest match was &ldquo;%2&rdquo;.`, `\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0`
</Patch>

<Patch>
patch_name = `tshering's BAD EYES unclassified, increased by 30% (ADAPTATION - libnickel)`
patch_enable = `yes`
# Version patch: 4.5.9587
find_base_address = `font-size: 20px;`
replace_string = 0000, `font-size: 20px;`, `font-size: 32px;`
find_base_address = `font-size: 48px;`
replace_string = 0000, `font-size: 48px;`, `font-size: 62px;`
find_base_address = `font-size: 26px;\nfont-family: Georgia;`
replace_string = 0000, `font-size: 26px;`, `font-size: 44px;`
find_base_address = `body {font`
replace_string = 0000, `body {font: %1px %3; line-height: 1.775em;}h1 {font: %2px %3; line-height: 1.775em; font-weight:bold;}h2 {font: %1px %3; line-height: 1.775em; font-weight:bold;}`, `body {font: 1em %3; line-height: 1.25em;}h1 {font: 1.6em %3; line-height: 1.750em; font-weight:bold;}h2 {font: 1.4em %3; line-height: 1.500em; font-weight:bold;}`
</Patch>
Has anybody else tested it on a Kobo Glo (Mark 4)?
drjd is offline   Reply With Quote
Old 08-07-2017, 03:07 AM   #38
drjd
The Couch Potato
drjd ought to be getting tired of karma fortunes by now.drjd ought to be getting tired of karma fortunes by now.drjd ought to be getting tired of karma fortunes by now.drjd ought to be getting tired of karma fortunes by now.drjd ought to be getting tired of karma fortunes by now.drjd ought to be getting tired of karma fortunes by now.drjd ought to be getting tired of karma fortunes by now.drjd ought to be getting tired of karma fortunes by now.drjd ought to be getting tired of karma fortunes by now.drjd ought to be getting tired of karma fortunes by now.drjd ought to be getting tired of karma fortunes by now.
 
drjd's Avatar
 
Posts: 34,509
Karma: 230999999
Join Date: Aug 2015
Device: Kobo Glo, Kobo Touch, Archos 9, Onyx Boox C67ML Carta
Quote:
Originally Posted by drjd View Post
Has anybody else tested it on a Kobo Glo (Mark 4)?
I tried tshering's Bad Eyes adaptation patch by jcn363 on my Kobo Glo FW 4.5.9587, There was no error in patching, but I don't see any effect on font sizes of menu/dictionary/etc.

Did I do something wrong?
drjd is offline   Reply With Quote
Old 08-07-2017, 12:33 PM   #39
jcn363
absolute beginner
jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.
 
jcn363's Avatar
 
Posts: 323
Karma: 1750999
Join Date: May 2017
Location: Go with the wind (43°19'17.7"N 2°00'19.4"W)
Device: ka1
Quote:
Originally Posted by drjd View Post
I tried tshering's Bad Eyes adaptation patch by jcn363 on my Kobo Glo FW 4.5.9587, There was no error in patching, but I don't see any effect on font sizes of menu/dictionary/etc.

Did I do something wrong?
Hi!
Do you apply both? (nickel and libnickel)
Do you change any value?
Anyway you have (atleast) these three patches:
  • Custom reading footer style
  • Custom synopsis/details line spacing and Custom synopsis/font size
  • Dictionary text font-family/font-size/line-height
Good luck!
jcn363 is offline   Reply With Quote
Old 08-07-2017, 01:09 PM   #40
jcn363
absolute beginner
jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.
 
jcn363's Avatar
 
Posts: 323
Karma: 1750999
Join Date: May 2017
Location: Go with the wind (43°19'17.7"N 2°00'19.4"W)
Device: ka1
Quote:
Originally Posted by mathil View Post
First of all, huge thanks to Geoff and oren64 for all you do! I can't imagine going back to using my reader unpatched

I asked this in the thread for the previous firmware, so I'll try again here: is there any way right now, or could a patch be written, to change the font used in footnote popups in the KEPUB renderer? With the newer interface they switched from Georgia to what I believe is Kobo Nickel (looks a lot like it anyway). With Georgia, it was possible to read medium-length notes easily inside the popup as the font itself and the line-height weresmall, but with Kobo Nickel not only is the font itself harder to read (IMO at least) but the line-height is huge, meaning that with any note longer than one sentence you get immediately redirected to the note's page. I *did* contact Kobo through the feedback section of their website but as it's not a bug I doubt it'll get much attention...
Did you meant something like this?
Attached Thumbnails
Click image for larger version

Name:	screen_003.png
Views:	280
Size:	228.5 KB
ID:	158303  
jcn363 is offline   Reply With Quote
Old 08-07-2017, 02:49 PM   #41
drjd
The Couch Potato
drjd ought to be getting tired of karma fortunes by now.drjd ought to be getting tired of karma fortunes by now.drjd ought to be getting tired of karma fortunes by now.drjd ought to be getting tired of karma fortunes by now.drjd ought to be getting tired of karma fortunes by now.drjd ought to be getting tired of karma fortunes by now.drjd ought to be getting tired of karma fortunes by now.drjd ought to be getting tired of karma fortunes by now.drjd ought to be getting tired of karma fortunes by now.drjd ought to be getting tired of karma fortunes by now.drjd ought to be getting tired of karma fortunes by now.
 
drjd's Avatar
 
Posts: 34,509
Karma: 230999999
Join Date: Aug 2015
Device: Kobo Glo, Kobo Touch, Archos 9, Onyx Boox C67ML Carta
Quote:
Originally Posted by jcn363 View Post
Hi!
Do you apply both? (nickel and libnickel)
Do you change any value?
Anyway you have (atleast) these three patches:
  • Custom reading footer style
  • Custom synopsis/details line spacing and Custom synopsis/font size
  • Dictionary text font-family/font-size/line-height
Good luck!
Ah.. thanks jcn363! I had forgotten to enable the other three patches. Now after enabling and applying, I can see the bigger fonts in dictionary view!

However, other than dictionary, I see no change in fonts of menus, book list, etc. Is it normal? I have not changed any values in any patch.

Last edited by drjd; 08-07-2017 at 02:51 PM.
drjd is offline   Reply With Quote
Old 08-08-2017, 01:45 PM   #42
jcn363
absolute beginner
jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.
 
jcn363's Avatar
 
Posts: 323
Karma: 1750999
Join Date: May 2017
Location: Go with the wind (43°19'17.7"N 2°00'19.4"W)
Device: ka1
Quote:
Originally Posted by drjd View Post
However, other than dictionary, I see no change in fonts of menus, book list, etc. Is it normal? I have not changed any values in any patch.
I don't have your model, but I've changed the ka1 values for my needs and it works. Perhaps you can try the same. If you need some advise...
Good luck!
jcn363 is offline   Reply With Quote
Old 08-08-2017, 02:12 PM   #43
drjd
The Couch Potato
drjd ought to be getting tired of karma fortunes by now.drjd ought to be getting tired of karma fortunes by now.drjd ought to be getting tired of karma fortunes by now.drjd ought to be getting tired of karma fortunes by now.drjd ought to be getting tired of karma fortunes by now.drjd ought to be getting tired of karma fortunes by now.drjd ought to be getting tired of karma fortunes by now.drjd ought to be getting tired of karma fortunes by now.drjd ought to be getting tired of karma fortunes by now.drjd ought to be getting tired of karma fortunes by now.drjd ought to be getting tired of karma fortunes by now.
 
drjd's Avatar
 
Posts: 34,509
Karma: 230999999
Join Date: Aug 2015
Device: Kobo Glo, Kobo Touch, Archos 9, Onyx Boox C67ML Carta
Quote:
Originally Posted by jcn363 View Post
I don't have your model, but I've changed the ka1 values for my needs and it works. Perhaps you can try the same. If you need some advise...
Good luck!
Ok, I'll try to play with the values, and let you know if need be. Thanks again, jcn363!
drjd is offline   Reply With Quote
Old 08-08-2017, 02:57 PM   #44
jcn363
absolute beginner
jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.
 
jcn363's Avatar
 
Posts: 323
Karma: 1750999
Join Date: May 2017
Location: Go with the wind (43°19'17.7"N 2°00'19.4"W)
Device: ka1
Quote:
Originally Posted by drjd View Post
Ok, I'll try to play with the values, and let you know if need be. Thanks again, jcn363!
You're welcome!
jcn363 is offline   Reply With Quote
Old 08-09-2017, 04:54 AM   #45
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
sickel reboot timeout patch

If your device spontaneously reboots for no apparent reason when opening a large or complicited KePub book, it might be that the operation is taking a bit longer than normal and the sickel watchdog thinks it is stuck.

This patch will increase the time limit before sickel acts from 10 seconds to 20 or 30 seconds, giving a bit more time for slow tasks to complete. It should work with all firmware versions from 4.3.8842 to 4.5.9587.

To install along with the other patches, create a new file named sickel.patch in the same directory as the other *.patch files, and copy the following into the new file:

Code:
<Patch>
patch_name = `sickel reboot timeout`
patch_enable = `yes`
#
## sickel reboots the device if 10 seconds pass without a ping.
## Enable this patch to increase that time limit to 20 or 30 seconds.
#
# 10sec --> 20sec
#replace_bytes = 32CA, 42 F2 10 71, 44 F6 20 61
#replace_bytes = 32DA, 42 F2 10 71, 44 F6 20 61
#replace_bytes = 33F0, 44 F6 20 61, 49 F6 40 41
#
# 10sec --> 30sec
replace_bytes = 32CA, 42 F2 10 71, 47 F2 30 51
replace_bytes = 32DA, 42 F2 10 71, 47 F2 30 51
replace_bytes = 33F0, 44 F6 20 61, 4E F6 60 21
</Patch>

Last edited by GeoffR; 08-09-2017 at 05:05 AM. Reason: clarifications
GeoffR is offline   Reply With Quote
Reply


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.3 GeoffR Kobo Developer's Corner 60 09-17-2015 05:35 PM
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.2.0 DNSB Kobo Developer's Corner 66 12-05-2014 07:28 AM


All times are GMT -4. The time now is 11:29 PM.


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