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 10-06-2017, 05:22 AM   #16
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,792
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 PioXX View Post
GeoffR, oren64 & jackie_w you are simply the best! Thanks a lot.
JSWolf is offline   Reply With Quote
Old 10-06-2017, 07:36 AM   #17
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 in post #1 to add the `ePub fixed/adjustable top/bottom margins` patch. Here it is if you want to copy and paste rather than download the attachment again:

`ePub fixed/adjustable top/bottom margins` (4.6.9660, libnickel.so.1.0.0.patch)
Spoiler:
Code:
<Patch>
patch_name = `ePub fixed/adjustable top/bottom margins`
patch_enable = `no`
# patch_group = `ePub padding-bottom alternatives`
#
## This patch sets the @page margin sizes in epubs, overriding any @page margin
## set in the book's CSS stylesheet (but not in the XPGT stylesheet, see below).
##
## By default the top and bottom margins are set to be adjustable, their size
## similar to the left/right margin size set by the adjustment slider. There
## are options to set the top and/or bottom margin to a fixed size instead.
##
## Note that @page margins are seperate from (and overlap) both the body margins
## set in the book and the left/right margins set from the adjustment slider,
## and are added to any page margins set in the Adobe XPGT stylesheet if the
## book has one (e.g. page-template.xpgt). For this reason you might want to
## consider using the Modify ePub Calibre plugin to remove any body margins and
## XPGT stylesheet margins before sideloading the book, or perhaps enabling the
## `Ignore ePub Adobe XPGT stylesheet (page-template.xpgt)` patch.
##
## Also note that a side-effect of this patch is that the body padding-bottom is
## removed from the built-in stylesheet, which means that there will no longer
## be a blank line added automatically at the end of chapters.
##
## See at the bottom of the patch for replacement values that can be used to
## tune the size of the margins to suit different devices and reading modes.
#
#
# Push an extra 8 bytes of scratch space onto the stack
replace_bytes = 4EA71C, C1 B0, C3 B0
replace_bytes = 4EA71E, 02 AF, 04 AF
# Save this value for the third stack argument of the following function call
replace_bytes = 4EAAB2, AD F8 04 20, 02 92 01 92
# getReadingLineHeight(...) --> getReadingLeftMargin(...)
replace_bytes = 4EAB04, AD F7 D6 EA, 8D F7 48 EE
# (Setup call to QString.arg)
replace_bytes = 4EAB08, 20 22 4F F0 FF 33, 00 23 01 22 0A 21
replace_bytes = 4EAB0E, 07 F1 58 09, 00 93 01 91
replace_bytes = 4EAB12, AD F8 04 20 00 93, 42 43 92 08 01 3A
replace_bytes = 4EAB18, 48 46 67 23, B8 BF 00 22
replace_bytes = 4EAB1C, 00 22 29 46, 1A A8 29 46
# QString.arg(double, ...) --> QString.arg(int64, ...)
replace_bytes = 4EAB20, 99 F7 E8 EA, 8D F7 8E E9
#
# (There wasn't room to load r9 above)
# mov r1,r9; --> adds r1,sp,#104
replace_bytes = 4EAB24, 49 46, 1A A9
# (Remember to pop scratch space if necessary)
#
#      padding-bottom: %1em !important;\n
# --> }@page{margin:%1px 00px %1px}body{
find_base_address = `\x20\0p\0a\0d\0d\0i\0n\0g\0-\0b\0o\0t\0t\0o\0m\0:\0 \0%\01\0e\0m\0 \0!\0i\0m\0p\0o\0r\0t\0a\0n\0t\0;\0\n\0`
replace_string = 0000, `\x20\0p\0a\0d\0d\0i\0n\0g\0-\0b\0o\0t\0t\0o\0m\0:\0 \0%\01\0e\0m\0 \0!\0i\0m\0p\0o\0r\0t\0a\0n\0t\0;\0\n\0`, `}\0@\0p\0a\0g\0e\0{\0m\0a\0r\0g\0i\0n\0:\0%\01\0p\0x\0 \00\00\0p\0x\0 \0%\01\0p\0x\0}\0b\0o\0d\0y\0{\0`
#
#
# *** Replacement values start here, don't change anything above ***
#
# Optional replacement value: Uncomment for a FIXED TOP MARGIN size in px,
# default 25px. Replacement value is margin size, two digits separated by \0
# (Leave commented out for an adjustable top margin.)
#replace_string = 001C, `%\01`, `2\05`
#
# Optional replacement value: Uncomment for a FIXED BOTTOM MARGIN size in px,
# default 00px. Replacement value is margin size, two digits separated by \0
# (Leave commented out for an adjustable bottom margin.)
#replace_string = 0030, `%\01`, `0\00`
#
# Optional replacement value: Uncomment to set the minimum LEFT/RIGHT MARGIN
# size in px, default 15px. (This margin will overlap the left/right margin
# set with the adjustment slider, not add to it.) Replacement value is margin
# size, two digits separated by \0
#replace_string = 0026, `0\00`, `1\05`
#
base_address = 000000
# Replacement value: Sets the step-size of the ADJUSTABLE top/bottom margin
# (if any) in quarter-pixels. These suggested values should be very close to
# the 1% step size of the left/right margins set by the slider. Larger values
# will make the top/bottom margins larger than the left/right margins.
# Suggested values:
#   24 (Touch/Mini), 30 (Glo/Aura/Aura2ed), 43 (AuraHD/H2O/GloHD), 56 (Aura One)
replace_int = 4EAB0A, 1, 30
#
# Replacement value: Set this to the size of the device's built-in top margin,
# in pixels. This value is subtracted from the adjustable top/bottom margin
# (if any) to compensate for any unremovable built-in top margin.
# Suggested values are:
#   0 For full-screen reading mode (fullScreenReading=true, all devices)
#  15 for normal reading mode (with custom or disabled footer, all devices)
replace_int = 4EAB16, 1, 0
</Patch>


