View Single Post
Old 09-29-2019, 10:51 AM   #155
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: 2,804
Karma: 7025947
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
Quote:
Originally Posted by JSWolf View Post
I tried this patch. It's not working. It's causing my H2O to reboot when I select an ePub eBook.
Oops, forgot to move the string to the right register and prevent the destructor from breaking things. Try this:

Code:
Make book header/footer lowercase:
  - Enabled: no
  - PatchGroup: Header/footer page number text
  # In ReadingView::getChapterTitle (header), replace QString::toUpper call with
  # QString::trimmed (to copy the string, and not need to add a mov instruction
  # and NOP the destructor):
  - ReplaceBLX: {Offset: 0xA366EC, Find: 0x440474, Replace: 0x451410}
  # In ReadingView::updateFooter, do the same:
  - ReplaceBLX: {Offset: 0xA39C36, Find: 0x440474, Replace: 0x451410}
  # Page number text
  - FindReplaceString: {Find: "%1 OF %2", Replace: "%1 of %2"}

Last edited by geek1011; 09-29-2019 at 11:02 AM.
geek1011 is offline   Reply With Quote