![]() |
#1 |
Ebook reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 389
Karma: 5899335
Join Date: Oct 2008
Location: York, England
Device: Kobo Aura H2O (ed 2, v1), Kobo Forma, Kobo Libra 2
|
How to use Kobopatch.yaml
Hello, I must have mental block with it, but I can't for the life of me work out how to use kobopatch.yaml to keep the same patch settings each time.
I've searched and tried to understand, but failed miserably. Is there some step by step guidance please that I've missed? ![]() |
![]() |
![]() |
![]() |
#2 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,210
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Spoiler:
|
|
![]() |
![]() |
![]() |
#3 |
Leftutti
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 549
Karma: 1717097
Join Date: Feb 2019
Location: Bavaria
Device: iPad Pro, Kobo Libra 2
|
You could enable the single patches also directly in the 4 yaml files.
|
![]() |
![]() |
![]() |
#4 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,756
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
![]() |
#5 |
Ebook reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 389
Karma: 5899335
Join Date: Oct 2008
Location: York, England
Device: Kobo Aura H2O (ed 2, v1), Kobo Forma, Kobo Libra 2
|
Ah Thank you, I get it.
And do I then put kobopatch.yaml in the src folder or will running kobopatch.sh know where to look and to ignore the ones in the src folder? |
![]() |
![]() |
![]() |
#6 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,756
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
![]() |
#7 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,210
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
One other item you might want to do is to copy the overrides section of kobopatch.yaml once you are happy with it and save it as a text file that you can copy/paste into kobopatch.yaml to make it easier to restore when the next patch update overwrites kobopatch.yaml. My backup copy is very boringly called overrides.txt. |
|
![]() |
![]() |
![]() |
#8 |
Ebook reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 389
Karma: 5899335
Join Date: Oct 2008
Location: York, England
Device: Kobo Aura H2O (ed 2, v1), Kobo Forma, Kobo Libra 2
|
Thank you very much, that's clear now.
I'll use it on the latest version and keep a backup as you suggest ![]() For new releases of patches, is there normally some indication as to whether any changes mean that I can't use my copied overrides? |
![]() |
![]() |
![]() |
#9 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,756
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
When a new set of patches is released, it will be posted if there are any patches that have changed or are no longer there. So you will know if any of the patches you use have changed or are not there.
|
![]() |
![]() |
![]() |
#10 | |
Leftutti
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 549
Karma: 1717097
Join Date: Feb 2019
Location: Bavaria
Device: iPad Pro, Kobo Libra 2
|
Quote:
That’s a good point for switching to kobopatch.yaml - thx |
|
![]() |
![]() |
![]() |
#11 |
Ebook reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 389
Karma: 5899335
Join Date: Oct 2008
Location: York, England
Device: Kobo Aura H2O (ed 2, v1), Kobo Forma, Kobo Libra 2
|
Brilliant, thanks all for your very helpful comments.
For some reason I just couldn't get that one!! ![]() ![]() |
![]() |
![]() |
![]() |
#12 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,756
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I did mean firmware update. If you change no to yes in the src patches, you have to redo it every time there is another firmware released because there will be another release of patches.
|
![]() |
![]() |
![]() |
#13 |
Ebook reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 389
Karma: 5899335
Join Date: Oct 2008
Location: York, England
Device: Kobo Aura H2O (ed 2, v1), Kobo Forma, Kobo Libra 2
|
Just starting to create the .yaml file and I notice that there is an awful lot of code and I only enable very few features.
Is there any technical reason why I cannot simply delete the lines relating to features I don't want, thereby giving me a much more manageable file? e.g. Custom Sleep/Power-off timeouts: - Enabled: no can I delete the whole section down to where the next one starts ? Or if it is Enabled: no can I delete all the lines of code after no? Using only the features I want will then give me a nice compact kobopatch.yaml |
![]() |
![]() |
![]() |
#14 |
Leftutti
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 549
Karma: 1717097
Join Date: Feb 2019
Location: Bavaria
Device: iPad Pro, Kobo Libra 2
|
|
![]() |
![]() |
![]() |
#15 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,210
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
No reason. If you want to do it a different way from me, well, I didn't get my way from a set of stone tablets, just a personal preference. You will need to retain the source file. Since I only use one option for libnickel.so.1.0.0.yaml, I could simplify that entry to: Code:
src/libnickel.so.1.0.0.yaml: Unify font sizes: yes |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
kobopatch request thread | geek1011 | Kobo Developer's Corner | 1271 | 05-03-2025 09:08 AM |
Several kobopatch config questions | Antioch | Kobo Developer's Corner | 21 | 02-02-2022 07:19 PM |
Libra Applied Kobopatch and I notice no changes | Nalco | Kobo Developer's Corner | 4 | 05-28-2021 08:39 PM |
kobopatch - A new (WIP) patching system | geek1011 | Kobo Developer's Corner | 93 | 05-27-2018 03:04 PM |