The `Custom page refresh options` patch is not going to work with this firmware, will have to start from scratch with that one.
GeoffR is offline   Reply With Quote
Old 10-06-2017, 10:27 AM   #18
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
Sorry, I just realised that I had left the following patches enabled by default in nickel.patch:
* `Increasing The View Details Container`
* `New home screen increasing cover size`
* `Reading stats/Author name cut when the series is showing bug fix`
* `Increase size of chaper progress chart in Kepub`
* `Custom font to Collection and Authors names`

I've updated the attachement in post #1, there are now no patches enabled by default.
GeoffR is offline   Reply With Quote
Old 10-06-2017, 01:35 PM   #19
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
Patch: removing the recommended column from top row of home screen when less than 2 recent books

Spoiler:
Code:
<Patch>
patch_name = `Remove recommended column from top row of home screen when less than 2 recent books`
patch_enable = `no`
#
# 4.6.9960
#
# https://www.mobileread.com/forums/showpost.php?p=3589689&postcount=210
#
# Replaced: [qApp_isFontScaleLarge=true] #row1col2 { qproperty-visible: false;
#     With: #row1col2 { qproperty-visible: false !important;
#
replace_bytes = 4C2E68, 52 78 9C 9D 94 5D 4B C3, 52 78 9C 9D 94 51 4B C3
replace_bytes = 4C2E70, 30 14 86 EF FB 2B 0A DE, 30 14 85 DF FD 17 B2 57
replace_bytes = 4C2E78, 3A 68 D3 8F 75 1B 5E 88, 07 6D D2 76 59 8B 0F E2
replace_bytes = 4C2E80, 43 10 14 04 BD 13 91 AC, 10 04 05 41 DF 44 24 AB
replace_bytes = 4C2E88, 66 5D 20 4D BA B4 CE 0D, 59 17 68 93 2C 8D 73 43
replace_bytes = 4C2E90, D9 7F B7 5D A3 6B 93 2C, F6 DF ED 16 75 BD 25 E9
replace_bytes = 4C2E98, 59 77 25 BC 67 C9 F3 2C, AC 4F 85 93 E5 9E 6F F7
replace_bytes = 4C2EA0, E7 9D 57 39 C4 F4 8E D1, 9C 76 54 51 2E AE A5 30
replace_bytes = 4C2EA8, AA FE 83 F8 DB FA B6 28, CD 83 E9 E7 D5 95 52 AF
replace_bytes = 4C2EB0, 3E 3E D1 06 A7 E8 A1 7C, 6F 6C CD 73 76 5B 3F 69
replace_bytes = 4C2EB8, E5 98 B0 6C 77 53 F1 2F, 5E CA 62 7B 69 F4 3B 7B
replace_bytes = 4C2EC0, F4 EE FE 38 AE BB 2E 38, F9 5C 29 2D 15 D3 66 3B
replace_bytes = 4C2EC8, 2B 10 AF 76 23 82 96 D5, 2E D9 C2 DC 53 5D 70 91
replace_bytes = 4C2ED0, 13 E4 19 A6 53 17 C4 B3, A2 24 3B EA 9A 17 4B E7
replace_bytes = 4C2ED8, DE 8C E3 6C 75 72 58 B1, 81 91 EA 5B 9E B6 E5 B9
replace_bytes = 4C2EE0, E2 6F 34 91 46 0B 56 55, 34 46 56 AE 0B B5 A2 39
replace_bytes = 4C2EE8, 2C 3F 75 B0 2C 60 8A 69, 17 45 1A 06 D9 6E D4 43
replace_bytes = 4C2EF0, 36 75 7D 6F E6 EC 9D 2B, F8 B0 94 4C F0 4D 1F 21
replace_bytes = 4C2EF8, 83 F8 F3 8A 21 8A B7 56, F6 11 62 37 61 88 BC 88
replace_bytes = 4C2F00, F1 C0 24 2E 0F 3B E2 BE, D8 89 18 F5 23 CE 34 2D
replace_bytes = 4C2F08, EC D6 37 97 4F 1E CD 43, A4 E8 23 8C 03 0F 21 38
replace_bytes = 4C2F10, 9B F9 9C C3 8C 51 AB 78, 68 11 4E 02 1F 21 B8 F1
replace_bytes = 4C2F18, E4 19 C4 E5 61 57 7C EC, 43 88 4E 2C 71 46 B7 E5
replace_bytes = 4C2F20, 99 C4 E5 93 FF E2 C0 FA, DE B5 8F 31 89 3D 8C E0
replace_bytes = 4C2F28, E4 73 B8 23 8D 84 55 3D, E0 C8 88 90 97 11 DC F8
replace_bytes = 4C2F30, 8E 0C EA F2 B0 A3 0E 80, 65 4C 1A 46 2D 3F C2 9E
replace_bytes = 4C2F38, 51 5D 3E 79 54 8F 0F EA, 06 5E EC 7F 80 FA 2A 5A
replace_bytes = 4C2F40, 9C 7D FB 86 76 5F 1F 3E, D1 CD 78 C9 F6 74 29 22
replace_bytes = 4C2F48, 01 6C FD CF E1 76 B4 42, 81 DA 64 15 17 50 70 99
replace_bytes = 4C2F50, 8D 71 7D 71 E2 15 DB 06, 80 12 B9 4C 60 CB 5A 26
replace_bytes = 4C2F58, 9A 63 2A 87 5A 60 AF 95, 38 4A A0 89 15 5C 26 ED
replace_bytes = 4C2F60, 5A A0 DA DB 2E 30 08 63, 1A B8 3C 40 4D 5A 16 11
replace_bytes = 4C2F68, 15 28 42 2D B0 5B 26 2D, 21 D0 C2 0A 4E 0B 90 A3
replace_bytes = 4C2F70, 4F 69 5B 17 17 26 89 8A, D3 04 26 DD B2 49 70 04
replace_bytes = 4C2F78, 13 A1 1E D7 AB 80 1E A8, 6D AC B0 3B B3 03 78 7D
replace_bytes = 4C2F80, B6 A4 8B 8C 83 50 45 8A, D3 74 E7 31 A7 25 BB 6B
replace_bytes = 4C2F88, 70 EF B4 57 E1 F2 BE 6E, 52 64 76 C0 A9 C0 C0 AA
replace_bytes = 4C2F90, E0 4B 0A 09 7A AC 77 8F, A6 A8 B3 AA 83 30 D8 C0
replace_bytes = 4C2F98, C4 55 B6 05 AB AF 39 01, 9B 45 44 A2 EE A2 FE F5
replace_bytes = 4C2FA0, 9A D7 6C C3 E1 2C F3 E6, 0F 7C 41 24 04 77 36 74
replace_bytes = 4C2FA8, C2 44 F3 BD 44 38 9C 65, 10 86 CF F7 66 40 C8 04
replace_bytes = 4C2FB0, DC 5A 9C 04 9A 27 6C C3, 3A 58 E1 B4 C3 5F DF 89
replace_bytes = 4C2FB8, 0B 50 E6 7D 25 C9 58 85, 30 EC 64 60 85 C1 06 DE
replace_bytes = 4C2FC0, 89 F0 0C D8 A0 9F 9B EF, 0C 42 DC 29 AB 15 06 1B
replace_bytes = 4C2FC8, 6B F6 25 C2 E1 2C F3 BE, F8 32 08 A7 71 67 FE 41
replace_bytes = 4C2FD0, FC 40 53 7D 11 0E 67 19, 18 3E DF 9B 01 8A 3B 29
replace_bytes = 4C2FD8, F7 E5 4F 22 0D AA 0D 2F, 5B C1 BE 6E B9 2C 51 EB
replace_bytes = 4C2FE0, 40 99 F7 05 22 4D 39 44, F3 B8 E6 35 9F 97 2C 5D
replace_bytes = 4C2FE8, 78 4E 39 52 46 80 F4 AF, D0 B2 66 E7 BC 52 52 1B
replace_bytes = 4C2FF0, 7D 83 4B BC 20 68 EA 2E, 2A 4C B6 FB 02 AD 40 C1
replace_bytes = 4C2FF8, 21 29 51 73 CD 2F 56 AD, 7A 00 00 00 00 00 00 00
replace_bytes = 4C3000, DF 75 00 00 00 C8 00 00, 00 00 00 00 00 C8 00 00
</Patch>
geek1011 is offline   Reply With Quote
Old 10-06-2017, 01:44 PM   #20
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,636
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
Yeeeeeeees. I'm going to patch. Thank you very much.
Terisa de morgan is offline   Reply With Quote
Old 10-06-2017, 02:27 PM   #21
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,792
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 geek1011 View Post
Patch: removing the recommended column from top row of home screen when less than 2 recent books

