Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader > Kobo Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 11-02-2019, 11:13 AM   #106
geek1011
Wizard
geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.
 
Posts: 2,737
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
Quote:
Originally Posted by forster01 View Post
is kobopatch updated with 24 line hight patch?
Here is one Semwize updated, but I haven't got around to testing it and adding it yet:

Code:
My 24 line spacing values:
  - Enabled: yes
  - PatchGroup: Line spacing values alternatives
  - Description: |
      This patch changes the values on the line spacing adjustment slider,
      increasing the number of spacing options from 15 to 24, and allowing
      much narrower spacing values to be set.
    # save r5, initialise loop counter
  - ReplaceBytes: {Offset: 0x719994, FindH: 97 F5 CE E9 6D A3, ReplaceH: A9 46 00 25 ED 00}
    # loop to load 14 vals from new table
  - ReplaceBytes: {Offset: 0x71999A, FindH: D3 E9 00 23 07 F1, ReplaceH: 20 46 04 A1 29 44}
  - ReplaceBytes: {Offset: 0x7199A0, FindH: 80 01 20 46, ReplaceH: 97 F5 C8 E9}
  - ReplaceBytes: {Offset: 0x7199A4, FindH: 61 E9 1C 23 97 F5, ReplaceH: 08 35 70 2D F7 D1}
    # jump over new table
  - ReplaceBytes: {Offset: 0x7199AA, FindH: C4 E9 6A A3 D3 E9, ReplaceH: 7C E0 00 BF 00 BF}
    # new table: 14 8-aligned doubles
  - BaseAddress: 0x7199B0
  - ReplaceBytes: {Offset: 0x00, FindH: 00 23 07 F1 80 01 20 46, ReplaceH: 00 00 00 00 00 00 F0 3F}
  - ReplaceBytes: {Offset: 0x08, FindH: 61 E9 1A 23 97 F5 BA E9, ReplaceH: 00 00 00 00 00 00 F0 3F}
  - ReplaceBytes: {Offset: 0x10, FindH: 67 A3 D3 E9 00 23 07 F1, ReplaceH: 00 00 00 00 00 00 F0 3F}
  - ReplaceBytes: {Offset: 0x18, FindH: 80 01 20 46 61 E9 18 23, ReplaceH: 00 00 00 00 00 00 F0 3F}
  - ReplaceBytes: {Offset: 0x20, FindH: 97 F5 B0 E9 43 F2 33 33, ReplaceH: 00 00 00 00 00 00 F0 3F}
  - ReplaceBytes: {Offset: 0x28, FindH: 4F F0 33 32 C3 F6 F3 73, ReplaceH: 00 00 00 00 00 00 F0 3F}
  - ReplaceBytes: {Offset: 0x30, FindH: 07 F1 80 01 20 46 61 E9, ReplaceH: 00 00 00 00 00 00 F0 3F}
  - ReplaceBytes: {Offset: 0x38, FindH: 16 23 97 F5 A4 E9 5E A3, ReplaceH: 00 00 00 00 00 00 F0 3F}
  - ReplaceBytes: {Offset: 0x40, FindH: D3 E9 00 23 07 F1 80 01, ReplaceH: 00 00 00 00 00 00 F0 3F}
  - ReplaceBytes: {Offset: 0x48, FindH: 20 46 61 E9 14 23 97 F5, ReplaceH: 00 00 00 00 00 00 F0 3F}
  - ReplaceBytes: {Offset: 0x50, FindH: 9A E9 00 23 00 22 C3 F6, ReplaceH: 00 00 00 00 00 00 F0 3F}
  - ReplaceBytes: {Offset: 0x58, FindH: F8 73 07 F1 80 01 20 46, ReplaceH: 00 00 00 00 00 00 F0 3F}
  - ReplaceBytes: {Offset: 0x60, FindH: 61 E9 12 23 97 F5 8E E9, ReplaceH: 00 00 00 00 00 00 F0 3F}
  - ReplaceBytes: {Offset: 0x68, FindH: 55 A3 D3 E9 00 23 07 F1, ReplaceH: 00 00 00 00 00 00 F0 3F}
  - BaseAddress: 0
    # initialise loop counter
  - ReplaceBytes: {Offset: 0x719AA4, FindH: 00 23 00 22, ReplaceH: 00 BF 00 25}
    # loop to load 10 vals from old table
  - ReplaceBytes: {Offset: 0x719AA8, FindH: C4 F2 08 03 07 F1, ReplaceH: 20 46 29 A1 29 44}
  - ReplaceBytes: {Offset: 0x719AAE, FindH: 80 01 20 46, ReplaceH: 97 F5 42 E9}
  - ReplaceBytes: {Offset: 0x719AB2, FindH: 61 E9 02 23 97 F5, ReplaceH: 08 35 50 2D F7 D1}
    # restore r5
  - ReplaceBytes: {Offset: 0x719AB8, FindH: 3E E9, ReplaceH: 4D 46}
    # continue at 719ABA
    #
    # Replacement value: the number of initial line spacing values to exclude from
    # the line spacing slider; minimum 0, maximum 13. E.g. 9 will result in a
    # slider with 15 positions, starting from the 10th replace_float value below.
  - ReplaceInt: {Offset: 0x719996, Find: 0, Replace: 0}
    # 24 replacement line spacing values: change these replace_float values to suit
    # your device and preferences:
  - BaseAddress: 0x7199B0
  - ReplaceFloat: {Offset: 0x00, Find: 1.0, Replace: 0.75}
  - ReplaceFloat: {Offset: 0x08, Find: 1.0, Replace: 0.78}
  - ReplaceFloat: {Offset: 0x10, Find: 1.0, Replace: 0.8}
  - ReplaceFloat: {Offset: 0x18, Find: 1.0, Replace: 0.82}
  - ReplaceFloat: {Offset: 0x20, Find: 1.0, Replace: 0.84}
  - ReplaceFloat: {Offset: 0x28, Find: 1.0, Replace: 0.86}
  - ReplaceFloat: {Offset: 0x30, Find: 1.0, Replace: 0.88}
  - ReplaceFloat: {Offset: 0x38, Find: 1.0, Replace: 0.9}
  - ReplaceFloat: {Offset: 0x40, Find: 1.0, Replace: 0.92}
  - ReplaceFloat: {Offset: 0x48, Find: 1.0, Replace: 0.94}
  - ReplaceFloat: {Offset: 0x50, Find: 1.0, Replace: 0.96}
  - ReplaceFloat: {Offset: 0x58, Find: 1.0, Replace: 0.98}
  - ReplaceFloat: {Offset: 0x60, Find: 1.0, Replace: 1.0}
  - ReplaceFloat: {Offset: 0x68, Find: 1.0, Replace: 1.02}
  - BaseAddress: 0x719B50
  - ReplaceFloat: {Offset: 0x00, Find: 1.05, Replace: 1.05}
  - ReplaceFloat: {Offset: 0x08, Find: 1.07, Replace: 1.07}
  - ReplaceFloat: {Offset: 0x10, Find: 1.1,  Replace: 1.1}
  - ReplaceFloat: {Offset: 0x18, Find: 1.35, Replace: 1.15}
  - ReplaceFloat: {Offset: 0x20, Find: 1.7,  Replace: 1.2}
  - ReplaceFloat: {Offset: 0x28, Find: 1.8,  Replace: 1.25}
  - ReplaceFloat: {Offset: 0x30, Find: 2.2,  Replace: 1.3}
  - ReplaceFloat: {Offset: 0x38, Find: 2.4,  Replace: 1.35}
  - ReplaceFloat: {Offset: 0x40, Find: 2.6,  Replace: 1.4}
  - ReplaceFloat: {Offset: 0x48, Find: 2.8,  Replace: 1.5}
    # The first 14 replace_float values above should allow the line spacing to be
    # adjusted in increments of one pixel when using a medium sized font on a high
    # resolution device. If you use a smaller font size and/or a lower resolution
    # device you might find that increasing the slider one step at a time doesn't
    # always result in a line spacing increase at each step. In that case, you
    # might want to use replacement values that are not quite so close together.
    #
    # For example: (I use these values on my 758x1024 Glo)
    #
    #  0.7 0.725 0.75 0.775 0.8 0.825 0.85 0.875 0.9 0.925 0.95 0.975 1.0 1.025 ...
    #
    # or: (these might better suit the 600x800 Touch)
    #
    #  0.6 0.633 0.667 0.7 0.733 0.767 0.8 0.833 0.867 9.0 9.33 9.67 1.0 1.025 ...
