View Single Post
Old 08-16-2021, 02:45 PM   #111
Flaviocc
Zealot
Flaviocc began at the beginning.
 
Posts: 134
Karma: 10
Join Date: May 2019
Location: Brazil
Device: Kindle PPW5 / Kobo Aura One
Quote:
Originally Posted by Semwize View Post
Is this your first time doing a patch? You have a lot of mistakes.
Spoiler:
Code:
## Works with kobopatch v0.15.0 and later.
## You can update kobopatch by downloading the latest release from https://github.com/pgaskin/kobopatch/releases. 
version: 4.28.18220
in: src/kobo-update-4.28.18220.zip
out: out/KoboRoot.tgz
log: out/log.txt

patchFormat: kobopatch

patches:
  src/nickel.yaml: usr/local/Kobo/nickel
  src/libadobe.so.yaml: usr/local/Kobo/libadobe.so
  src/libnickel.so.1.0.0.yaml: usr/local/Kobo/libnickel.so.1.0.0
  src/librmsdk.so.1.0.0.yaml: usr/local/Kobo/librmsdk.so.1.0.0

## You can put lines in the following section to override the enabled state of patches.
## The indentation matters! Each override should be indented by 4 spaces. Add to the 
## section below. This section can be copy and pasted into newer patch versions to
## keep your selections.
##
## Example of how it should look:
## overrides:
##   src/nickel.yaml:
##     Custom synopsis/details line spacing: yes
##     Whatever the yaml is called: yes
##   src/libadobe.so.yaml:
##     You get the idea: yes
overrides:
  src/nickel.yaml:
    Show all games: yes
    Increase size of kepub chapter progress chart: yes
    Custom synopsis details line spacing: yes
    Custom synopsis font size: yes
    Dictionary pop-up - increase available text area: yes
    Increase Book Details synopsis area: yes
    Increase library cover size: yes
    Reduce new header/footer height: yes
    New home screen subtitle custom font: no
    Remove footer (row3) and increase cover size on new home screen: yes
    Remove footer (row3) on new home screen: yes
    
  src/libadobe.so.yaml:
    
  src/libnickel.so.1.0.0.yaml:
    Always show confirmation dialog before upgrading: yes
    Remove recommendations (row1col2) from home screen: yes
    Allow rotation on all devices: yes
    Don't uppercase header/footer text and change page number text: yes
    Enable advanced settings for all fonts: yes
    FeatureSettings - BookSpecificStats: yes
    FeatureSettings - MyWords: yes
    FeatureSettings - ExportHighlights: yes
    My 24 line spacing values: yes
    Custom left & right margins: yes
    Custom Sleep/Power-off timeouts: yes
    Set KePub hyphenation: yes
    Force user line spacing in KePubs: yes
    Force user font-family in ePubs (Part 1 of 2): yes
    ePub constant font sharpness: no
    KePub constant font sharpness: yes
    Un-Force user font-family in KePubs: yes
    KePub stylesheet additions - text justify: yes
    Dictionary text font-family/font-size/line-height: yes
    Custom navigation menu page number text: yes
    Shorten dictionary entry not found message: yes
    
  src/librmsdk.so.1.0.0.yaml:
    Force user font-family in ePubs (Part 2 of 2): yes
Tks. It's not my first time.

I started from the beginning and now it's working:

Spoiler:
overrides:
src/nickel.yaml:
Show all games: yes
Increase size of kepub chapter progress chart: yes
Custom synopsis details line spacing: yes
Custom synopsis font size: yes
Dictionary pop-up - increase available text area: yes
Increase Book Details synopsis area: yes
Increase library cover size: yes
Reduce new header/footer height: yes
New home screen subtitle custom font: yes
Remove footer (row3) and increase cover size on new home screen: yes
Remove footer (row3) on new home screen: yes

src/libadobe.so.yaml:

src/libnickel.so.1.0.0.yaml:
Replace adobe page numbers toggle with invert screen: no
Always show confirmation dialog before upgrading: yes
Remove recommendations (row1col2) from home screen: yes
Allow rotation on all devices: yes
Don't uppercase header/footer text and change page number text: yes
Enable advanced settings for all fonts: yes
FeatureSettings - BookSpecificStats: yes
FeatureSettings - MyWords: yes
FeatureSettings - ExportHighlights: yes
My 24 line spacing values: yes
Custom left & right margins: yes
Custom Sleep/Power-off timeouts: yes
Set KePub hyphenation: yes
Force user line spacing in KePubs: yes
Force user font-family in ePubs (Part 1 of 2): yes
ePub constant font sharpness: yes
KePub constant font sharpness: yes
Un-Force user font-family in KePubs: yes
Dictionary text font-family/font-size/line-height: yes
Custom navigation menu page number text: yes

src/librmsdk.so.1.0.0.yaml:
Force user font-family in ePubs (Part 2 of 2): yes

Last edited by Flaviocc; 08-23-2021 at 12:28 PM.
Flaviocc is offline   Reply With Quote