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 08-23-2018, 05:02 PM   #166
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,804
Karma: 7025947
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
Quote:
Originally Posted by jackie_w View Post
Thanks. Minor nit-pick - I'm a she
Oops, sorry, typo.
geek1011 is offline   Reply With Quote
Old 08-24-2018, 12:57 AM   #167
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
line spacing patches for 4.10.11591

My 10 line spacing values:
Spoiler:
Code:
My 10 line spacing values:
  - Enabled: no
  - PatchGroup: Line spacing values alternatives
  - Description: |
      This patch changes the values on the line spacing adjustment slider,
      reducing the number of spacing options from 15 to 10, but allowing
      much narrower spacing values to be set.
    # Bypass code-constructed values 1.0, 1.2, 1.5, 2.0, 3.0
  - ReplaceBytes: {Offset: 0x65A034, FindH: BC F5 84 EA, ReplaceH: 00 46 00 46}
  - ReplaceBytes: {Offset: 0x65A08A, FindH: BC F5 5A EA, ReplaceH: 00 46 00 46}
  - ReplaceBytes: {Offset: 0x65A0B4, FindH: BC F5 44 EA, ReplaceH: 00 46 00 46}
  - ReplaceBytes: {Offset: 0x65A0F0, FindH: BC F5 26 EA, ReplaceH: 00 46 00 46}
  - ReplaceBytes: {Offset: 0x65A156, FindH: BC F5 F4 E9, ReplaceH: 00 46 00 46}
    # 10 values for replacement, change these replace_float values to suit:
  - BaseAddress: 0x65A1F0
  - ReplaceFloat: {Offset: 0x00,  Find: 1.05, Replace: 0.8}
  - ReplaceFloat: {Offset: 0x08,  Find: 1.07, Replace: 0.85}
  - ReplaceFloat: {Offset: 0x10,  Find: 1.1,   Replace: 0.875}
  - ReplaceFloat: {Offset: 0x18,  Find: 1.35,  Replace: 0.9}
  - ReplaceFloat: {Offset: 0x20,  Find: 1.7,   Replace: 0.925}
  - ReplaceFloat: {Offset: 0x28,  Find: 1.8,   Replace: 0.95}
  - ReplaceFloat: {Offset: 0x30,  Find: 2.2,   Replace: 0.975}
  - ReplaceFloat: {Offset: 0x38,  Find: 2.4,   Replace: 1.0}
  - ReplaceFloat: {Offset: 0x40,  Find: 2.6,   Replace: 1.05}
  - ReplaceFloat: {Offset: 0x48,  Find: 2.8,   Replace: 1.1}

My 24 line spacing values:
Spoiler:
Code:
My 24 line spacing values:
  - Enabled: no
  - 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: 0x65A034, FindH: BC F5 84 EA 6D A3, ReplaceH: A9 46 00 25 ED 00}
    # loop to load 14 vals from new table
  - ReplaceBytes: {Offset: 0x65A03A, FindH: D3 E9 00 23 07 F1, ReplaceH: 20 46 04 A1 29 44}
  - ReplaceBytes: {Offset: 0x65A040, FindH: 80 01 20 46,       ReplaceH: BC F5 7E EA}
  - ReplaceBytes: {Offset: 0x65A044, FindH: 61 E9 1C 23 BC F5, ReplaceH: 08 35 70 2D F7 D1}
    # jump over new table
  - ReplaceBytes: {Offset: 0x65A04A, FindH: 7A EA 6A A3 D3 E9, ReplaceH: 7C E0 00 BF 00 BF}
    # new table: 14 8-aligned doubles
  - BaseAddress: 0x65A050
  - 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 BC F5 70 EA, 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: BC F5 66 EA 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 BC F5 5A EA 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 BC F5, ReplaceH: 00 00 00 00 00 00 F0 3F}
  - ReplaceBytes: {Offset: 0x50, FindH: 50 EA 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 BC F5 44 EA, 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: 0x65A144, FindH: 00 23 00 22, ReplaceH: 00 BF 00 25}
    # loop to load 10 vals from old table
  - ReplaceBytes: {Offset: 0x65A148, FindH: C4 F2 08 03 07 F1, ReplaceH: 20 46 29 A1 29 44}
  - ReplaceBytes: {Offset: 0x65A14E, FindH: 80 01 20 46, ReplaceH: BC F5 F8 E9}
  - ReplaceBytes: {Offset: 0x65A152, FindH: 61 E9 02 23 BC F5, ReplaceH: 08 35 50 2D F7 D1}
    # restore r5
  - ReplaceBytes: {Offset: 0x65A158, FindH: F4 E9, ReplaceH: 4D 46}
    # continue at 65A15A
    #
    # 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: 0x65A036, Find: 0, Replace: 0}
    # 24 replacement line spacing values: change these replace_float values to suit
    # your device and preferences:
  - BaseAddress: 0x65A050
  - 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: 0x65A1F0
  - 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: If you want to start an instructions thread for this firmware version then go ahead, I can make a post in it with the old-method instructions later, this weekend sometime.

