View Single Post
Old 11-12-2018, 02:48 PM   #96
Mrs_Often
Wizard
Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.
 
Mrs_Often's Avatar
 
Posts: 1,775
Karma: 2694823
Join Date: Dec 2011
Location: The Netherlands
Device: Kobo Touch, Glo, Clara HD
Quote:
Originally Posted by geek1011 View Post
I have released patches v28 with a new "Replace adobe page numbers toggle with invert screen" patch by me.

This patch replaces the "Adobe EPUB page numbers" setting in "Reading settings" with a "Invert screen".

Spoiler:
Code:
Replace adobe page numbers toggle with invert screen:
  - Enabled: no
  - Description: |
      Replaces the adobe page numbers toggle in reading settings with an invert
      screen one.
  # Note: https://gist.githubusercontent.com/jeremy-allen-cs/c93bd333b5b585c2b840/raw/772efa2851189d1fd0fd41a2dfd95b688bd7d96e/arm_blx_encode.py is useful when changing these instructions.
  # in a subroutine of N3SettingsReadingView::setupUi(Widget) (found backwards from FeatureSettings::getShowAdobePageNumbers()):
  # change ReadingSettings::getShowAdobePageNumbers() to FeatureSettings::invertScreen()
  - ReplaceBytes: {Offset: 0x84AD58, FindH: C7 F7 A0 E6, ReplaceH: D3 F7 DE E1}
  # in N3SettingsReadingController::showAdobePageNumbersToggled():
  # change ReadingSettings::getShowAdobePageNumbers() to FeatureSettings::invertScreen()
  - ReplaceBytes: {Offset: 0x849396, FindH: C9 F7 82 E3, ReplaceH: D4 F7 C0 E6}
  # and ReadingSettings::setShowAdobePageNumbers(bool) to FeatureSettings::setInvertScreen(bool)
  - ReplaceBytes: {Offset: 0x8493A2, FindH: CE F7 E2 E4, ReplaceH: D4 F7 EA E2}
  # then change the text in the settings page
  - FindReplaceString: {Find: "Show Adobe EPUB page numbers", Replace: "Invert screen"}


On a side note, if anyone wants to see my kobopatch configuration, it is here: https://github.com/geek1011/kobopatch-config

Ooohhh lovely! Thank you!!

Quote:
Originally Posted by geek1011 View Post
No problem! I'm planning to make 1 patch per week from now on.

😱🥰

Hmmm how about https://www.mobileread.com/forums/sh...d.php?t=310702 😇
Mrs_Often is offline   Reply With Quote