geek1011 is offline   Reply With Quote
Old 11-02-2019, 06:48 PM   #107
jkrzok
Connoisseur
jkrzok ought to be getting tired of karma fortunes by now.jkrzok ought to be getting tired of karma fortunes by now.jkrzok ought to be getting tired of karma fortunes by now.jkrzok ought to be getting tired of karma fortunes by now.jkrzok ought to be getting tired of karma fortunes by now.jkrzok ought to be getting tired of karma fortunes by now.jkrzok ought to be getting tired of karma fortunes by now.jkrzok ought to be getting tired of karma fortunes by now.jkrzok ought to be getting tired of karma fortunes by now.jkrzok ought to be getting tired of karma fortunes by now.jkrzok ought to be getting tired of karma fortunes by now.
 
Posts: 82
Karma: 1265322
Join Date: Apr 2010
Device: Clara HD, Aura One, Voyage, Oasis 1 & 2, Many others getting dusty.
[QUOTE=geek1011;3911313]Here is one Semwize updated, but I haven't got around to testing it and adding it yet:

It worked for me in a Clara.
jkrzok is offline   Reply With Quote
Advert
Old 11-03-2019, 05:39 AM   #108
hobey
Junior Member
hobey began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Nov 2019
Device: Kobo Clara HD
Hi all, new poster here.
I just tried the "Allow searches on Extra dictionaries" patch on the latest firmware (4.18.13737), but I'm still getting the "English - English" problem when trying to select my custom dictionary (-ru-en) from the search dialog.

