View Single Post
Old 06-28-2021, 04:44 PM   #595
av_mtl
Junior Member
av_mtl began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jun 2021
Device: Kobo Aura H2O (1st gen), Kobo Forma, Kobo Elipsa
Quote:
Originally Posted by geek1011 View Post
Try this kobopatch libnickel patch (completely untested, and I've also barely even looked at these versions yet). You will need to make the kobopatch configuration from scratch since I haven't released updated patches yet.

Code:
Enable markup for sideloaded kepubs:
  - Enabled: yes
  - ReplaceBytes:
      Base: "KepubMarkupDelegate::isMarkupSupported(Volume const&)"
      Offset: 64
      FindInstBLX: {SymPLT: "Content::isSideLoaded() const"}
      ReplaceH: 4F F0 00 00
If it doesn't work, it may either do nothing, cause the reader to crash and reboot when viewing a sideloaded kepub book (until you remove the patch), or only partially enable markup.
Wow, it works! Only tested it very briefly, but I could use markup and nothing crashed. Thank you so much for sharing.
av_mtl is offline   Reply With Quote