Kobo Patcher

Martina Schein

Freizeit-Nerd-Grufti
Also wenn mein Paperwhite das unterstützen würde, würde ich in jedem Fall Calibre werkeln lassen. So habe ich immer nur eine geringe Anzahl an Büchern auf dem Reader. Eines der Dinge die mich wirklich stören am PW 😓
Das würde mich ebenfalls ganz extrem stören und wäre auch ein Ausschlussgrund für diesen Reader (für mich). Nachdem ich Calibre schätzen gelernt habe, möchte ich es absolut nicht mehr missen.


Daher kommt für mich auch immer nur Reader in Betracht, der die Sammlungen und/oder Serienfunktion, die akribisch von mir gepflegt werden, unterstützen.


Auch habe ich bei mir festgestellt, dass je länger ich es nutze, ich immer mehr Funktionen und Plugins entdecke, die ich als sinnvoll erachte, z.B. ›Count Pages‹ oder Erstellung eigener Splalten, oder wie aktuell die Beschäftigung mit dem Editor, etc. etc. etc.
 

Alaska

New member
Bei den Epubs kann ich in der Fußzeile nur zwischen Prozentangabe und Seiten/Buch wechseln. Ich würde lieber Seiten/Kapitel angezeigt bekommen. Gibt es eine Möglichkeit, das zu korrigieren?


H2O, 3.11.
 

Alaska

New member
Nein gibt es nicht. Die Kapitelanzeige gibt es nur in kepubs, jedoch nicht in ePubs.

Danke und schade, aber kommt ja vielleicht noch.


Ich habe die Fußzeile aktiviert und möchte den Rand etwas nach unten verschieben. Welchen Patch muss ich da aktivieren, bzw. verändern?
 
Zuletzt bearbeitet von einem Moderator:

Martina Schein

Freizeit-Nerd-Grufti
Ich habe die Fußzeile aktiviert und möchte Rand etwas nach unten verschieben. Welchen Patch muss ich da aktivieren, bzw. verändern?
Wenn Du die Fußzeile angezeigt bekommen möchtest, musst Du hier in die ersten beiden Patches der Datei »libnickel.so.1.0.0.patch« eingreifen.


patch_enable = `no`

<Patch>
patch_name = `Disable reading footer`
patch_enable = `no`
replace_string = DBDBFC, `ReadingFooter {\\n\\tmin-height: 70px;\\n\\tmax-height: 70px;\\n\\tqproperty-footerMargin: 105;\\n}\\n\\nReadingFooter[qApp_deviceCodeName=\'phoenix\'] {\\n\\tmin-height: 82px;\\n\\tmax-height: 82px;\\n}\\n\\nReadingFooter[qApp_deviceCodeName=\'dragon\'] {\\n\\tmin-height: 120px;\\n\\tmax-height: 120px;\\n\\tqproperty-footerMargin: 170;\\n}\\n\\n* {\\n\\tfont-size: 16px;\\n}\\n\\n[qApp_deviceCodeName=\'phoenix\'] {\\n\\tfont-size: 20px;\\n}\\n\\n[qApp_deviceCodeName=\'dragon\'] {\\n\\tfont-size: 26px;\\n}\\n\\n[qApp_localeName=\'ja_JP\'] {\\n\\tfont-family: A-OTF Gothic MB101 Pr6N;\\n}`, `* {\\n\\theight: 5px;\\n\\tfont-size: 1px;\\n\\tcolor: transparent;\\n}\\n\\n`
</Patch>




patch_enable = `yes`

<Patch>
patch_name = `Custom reading footer style`
patch_enable = `yes`
replace_string = DBDBFC, `ReadingFooter {\\n\\tmin-height: 70px;\\n\\tmax-height: 70px;\\n\\tqproperty-footerMargin: 105;\\n}\\n\\nReadingFooter[qApp_deviceCodeName=\'phoenix\'] {\\n\\tmin-height: 82px;\\n\\tmax-height: 82px;\\n}\\n\\nReadingFooter[qApp_deviceCodeName=\'dragon\'] {\\n\\tmin-height: 120px;\\n\\tmax-height: 120px;\\n\\tqproperty-footerMargin: 170;\\n}\\n\\n* {\\n\\tfont-size: 16px;\\n}\\n\\n[qApp_deviceCodeName=\'phoenix\'] {\\n\\tfont-size: 20px;\\n}\\n\\n[qApp_deviceCodeName=\'dragon\'] {\\n\\tfont-size: 26px;\\n}\\n\\n[qApp_localeName=\'ja_JP\'] {\\n\\tfont-family: A-OTF Gothic MB101 Pr6N;\\n}`, `ReadingFooter {\\n\\tmin-height: 70px;\\n\\tmax-height: 70px;\\n\\tqproperty-footerMargin: 105;\\n}\\n\\n* {\\n\\tfont-size: 16px;\\n\\tpadding-bottom: 0px;\\n\\tmargin-top: 0px;\\n\\t/*font-family:none;*/\\n}\\n\\n[qApp_localeName=\'ja_JP\'] {\\n\\tfont-family: A-OTF Gothic MB101 Pr6N;\\n}`
#
# Uncomment the replace_string lines of one of the examples below, comment out
# the rest. If you choose to make further changes to the examples, BE CAREFUL
# NOT TO ALTER THE LENGTH OF THE REPLACEMENT STRINGS! (Add or remove spaces if
# necessary to keep the total length the same.)
#
# Example for Touch/Mini:
#replace_string = DBDC0D, `min-height: 70px;`, `min-height: 32px;`
#replace_string = DBDC20, `max-height: 70px;`, `max-height: 32px;`
#replace_string = DBDC3D, `footerMargin: 105;`, `footerMargin: 105;`
#replace_string = DBDC58, `font-size: 16px;`, `font-size: 16px;`
#replace_string = DBDC6A, `padding-bottom: 0px;`, `padding-bottom: 4px;`
#replace_string = DBDC80, `margin-top: 0px;`, `margin-top: 0px;`
#
# Example for Glo/Aura:
#replace_string = DBDC0D, `min-height: 70px;`, `min-height: 40px;`
#replace_string = DBDC20, `max-height: 70px;`, `max-height: 40px;`
#replace_string = DBDC3D, `footerMargin: 105;`, `footerMargin: 105;`
#replace_string = DBDC58, `font-size: 16px;`, `font-size: 20px;`
#replace_string = DBDC6A, `padding-bottom: 0px;`, `padding-bottom: 5px;`
#replace_string = DBDC80, `margin-top: 0px;`, `margin-top: 0px;`
#
# Example for AuraHD/H2O:
#replace_string = DBDC0D, `min-height: 70px;`, `min-height: 50px;`
#replace_string = DBDC20, `max-height: 70px;`, `max-height: 50px;`
#replace_string = DBDC3D, `footerMargin: 105;`, `footerMargin: 170;`
#replace_string = DBDC58, `font-size: 16px;`, `font-size: 26px;`
#replace_string = DBDC6A, `padding-bottom: 0px;`, `padding-bottom: 8px;`
#replace_string = DBDC80, `margin-top: 0px;`, `margin-top: 0px;`
#
# My Aura H2O:
replace_string = DBDC0D, `min-height: 70px;`, `min-height: 40px;`
replace_string = DBDC20, `max-height: 70px;`, `max-height: 40px;`
replace_string = DBDC3D, `footerMargin: 105;`, `footerMargin: 040;`
replace_string = DBDC58, `font-size: 16px;`, `font-size: 26px;`
replace_string = DBDC6A, `padding-bottom: 0px;`, `padding-bottom: 12px;`
replace_string = DBDC80, `margin-top: 0px;`, `margin-top: -5px;`
#
# Uncomment one of the following if you wish the footer to use a fixed font.
# (And enable one of the Custom header style patches below with the same font.)
#
#replace_string = DBDC92, `/*font-family:none;*/`, `font-family: Amasis;`
#replace_string = DBDC92, `/*font-family:none;*/`, `font-family: Avenir;`
#replace_string = DBDC92, `/*font-family:none;*/`, `font-family: Georgia;`
#
</Patch>