The patch seems to have been applied correctly, as in the language section in the settings menu my custom language now is displayed as "Extra:_ru" (with an underscore rather than a space).

The custom dictionary was installed following these steps:
https://www.mobileread.com/forums/sh...25&postcount=1
The dictionary I installed is this one:
https://www.mobileread.com/forums/sh...0&postcount=72

Any thoughts why my device still switches to a non-existent "English - English" dictionary whenever I try to select my new custom dictionary?
hobey is offline   Reply With Quote
Old 11-03-2019, 05:50 AM   #109
Semwize
Guru
Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.
 
Posts: 873
Karma: 252902
Join Date: Jun 2016
Device: Kobo
hobey,
Quote:
3. Update database file.
Check the KoboReader.sqlite file. And make sure you actually added this dictionary.
Semwize is offline   Reply With Quote
Old 11-03-2019, 05:55 AM   #110
hobey
Junior Member
hobey began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Nov 2019
Device: Kobo Clara HD
Quote:
Originally Posted by Semwize View Post
hobey,
Check the KoboReader.sqlite file. And make sure you actually added this dictionary.
I believe I did, I'm attaching a screenshot of the entry to this post. Do you see anything wrong with it?
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2019-11-03 11-52-37.png
Views:	195
Size:	9.1 KB
ID:	174685  
hobey is offline   Reply With Quote
Advert
Old 11-03-2019, 06:03 AM   #111
Semwize
Guru
Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.
 
Posts: 873
Karma: 252902
Join Date: Jun 2016
Device: Kobo
Quote:
Originally Posted by hobey View Post
Do you see anything wrong with it?
Code:
Extra:_ru-en Russian-English
Fix

