07-09-2018, 03:16 PM | #76 |
Wizard
Posts: 2,760
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Sample patch: show all games in beta features
See https://www.mobileread.com/forums/sh...15#post3719317 Advantages over old-style one: way shorter, does not need to be updated to new versions, easily editable. Last edited by geek1011; 07-09-2018 at 03:50 PM. |
07-09-2018, 03:37 PM | #77 |
Grand Sorcerer
Posts: 6,268
Karma: 11768331
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Thank you, this looks nice. I'll check it on the weekend.
|
Advert | |
|
07-09-2018, 03:51 PM | #78 | |
Wizard
Posts: 2,760
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Quote:
Now I going to see if I can find a way to also make the other patches version-agnostic. I'm also going to make a nice site with documentation for kobopatch and see what I can do about porting the other patches over. |
|
07-09-2018, 03:56 PM | #79 | |
Grand Sorcerer
Posts: 6,268
Karma: 11768331
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Quote:
Thank you. |
|
07-09-2018, 04:41 PM | #80 |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
@geek1011,
I'm still not sure I fully understand how to use FindZlib. Please could you expand your #boggleContainer example. As it stands it looks as if it's enabling the beta games on a single device, the Kobo mini. Or have I misunderstood? A more typical zlib patch would change multiple occurrences of a single variable (one per Kobo model) or even multiple occurrences of multiple variables. |
Advert | |
|
07-09-2018, 05:18 PM | #81 | |
Wizard
Posts: 2,760
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Quote:
Also, another thing you might want to know is that ReplaceZlib automatically minifies the CSS if it is required. To accomodate for this, FindZlib will not care about inconsequential spaces. I've also ported another patch: https://www.mobileread.com/forums/sh...49&postcount=5 Last edited by geek1011; 07-09-2018 at 05:29 PM. |
|
07-09-2018, 06:00 PM | #82 | |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Quote:
That was going to be my next question. Well anticipated. |
|
07-09-2018, 06:31 PM | #83 | |
Wizard
Posts: 2,760
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Quote:
|
|
07-10-2018, 06:07 AM | #84 |
absolute beginner
Posts: 323
Karma: 1750999
Join Date: May 2017
Location: Go with the wind (43°19'17.7"N 2°00'19.4"W)
Device: ka1
|
There is any chance to use something like
Code:
src/hyph_es.dic: usr/local/Kobo/hyphenDicts/hyph_es.dic Good luck. |
07-10-2018, 04:24 PM | #85 | |
Wizard
Posts: 2,760
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Quote:
Also, I have released the first fully converted version of the patches with all of GeoffR and oren64's patches converted to use the new kobopatch features. It can be downloaded here. Please test it and tell me if there are any bugs or possible improvements I could make. A few facts: it is half the size of the same patches in the old format, about half of the patches have been made version independent, all zlib patches now use my zlib functions, and oren64's patches are now included. In addition, if oren64, jcn363, GeoffR, jackie_w, or anyone else who maintains patches wants write access to the GitHub repository, PM me. Last edited by geek1011; 07-10-2018 at 05:10 PM. |
|
07-10-2018, 04:27 PM | #86 |
BLAM!
Posts: 13,480
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Spitballing for people regularly adding extra files (and @geek1011):
Does a source: target config like what @jcn363 proposed makes more sense than simply being able to simply feed another KoboRoot and letting the patcher merge them? (It's a minor tooling change on my end, so I'm not particular about the details. I kind of like the merge the tarballs approach because it seems like a bit less work for me, and can be re-used for complex things more easily, but really, both approach would work for me ). |
07-10-2018, 04:32 PM | #87 |
Grand Sorcerer
Posts: 6,268
Karma: 11768331
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Merge tar requires having created them before (nice... well, more or less, in linux, not so much in other systems), while @jcn63's approach looks simpler to me.
|
07-10-2018, 04:35 PM | #88 |
Grand Sorcerer
Posts: 6,268
Karma: 11768331
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
BTW, now I remember I added an hyphen for en too, that I've forgotten in the last patch, thank you for this.
|
07-10-2018, 04:40 PM | #89 | |
Wizard
Posts: 2,760
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Quote:
Also, is there any additional kobopatch tooling you think would be useful for people and patchmakers to have? I'm already working on one to automatically make sure all patches successfully apply. |
|
07-10-2018, 05:16 PM | #90 |
BLAM!
Posts: 13,480
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: Yeah, I *definitely* get that (plus, handling potential conflicts and duplicates, fun times! ).
OTOH, nothing comes to mind, no. My use-case for the patching step is usually patches + hyphens, so, yeah, that works ^^. My merge the tarballs idea can probably be done the dumb way in like three tar commands in a shell script, so, err, moving along . @Terisa de morgan: That's indeed a very good point, too . |
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 |