In dem Bereich


»»»
# My Aura H2O:
replace_string = DBDC0D, `min-height: 70px;`, `min-height: 40px;`
replace_string = DBDC20, `max-height: 70px;`, `max-height: 40px;`
replace_string = DBDC3D, `footerMargin: 105;`, `footerMargin: 040;`
replace_string = DBDC58, `font-size: 16px;`, `font-size: 26px;`
replace_string = DBDC6A, `padding-bottom: 0px;`, `padding-bottom: 12px;`
replace_string = DBDC80, `margin-top: 0px;`, `margin-top: -5px;`

«««


kannst Du die px-Werte der hinteren Spalte verändern, so wie ich es bereits getan habe. Hier muss man einfach ausprobieren, was einem am besten gefällt.
 
Zuletzt bearbeitet von einem Moderator:

Alaska

New member
Beim Patch `Custom reading footer style` hat Du bei den Werten für den Kobo Glo und für den H2O die Rauten entfernt. Reicht da nicht einer?
 

Martina Schein

Freizeit-Nerd-Grufti
Beim Patch `Custom reading footer style` hat Du bei den Werten für den Kobo Glo und für den H2O die Rauten entfernt. Reicht da nicht einer?
Stimmt, beim Glo kannst Du die Rauten wieder reinmachen. Bei mir steht dieser Patch allerdings auf no und der obere auf yes, daher spielt es keine Rolle. Ich werde dies oben eben ändern, damit andere, die das auch lesen, nicht irritiert werden. Danke für den Hinweis.
 

Alaska

New member
Ich bekomme folgende Fehlermeldung:
Bildschirmfoto 2014-11-09 um 14.32.25.png


Hier die libnickel.so.1.0.0:


# libnickel.so.1.0.0 in firmware 3.11.0 (4d8eac1207)

#
# The following two patches are alternatives, don\'t enable both at once.
#

<Patch>
patch_name = `Disable reading footer`
patch_enable = `no`
replace_string = DBDBFC, `ReadingFooter {\\n\\tmin-height: 70px;\\n\\tmax-height: 70px;\\n\\tqproperty-footerMargin: 105;\\n}\\n\\nReadingFooter[qApp_deviceCodeName=\'phoenix\'] {\\n\\tmin-height: 82px;\\n\\tmax-height: 82px;\\n}\\n\\nReadingFooter[qApp_deviceCodeName=\'dragon\'] {\\n\\tmin-height: 120px;\\n\\tmax-height: 120px;\\n\\tqproperty-footerMargin: 170;\\n}\\n\\n* {\\n\\tfont-size: 16px;\\n}\\n\\n[qApp_deviceCodeName=\'phoenix\'] {\\n\\tfont-size: 20px;\\n}\\n\\n[qApp_deviceCodeName=\'dragon\'] {\\n\\tfont-size: 26px;\\n}\\n\\n[qApp_localeName=\'ja_JP\'] {\\n\\tfont-family: A-OTF Gothic MB101 Pr6N;\\n}`, `* {\\n\\theight: 5px;\\n\\tfont-size: 1px;\\n\\tcolor: transparent;\\n}\\n\\n`
</Patch>