Last edited by GeoffR; 08-25-2018 at 01:04 PM. Reason: My 24 line spacing values patch is working after all
GeoffR is offline   Reply With Quote
Old 08-24-2018, 08:40 AM   #168
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Thanks, GeoffR
jackie_w is offline   Reply With Quote
Old 08-24-2018, 08:47 AM   #169
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,804
Karma: 7025947
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
Quote:
Originally Posted by GeoffR View Post
My 10 line spacing values:
Spoiler:
Code:
My 10 line spacing values:
  - Enabled: no
  - PatchGroup: Line spacing values alternatives
  - Description: |
      This patch changes the values on the line spacing adjustment slider,
      reducing the number of spacing options from 15 to 10, but allowing
      much narrower spacing values to be set.
    # Bypass code-constructed values 1.0, 1.2, 1.5, 2.0, 3.0
  - ReplaceBytes: {Offset: 0x65A034, FindH: BC F5 84 EA, ReplaceH: 00 46 00 46}
  - ReplaceBytes: {Offset: 0x65A08A, FindH: BC F5 5A EA, ReplaceH: 00 46 00 46}
  - ReplaceBytes: {Offset: 0x65A0B4, FindH: BC F5 44 EA, ReplaceH: 00 46 00 46}
  - ReplaceBytes: {Offset: 0x65A0F0, FindH: BC F5 26 EA, ReplaceH: 00 46 00 46}
  - ReplaceBytes: {Offset: 0x65A156, FindH: BC F5 F4 E9, ReplaceH: 00 46 00 46}
    # 10 values for replacement, change these replace_float values to suit:
  - BaseAddress: 0x65A1F0
  - ReplaceFloat: {Offset: 0x00,  Find: 1.05, Replace: 0.8}
  - ReplaceFloat: {Offset: 0x08,  Find: 1.07, Replace: 0.85}
  - ReplaceFloat: {Offset: 0x10,  Find: 1.1,   Replace: 0.875}
  - ReplaceFloat: {Offset: 0x18,  Find: 1.35,  Replace: 0.9}
  - ReplaceFloat: {Offset: 0x20,  Find: 1.7,   Replace: 0.925}
  - ReplaceFloat: {Offset: 0x28,  Find: 1.8,   Replace: 0.95}
  - ReplaceFloat: {Offset: 0x30,  Find: 2.2,   Replace: 0.975}
  - ReplaceFloat: {Offset: 0x38,  Find: 2.4,   Replace: 1.0}
  - ReplaceFloat: {Offset: 0x40,  Find: 2.6,   Replace: 1.05}
  - ReplaceFloat: {Offset: 0x48,  Find: 2.8,   Replace: 1.1}

My 24 line spacing values:
Spoiler:
Code:
My 24 line spacing values:
  - Enabled: no
  - 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: 0x65A034, FindH: BC F5 84 EA 6D A3, ReplaceH: A9 46 00 25 ED 00}
    # loop to load 14 vals from new table
  - ReplaceBytes: {Offset: 0x65A03A, FindH: D3 E9 00 23 07 F1, ReplaceH: 20 46 04 A1 29 44}
  - ReplaceBytes: {Offset: 0x65A040, FindH: 80 01 20 46,       ReplaceH: BC F5 7E EA}
  - ReplaceBytes: {Offset: 0x65A044, FindH: 61 E9 1C 23 BC F5, ReplaceH: 08 35 70 2D F7 D1}
    # jump over new table
  - ReplaceBytes: {Offset: 0x65A04A, FindH: 7A EA 6A A3 D3 E9, ReplaceH: 7C E0 00 BF 00 BF}
    # new table: 14 8-aligned doubles
  - BaseAddress: 0x65A050
  - 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 BC F5 70 EA, 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: BC F5 66 EA 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 BC F5 5A EA 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 BC F5, ReplaceH: 00 00 00 00 00 00 F0 3F}
  - ReplaceBytes: {Offset: 0x50, FindH: 50 EA 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 BC F5 44 EA, 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: 0x65A144, FindH: 00 23 00 22, ReplaceH: 00 BF 00 25}
    # loop to load 10 vals from old table
  - ReplaceBytes: {Offset: 0x65A148, FindH: C4 F2 08 03 07 F1, ReplaceH: 20 46 29 A1 29 44}
  - ReplaceBytes: {Offset: 0x65A14E, FindH: 80 01 20 46, ReplaceH: BC F5 F8 E9}
  - ReplaceBytes: {Offset: 0x65A152, FindH: 61 E9 02 23 BC F5, ReplaceH: 08 35 50 2D F7 D1}
    # restore r5
  - ReplaceBytes: {Offset: 0x65A158, FindH: F4 E9, ReplaceH: 4D 46}
    # continue at 65A15A
    #
    # 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: 0x65A036, Find: 0, Replace: 0}
    # 24 replacement line spacing values: change these replace_float values to suit
    # your device and preferences:
  - BaseAddress: 0x65A050
  - 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: 0x65A1F0
  - 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: If you want to start an instructions thread for this firmware version then go ahead, I can make a post in it with the old-method instructions later, this weekend sometime.