Even not so, probably this will not work... Better so:
Code:
Extra:_r1 Russian-English
And rename the dictionary, to dicthtml-r1.zip for example.

Last edited by Semwize; 11-03-2019 at 06:15 AM.
Semwize is offline   Reply With Quote
Old 11-03-2019, 06:19 AM   #112
hobey
Junior Member
hobey began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Nov 2019
Device: Kobo Clara HD
Quote:
Originally Posted by Semwize View Post
Code:
Extra:_ru-en Russian-English
Fix
Just tried this, but it still won't let me select it. (The device now shows an entry "Extra:_ru-en Russian-English" in the dropdown menu, but when I select it, it still switches to English.)

Edit: Just saw your last post, I'll try that....
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2019-11-03 12-18-07.png
Views:	170
Size:	9.6 KB
ID:	174687  
hobey is offline   Reply With Quote
Old 11-03-2019, 07:01 AM   #113
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 74,107
Karma: 129333562
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by geek1011 View Post
Here is one Semwize updated, but I haven't got around to testing it and adding it yet:

Code:
My 24 line spacing values:
  - Enabled: yes
  - PatchGroup: Line spacing values alternatives
  - Description: |
      This patch changes the values on the line spacing adjustment slider,
      increasing the number of spacing options from 15 to 24, and allowing
      much narrower spacing values to be set.
    # save r5, initialise loop counter
  - ReplaceBytes: {Offset: 0x719994, FindH: 97 F5 CE E9 6D A3, ReplaceH: A9 46 00 25 ED 00}
    # loop to load 14 vals from new table
  - ReplaceBytes: {Offset: 0x71999A, FindH: D3 E9 00 23 07 F1, ReplaceH: 20 46 04 A1 29 44}
  - ReplaceBytes: {Offset: 0x7199A0, FindH: 80 01 20 46, ReplaceH: 97 F5 C8 E9}
  - ReplaceBytes: {Offset: 0x7199A4, FindH: 61 E9 1C 23 97 F5, ReplaceH: 08 35 70 2D F7 D1}
    # jump over new table
  - ReplaceBytes: {Offset: 0x7199AA, FindH: C4 E9 6A A3 D3 E9, ReplaceH: 7C E0 00 BF 00 BF}
    # new table: 14 8-aligned doubles
  - BaseAddress: 0x7199B0
  - ReplaceBytes: {Offset: 0x00, FindH: 00 23 07 F1 80 01 20 46, ReplaceH: 00 00 00 00 00 00 F0 3F}
  - ReplaceBytes: {Offset: 0x08, FindH: 61 E9 1A 23 97 F5 BA E9, ReplaceH: 00 00 00 00 00 00 F0 3F}
  - ReplaceBytes: {Offset: 0x10, FindH: 67 A3 D3 E9 00 23 07 F1, ReplaceH: 00 00 00 00 00 00 F0 3F}
  - ReplaceBytes: {Offset: 0x18, FindH: 80 01 20 46 61 E9 18 23, ReplaceH: 00 00 00 00 00 00 F0 3F}
  - ReplaceBytes: {Offset: 0x20, FindH: 97 F5 B0 E9 43 F2 33 33, ReplaceH: 00 00 00 00 00 00 F0 3F}
  - ReplaceBytes: {Offset: 0x28, FindH: 4F F0 33 32 C3 F6 F3 73, ReplaceH: 00 00 00 00 00 00 F0 3F}
  - ReplaceBytes: {Offset: 0x30, FindH: 07 F1 80 01 20 46 61 E9, ReplaceH: 00 00 00 00 00 00 F0 3F}
  - ReplaceBytes: {Offset: 0x38, FindH: 16 23 97 F5 A4 E9 5E A3, ReplaceH: 00 00 00 00 00 00 F0 3F}
  - ReplaceBytes: {Offset: 0x40, FindH: D3 E9 00 23 07 F1 80 01, ReplaceH: 00 00 00 00 00 00 F0 3F}
  - ReplaceBytes: {Offset: 0x48, FindH: 20 46 61 E9 14 23 97 F5, ReplaceH: 00 00 00 00 00 00 F0 3F}
  - ReplaceBytes: {Offset: 0x50, FindH: 9A E9 00 23 00 22 C3 F6, ReplaceH: 00 00 00 00 00 00 F0 3F}
  - ReplaceBytes: {Offset: 0x58, FindH: F8 73 07 F1 80 01 20 46, ReplaceH: 00 00 00 00 00 00 F0 3F}
  - ReplaceBytes: {Offset: 0x60, FindH: 61 E9 12 23 97 F5 8E E9, ReplaceH: 00 00 00 00 00 00 F0 3F}
  - ReplaceBytes: {Offset: 0x68, FindH: 55 A3 D3 E9 00 23 07 F1, ReplaceH: 00 00 00 00 00 00 F0 3F}
  - BaseAddress: 0
    # initialise loop counter
  - ReplaceBytes: {Offset: 0x719AA4, FindH: 00 23 00 22, ReplaceH: 00 BF 00 25}
    # loop to load 10 vals from old table
  - ReplaceBytes: {Offset: 0x719AA8, FindH: C4 F2 08 03 07 F1, ReplaceH: 20 46 29 A1 29 44}
  - ReplaceBytes: {Offset: 0x719AAE, FindH: 80 01 20 46, ReplaceH: 97 F5 42 E9}
  - ReplaceBytes: {Offset: 0x719AB2, FindH: 61 E9 02 23 97 F5, ReplaceH: 08 35 50 2D F7 D1}
    # restore r5
  - ReplaceBytes: {Offset: 0x719AB8, FindH: 3E E9, ReplaceH: 4D 46}
    # continue at 719ABA
    #
    # Replacement value: the number of initial line spacing values to exclude from
    # the line spacing slider; minimum 0, maximum 13. E.g. 9 will result in a
    # slider with 15 positions, starting from the 10th replace_float value below.
  - ReplaceInt: {Offset: 0x719996, Find: 0, Replace: 0}
    # 24 replacement line spacing values: change these replace_float values to suit
    # your device and preferences:
  - BaseAddress: 0x7199B0
  - ReplaceFloat: {Offset: 0x00, Find: 1.0, Replace: 0.75}
  - ReplaceFloat: {Offset: 0x08, Find: 1.0, Replace: 0.78}
  - ReplaceFloat: {Offset: 0x10, Find: 1.0, Replace: 0.8}
  - ReplaceFloat: {Offset: 0x18, Find: 1.0, Replace: 0.82}
  - ReplaceFloat: {Offset: 0x20, Find: 1.0, Replace: 0.84}
  - ReplaceFloat: {Offset: 0x28, Find: 1.0, Replace: 0.86}
  - ReplaceFloat: {Offset: 0x30, Find: 1.0, Replace: 0.88}
  - ReplaceFloat: {Offset: 0x38, Find: 1.0, Replace: 0.9}
  - ReplaceFloat: {Offset: 0x40, Find: 1.0, Replace: 0.92}
  - ReplaceFloat: {Offset: 0x48, Find: 1.0, Replace: 0.94}
  - ReplaceFloat: {Offset: 0x50, Find: 1.0, Replace: 0.96}
  - ReplaceFloat: {Offset: 0x58, Find: 1.0, Replace: 0.98}
  - ReplaceFloat: {Offset: 0x60, Find: 1.0, Replace: 1.0}
  - ReplaceFloat: {Offset: 0x68, Find: 1.0, Replace: 1.02}
  - BaseAddress: 0x719B50
  - ReplaceFloat: {Offset: 0x00, Find: 1.05, Replace: 1.05}
  - ReplaceFloat: {Offset: 0x08, Find: 1.07, Replace: 1.07}
  - ReplaceFloat: {Offset: 0x10, Find: 1.1,  Replace: 1.1}
  - ReplaceFloat: {Offset: 0x18, Find: 1.35, Replace: 1.15}
  - ReplaceFloat: {Offset: 0x20, Find: 1.7,  Replace: 1.2}
  - ReplaceFloat: {Offset: 0x28, Find: 1.8,  Replace: 1.25}
  - ReplaceFloat: {Offset: 0x30, Find: 2.2,  Replace: 1.3}
  - ReplaceFloat: {Offset: 0x38, Find: 2.4,  Replace: 1.35}
  - ReplaceFloat: {Offset: 0x40, Find: 2.6,  Replace: 1.4}
  - ReplaceFloat: {Offset: 0x48, Find: 2.8,  Replace: 1.5}
    # The first 14 replace_float values above should allow the line spacing to be
    # adjusted in increments of one pixel when using a medium sized font on a high
    # resolution device. If you use a smaller font size and/or a lower resolution
    # device you might find that increasing the slider one step at a time doesn't
    # always result in a line spacing increase at each step. In that case, you
    # might want to use replacement values that are not quite so close together.
    #
    # For example: (I use these values on my 758x1024 Glo)
    #
    #  0.7 0.725 0.75 0.775 0.8 0.825 0.85 0.875 0.9 0.925 0.95 0.975 1.0 1.025 ...
    #
    # or: (these might better suit the 600x800 Touch)
    #
    #  0.6 0.633 0.667 0.7 0.733 0.767 0.8 0.833 0.867 9.0 9.33 9.67 1.0 1.025 ...