<Patch>
patch_name = `Custom reading footer style`
patch_enable = `yes`
replace_string = DBDBFC, `ReadingFooter {\\n\\tmin-height: 70px;\\n\\tmax-height: 70px;\\n\\tqproperty-footerMargin: 105;\\n}\\n\\nReadingFooter[qApp_deviceCodeName=\'phoenix\'] {\\n\\tmin-height: 82px;\\n\\tmax-height: 82px;\\n}\\n\\nReadingFooter[qApp_deviceCodeName=\'dragon\'] {\\n\\tmin-height: 120px;\\n\\tmax-height: 120px;\\n\\tqproperty-footerMargin: 170;\\n}\\n\\n* {\\n\\tfont-size: 16px;\\n}\\n\\n[qApp_deviceCodeName=\'phoenix\'] {\\n\\tfont-size: 20px;\\n}\\n\\n[qApp_deviceCodeName=\'dragon\'] {\\n\\tfont-size: 26px;\\n}\\n\\n[qApp_localeName=\'ja_JP\'] {\\n\\tfont-family: A-OTF Gothic MB101 Pr6N;\\n}`, `ReadingFooter {\\n\\tmin-height: 70px;\\n\\tmax-height: 70px;\\n\\tqproperty-footerMargin: 105;\\n}\\n\\n* {\\n\\tfont-size: 16px;\\n\\tpadding-bottom: 0px;\\n\\tmargin-top: 0px;\\n\\t/*font-family:none;*/\\n}\\n\\n[qApp_localeName=\'ja_JP\'] {\\n\\tfont-family: A-OTF Gothic MB101 Pr6N;\\n}`
#
# Uncomment the replace_string lines of one of the examples below, comment out
# the rest. If you choose to make further changes to the examples, BE CAREFUL
# NOT TO ALTER THE LENGTH OF THE REPLACEMENT STRINGS! (Add or remove spaces if
# necessary to keep the total length the same.)
#
# Example for Touch/Mini:
#replace_string = DBDC0D, `min-height: 70px;`, `min-height: 32px;`
#replace_string = DBDC20, `max-height: 70px;`, `max-height: 32px;`
#replace_string = DBDC3D, `footerMargin: 105;`, `footerMargin: 105;`
#replace_string = DBDC58, `font-size: 16px;`, `font-size: 16px;`
#replace_string = DBDC6A, `padding-bottom: 0px;`, `padding-bottom: 4px;`
#replace_string = DBDC80, `margin-top: 0px;`, `margin-top: 0px;`
#
# Example for Glo/Aura:
#replace_string = DBDC0D, `min-height: 70px;`, `min-height: 40px;`
#replace_string = DBDC20, `max-height: 70px;`, `max-height: 40px;`
#replace_string = DBDC3D, `footerMargin: 105;`, `footerMargin: 105;`
#replace_string = DBDC58, `font-size: 16px;`, `font-size: 20px;`
#replace_string = DBDC6A, `padding-bottom: 0px;`, `padding-bottom: 5px;`
#replace_string = DBDC80, `margin-top: 0px;`, `margin-top: 0px;`
#
# Example for AuraHD/H2O:
#replace_string = DBDC0D, `min-height: 70px;`, `min-height: 50px;`
#replace_string = DBDC20, `max-height: 70px;`, `max-height: 50px;`
#replace_string = DBDC3D, `footerMargin: 105;`, `footerMargin: 170;`
#replace_string = DBDC58, `font-size: 16px;`, `font-size: 26px;`
#replace_string = DBDC6A, `padding-bottom: 0px;`, `padding-bottom: 8px;`
#replace_string = DBDC80, `margin-top: 0px;`, `margin-top: 0px;`
#
# My Aura H2O:
replace_string = DBDC0D, `min-height: 70px;`, `min-height: 40px;`
replace_string = DBDC20, `max-height: 70px;`, `max-height: 40px;`
replace_string = DBDC3D, `footerMargin: 105;`, `footerMargin: 040;`
replace_string = DBDC58, `font-size: 16px;`, `font-size: 26px;`
replace_string = DBDC6A, `padding-bottom: 0px;`, `padding-bottom: 12px;`
replace_string = DBDC80, `margin-top: 0px;`, `margin-top: -5px;`
#
# Uncomment one of the following if you wish the footer to use a fixed font.
# (And enable one of the Custom header style patches below with the same font.)
#
#replace_string = DBDC92, `/*font-family:none;*/`, `font-family: Amasis;`
#replace_string = DBDC92, `/*font-family:none;*/`, `font-family: Avenir;`
#replace_string = DBDC92, `/*font-family:none;*/`, `font-family: Georgia;`
#
</Patch>


<Patch>
patch_name = `Custom header style for Touch`
patch_enable = `no`
replace_string = D9F050, `* {\\nfont-size: 16px;\\nfont-family: Avenir;\\nbackground-color: transparent;\\npadding-top:3px;\\n}\\n\\n[qApp_localeName=\'ja_JP\'] {\\nfont-family: A-OTF Gothic MB101 Pr6N;\\nqproperty-leading: 0;\\n}`, `* {\\nfont-size: 16px;\\nfont-family: Avenir;\\nbackground-color: transparent;\\npadding-top:3px;\\n}`
#
# BE CAREFUL NOT TO ALTER THE LENGTH OF THE FOLLOWING REPLACEMENT STRINGS!
# (Add or remove spaces if necessary to keep the total length the same.)
#
replace_string = D9F054, `font-size: 16px;`, `font-size: 16px;`
#
#replace_string = D9F065, `font-family: Avenir;`, `font-family: Amasis;`
replace_string = D9F065, `font-family: Avenir;`, `font-family: Avenir;`
#replace_string = D9F065, `font-family: Avenir;`, `font-family: Georgia;`
#
</Patch>


