Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 07-05-2019, 06:42 AM   #46
Carmelocotonto
Member
Carmelocotonto began at the beginning.
 
Carmelocotonto's Avatar
 
Posts: 10
Karma: 10
Join Date: Nov 2018
Location: Salamanca
Device: kobo Clara HD, Onyxboox C67
Hi, please, where can I find the explanation to the development options?. Some of them I understand, but others not:

Show widget info, disable forced GC16, disable dithering, disable regal...

Thanks
Carmelocotonto is offline   Reply With Quote
Old 07-10-2019, 09:22 PM   #47
Phil_C
Zealot
Phil_C has much to be proud ofPhil_C has much to be proud ofPhil_C has much to be proud ofPhil_C has much to be proud ofPhil_C has much to be proud ofPhil_C has much to be proud ofPhil_C has much to be proud ofPhil_C has much to be proud ofPhil_C has much to be proud ofPhil_C has much to be proud ofPhil_C has much to be proud of
 
Phil_C's Avatar
 
Posts: 108
Karma: 27924
Join Date: Oct 2009
Location: Chicago, IL USA
Device: Sony PRS-300Black/350Silver/350Blue/T3Black x2/Kobo Clara HD
Cannot get overrides to work

I would like to use the overrides in the kobopatch.yaml file, but I cannot get this to work. Nothing happens when I run the .bat file. No .tgz is generated in the /out folder.

Meanwhile I have successfully used the individual .yaml files in the /src folder to generate a .tgz and have patched my new Kobo Clara HD. That works great.

What am I doing wrong when trying to use the overrides instead?

Spoiler:
Code:
## Works with kobopatch v0.13.0 and later.
## You can update kobopatch by downloading the latest release from https://github.com/geek1011/kobopatch/releases. 
version: 4.15.12920
in: src/kobo-update-4.15.12920.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: no
##   src/libadobe.so.yaml:
##     You get the idea: yes
overrides:
  src/nickel.yaml:
    Only Reading and My Books: yes
	Increase the cover size in library: yes
  src/libadobe.so.yaml:
  src/libnickel.so.1.0.0.yaml:
    Never show Kobo Plus, wishlist, and points SmartLinks: yes
	Freedom to advanced fonts control: yes
	ePub uniform font scale: yes
  src/librmsdk.so.1.0.0.yaml:

## TRANSLATIONS ##
# Optional, use only if lrelease is not in PATH and if translations are needed
# lrelease: /path/to/lrelease

# Uncomment the following to add translations (replace lc with the language code)
# translations:
#   src/whatever.ts: usr/local/Kobo/translations/trans_lc.qm

## ADDITIONAL FILES ##
# Uncomment the following to add additional files to the tgz (like init scripts or hyphen dicts)
# The files will be root-owned, and world readable, writable, and executable (0777)
# files:
#   src/whatever.txt: usr/local/Kobo/whatever.txt
#   src/whateverToPutInMultiplePlaces.txt:
#     - usr/local/Kobo/location1.txt
#     - usr/local/Kobo/location2.txt


Any advice appreciated!
Phil_C is offline   Reply With Quote
Old 07-10-2019, 11:06 PM   #48
Phil_C
Zealot
Phil_C has much to be proud ofPhil_C has much to be proud ofPhil_C has much to be proud ofPhil_C has much to be proud ofPhil_C has much to be proud ofPhil_C has much to be proud ofPhil_C has much to be proud ofPhil_C has much to be proud ofPhil_C has much to be proud ofPhil_C has much to be proud ofPhil_C has much to be proud of
 
Phil_C's Avatar
 
Posts: 108
Karma: 27924
Join Date: Oct 2009
Location: Chicago, IL USA
Device: Sony PRS-300Black/350Silver/350Blue/T3Black x2/Kobo Clara HD
Well -- I just found the solution. I noticed in my post above that the override lines were indented two extra spaces. This is not what it looked like in Notepad++, so I opened the file in plain old Notepad and the extra spaces were there, too.

After saving the Notepad file, I was able to create the patch for the Kobo.

