![]() |
#61 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 188
Karma: 505964
Join Date: Feb 2016
Location: Hong Kong
Device: Hong Kong is done.
|
Not yet patch my device. Does the patch apply to both epub and kepub the same ways?
Thx for sharing. |
![]() |
![]() |
![]() |
#62 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Quote:
For example the `My 15 line spacing values` patch changes the line spacings that are selected with the line spacing slider, which is used by both ePub and KePub readers. But while the ePub reader works correctly with any line spacing value you choose, the KePub reader has problems with the narrower spacings that can result in the first and last line of text on the page being clipped. This means that you might want to customise the patch differently depending on which format you mainly read, perhaps leaving out the narrower settings and including more wide settings if you mainly read KePubs. |
|
![]() |
![]() |
Advert | |
|
![]() |
#63 | |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 188
Karma: 505964
Join Date: Feb 2016
Location: Hong Kong
Device: Hong Kong is done.
|
Quote:
![]() Last edited by 344a; 05-04-2016 at 08:38 AM. |
|
![]() |
![]() |
![]() |
#64 |
Banned
![]() Posts: 8
Karma: 10
Join Date: Jan 2016
Device: none
|
Question. How does patching relate to the mods on this sub-forum? Is patching necessary to use them?
|
![]() |
![]() |
![]() |
#65 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
It depends on the mod. Some mods require particular patches, other require that particular patches are not done. But, mostly they are independent. If there are dependencies, it should be mentioned in the thread for the mod.
|
![]() |
![]() |
Advert | |
|
![]() |
#66 |
Member
![]() Posts: 11
Karma: 10
Join Date: Jul 2016
Location: Houston, Texas, USA
Device: Kobo Glo HD
|
In Step 3 of the patching process it says: "Read and edit all the *.patch files in the 3.19.5761_source/ subdirectory in order to: choose which patches to enable (patch_enable=`yes`) or disable (patch_enable=`no`); and to change some of the replacement values to suit your device and preferences."
How do I read and edit these patches? Do I need a certain program? I keep getting the "Windows can't open this file" message. In Step 4 of the patching process it says: "In Windows double-click 3.19.5761.bat; For Linux/Mac open a terminal, change to the patch_kobo_3195761/ subdirectory, and run ./3.19.5761.sh from the command line." I don't see a ".bat" file anywhere. Where is this file supposed to be located? Thanks for your help :-) Last edited by superjoefly; 07-23-2016 at 03:01 PM. |
![]() |
![]() |
![]() |
#67 | |
I need a chapter break
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,042
Karma: 56058267
Join Date: Mar 2015
Location: Israel
Device: Kobo Glo
|
You can use Notpade++ to edit .patch file, https://notepad-plus-plus.org/download/v6.9.2.html
Also you can use Kobo Patch GUI, to enable/disable patchs. Quote:
Last edited by oren64; 07-23-2016 at 04:08 PM. |
|
![]() |
![]() |
![]() |
#68 | ||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#69 | ||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Quote:
Quote:
Edit: I was to slow it seems! |
||
![]() |
![]() |
![]() |
#70 |
Member
![]() Posts: 11
Karma: 10
Join Date: Jul 2016
Location: Houston, Texas, USA
Device: Kobo Glo HD
|
Thank you for the quick reply!
I had to change "Opens with:" settings in file properties so that it would open with Notepad. The .bat file did have an icon and I was able to find it. I took a look at the .patch files and they seem to me to be somewhat complicated. Are the patches already set up to make certain adjustments without having to edit them? I see that some of them are already enabled, and I don't want to mess anything up. Thanks :-) |
![]() |
![]() |
![]() |
#71 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,432
Karma: 78880114
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Its often easier just to open your text editor (Notepad or Notepadd++), select it's file p-epen menu, and then find the file you want to edit.
|
![]() |
![]() |
![]() |
#72 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Quote:
For most of the patches that are not enabled by default you can just enable them to make them take effect, but some will also need to be adjusted to suit a particular device or preference. An example is the `Custom reading footer style` patch where there doesn't seem to be any agreed ideal for size or style, and any particular setting will have different results on different devices depending on screen size/resolution/DPI. A popular patch that is not enabled by default is the `Freedom to advanced font controls`, as it might cause problems for some users who read Japanses books. (I don't know exactly what the side-effects would be though, since I never read Japanese, I just see that the patch can cause a garbage value to be passed to a subroutine if Japanese is selected.) Beware that many patches do things that most people would not want, so it is best not to enable them unless they do something you know you want and you can live with the side-effects (if any). I suggest starting by asking yourself what is it about the stock firmware that you want to change, and then see if there is a patch for that. If the stock firmware already does what you want then no need to patch it. |
|
![]() |
![]() |
![]() |
#73 |
Member
![]() Posts: 11
Karma: 10
Join Date: Jul 2016
Location: Houston, Texas, USA
Device: Kobo Glo HD
|
Great reply and thanks for your help!
I notice that the footer patch, by default, on lines 62, 63, and 64 (Example replacement footer height values: Glo/Aura), that there is no '#'sign. However, I am doing this patch for the Glo HD. Should I comment out the above mentioned lines and uncomment (remove the '#' sign) lines 66, 67, and 68 in order to apply it to the Glo HD? Just want to check if I've got the right idea. I'm also wondering if anyone has a picture of how this particular patch would appear once completed. Thanks for your help :-) Last edited by superjoefly; 07-23-2016 at 07:51 PM. |
![]() |
![]() |
![]() |
#74 | ||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Quote:
Code:
# Example replacement footer height values: Touch/Mini #replace_string = 001A, `footerMargin: 105;`, `footerMargin: 105;` #replace_string = 002D, `min-height: 70px;`, `min-height: 32px;` #replace_string = 003F, `max-height: 70px;`, `max-height: 32px;` # Example replacement footer height values: Glo/Aura #replace_string = 001A, `footerMargin: 105;`, `footerMargin: 105;` #replace_string = 002D, `min-height: 70px;`, `min-height: 40px;` #replace_string = 003F, `max-height: 70px;`, `max-height: 40px;` # Example replacement footer height values: AuraHD/H2O/GloHD replace_string = 001A, `footerMargin: 105;`, `footerMargin: 170;` replace_string = 002D, `min-height: 70px;`, `min-height: 52px;` replace_string = 003F, `max-height: 70px;`, `max-height: 52px;` Quote:
|
||
![]() |
![]() |
![]() |
#75 |
Member
![]() Posts: 11
Karma: 10
Join Date: Jul 2016
Location: Houston, Texas, USA
Device: Kobo Glo HD
|
Excellent, thank you!
I only have one more question at the moment, and that is...do updates to the Kobo firmware interrupt the patches? Thank you so much for your assistance...you've been very helpful :-) |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Instructions for patching firmware 3.17.3 | GeoffR | Kobo Developer's Corner | 60 | 09-17-2015 05:35 PM |
Instructions for patching firmware 3.17.0 | GeoffR | Kobo Developer's Corner | 49 | 08-16-2015 05:20 AM |
Instructions for patching firmware 3.16.10 | GeoffR | Kobo Developer's Corner | 12 | 08-14-2015 03:40 AM |
Instructions for patching firmware 3.11.0 | GeoffR | Kobo Developer's Corner | 226 | 06-01-2015 05:32 AM |
Instructions for patching firmware 3.8.0 | GeoffR | Kobo Developer's Corner | 92 | 10-22-2014 07:22 AM |