<Patch>
patch_name = `Custom header style for Mini`
patch_enable = `no`
replace_string = D9FB34, `* {\\nfont-size: 20px;\\nfont-family: Avenir;\\nbackground-color: transparent;\\npadding-top:3px;\\n}\\n\\n[qApp_deviceCodeName=\'pixie\'] {\\nfont-size: 18px;\\n}\\n\\n[qApp_deviceCodeName=\'dragon\'] {\\nfont-family: Georgia;\\nfont-size: 26px;\\n}\\n\\n[qApp_localeName=\'ja_JP\'] {\\nfont-family: A-OTF Gothic MB101 Pr6N;\\n}`, `* {\\nfont-size: 20px;\\nfont-family: Avenir;\\nbackground-color: transparent;\\npadding-top:3px;\\n}`
#
# BE CAREFUL NOT TO ALTER THE LENGTH OF THE FOLLOWING REPLACEMENT STRINGS!
# (Add or remove spaces if necessary to keep the total length the same.)
#
replace_string = D9FB38, `font-size: 20px;`, `font-size: 18px;`
#
#replace_string = D9FB49, `font-family: Avenir;`, `font-family: Amasis;`
replace_string = D9FB49, `font-family: Avenir;`, `font-family: Avenir;`
#replace_string = D9FB49, `font-family: Avenir;`, `font-family: Georgia;`
#
</Patch>


<Patch>
patch_name = `Custom header style for Glo/Aura/AuraHD/H2O`
patch_enable = `no`
replace_string = D9DDE0, `* {\\n\\tbackground-color: transparent;\\n\\tpadding-top:3px;\\n}\\n\\n[qApp_deviceCodeName=\'dragon\'] {\\n\\tfont-size: 26px;\\n}\\n\\n[qApp_deviceCodeName=\'phoenix\'] {\\n\\tfont-size: 21px;\\n}\\n\\n[qApp_localeName=\'ja_JP\'] {\\n\\tfont-family: A-OTF Gothic MB101 Pr6N;\\n\\tqproperty-leading: 0;\\n}`, `* {\\n\\tbackground-color: transparent;\\n\\tpadding-top:3px;\\n\\t/*font-family:none;*/\\n\\tfont-size: 21px;\\n}`
#
# BE CAREFUL NOT TO ALTER THE LENGTH OF THE FOLLOWING REPLACEMENT STRINGS!
# (Add or remove spaces if necessary to keep the total length the same.)
#
# Font size for Glo/Aura
replace_string = D9DE2E, `font-size: 21px;`, `font-size: 21px;`
#
# Font size for AuraHD/H2O
#replace_string = D9DE2E, `font-size: 21px;`, `font-size: 26px;`
#
# Font family for Glo/Aura/AuraHD/H2O
#replace_string = D9DE17, `/*font-family:none;*/`, `font-family: Amasis;`
replace_string = D9DE17, `/*font-family:none;*/`, `font-family: Avenir;`
#replace_string = D9DE17, `/*font-family:none;*/`, `font-family: Georgia;`
</Patch>


<Patch>
patch_name = `My 15 line spacing values`
patch_enable = `no`
# load val1 from new table
replace_bytes = 691DB0, 00 23 00 22 C3 F6 F0 73, 00 46 3F A3 D3 E9 00 23
# load val5 from new table
replace_bytes = 691E08, 43 F2 33 33 4F F0 33 32, 2B A3 D3 E9 00 23 00 46
replace_bytes = 691E10, C3 F6 F3 73, 00 46 00 46
# load val7 from new table
replace_bytes = 691E36, 00 23 00 22 C3 F6 F8 73, 00 46 21 A3 D3 E9 00 23
# load val10 from new table
replace_bytes = 691E74, 00 22 4F F0 80 43, 14 A3 D3 E9 00 23
# load val11-val14 from old table in a loop to make room for new table
replace_bytes = 691E88, 47 A3 D3 E9 00 23 07 F1, 47 A7 00 26 D7 E9 00 23
replace_bytes = 691E90, 80 01 20 46 61 E9 0A 23, 20 A9 31 44 61 E9 0A 23
replace_bytes = 691E98, A1 F5 2A ED 44 A3 D3 E9, 20 46 A1 F5 2A ED 08 36
replace_bytes = 691EA0, 00 23 07 F1 80 01 20 46, 08 37 20 2E F2 D1 00 AF
# load val15 from new table, jump over new table
replace_bytes = 691EA8, 61 E9 08 23 A1 F5 20 ED, 09 A3 D3 E9 00 23 17 E0
# new table, inial values 1.0, 1.2, 1.5, 2.0, 3.0
replace_bytes = 691EB0, 41 A3 D3 E9 00 23 07 F1, 00 00 00 00 00 00 F0 3F
replace_bytes = 691EB8, 80 01 20 46 61 E9 06 23, 33 33 33 33 33 33 F3 3F
replace_bytes = 691EC0, A1 F5 16 ED 3E A3 D3 E9, 00 00 00 00 00 00 F8 3F
replace_bytes = 691EC8, 00 23 07 F1 80 01 20 46, 00 00 00 00 00 00 00 40
replace_bytes = 691ED0, 61 E9 04 23 A1 F5 0C ED, 00 00 00 00 00 00 08 40
#
# 15 values for replacement
replace_float = 691EB0, 1.0, 0.7
replace_float = 691F78, 1.05, 0.75
replace_float = 691F80, 1.07, 0.8
replace_float = 691F88, 1.1, 0.82
replace_float = 691EB8, 1.2, 0.84
replace_float = 691F90, 1.35, 0.86
replace_float = 691EC0, 1.5, 0.88
replace_float = 691F98, 1.7, 0.9
replace_float = 691FA0, 1.8, 0.92
replace_float = 691EC8, 2.0, 0.94
replace_float = 691FA8, 2.2, 0.96
replace_float = 691FB0, 2.4, 0.98
replace_float = 691FB8, 2.6, 1.0
replace_float = 691FC0, 2.8, 1.05
replace_float = 691ED0, 3.0, 1.1
</Patch>