Thanks. The 10 line spacing values one is the same as mine (and has the same issue of the values being out of order), but the 24 seems to work. I'll start the patch thread in a bit.

geek1011 is offline   Reply With Quote
Old 08-24-2018, 09:04 AM   #170
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by geek1011 View Post
The 10 line spacing values one is the same as mine (and has the same issue of the values being out of order)...
Actually, it's not. I've never used the`10 line spacing` patch before but I did use it yesterday as a stop-gap until the `24 line spacing` patch became available. I did notice some problems but it was good enough as a temporary option (definitely better than anything I could have created myself , so thank you)

As a result, I did test Geoff's new `10 line spacing` patch this morning. There were no problems at all. The differences between yours and Geoff's are in some of the ReplaceBytes lines in the section labeled '# Bypass code-constructed values 1.0, 1.2, 1.5, 2.0, 3.0'
jackie_w is offline   Reply With Quote
Old 08-24-2018, 09:14 AM   #171
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,804
Karma: 7025947
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
Quote:
Originally Posted by jackie_w View Post
Actually, it's not. I've never used the`10 line spacing` patch before but I did use it yesterday as a stop-gap until the `24 line spacing` patch became available. I did notice some problems but it was good enough as a temporary option (definitely better than anything I could have created myself , so thank you)

As a result, I did test Geoff's new `10 line spacing` patch this morning. There were no problems at all. The differences between yours and Geoff's are in some of the ReplaceBytes lines in the section labeled '# Bypass code-constructed values 1.0, 1.2, 1.5, 2.0, 3.0'
Yep, I spoke too soon (and I looked at it from my phone). The difference was which append he overrides (there are multiple).

I've released v10, which updates those two patches. As usual, if you use overrides, you can update by extracting the new version, and replacing kobopatch.yaml with your old one.
geek1011 is offline   Reply With Quote
Old 08-24-2018, 09:56 AM   #172
oren64
I need a chapter break
oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.
 
oren64's Avatar
 
Posts: 4,042
Karma: 56058267
Join Date: Mar 2015
Location: Israel
Device: Kobo Glo
In the Wikipedia patch it supposed to be "en" and not "es" as default.

Can I add extra patch files as yaml in the src folder?
Like this:

Spoiler:
Code:
patches:
  src/nickel.yaml: usr/local/Kobo/nickel
  src/extra_nickel.yaml: usr/local/Kobo/nickel
...
overrides:
  src/nickel.yaml:
  src/extra_nickel.yaml:
oren64 is offline   Reply With Quote
Old 08-24-2018, 10:00 AM   #173
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by oren64 View Post
Can I add extra patch files as yaml in the src folder?
Yes, you can.
jackie_w is offline   Reply With Quote
Old 08-24-2018, 10:03 AM   #174
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,804
Karma: 7025947
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
That's also what I do, as it makes it really easy to update.
geek1011 is offline   Reply With Quote
Old 08-24-2018, 12:01 PM   #175
Dirk-71
Groupie
Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.
 
Posts: 160
Karma: 35462
Join Date: Dec 2016
Location: Germany
Device: Kobo: Clara BW, Libra 2, Aura One
Keyboard missing 'O' in 4.10.1159

Hi,
today I installed the patch and noticed that my keyboard has two 'U' but no 'O'.

As long as I do not enable any patch, it works. But I have enabled several patches and have to sort out, which patch is causing this issue.

