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 01-03-2021, 08:28 PM   #466
Elektron
Banned
Elektron ought to be getting tired of karma fortunes by now.Elektron ought to be getting tired of karma fortunes by now.Elektron ought to be getting tired of karma fortunes by now.Elektron ought to be getting tired of karma fortunes by now.Elektron ought to be getting tired of karma fortunes by now.Elektron ought to be getting tired of karma fortunes by now.Elektron ought to be getting tired of karma fortunes by now.Elektron ought to be getting tired of karma fortunes by now.Elektron ought to be getting tired of karma fortunes by now.Elektron ought to be getting tired of karma fortunes by now.Elektron ought to be getting tired of karma fortunes by now.
 
Posts: 2,296
Karma: 5300240
Join Date: Jun 2020
Location: Edmonton, AB
Device: Kobo Aura H2O Edition 2 (mark 7), Kobo Mini
Tried installing this on my father's Forma (only Plato). When I launched Plato, nickel restarted. Why? TIA
Edit: Fixed now, ran the install script instead of "extract to." Worked like a charm

Last edited by Elektron; 01-03-2021 at 08:41 PM.
Elektron is offline   Reply With Quote
Old 01-04-2021, 06:07 AM   #467
baskerville
Evangelist
baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.
 
baskerville's Avatar
 
Posts: 446
Karma: 305160
Join Date: Aug 2015
Device: Kobo Glo HD, Kobo Aura ONE
Quote:
Originally Posted by NiLuJe View Post
I don't actually remember who came up with the final iteration, but, as far as I'm concerned, probably because I tend to prefer those.
I've updated the pattern in this post: it now uses the same quantifiers for the hidden directory name in both sides of main pipe.

Please also note that all the links in the comment for the new pattern expose the old pattern.
baskerville is offline   Reply With Quote
Old 01-05-2021, 10:06 AM   #468
baskerville
Evangelist
baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.
 
baskerville's Avatar
 
Posts: 446
Karma: 305160
Join Date: Aug 2015
Device: Kobo Glo HD, Kobo Aura ONE
Thanks for updating the pattern.