I thought that Notepad++ was the best way to edit this type of file. Apparently not.
Phil_C is offline   Reply With Quote
Old 07-10-2019, 11:07 PM   #49
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: 1,223
Karma: 3499849
Join Date: May 2016
Location: Canada
Device: Kobo Mini, Kobo Aura Edition 2, Moto G5
Quote:
Originally Posted by Phil_C View Post
I would like to use the overrides in the kobopatch.yaml file, but I cannot get this to work. Nothing happens when I run the .bat file. No .tgz is generated in the /out folder.
You need to indent using spaces, not tabs. I really should add a more informative message about this.
geek1011 is offline   Reply With Quote
Old 07-10-2019, 11:17 PM   #50
Phil_C
Zealot
Phil_C has much to be proud ofPhil_C has much to be proud ofPhil_C has much to be proud ofPhil_C has much to be proud ofPhil_C has much to be proud ofPhil_C has much to be proud ofPhil_C has much to be proud ofPhil_C has much to be proud ofPhil_C has much to be proud ofPhil_C has much to be proud ofPhil_C has much to be proud of
 
Phil_C's Avatar
 
Posts: 108
Karma: 27924
Join Date: Oct 2009
Location: Chicago, IL USA
Device: Sony PRS-300Black/350Silver/350Blue/T3Black x2/Kobo Clara HD
Somewhere in your instructions you did make me aware of proper spacing. The problem was that the spacing looked right in Notepad++ (no tabs used). When I opened the file in regular Notepad, the pertinent lines showed up as tabbed. I have no idea why Notepad++ failed to do this right.

Anyway, I am new to Kobo and loving it. Thank you for the great work you have done, which makes for a much better experience on the Kobo reader.
Phil_C is offline   Reply With Quote
Old 07-11-2019, 09:42 AM   #51
asettico
Junior Member
asettico began at the beginning.
 
asettico's Avatar
 
Posts: 6
Karma: 10
Join Date: May 2019
Device: Kobo Aura ONE
Quote:
Originally Posted by Phil_C View Post
Somewhere in your instructions you did make me aware of proper spacing. The problem was that the spacing looked right in Notepad++ (no tabs used). When I opened the file in regular Notepad, the pertinent lines showed up as tabbed. I have no idea why Notepad++ failed to do this right.
You probably set the tab size in the preferences (languages/tabulations). You can also set "substitute with spaces".
asettico is offline   Reply With Quote
Old 07-11-2019, 09:45 AM   #52
asettico
Junior Member
asettico began at the beginning.
 
asettico's Avatar
 
Posts: 6
Karma: 10
Join Date: May 2019
Device: Kobo Aura ONE
Quote:
Originally Posted by Phil_C View Post
I thought that Notepad++ was the best way to edit this type of file. Apparently not.
Notepad++ IS one of the best text editor...
asettico is offline   Reply With Quote
Old 07-11-2019, 04:03 PM   #53
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: 5,958
Karma: 26857005
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Aura One, Aura H2O, Aura HD, Nexus 7 HD, iPad Air, Tolino epos
In Notepad++ , you might want to hit the View menu. Under Show Symbol, select Show White Space and Tab. Perhaps Indent Guide as well. Not sure how much of these are defaults since I've been using Notepad++ for years and no longer remember how much tweaking I did to the interface settings.
DNSB is offline   Reply With Quote
Old 07-11-2019, 04:27 PM   #54
Phil_C
Zealot
Phil_C has much to be proud ofPhil_C has much to be proud ofPhil_C has much to be proud ofPhil_C has much to be proud ofPhil_C has much to be proud ofPhil_C has much to be proud ofPhil_C has much to be proud ofPhil_C has much to be proud ofPhil_C has much to be proud ofPhil_C has much to be proud ofPhil_C has much to be proud of
 
Phil_C's Avatar
 
Posts: 108
Karma: 27924
Join Date: Oct 2009
Location: Chicago, IL USA
Device: Sony PRS-300Black/350Silver/350Blue/T3Black x2/Kobo Clara HD
Yeah, that helps. I really don't write any scripts or code. This is one of those one-time things I wanted to get done.

I see now that when I hit <enter> at the end of an indented line, Notepad++ inserts a tab at the beginning of the next line instead of spaces.

Anyway, problem solved and I am happily tweaking my Kobo. Thanks.
Phil_C is offline   Reply With Quote
Reply

Tags
kobopatch, patch, patch32lsb, patches, patching

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Instructions for patching firmware 3.18.0 GeoffR Kobo Developer's Corner 151 10-21-2016 06:15 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.17.0 GeoffR Kobo Developer's Corner 49 08-16-2015 05:20 AM
Instructions for patching firmware 3.16.0 GeoffR Kobo Developer's Corner 74 08-12-2015 02:12 PM
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 02:25 PM.


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