Meanwhile I found out, which patch is causing this issue: "Rename new home screen footer" in libnickel.so.1.0.0.yaml.
Attached Thumbnails
Click image for larger version

Name:	keyboard-missing-o.png
Views:	402
Size:	40.4 KB
ID:	165828  

Last edited by Dirk-71; 08-24-2018 at 01:41 PM.
Dirk-71 is offline   Reply With Quote
Old 08-24-2018, 02:36 PM   #176
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,804
Karma: 7025947
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
Quote:
Originally Posted by Dirk-71 View Post
Hi,
today I installed the patch and noticed that my keyboard has two 'U' but no 'O'.

As long as I do not enable any patch, it works. But I have enabled several patches and have to sort out, which patch is causing this issue.

Meanwhile I found out, which patch is causing this issue: "Rename new home screen footer" in libnickel.so.1.0.0.yaml.
That's a side effect of some of the string-related patches. Due to the way QT stores strings, sometimes, it will use part of another string to save space.

For your specific case, if you remove the last replacement (the Kobo Store one), it should work alright.

I'll add this to the FAQ and the patch description.

Last edited by geek1011; 08-24-2018 at 02:40 PM.
geek1011 is offline   Reply With Quote
Old 08-24-2018, 03:31 PM   #177
Dirk-71
Groupie
Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.
 
Posts: 160
Karma: 35462
Join Date: Dec 2016
Location: Germany
Device: Kobo: Clara BW, Libra 2, Aura One
Quote:
Originally Posted by geek1011 View Post
That's a side effect of some of the string-related patches. Due to the way QT stores strings, sometimes, it will use part of another string to save space.

For your specific case, if you remove the last replacement (the Kobo Store one), it should work alright.

I'll add this to the FAQ and the patch description.
Ok, thank you!
Dirk-71 is offline   Reply With Quote
Old 08-24-2018, 03:37 PM   #178
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,804
Karma: 7025947
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
Quote:
Originally Posted by Dirk-71 View Post
Ok, thank you!
No problem.
geek1011 is offline   Reply With Quote
Old 08-24-2018, 05:08 PM   #179
forster01
Groupie
forster01 can do the Funky Gibbon.forster01 can do the Funky Gibbon.forster01 can do the Funky Gibbon.forster01 can do the Funky Gibbon.forster01 can do the Funky Gibbon.forster01 can do the Funky Gibbon.forster01 can do the Funky Gibbon.forster01 can do the Funky Gibbon.forster01 can do the Funky Gibbon.forster01 can do the Funky Gibbon.forster01 can do the Funky Gibbon.
 
Posts: 197
Karma: 82624
Join Date: May 2013
Device: Kobo Forma, Kobo Aura One, Kobo Aura HD, Kindle, Amazon Fire HD
After applying new firmware on non limited KA1 everything was smooth, but after applying a patch i couldn't open any of my epubs cause on opening device rebooted every time.
After trying a few times i went for factory reset and apply 4.9.11311 firmware that worked ok. i applied only few patches. basic ones....

I uploaded a log...
Attached Files
File Type: txt log.txt (214.3 KB, 254 views)
forster01 is offline   Reply With Quote
Old 08-24-2018, 08:48 PM   #180
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,804
Karma: 7025947
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
Quote:
Originally Posted by forster01 View Post
After applying new firmware on non limited KA1 everything was smooth, but after applying a patch i couldn't open any of my epubs cause on opening device rebooted every time.
After trying a few times i went for factory reset and apply 4.9.11311 firmware that worked ok. i applied only few patches. basic ones....

I uploaded a log...
Do you know which patch? I tested all of them and they worked fine. It might be the "Orphans/widows avoidance" patch (which is the most likely to have caused issues as it is the shortest and least tested, but it seems unlikely as they haven't changed much, see the screenshots). There is also a possibility it might be the new line spacing patches GeoffR provided, as I haven't tested them, and they are quite different compared to the previous version. I'll test this more tomorrow.
Attached Thumbnails
Click image for larger version

Name:	rmsdknew.png
Views:	356
Size:	421.9 KB
ID:	165838   Click image for larger version

Name:	rmsdkold.png
Views:	327
Size:	425.3 KB
ID:	165839  

Last edited by geek1011; 08-24-2018 at 10:11 PM.
geek1011 is offline   Reply With Quote
Reply

Tags
kobo, kobopatch, patch, patch32lsb


Forum Jump

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


All times are GMT -4. The time now is 05:29 PM.


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