Spoiler:
Code:
<Patch>
patch_name = `Remove recommended column from top row of home screen when less than 2 recent books`
patch_enable = `no`
#
# 4.6.9960
#
# https://www.mobileread.com/forums/showpost.php?p=3589689&postcount=210
#
# Replaced: [qApp_isFontScaleLarge=true] #row1col2 { qproperty-visible: false;
#     With: #row1col2 { qproperty-visible: false !important;
#
replace_bytes = 4C2E68, 52 78 9C 9D 94 5D 4B C3, 52 78 9C 9D 94 51 4B C3
replace_bytes = 4C2E70, 30 14 86 EF FB 2B 0A DE, 30 14 85 DF FD 17 B2 57
replace_bytes = 4C2E78, 3A 68 D3 8F 75 1B 5E 88, 07 6D D2 76 59 8B 0F E2
replace_bytes = 4C2E80, 43 10 14 04 BD 13 91 AC, 10 04 05 41 DF 44 24 AB
replace_bytes = 4C2E88, 66 5D 20 4D BA B4 CE 0D, 59 17 68 93 2C 8D 73 43
replace_bytes = 4C2E90, D9 7F B7 5D A3 6B 93 2C, F6 DF ED 16 75 BD 25 E9
replace_bytes = 4C2E98, 59 77 25 BC 67 C9 F3 2C, AC 4F 85 93 E5 9E 6F F7
replace_bytes = 4C2EA0, E7 9D 57 39 C4 F4 8E D1, 9C 76 54 51 2E AE A5 30
replace_bytes = 4C2EA8, AA FE 83 F8 DB FA B6 28, CD 83 E9 E7 D5 95 52 AF
replace_bytes = 4C2EB0, 3E 3E D1 06 A7 E8 A1 7C, 6F 6C CD 73 76 5B 3F 69
replace_bytes = 4C2EB8, E5 98 B0 6C 77 53 F1 2F, 5E CA 62 7B 69 F4 3B 7B
replace_bytes = 4C2EC0, F4 EE FE 38 AE BB 2E 38, F9 5C 29 2D 15 D3 66 3B
replace_bytes = 4C2EC8, 2B 10 AF 76 23 82 96 D5, 2E D9 C2 DC 53 5D 70 91
replace_bytes = 4C2ED0, 13 E4 19 A6 53 17 C4 B3, A2 24 3B EA 9A 17 4B E7
replace_bytes = 4C2ED8, DE 8C E3 6C 75 72 58 B1, 81 91 EA 5B 9E B6 E5 B9
replace_bytes = 4C2EE0, E2 6F 34 91 46 0B 56 55, 34 46 56 AE 0B B5 A2 39
replace_bytes = 4C2EE8, 2C 3F 75 B0 2C 60 8A 69, 17 45 1A 06 D9 6E D4 43
replace_bytes = 4C2EF0, 36 75 7D 6F E6 EC 9D 2B, F8 B0 94 4C F0 4D 1F 21
replace_bytes = 4C2EF8, 83 F8 F3 8A 21 8A B7 56, F6 11 62 37 61 88 BC 88
replace_bytes = 4C2F00, F1 C0 24 2E 0F 3B E2 BE, D8 89 18 F5 23 CE 34 2D
replace_bytes = 4C2F08, EC D6 37 97 4F 1E CD 43, A4 E8 23 8C 03 0F 21 38
replace_bytes = 4C2F10, 9B F9 9C C3 8C 51 AB 78, 68 11 4E 02 1F 21 B8 F1
replace_bytes = 4C2F18, E4 19 C4 E5 61 57 7C EC, 43 88 4E 2C 71 46 B7 E5
replace_bytes = 4C2F20, 99 C4 E5 93 FF E2 C0 FA, DE B5 8F 31 89 3D 8C E0
replace_bytes = 4C2F28, E4 73 B8 23 8D 84 55 3D, E0 C8 88 90 97 11 DC F8
replace_bytes = 4C2F30, 8E 0C EA F2 B0 A3 0E 80, 65 4C 1A 46 2D 3F C2 9E
replace_bytes = 4C2F38, 51 5D 3E 79 54 8F 0F EA, 06 5E EC 7F 80 FA 2A 5A
replace_bytes = 4C2F40, 9C 7D FB 86 76 5F 1F 3E, D1 CD 78 C9 F6 74 29 22
replace_bytes = 4C2F48, 01 6C FD CF E1 76 B4 42, 81 DA 64 15 17 50 70 99
replace_bytes = 4C2F50, 8D 71 7D 71 E2 15 DB 06, 80 12 B9 4C 60 CB 5A 26
replace_bytes = 4C2F58, 9A 63 2A 87 5A 60 AF 95, 38 4A A0 89 15 5C 26 ED
replace_bytes = 4C2F60, 5A A0 DA DB 2E 30 08 63, 1A B8 3C 40 4D 5A 16 11
replace_bytes = 4C2F68, 15 28 42 2D B0 5B 26 2D, 21 D0 C2 0A 4E 0B 90 A3
replace_bytes = 4C2F70, 4F 69 5B 17 17 26 89 8A, D3 04 26 DD B2 49 70 04
replace_bytes = 4C2F78, 13 A1 1E D7 AB 80 1E A8, 6D AC B0 3B B3 03 78 7D
replace_bytes = 4C2F80, B6 A4 8B 8C 83 50 45 8A, D3 74 E7 31 A7 25 BB 6B
replace_bytes = 4C2F88, 70 EF B4 57 E1 F2 BE 6E, 52 64 76 C0 A9 C0 C0 AA
replace_bytes = 4C2F90, E0 4B 0A 09 7A AC 77 8F, A6 A8 B3 AA 83 30 D8 C0
replace_bytes = 4C2F98, C4 55 B6 05 AB AF 39 01, 9B 45 44 A2 EE A2 FE F5
replace_bytes = 4C2FA0, 9A D7 6C C3 E1 2C F3 E6, 0F 7C 41 24 04 77 36 74
replace_bytes = 4C2FA8, C2 44 F3 BD 44 38 9C 65, 10 86 CF F7 66 40 C8 04
replace_bytes = 4C2FB0, DC 5A 9C 04 9A 27 6C C3, 3A 58 E1 B4 C3 5F DF 89
replace_bytes = 4C2FB8, 0B 50 E6 7D 25 C9 58 85, 30 EC 64 60 85 C1 06 DE
replace_bytes = 4C2FC0, 89 F0 0C D8 A0 9F 9B EF, 0C 42 DC 29 AB 15 06 1B
replace_bytes = 4C2FC8, 6B F6 25 C2 E1 2C F3 BE, F8 32 08 A7 71 67 FE 41
replace_bytes = 4C2FD0, FC 40 53 7D 11 0E 67 19, 18 3E DF 9B 01 8A 3B 29
replace_bytes = 4C2FD8, F7 E5 4F 22 0D AA 0D 2F, 5B C1 BE 6E B9 2C 51 EB
replace_bytes = 4C2FE0, 40 99 F7 05 22 4D 39 44, F3 B8 E6 35 9F 97 2C 5D
replace_bytes = 4C2FE8, 78 4E 39 52 46 80 F4 AF, D0 B2 66 E7 BC 52 52 1B
replace_bytes = 4C2FF0, 7D 83 4B BC 20 68 EA 2E, 2A 4C B6 FB 02 AD 40 C1
replace_bytes = 4C2FF8, 21 29 51 73 CD 2F 56 AD, 7A 00 00 00 00 00 00 00
replace_bytes = 4C3000, DF 75 00 00 00 C8 00 00, 00 00 00 00 00 C8 00 00
</Patch>
Which patch file does this go in?
JSWolf is offline   Reply With Quote
Old 10-06-2017, 02:36 PM   #22
oren64
I need a chapter break
oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.
 
