07-11-2018, 04:51 PM | #106 |
Connoisseur
Posts: 76
Karma: 10742
Join Date: Jul 2017
Location: Serbia
Device: Kobo Aura One
|
I've been playing around with this new system, and I can really see how it will make things a lot easier moving forward. The instructions were just as easy to follow as the previous method, if not easier, and the major benefit is that you only really need to configure the overrides once and have an almost automatic process. I only have two remarks that might make things a bit easier in the long run.
First, could you make an exception to continue compiling the patches even if an override entry is not found? This would make sense if someone really wanted to patch their new firmware and didn't want to wait for, say the beta games patch to be adapted. Of course, this is practically useless if you intend to wait until all the patches are adapted before releasing a new version, but if the patch release process will be in stages, I think it makes sense? The second point is really just food for thought. While configuring everything, I caught myself having forgotten to alter the recommended value for my Aura One in the "ePub fixed/adjustable top/bottom margins" patch. In fact, this often happened in the old patching regiment and had to redo the process. I haven't really looked at other patches to see if they have different recommended values for different models, but I can't help but wonder if there's a way to automate this process for all "configurable" patches? Perhaps by adding an entry in the kobopatch.yaml to serve as a device/model identifier? Anyway, great job! |
07-11-2018, 05:28 PM | #107 | |||
Wizard
Posts: 2,737
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Quote:
Quote:
Quote:
Thanks for the feedback! |
|||
Advert | |
|
07-12-2018, 08:04 AM | #108 |
I need a chapter break
Posts: 4,042
Karma: 56058267
Join Date: Mar 2015
Location: Israel
Device: Kobo Glo
|
Nice work again
In the zlib patches douse it compress the code with null at the end like in pipcat method? Last edited by oren64; 07-12-2018 at 08:29 AM. |
07-12-2018, 08:55 AM | #109 | |
Wizard
Posts: 2,737
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Quote:
And for updating your patches which come with kobopatch, you can either use GitHub, reply to this thread, or send me a PM. |
|
07-12-2018, 12:38 PM | #110 |
Zealot
Posts: 102
Karma: 37418
Join Date: Jan 2013
Device: Kobo Glo, Aura, H2OE2, Libra 2
|
A couple of small problems I've had with this patch:
1) Patch --- Custom reading footer style The penultimate line: #ReplaceString: {Offset: 00FA, Find: "margin-top:+00px", Replace: "margin-top:-10px"} Should be Offset: 250 2) In kobopatch.yaml # files: # src/whatever.txt: usr/local/Kobo/whatever.txt No space is allowed before "files:" |
Advert | |
|
07-12-2018, 02:08 PM | #111 | |
Wizard
Posts: 2,737
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Quote:
2. You need to uncomment and remove the space. |
|
07-12-2018, 02:43 PM | #112 |
BLAM!
Posts: 13,478
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@geek1011: In the nickel patches, I'm guessing "Remove recommendations (row1col2) from home screen" should be part of the "Home screen tweaks" group, because it breaks the match against "#row1col2" that "Remove footer (row3) and increase cover size on new home screen" & "Remove footer (row3) on new home screen" rely on .
|
07-12-2018, 05:49 PM | #113 | |
Wizard
Posts: 2,737
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Quote:
|
|
07-12-2018, 08:00 PM | #114 |
BLAM!
Posts: 13,478
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
FWIW, automation is a go .
(That's highly unportable and pretty specific to my own setup, but, hey, if it can give someone else ideas... ). Which leads me to a minor question, @geek1011: Can I forgo commenting the default blank overrides: in the config and just append mine at the bottom of the file? (I won't ask you to make it commented out by default, because I know how confusing that might be to some users, as #110 just proved ). Last edited by NiLuJe; 07-12-2018 at 08:02 PM. |
07-12-2018, 11:51 PM | #115 |
Grand Sorcerer
Posts: 6,238
Karma: 11768331
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
I,ve got the four overriden uncommented and only two with active patches. Is that what you need? And the problem in the message wasn't the comment but the format deppending on exact indentation
|
07-13-2018, 11:53 AM | #116 | ||
Wizard
Posts: 2,737
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Quote:
Quote:
|
||
07-13-2018, 01:52 PM | #117 |
Resident Curmudgeon
Posts: 74,062
Karma: 129333562
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
If we change some of the values in the patches, will the new patch system remember this? If not, can it be written to remember?
|
07-13-2018, 06:18 PM | #118 |
Wizard
Posts: 2,737
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
No, it won't. It could be made to, but for simplicity, I suggest making a copy of the patch into an additional patch file, as described in the tips and tricks at the start of this thread. If there is enough demand, I might make it.
|
07-13-2018, 06:47 PM | #119 |
Resident Curmudgeon
Posts: 74,062
Karma: 129333562
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
It would be a useful feature. And isn't the idea with the new patching system to make things easier?
|
07-13-2018, 07:00 PM | #120 | |
Wizard
Posts: 2,737
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Quote:
If I can figure out an easy and elegant way to store changes to variables in patches, I'll implement it. |
|
Tags |
kobo, kobopatch, patch, patch32lsb |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
kobopatch - A new (WIP) patching system | geek1011 | Kobo Developer's Corner | 93 | 05-27-2018 03:04 PM |
Patching H2O | Maillemom | Kobo Developer's Corner | 8 | 10-19-2016 09:58 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.8.0 | GeoffR | Kobo Developer's Corner | 92 | 10-22-2014 07:22 AM |
how to clean more disk space in root file system to upgrade system | chinaet | iRex | 1 | 12-18-2006 03:54 PM |