<Patch>
patch_name = `Custom fonts sizes`
patch_enable = `yes`
# Values for replace
replace_int = D20DC4, 12, 20
replace_int = D20DC8, 14, 21
replace_int = D20DCC, 16, 22
replace_int = D20DD0, 17, 23
replace_int = D20DD4, 18, 24
replace_int = D20DD8, 19, 25
replace_int = D20DDC, 20, 26
replace_int = D20DE0, 21, 27
replace_int = D20DE4, 22, 28
replace_int = D20DE8, 24, 29
replace_int = D20DEC, 25, 30
replace_int = D20DF0, 26, 31
replace_int = D20DF4, 28, 32
replace_int = D20DF8, 32, 33
replace_int = D20DFC, 36, 34
replace_int = D20E00, 40, 35
replace_int = D20E04, 44, 36
replace_int = D20E08, 46, 37
replace_int = D20E0C, 48, 38
replace_int = D20E10, 50, 39
replace_int = D20E14, 52, 40
replace_int = D20E18, 54, 41
replace_int = D20E1C, 56, 42
replace_int = D20E20, 58, 43
</Patch>


<Patch>
patch_name = `Custom left & right margins`
patch_enable = `no`
# Values for replace
replace_int = FF6614, 00, 00
replace_int = FF6618, 02, 01
replace_int = FF661C, 04, 02
replace_int = FF6620, 06, 03
replace_int = FF6624, 08, 04
replace_int = FF6628, 10, 05
replace_int = FF662C, 12, 06
replace_int = FF6630, 14, 07
replace_int = FF6634, 16, 08
</Patch>


<Patch>
patch_name = `Brightness fine control`
patch_enable = `no`
replace_int = 920D32, 10, 01
replace_int = 920D62, 10, 01
</Patch>


<Patch>
patch_name = `Search in Library by default`
patch_enable = `no`
replace_bytes = 9D372C, 00 21, 01 21
</Patch>


<Patch>
patch_name = `Unitless ePub line height`
patch_enable = `no`
#
# See http://www.mobileread.com/forums/showpost.php?p=2812097&postcount=31
# for a description of the problem fixed by this patch.
#
replace_bytes = C31AD8, 65 00 6D 00, 20 00 20 00
</Patch>


<Patch>
patch_name = `Freedom to advanced fonts control`
patch_enable = `no`
#
# This patch allows the advanced font options (weight/sharpness adjustments)
# to be used with sideloaded fonts too.
#
# WARNING: IT IS NOT SAFE TO ENABLE THIS PATCH IF YOUR DEVICE IS SET TO A
# JAPANESE LOCALE OR JAPANESE BOOKS ARE OPENED.
#
# VolumeManager.isJapanese() --> False
replace_bytes = 68F4B4, 95 F5 48 EF, 00 20 00 20
# N3FontTypeUtil.setupMonotypeDropdown(a,b)
# --> N3FontTypeUtil.setupDropdown(UNDEFINED,a,b)
replace_bytes = 7E7FAE, 58 46 51 46, 59 46 52 46
replace_bytes = 7E7FB2, 35 F4 B2 E9, 4B F4 42 EC
# N3FontTypeController.setupAdvancedOption --> NOP
replace_bytes = 94CE12, FA F6 34 E7, 00 46 00 46
replace_bytes = 94EEB8, F8 F6 E0 E6, 00 46 00 46
</Patch>


<Patch>
patch_name = `Allow download all in Browser`
patch_enable = `no`
replace_bytes = 81CAC0, 28 F4 D0 EF, 01 20 01 20
</Patch>

#
# The following two patches are alternatives, don\'t enable both at once.
#

<Patch>
patch_name = `ePub adjustable top/bottom margin`
patch_enable = `no`
#
# If enabled, this patch causes the margin adjustment slider to
# adjust the top/bottom margins along with the left/right margins in epubs.
# Note that it has the side-effect of overriding any existing margins set in
# the book by the @page rule and removing the pre-existing padding-bottom
# from the built-in stylesheet\'s body rule.
#
# getReadingLineHeight(...) --> getReadingLeftMargin(...) fe9ec8 42dd00
replace_bytes = 4F9410, 51 F7 E6 E9, 34 F7 76 EC
# QString.arg(double, ...) --> QString.arg(int64, ...) fe9c20 42d48c
replace_bytes = 4F9414, 20 22 4F F0 FF 33, 20 21 01 22 0A 23
replace_bytes = 4F941E, AD F8 04 20 00 93, 02 91 42 43 01 93
replace_bytes = 4F9428, 00 22 67 23 3F F7 18 E9, 00 23 00 93 34 F7 2E E8
#
# Alternative 1: Adjustable top, zero bottom margin: @page {margin:%1px 0 0 0}
#replace_string = C31B08, `\\x20\\x00p\\x00a\\x00d\\x00d\\x00i\\x00n\\x00g\\x00-\\x00b\\x00o\\x00t\\x00t\\x00o\\x00m\\x00:\\x00\\x20\\x00%\\x001\\x00e\\x00m\\x00\\x20\\x00!\\x00i\\x00m\\x00p\\x00o\\x00r\\x00t\\x00a\\x00n\\x00t\\x00;\\x00\\n\\x00`, `}\\x00\\n\\x00@\\x00p\\x00a\\x00g\\x00e\\x00\\x20\\x00{\\x00m\\x00a\\x00r\\x00g\\x00i\\x00n\\x00:\\x00%\\x001\\x00p\\x00x\\x00\\x20\\x000\\x00\\x20\\x000\\x00\\x20\\x000\\x00}\\x00\\n\\x00b\\x00o\\x00d\\x00y\\x00\\x20\\x00{\\x00`
#
# Alternative 2: Adjustable top and bottom margin: @page {margin:%1px 0}
replace_string = C31B08, `\\x20\\x00p\\x00a\\x00d\\x00d\\x00i\\x00n\\x00g\\x00-\\x00b\\x00o\\x00t\\x00t\\x00o\\x00m\\x00:\\x00\\x20\\x00%\\x001\\x00e\\x00m\\x00\\x20\\x00!\\x00i\\x00m\\x00p\\x00o\\x00r\\x00t\\x00a\\x00n\\x00t\\x00;\\x00\\n\\x00`, `}\\x00\\n\\x00@\\x00p\\x00a\\x00g\\x00e\\x00\\x20\\x00{\\x00m\\x00a\\x00r\\x00g\\x00i\\x00n\\x00:\\x00%\\x001\\x00p\\x00x\\x00\\x20\\x000\\x00}\\x00\\n\\x00b\\x00o\\x00d\\x00y\\x00\\x20\\x00{\\x00\\x20\\x00\\x20\\x00\\x20\\x00\\x20\\x00`
#
# Set the value of the top/bottom margin to a multiple of readingLeftMargin,
# in pixels. Suggested values:
# Normal reading mode: 5px (Touch/Mini), 6px (Glo/Aura), 8px (AuraHD/H2O)
# Full-screen reading mode: 6px (Touch/Mini), 7px (Glo/Aura), 10px (AuraHD/H2O)
replace_int = 4F9416, 1, 6
#
</Patch>