It's working on my original H2O.
JSWolf is offline   Reply With Quote
Old 11-03-2019, 10:01 AM   #114
hobey
Junior Member
hobey began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Nov 2019
Device: Kobo Clara HD
Quote:
Originally Posted by Semwize View Post
Better so:
Code:
Extra:_r1 Russian-English
And rename the dictionary, to dicthtml-r1.zip for example.
You are right, renaming the file and the sqlite entry like this works perfectly. Thank you!
  • File name: "dicthtml-r1.zip"
  • In Kobo eReader.conf "ExtraLocales: r1"
  • Name in sqlite entry: "Extra:_r1 Russian-English"
hobey is offline   Reply With Quote
Old 11-03-2019, 12:41 PM   #115
ZodWallop
Gentleman and scholar
ZodWallop ought to be getting tired of karma fortunes by now.ZodWallop ought to be getting tired of karma fortunes by now.ZodWallop ought to be getting tired of karma fortunes by now.ZodWallop ought to be getting tired of karma fortunes by now.ZodWallop ought to be getting tired of karma fortunes by now.ZodWallop ought to be getting tired of karma fortunes by now.ZodWallop ought to be getting tired of karma fortunes by now.ZodWallop ought to be getting tired of karma fortunes by now.ZodWallop ought to be getting tired of karma fortunes by now.ZodWallop ought to be getting tired of karma fortunes by now.ZodWallop ought to be getting tired of karma fortunes by now.
 