oren64's Avatar
 
Posts: 4,042
Karma: 56058267
Join Date: Mar 2015
Location: Israel
Device: Kobo Glo
Quote:
Originally Posted by geek1011 View Post
Patch: removing the recommended column from top row of home screen when less than 2 recent books

Spoiler:
Code:
<Patch>
patch_name = `Remove recommended column from top row of home screen when less than 2 recent books`
patch_enable = `no`
#
# 4.6.9960
#
# https://www.mobileread.com/forums/showpost.php?p=3589689&postcount=210
#
# Replaced: [qApp_isFontScaleLarge=true] #row1col2 { qproperty-visible: false;
#     With: #row1col2 { qproperty-visible: false !important;
#
replace_bytes = 4C2E68, 52 78 9C 9D 94 5D 4B C3, 52 78 9C 9D 94 51 4B C3
replace_bytes = 4C2E70, 30 14 86 EF FB 2B 0A DE, 30 14 85 DF FD 17 B2 57
replace_bytes = 4C2E78, 3A 68 D3 8F 75 1B 5E 88, 07 6D D2 76 59 8B 0F E2
replace_bytes = 4C2E80, 43 10 14 04 BD 13 91 AC, 10 04 05 41 DF 44 24 AB
replace_bytes = 4C2E88, 66 5D 20 4D BA B4 CE 0D, 59 17 68 93 2C 8D 73 43
replace_bytes = 4C2E90, D9 7F B7 5D A3 6B 93 2C, F6 DF ED 16 75 BD 25 E9
replace_bytes = 4C2E98, 59 77 25 BC 67 C9 F3 2C, AC 4F 85 93 E5 9E 6F F7
replace_bytes = 4C2EA0, E7 9D 57 39 C4 F4 8E D1, 9C 76 54 51 2E AE A5 30
replace_bytes = 4C2EA8, AA FE 83 F8 DB FA B6 28, CD 83 E9 E7 D5 95 52 AF
replace_bytes = 4C2EB0, 3E 3E D1 06 A7 E8 A1 7C, 6F 6C CD 73 76 5B 3F 69
replace_bytes = 4C2EB8, E5 98 B0 6C 77 53 F1 2F, 5E CA 62 7B 69 F4 3B 7B
replace_bytes = 4C2EC0, F4 EE FE 38 AE BB 2E 38, F9 5C 29 2D 15 D3 66 3B
replace_bytes = 4C2EC8, 2B 10 AF 76 23 82 96 D5, 2E D9 C2 DC 53 5D 70 91
replace_bytes = 4C2ED0, 13 E4 19 A6 53 17 C4 B3, A2 24 3B EA 9A 17 4B E7
replace_bytes = 4C2ED8, DE 8C E3 6C 75 72 58 B1, 81 91 EA 5B 9E B6 E5 B9
replace_bytes = 4C2EE0, E2 6F 34 91 46 0B 56 55, 34 46 56 AE 0B B5 A2 39
replace_bytes = 4C2EE8, 2C 3F 75 B0 2C 60 8A 69, 17 45 1A 06 D9 6E D4 43
replace_bytes = 4C2EF0, 36 75 7D 6F E6 EC 9D 2B, F8 B0 94 4C F0 4D 1F 21
replace_bytes = 4C2EF8, 83 F8 F3 8A 21 8A B7 56, F6 11 62 37 61 88 BC 88
replace_bytes = 4C2F00, F1 C0 24 2E 0F 3B E2 BE, D8 89 18 F5 23 CE 34 2D
replace_bytes = 4C2F08, EC D6 37 97 4F 1E CD 43, A4 E8 23 8C 03 0F 21 38
replace_bytes = 4C2F10, 9B F9 9C C3 8C 51 AB 78, 68 11 4E 02 1F 21 B8 F1
replace_bytes = 4C2F18, E4 19 C4 E5 61 57 7C EC, 43 88 4E 2C 71 46 B7 E5
replace_bytes = 4C2F20, 99 C4 E5 93 FF E2 C0 FA, DE B5 8F 31 89 3D 8C E0
replace_bytes = 4C2F28, E4 73 B8 23 8D 84 55 3D, E0 C8 88 90 97 11 DC F8
replace_bytes = 4C2F30, 8E 0C EA F2 B0 A3 0E 80, 65 4C 1A 46 2D 3F C2 9E
replace_bytes = 4C2F38, 51 5D 3E 79 54 8F 0F EA, 06 5E EC 7F 80 FA 2A 5A
replace_bytes = 4C2F40, 9C 7D FB 86 76 5F 1F 3E, D1 CD 78 C9 F6 74 29 22
replace_bytes = 4C2F48, 01 6C FD CF E1 76 B4 42, 81 DA 64 15 17 50 70 99
replace_bytes = 4C2F50, 8D 71 7D 71 E2 15 DB 06, 80 12 B9 4C 60 CB 5A 26
replace_bytes = 4C2F58, 9A 63 2A 87 5A 60 AF 95, 38 4A A0 89 15 5C 26 ED
replace_bytes = 4C2F60, 5A A0 DA DB 2E 30 08 63, 1A B8 3C 40 4D 5A 16 11
replace_bytes = 4C2F68, 15 28 42 2D B0 5B 26 2D, 21 D0 C2 0A 4E 0B 90 A3
replace_bytes = 4C2F70, 4F 69 5B 17 17 26 89 8A, D3 04 26 DD B2 49 70 04
replace_bytes = 4C2F78, 13 A1 1E D7 AB 80 1E A8, 6D AC B0 3B B3 03 78 7D
replace_bytes = 4C2F80, B6 A4 8B 8C 83 50 45 8A, D3 74 E7 31 A7 25 BB 6B
replace_bytes = 4C2F88, 70 EF B4 57 E1 F2 BE 6E, 52 64 76 C0 A9 C0 C0 AA
replace_bytes = 4C2F90, E0 4B 0A 09 7A AC 77 8F, A6 A8 B3 AA 83 30 D8 C0
replace_bytes = 4C2F98, C4 55 B6 05 AB AF 39 01, 9B 45 44 A2 EE A2 FE F5
replace_bytes = 4C2FA0, 9A D7 6C C3 E1 2C F3 E6, 0F 7C 41 24 04 77 36 74
replace_bytes = 4C2FA8, C2 44 F3 BD 44 38 9C 65, 10 86 CF F7 66 40 C8 04
replace_bytes = 4C2FB0, DC 5A 9C 04 9A 27 6C C3, 3A 58 E1 B4 C3 5F DF 89
replace_bytes = 4C2FB8, 0B 50 E6 7D 25 C9 58 85, 30 EC 64 60 85 C1 06 DE
replace_bytes = 4C2FC0, 89 F0 0C D8 A0 9F 9B EF, 0C 42 DC 29 AB 15 06 1B
replace_bytes = 4C2FC8, 6B F6 25 C2 E1 2C F3 BE, F8 32 08 A7 71 67 FE 41
replace_bytes = 4C2FD0, FC 40 53 7D 11 0E 67 19, 18 3E DF 9B 01 8A 3B 29
replace_bytes = 4C2FD8, F7 E5 4F 22 0D AA 0D 2F, 5B C1 BE 6E B9 2C 51 EB
replace_bytes = 4C2FE0, 40 99 F7 05 22 4D 39 44, F3 B8 E6 35 9F 97 2C 5D
replace_bytes = 4C2FE8, 78 4E 39 52 46 80 F4 AF, D0 B2 66 E7 BC 52 52 1B
replace_bytes = 4C2FF0, 7D 83 4B BC 20 68 EA 2E, 2A 4C B6 FB 02 AD 40 C1
replace_bytes = 4C2FF8, 21 29 51 73 CD 2F 56 AD, 7A 00 00 00 00 00 00 00
replace_bytes = 4C3000, DF 75 00 00 00 C8 00 00, 00 00 00 00 00 C8 00 00
</Patch>
This patch is on the same CSS stream as the patch `New home screen increasing cover size`, they can not work together they have the same address.