<Patch>
patch_name = `ePub fixed top/bottom margin`
patch_enable = `no`
#
# If enabled, this patch sets the top/bottom page margins for ePubs to a fixed
# value by adding a line @page {margin:10px 0 0 0} or @page {margin:10px 0}
# to the built-in stylesheet.
# Note that it has the side-effect of overriding any existing @page margins
# set in the book\'s stylesheet and removing the pre-existing padding-bottom
# from the built-in stylesheet\'s body rule.
#
# Alternative 1: Custom top, zero bottom margin: @page {margin:10px 0 0 0}
replace_string = C31B08, `\\x20\\x00p\\x00a\\x00d\\x00d\\x00i\\x00n\\x00g\\x00-\\x00b\\x00o\\x00t\\x00t\\x00o\\x00m\\x00:\\x00\\x20\\x00%\\x001\\x00e\\x00m\\x00\\x20\\x00!\\x00i\\x00m\\x00p\\x00o\\x00r\\x00t\\x00a\\x00n\\x00t\\x00;\\x00\\n\\x00`, `}\\x00\\n\\x00@\\x00p\\x00a\\x00g\\x00e\\x00\\x20\\x00{\\x00m\\x00a\\x00r\\x00g\\x00i\\x00n\\x00:\\x001\\x000\\x00p\\x00x\\x00\\x20\\x000\\x00\\x20\\x000\\x00\\x20\\x000\\x00}\\x00\\n\\x00b\\x00o\\x00d\\x00y\\x00\\x20\\x00{\\x00`
#
# Alternative 2: Custom top and equal bottom margin: @page {margin:10px 0}
#replace_string = C31B08, `\\x20\\x00p\\x00a\\x00d\\x00d\\x00i\\x00n\\x00g\\x00-\\x00b\\x00o\\x00t\\x00t\\x00o\\x00m\\x00:\\x00\\x20\\x00%\\x001\\x00e\\x00m\\x00\\x20\\x00!\\x00i\\x00m\\x00p\\x00o\\x00r\\x00t\\x00a\\x00n\\x00t\\x00;\\x00\\n\\x00`, `}\\x00\\n\\x00@\\x00p\\x00a\\x00g\\x00e\\x00\\x20\\x00{\\x00m\\x00a\\x00r\\x00g\\x00i\\x00n\\x00:\\x001\\x000\\x00p\\x00x\\x00\\x20\\x000\\x00\\x20\\x00\\x20\\x00\\x20\\x00\\x20\\x00}\\x00\\n\\x00b\\x00o\\x00d\\x00y\\x00\\x20\\x00{\\x00`
#
# Replacement value: a 2-digit number (margin size in pixels) seperated by \\x00
# E.g. 25 = 2\\x005, 30 = 3\\x000, etc.
replace_string = C31B28, `1\\x000`, `2\\x005`
</Patch>


<Patch>
patch_name = `Custom page refresh options`
patch_enable = `no`
# cmp r5, #7; bne.n; --> cmp r5, #6; bls.n;
replace_bytes = 7EE3B4, 07 2D 9A D1, 06 2D 9A D9
#
# Values for replacement: (Alternative 1, arithmetic sequence e.g. 1,2,3,...,12)
# Base (use this value for the first menu option):
replace_int = 7EE2E4, 1, 1
# Increment (add this value to get each successive menu option):
replace_int = 7EE3B2, 1, 1
# Maxmium (stop adding options when this value is exceeded):
replace_int = 7EE3B4, 6, 12
#
# Values for replacement: (Alternative 2, geometric sequence 1,2,4,8,16,32,64)
# Base (use this value for the first menu option):
#replace_int = 7EE2E4, 1, 1
# Double to get each successive menu option:
#replace_bytes = 7EE3B2, 01 35, 6D 00
# Maxmium (stop adding options when this value is exceeded):
#replace_int = 7EE3B4, 6, 64
</Patch>


<Patch>
patch_name = `Remove system fonts in Reader list`
patch_enable = `no`
#
# Removes Amasis, Avenir, Caecilia, Georgia, Gill Sans, Kobo Nickel, Malabar.
# BEWARE: Also removes sideloaded Delima, Felbridge, Rockwell, Times New Roman.
#
replace_bytes = 950F2C, D6 F6 40 E2, 00 46 00 46
</Patch>


<Patch>
patch_name = `Remove non-system fonts in Reader list`
patch_enable = `no`
#
# Removes Gothic, Ryumin, OpenDyslexic.
# BEWARE: Also removes most other sideloaded fonts.
#
replace_bytes = 950F5A, D6 F6 2A E2, 00 46 00 46
</Patch>