You might also want to update the two links to install.sh in the first post.
baskerville is offline   Reply With Quote
Old 01-05-2021, 10:51 AM   #469
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@baskerville: That's ready, just haven't refreshed the packages just for that, as stuff basically works as-is .
NiLuJe is offline   Reply With Quote
Old 01-10-2021, 12:32 AM   #470
CouchBook
Junior Member
CouchBook began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jan 2021
Device: Kobro Libra H20
Quote:
Originally Posted by NiLuJe View Post
@mirage: CRe (KOReader's main ePub engine) is not a chunked renderer. It takes the full book, processes it, and caches it. This essentially ends up as a giant roll of papyrus. Rendering a page is then as simple as picking a starting point from that roll.

This makes actually navigating a book extremely fast (moderately faster than the KePub render, slightly faster than any of Kindle's various renderers, massively faster than the RMSDK).

The obvious trade-off is that generating this first intermediate layer is time consuming (but most of it only affects the first time a book is opened, since this ends up being cached). That's the tiny progress bar you see in the top-left corner when opening a book.
The other trade-off is that changing anything that affects how the text will be laid out (on the book's scope, not on the page's scope) means a part of this intermediate rendering has to be thrown out and re-done (and, once again, tiny progress bar after a short while).

On a novel-sized, sanely coded fiction ePub, initial open should take a couple seconds at most, and re-layout roughly a second at most.

Larger books will affect that performance penalty adversely. As would tricky/degenerate code. Given how KePubs are made, a KePub will be very slightly worse off that a plain ePub.

Since you ultimately end up spending 99.99% of your time reading, and that every setting can be remembered as default, that's an acceptable trade-off in my book.

It might not be for you. Fair enough.

On the other hand, if your first instinct was to play with every setting affecting layout, and you happened to do that in a giant/poorly coded book, that definitely won't be any fun.
Try to do that in a short book first (e.g., KOReader's quickstart guide) to get your sea legs .
The problem is that on asymmetric devices, such as Kobo Libra H20, screen rotation is essential. Every time you switch hands, you want to rotate the screen by 180 degrees. For the book I'm currently reading it takes KoReader approximately 10-12 seconds to rotate the screen by 180 degrees (it performs to reflows, one for a 90 degree rotation and then another one). While I love KoReader otherwise, the slow screen rotation makes it unusable for me.
CouchBook is offline   Reply With Quote
Old 01-10-2021, 12:45 AM   #471
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
There's an option for that . Namely, in Screen > Rotation, there's a "Lock orientation" (or something to that effect, not near the code or my Forma right now) option. That ensures the gyro only swaps between the invert of your current rotation, but inhibits orientation changes (so, typically, the hand swap on a Libra/Forma). And those rotations are free for CRe, as there's no layout change.

Sidebar: I'm assuming the Libra's gyro is tuned differently, because I'd need to be going very very slow for a hand swap to trigger an intermediate landscape rotation on a Forma.

Last edited by NiLuJe; 01-10-2021 at 06:07 AM.
NiLuJe is offline   Reply With Quote
Old 01-10-2021, 05:52 AM   #472
Carmelocotonto
Connoisseur
Carmelocotonto began at the beginning.
 
Carmelocotonto's Avatar
 
Posts: 94
Karma: 12
Join Date: Nov 2018
Location: Salamanca
Device: kobo Clara HD, Onyxboox C67
Hi, What is the correct one?. I want to put it into 'kobo ereader.conf'

This (\\.(?!kobo|adobe).+|([^.][^/]*/)+\\..+)

Or This (\\.(?!kobo|adobe).*?|([^.][^/]*/)+\\..+)

Thanks
Carmelocotonto is offline   Reply With Quote
Old 01-10-2021, 06:07 AM   #473
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@Carmelocotonto: The first one would be the latest iteration (or, check the first post, it's been updated).
NiLuJe is offline   Reply With Quote
Old 01-10-2021, 06:22 AM   #474
Carmelocotonto
Connoisseur
Carmelocotonto began at the beginning.
 
Carmelocotonto's Avatar
 
Posts: 94
Karma: 12
Join Date: Nov 2018
Location: Salamanca
Device: kobo Clara HD, Onyxboox C67
Quote:
Originally Posted by NiLuJe View Post
@Carmelocotonto: The first one would be the latest iteration (or, check the first post, it's been updated).
Thanks. I tried both of them and all was ok, but I wanted to confirm it with someone. I will check the first post from time to time.
Carmelocotonto is offline   Reply With Quote
Old 01-13-2021, 04:13 PM   #475
kostiya
Junior Member
kostiya began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Mar 2017
Device: Kobo Aura HD
Hi, this script is really helpful. thanx.
Now, is there a way to start directly KOreader without wasting 30 seconds to start Nickel, and using the switching menu?
kostiya is offline   Reply With Quote
Old 01-13-2021, 04:24 PM   #476
Alan_S
Evangelist
Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.
 
Alan_S's Avatar
 
Posts: 446
Karma: 1084584
Join Date: Aug 2007
Location: Sisak, Croatia
Device: Kobo Aura H2O, Kobo Aura ONE
For that, you need to use KSM 9 (but it probably won't work if you have too new firmware).
Alan_S is offline   Reply With Quote
Old 01-13-2021, 06:51 PM   #477
kostiya
Junior Member
kostiya began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Mar 2017
Device: Kobo Aura HD
Quote:
Originally Posted by Alan_S View Post
For that, you need to use KSM 9 (but it probably won't work if you have too new firmware).
Well, then too late for me.
Thank you.
kostiya is offline   Reply With Quote
Old 01-13-2021, 08:18 PM   #478
NiMa
Fanatic
NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.
 
NiMa's Avatar
 
Posts: 507
Karma: 2390534
Join Date: Jun 2020
Location: Somewhere in the Universe
Device: Kobo Libra, Glo HD, Touch C/B, Mini, Glo, Aura SE, Clara HD, KT
Quote:
Originally Posted by kostiya View Post
Hi, this script is really helpful. thanx.
Now, is there a way to start directly KOreader without wasting 30 seconds to start Nickel, and using the switching menu?
You could try modifying /etc/init.d/rcS to launch KOReader directly, but be careful; make a backup of your internal SD card before!!
NiMa is offline   Reply With Quote
Old 01-13-2021, 09:08 PM   #479
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@kostiya:

Quote:
Originally Posted by NiLuJe View Post
@Mercador: Not OOB.

My stance on this, is: don't. On some devices, Nickel itself will do a few bits of low-level hardware initialization that we don't want to skip, and that would be extremely annoying to keep track of properly.

But, it's technically feasible, if you know what you're doing (c.f., Plato's standalone patch for inspiration.).
NiLuJe is offline   Reply With Quote
Old 01-14-2021, 07:14 AM   #480
kostiya
Junior Member
kostiya began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Mar 2017
Device: Kobo Aura HD
Quote:
Originally Posted by NiLuJe View Post
@kostiya:
OK, got it.
I am not looking for trouble, hence I woun't.
kostiya is offline   Reply With Quote
Reply

Tags
kfmon, kobo, koreader, plato

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Aura How to install ksm and koreader mhss Kobo Reader 0 01-17-2018 07:45 PM
Koreader could not be opened by click an epub file on the books list johnleo KOReader 4 12-11-2017 07:57 AM
Cannot install custom update packages via MRPI anunay Kindle Developer's Corner 9 02-09-2017 07:46 AM
Kobo-how to install koreader sahbi KOReader 22 01-02-2016 03:49 PM
Koreader install help mrmojorizing Kobo Developer's Corner 3 09-29-2014 01:24 PM


All times are GMT -4. The time now is 09:07 AM.


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