I can add line to my patch if you like.


Quote:
Originally Posted by JSWolf View Post
Which patch file does this go in?
nickel.patch.

Last edited by oren64; 10-06-2017 at 04:16 PM.
oren64 is offline   Reply With Quote
Old 10-06-2017, 03:50 PM   #23
adamslast
Member
adamslast knows the complete value of PI to the endadamslast knows the complete value of PI to the endadamslast knows the complete value of PI to the endadamslast knows the complete value of PI to the endadamslast knows the complete value of PI to the endadamslast knows the complete value of PI to the endadamslast knows the complete value of PI to the endadamslast knows the complete value of PI to the endadamslast knows the complete value of PI to the endadamslast knows the complete value of PI to the endadamslast knows the complete value of PI to the end
 
Posts: 16
Karma: 31064
Join Date: Oct 2014
Device: Kobo Aura 6", Kobo Aura One
Quote:
Originally Posted by geek1011 View Post
Patch: removing the recommended column from top row of home screen when less than 2 recent books
I tried the patch but batch file did not accept saying there is a replacement error in the first line of text. I think it was because i applied it with `New home screen increasing cover size`together.

Last edited by adamslast; 10-06-2017 at 03:53 PM.
adamslast is offline   Reply With Quote
Old 10-06-2017, 04:28 PM   #24
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,636
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
Quote:
Originally Posted by oren64 View Post
This patch is on the same CSS stream as the patch `New home screen increasing cover size`, they can not work together they have the same address.
Thank you for the warning.