<Patch>
patch_name = `Cyrillic keyboard`
patch_enable = `no`
# Enable uppercase for sharp-s key
replace_bytes = 8B29D8, 00 24, 01 24
# Replace layout sign
replace_bytes = CF8A9C, C3 89 C3 80 C3 87, D0 B0 D0 B1 D0 B2
# Change keyboard layout
replace_bytes = CF89B4, C3 A6, D0 B9
#
replace_bytes = CF89B8, C3 A0, D1 86
replace_bytes = CF89BC, C3 A8, D1 83
replace_bytes = CF89C0, C3 AC, D0 BA
replace_bytes = CF89C4, C3 B2, D0 B5
replace_bytes = CF89C8, C3 B9, D0 BD
replace_bytes = CF89CC, C3 A1, D0 B3
replace_bytes = CF89D0, C3 A9, D1 88
replace_bytes = CF89D4, C3 AD, D1 89
replace_bytes = CF89D8, C3 B3, D0 B7
replace_bytes = CF89DC, C3 BA, D1 85
replace_bytes = CF89E0, C3 BD, D1 8A
#
replace_bytes = CF89E4, C5 93, D1 84
#
replace_bytes = CF89E8, C3 A2, D1 8B
replace_bytes = CF89EC, C3 AA, D0 B2
replace_bytes = CF89F0, C3 AE, D0 B0
replace_bytes = CF89F4, C3 B4, D0 BF
replace_bytes = CF89F8, C3 BB, D1 80
replace_bytes = CF89FC, C3 A4, D0 BE
replace_bytes = CF8A00, C3 AB, D0 BB
replace_bytes = CF8A04, C3 AF, D0 B4
replace_bytes = CF8A08, C3 B6, D0 B6
replace_bytes = CF8A0C, C3 BC, D1 8D
replace_bytes = CF8A10, C3 BF, D1 91
#
replace_bytes = CF8A14, C3 A3, D1 8F
replace_bytes = CF8A18, C3 B1, D1 87
replace_bytes = CF8A1C, C3 B5, D1 81
replace_bytes = CF8A20, C3 A5, D0 BC
#
replace_bytes = CF8A24, C3 9F, D0 B8
#
replace_bytes = CF8A28, C3 A7, D1 82
replace_bytes = CF8A2C, C4 91, D1 8C
replace_bytes = CF8A30, C3 B8, D0 B1
replace_bytes = CF8A34, C4 B3, D1 8E
#
replace_bytes = CF8A38, C5 82, 2E 00
</Patch>


<Patch>
patch_name = `Customise PinchGestureRecognizer`
patch_enable = `no`
# PinchGestureRecognizer::StationaryTolerance
replace_float = C925D8, 5.0, 5.0
# PinchGestureRecognizer::UpdateTolerance
replace_float = C925E0, 10.0, 10.0
# PinchGestureRecognizer::TriggerTolerance
replace_float = C925E8, 30.0, 30.0
</Patch>


<Patch>
patch_name = `Wi-Fi insomnia`
patch_enable = `no`
#
# Do not enable this patch unless you\'re sure you need it.
# It prevents the wifi turning off, which may drain the device\'s battery.
#
replace_bytes = 5F71A0, 29 B9, 00 46
</Patch>


<Patch>
patch_name = `Margins fine tuning`
patch_enable = `no`
#
# Do not enable this patch unless you\'re sure you need it.
# It may cause the screen to be off-centre.
#
# Initial replaces
replace_bytes = 9A9D88, 19 46, 00 21
replace_bytes = 9A9D8C, 1A 46, 00 22
# Values for replace
# Left margin
replace_int = 9A9D88, 0, 10
# Top margin
replace_int = 9A9D8C, 0, 10
</Patch>


<Patch>
patch_name = `Custom kepub default margins`
patch_enable = `no`
# Device = Glo/Aura, Type = pocket article or non-Japanese kepub
replace_int = 6325FA, 25, 5
# Device = Glo/Aura, Type = Japanese kepub
replace_int = 6325FC, 45, 5
# Device = Other, Type = Any
replace_int = 63260A, 20, 5
</Patch>


<Patch>
patch_name = `Block WiFi firmware upgrade`
patch_enable = `no`
#
# This patch is untested. If it works then the firmware will not be upgraded
# during a WiFi sync, but you can still upgrade manually or by syncing with
# the Kobo desktop.
#
replace_string = C8525A, `%\\x003\\x00/\\x00%\\x004\\x00/\\x00%\\x005\\x00`, `k\\x00/\\x009\\x009\\x00.\\x009\\x00/\\x005\\x00`
</Patch>
 
Zuletzt bearbeitet von einem Moderator:

Martina Schein

Freizeit-Nerd-Grufti
Alaska, Du hast in Deiner Verzeichnisstruktur in den Ordner- bzw. Dateinamen kein Leerzeichen, nicht wahr?


Wenn das alles okay ist, setze mal den patch


`ePub fixed top/bottom margin`


auf yes.
 

Alaska

New member
Nutzt nichts. Solange `Custom reading footer style` auf Yes steht, verweigert er mit Fehlermeldungen. Nochmal auf No gestellt und alles ging.
 

Martina Schein

Freizeit-Nerd-Grufti
Alaska, ändere bitte die beiden letzten Reihen wie folgt ab:


# My Aura H2O:
replace_string = DBDC0D, `min-height: 70px;`, `min-height: 40px;`
replace_string = DBDC20, `max-height: 70px;`, `max-height: 40px;`
replace_string = DBDC3D, `footerMargin: 105;`, `footerMargin: 040;`
replace_string = DBDC58, `font-size: 16px;`, `font-size: 26px;`
replace_string = DBDC6A, `padding-bottom: 0px;`, `padding-bottom: 8px;`
replace_string = DBDC80, `margin-top: 0px;`, `margin-top: 0px;`


Ich habe es eben bei mir ausprobiert und es hat funktioniert.
 

