|
|
#16 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,058
Karma: 71355703
Join Date: Feb 2009
Device: Kobo Clara 2E
|
I need some help with the patches please. I'm trying to set the "My 10 line spacing values" by modying src\libnickel.so.1.0.0.yaml. But they don't seem to be applied.
Attached is the log. The thing that stands out to me in the log is: Code:
applying overrides
override My 10 line spacing values -> enabled:false
Code:
My 10 line spacing values:
- Enabled: yes
- PatchGroup: Line spacing values alternatives
- Description: |
This patch changes the values on the line spacing adjustment slider,
reducing the number of spacing options from 15 to 10, but allowing
much narrower spacing values to be set.
# Bypass code-constructed values 1.0, 1.2, 1.5, 2.0, 3.0
# These are all the appends not loaded using adr.
- BaseAddress: {Sym: "ReadingSettings::lineHeightScalars() const", Rel: 84} # first append
- ReplaceBytes: {Offset: 0, FindInstBLX: {SymPLT: "QList<double>::append(double const&)"}, ReplaceInstNOP: true}
- ReplaceBytes: {Offset: 86, FindInstBLX: {SymPLT: "QList<double>::append(double const&)"}, ReplaceInstNOP: true}
- ReplaceBytes: {Offset: 128, FindInstBLX: {SymPLT: "QList<double>::append(double const&)"}, ReplaceInstNOP: true}
- ReplaceBytes: {Offset: 188, FindInstBLX: {SymPLT: "QList<double>::append(double const&)"}, ReplaceInstNOP: true}
- ReplaceBytes: {Offset: 290, FindInstBLX: {SymPLT: "QList<double>::append(double const&)"}, ReplaceInstNOP: true}
# 10 values for replacement, change these replace_float values to suit:
# Find the prologue for the values + first subtraction (has been unique in
# every version so far, and is near impossible to change and fail silently):
- FindBaseAddressHex: CDCC CCCC CCCC F03F 1F85
- ReplaceFloat: {Offset: 0x00, Find: 1.05, Replace: 0.8}
- ReplaceFloat: {Offset: 0x08, Find: 1.07, Replace: 0.85}
- ReplaceFloat: {Offset: 0x10, Find: 1.1, Replace: 0.875}
- ReplaceFloat: {Offset: 0x18, Find: 1.35, Replace: 0.9}
- ReplaceFloat: {Offset: 0x20, Find: 1.7, Replace: 0.925}
- ReplaceFloat: {Offset: 0x28, Find: 1.8, Replace: 0.95}
- ReplaceFloat: {Offset: 0x30, Find: 2.2, Replace: 0.975}
- ReplaceFloat: {Offset: 0x38, Find: 2.4, Replace: 1.0}
- ReplaceFloat: {Offset: 0x40, Find: 2.6, Replace: 1.05}
- ReplaceFloat: {Offset: 0x48, Find: 2.8, Replace: 1.1}
Thank you for the help. |
|
|
|
|
|
#17 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 929
Karma: 275656
Join Date: Jun 2016
Device: Kobo
|
|
|
|
|
|
|
#18 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,058
Karma: 71355703
Join Date: Feb 2009
Device: Kobo Clara 2E
|
|
|
|
|
|
|
#19 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 929
Karma: 275656
Join Date: Jun 2016
Device: Kobo
|
Just edit this file without affecting other files. As understand, in kobopatch.yaml Jon added all the currently existing patches. Or almost everything.
Indicate in it: yes or no. |
|
|
|
|
|
#20 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 81,217
Karma: 150263711
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
It is everything in kobopatch.yaml. You do the yes/no in there and any edits to the patches in the appropriate .yaml in the src directory.
|
|
|
|
|
|
#21 | |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 81,217
Karma: 150263711
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
Might you want Custom font sizes which is in libnickel.so.1.0.0.yaml? |
|
|
|
|
|
|
#22 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,058
Karma: 71355703
Join Date: Feb 2009
Device: Kobo Clara 2E
|
|
|
|
|
|
|
#23 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 81,217
Karma: 150263711
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
|
|
|
|
|
#24 |
|
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Jul 2023
Device: Kobo Mini, Libra 2, H2O, various Kindles
|
In the ZIP file attached to the first post, the kobopatch.yaml file says, on line 3:
version: 4.38.2552 I assume that this should actually be: version: 4.38.23552 but I'm unsure whether it is actually used anywhere or makes any difference to anything. |
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Unofficial Patches for 4.38.23429 | JSWolf | Kobo Developer's Corner | 65 | 12-11-2025 07:30 AM |
| Unofficial Patches for 4.38.23555 | JSWolf | Kobo Developer's Corner | 7 | 12-10-2025 08:47 PM |
| Unofficial patches for 4.44.23552 | JSWolf | Kobo Developer's Corner | 3 | 12-10-2025 11:50 AM |
| Unofficial Patches for 4.43.23418 | JSWolf | Kobo Developer's Corner | 13 | 12-03-2025 10:47 PM |
| Unofficial Sigil patches | varlog | Sigil | 8 | 11-12-2014 07:14 PM |