Pdta: And the other thread

Last edited by Terisa de morgan; 10-06-2017 at 04:51 PM. Reason: I got it!
Terisa de morgan is offline   Reply With Quote
Old 10-06-2017, 04:55 PM   #25
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,636
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
But it doesn't work all the time The first time after loading the patch, the col dissapear, after you have added a book to that zone and you remove it, the recommendations appear again.
Terisa de morgan is offline   Reply With Quote
Old 10-06-2017, 07:35 PM   #26
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 Terisa de morgan View Post
But it doesn't work all the time The first time after loading the patch, the col dissapear, after you have added a book to that zone and you remove it, the recommendations appear again.
Really? I don't have that issue.
geek1011 is offline   Reply With Quote
Old 10-07-2017, 12:47 AM   #27
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,636
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
yes, really, when I add a book and remove it later, the recommendations appear again,
Terisa de morgan is offline   Reply With Quote
Old 10-07-2017, 03:12 AM   #28
oren64
I need a chapter break
oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.
 
oren64's Avatar
 
Posts: 4,042
Karma: 56058267
Join Date: Mar 2015
Location: Israel
Device: Kobo Glo
Quote:
Originally Posted by geek1011 View Post
Really? I don't have that issue.
Quote:
Originally Posted by Terisa de morgan View Post
yes, really, when I add a book and remove it later, the recommendations appear again,
Add the code to stream 106 in the file nickel-modified.css.