ZodWallop's Avatar
 
Posts: 11,019
Karma: 108312789
Join Date: Jun 2015
Location: Space City, Texas
Device: Clara HD; Nook ST w/Glowlight, (2015) Glowlight Plus, Paperwhite 3
Quote:
Originally Posted by geek1011 View Post
No, it turns out too much of the code for the header and footer is shared with each other for me to easily change it for only one of them (and I don't have time to do it the long way right now).
Alright. Thanks for al the work you've already done.

I'll be patient.
ZodWallop is offline   Reply With Quote
Old 11-03-2019, 01:33 PM   #116
Semwize
Guru
Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.
 
Posts: 873
Karma: 252902
Join Date: Jun 2016
Device: Kobo
Quote:
Originally Posted by hobey View Post
  • In Kobo eReader.conf "ExtraLocales: r1"
If you read books in Russian, more correct
Code:
ExtraLocales: ru, r1
I'm not sure, but that's how the language of the book should be properly defined in details.
Semwize is offline   Reply With Quote
Old 11-03-2019, 05:05 PM   #117
bearymore
Zealot
bearymore can spell AND pronounce 'liseuse.'bearymore can spell AND pronounce 'liseuse.'bearymore can spell AND pronounce 'liseuse.'bearymore can spell AND pronounce 'liseuse.'bearymore can spell AND pronounce 'liseuse.'bearymore can spell AND pronounce 'liseuse.'bearymore can spell AND pronounce 'liseuse.'bearymore can spell AND pronounce 'liseuse.'bearymore can spell AND pronounce 'liseuse.'bearymore can spell AND pronounce 'liseuse.'bearymore can spell AND pronounce 'liseuse.'
 
Posts: 102
Karma: 39270
Join Date: May 2010
Device: Kobo Aura One
[QUOTE=jkrzok;3911447]
Quote:
Originally Posted by geek1011 View Post
Here is one Semwize updated, but I haven't got around to testing it and adding it yet:
It also worked for me on my Aura One.
bearymore is offline   Reply With Quote
Old 11-03-2019, 05:47 PM   #118
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 74,107
Karma: 129333562
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
@Semwize, thanks for the 24 line height values patch.
JSWolf is offline   Reply With Quote
Old 11-04-2019, 12:33 AM   #119
johnnydarko
Member
johnnydarko began at the beginning.
 
Posts: 20
Karma: 12
Join Date: Sep 2019
Device: Clara HD
Quote:
Originally Posted by geek1011 View Post
From the terminal window, can you paste the output of typing `find ` then dragging the patch folder on, and pressing enter? Also, can you also paste the output of log.txt (put it in a spoiler)?
Thank you for responding.

I figured out a "workaround" for this issue: It seems that when I use my Mac to compress the downloaded original firmware folder (Safari UNcompresses it by default), when placed in the src folder, it leads to the “could not find KoboRoot.tgz” error when running kobopatch.sh in Terminal.

So, in Safari I unchecked "open 'safe' files after downloading" in the preferences and was able to put THAT original, unaltered ZIP file in the src folder and now the process works in Terminal without a hitch. Yay!

I don't know what Apple does differently when it comes to compressing folders into ZIP files, but the difference is enough to trip up the kobopatch.sh script when run in Terminal. I’ll leave it to the tech gurus to figure that out, but in the meantime hopefully my workaround will save some other Mac user from pulling their hair out in future.
johnnydarko is offline   Reply With Quote
Old 11-04-2019, 11:25 AM   #120
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 35,617
Karma: 145557716
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by johnnydarko View Post
I don't know what Apple does differently when it comes to compressing folders into ZIP files, but the difference is enough to trip up the kobopatch.sh script when run in Terminal. I’ll leave it to the tech gurus to figure that out, but in the meantime hopefully my workaround will save some other Mac user from pulling their hair out in future.
I ran into a similar issue when I uncompressed the firmware source file and then recompressed it with 7-Zip. The advanced settings I used with 7-Zip were not accepted by the unpacking software used by Kobopatch. When I reset the compression options to normal and deflate, Kobopatch was happy.
DNSB is offline   Reply With Quote
Reply

Tags
kobopatch, patch, patch32lsb, patches, patching


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Instructions for patching firmware 3.13.1 GeoffR Kobo Developer's Corner 56 07-01-2016 09:59 AM
Instructions for patching firmware 3.15.0 GeoffR Kobo Developer's Corner 146 05-24-2016 06:10 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.2.0 DNSB Kobo Developer's Corner 66 12-05-2014 07:28 AM
Instructions for patching firmware 3.3.x, 3.4.x, 3.5.x GeoffR Kobo Developer's Corner 285 08-27-2014 10:06 AM


All times are GMT -4. The time now is 03:22 AM.


MobileRead.com is a privately owned, operated and funded community.