Alaska

New member
Vielen Dank Martina, jetzt klappt es und ist fast perfekt. ☺


Werde noch ein wenig mit dem unteren und oberen Rand herumexperimentieren.
 
Da mich der breite untere Rand im Seitenaufbau des H2O etwas gestört hat, habe ich mir den libnickel.so.1.0.0.patch für die 3.11.0 noch einmal angesehen. Die Werte des Bereichs \"Custom reading footer style\" zu verändern, bringt jedoch nicht viel.


Als ich mir aber \"Disable reading footer\" genauer angeschaut habe, musste ich feststellen, dass dieser Patch die Fußzeile gar nicht völlig ausschaltet, sondern nur winzig klein (1px) und unsichtbar (transparent) macht. Also habe ich Schriftgröße und Farbe der Fußzeile geändert.


<Patch>
patch_name = `Disable reading footer`
patch_enable = `yes`
replace_string = DBDBFC, `ReadingFooter {\\n\\tmin-height: 70px;\\n\\tmax-height: 70px;\\n\\tqproperty-footerMargin: 105;\\n}\\n\\nReadingFooter[qApp_deviceCodeName=\'phoenix\'] {\\n\\tmin-height: 82px;\\n\\tmax-height: 82px;\\n}\\n\\nReadingFooter[qApp_deviceCodeName=\'dragon\'] {\\n\\tmin-height: 120px;\\n\\tmax-height: 120px;\\n\\tqproperty-footerMargin: 170;\\n}\\n\\n* {\\n\\tfont-size: 16px;\\n}\\n\\n[qApp_deviceCodeName=\'phoenix\'] {\\n\\tfont-size: 20px;\\n}\\n\\n[qApp_deviceCodeName=\'dragon\'] {\\n\\tfont-size: 26px;\\n}\\n\\n[qApp_localeName=\'ja_JP\'] {\\n\\tfont-family: A-OTF Gothic MB101 Pr6N;\\n}`, `* {\\n\\theight: 26px;\\n\\tfont-size: 26px;\\n\\tcolor: black;\\n}\\n\\n`
</Patch>


Und das war dann auch die Lösung. Wenn ihr also auch einen vergleichsweise vollen Bildschirm haben möchtet, müsst ihr den Patch \"Custom reading footer style\" auf \"no\" setzen, den Patch \"Disable reading footer\" hingegen auf \"yes\". Wenn ihr dann noch die o.g. Werte eintragt, (Änderungen nur in der vorletzten Zeile), sollten die Seiten so aussehen:


[align='center']
[/align]


Wie gesagt: Nur für Firmware 3.11.0. Da dieser Patch der Datei libnickel.so.1.0.0.patch unabhängig vom Reader Modell arbeitet, sollten die Änderungen auch auf allen anderen Kobos mit der aktuellen Firmware funktionieren. Eventuell muss man die Werte bei Bildschirmen mit geringerer Pixelzahl etwas anpassen also statt 26px z.B. 16px.


Edit: Funktioniert offenbar auch bei anderen Firmware-Versionen. Dann muss im jeweils zugehörigem Patch auch der Bereich \"Disable reading footer\" modifiziert werden. Der Code oben ist nur für die 3.11.0. Erfolgreich getestet mit Kobo Aura und 3.8.0, aber natürlich trotzdem auf eigene Gefahr. 😉
 

Anhänge

  • Kobo_Footer.png
    Kobo_Footer.png
    200,9 KB · Aufrufe: 86
Zuletzt bearbeitet von einem Moderator:

Fluppine

New member
Hallo,


ich bin ja diesbezüglich der völlige Newbie. Ich hab jetzt den Patch lt. Anleitung vom Christoph durchgeführt, nur pickt jetzt die Fußzeile so knapp unten, dass es auch nicht ganz optimal ist. Was muss ich da jetzt genau ändern ?


Vielen Dank schon mal Vorab !
 

Martina Schein

Freizeit-Nerd-Grufti
Ich hab jetzt den Patch lt. Anleitung vom Christoph durchgeführt, nur pickt jetzt die Fußzeile so knapp unten, dass es auch nicht ganz optimal ist. Was muss ich da jetzt genau ändern ?
Hier müsste dann mal einer der anderen Kobo-Experten ran. Auswendig weiß ich das leider nicht und im Krankenhaus habe ich meinen PC nicht dabei.
Meiner Ansicht nach müsste es jedoch eine Einstellung im 2. Patch der Datei libnickel.so.1.0.0.patch sein.




>>> Via Nexus 7 mit Tapatalk <<<
 
nur pickt jetzt die Fußzeile so knapp unten, dass es auch nicht ganz optimal ist.

Das war aber genau mein Wunsch. 😉


Wenn es dir nicht gefällt, mußt du den Patch \"Disable reading footer\" auf \"no\" setzen und statt dessen \"Custom reading footer style\" wiederbeleben. Hier kannst du dann mit den Werten für Ränder und Fußzeilenhöhe, wie von Martina weiter oben beschrieben, nach Herzenslust herum spielen.
 

JulesWDD

Active member
Ich habe den Patch gemäß den hier gegebenen Anleitungen - vielen Dank hierfür - auf meinen KOBO Glo augespielt; die Firmware ist die aktuelle, also 3.11. Ich wollte nur den Bug mit dem Seitenumbruch bzw Absatzumbruch beseitigen. Das ist mir auch gelungen. Aber ich kann jetzt die Schriftstärke nicht mehr variieren. Das ging vorher. Habe ich da etwas falsch gemacht?
 

Martina Schein

Freizeit-Nerd-Grufti
Jules, setze den Patch Freedom to advanced fonts control in der Datei libnickel.so.1.0.0.patch auf Yes, dann kannst Du auch die Schriftstärke von selbst installierten Fonts wieder verändern.
 
Oben