Code:
#row1col2 {
  qproperty-visible: false;
}
It will remove the second column in row one.

"FontScaleLarge" in code belong to the new feature in Beta Features, Large Print Mode.

In my device the second column show the author collection of reading book, so I'm not interesting to remove it.
oren64 is offline   Reply With Quote
Old 10-07-2017, 03:28 AM   #29
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,636
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
Quote:
Originally Posted by oren64 View Post
Add the code to stream 106 in the file nickel-modified.css.

Code:
#row1col2 {
  qproperty-visible: false;
}
It will remove the second column in row one.

"FontScaleLarge" in code belong to the new feature in Beta Features, Large Print Mode.

In my device the second column show the author collection of reading book, so I'm not interesting to remove it.
Thank you, I'll try. In my device, I'm not able it to show a collection so I'm stuck with recommendations.
Terisa de morgan is offline   Reply With Quote
Old 10-07-2017, 04:21 AM   #30
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,636
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
Tried, I was hopeful because I had forgotten ";" the first time, but it has happened again. Only with row1col2, when the ereader start is ok but, if I increase the list, so that area disappears itself, when I decrease the list the recommendations are there. It looks like it only affects the first time, and it's overriden later.
Terisa de morgan is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Instructions for patching firmware 3.17.3 GeoffR Kobo Developer's Corner 60 09-17-2015 05:35 PM
Instructions for patching firmware 3.16.10 GeoffR Kobo Developer's Corner 12 08-14-2015 03:40 AM
Instructions for patching firmware 3.11.0 GeoffR Kobo Developer's Corner 226 06-01-2015 05:32 AM
Instructions for patching firmware 3.8.0 GeoffR Kobo Developer's Corner 92 10-22-2014 07:22 AM
Instructions for patching firmware 3.3.x, 3.4.x, 3.5.x GeoffR Kobo Developer's Corner 285 08-27-2014 10:06 AM


All times are GMT -4. The time now is 09:43 AM.


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