View Single Post
Old 11-24-2015, 06:40 PM   #130
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
Quote:
Originally Posted by mortimer7 View Post
i would like to set "1,32,99,Chapter"
How should i edit the patch?
This should do it, but the "32 pages" menu option will be missing the space which might affect the translation if you don't have the device set to English. (Edit: You could set them to `32 page` and `99 page` instead if that seems better to you. It is okay if these replacement strings are shorter than the original, but they can't be longer.)

The values can go higher than 99 if you wish, the limit that can be set with the patch is 255. I have tested 128 on my Glo with firmware 3.18.0 and it works correctly.

Firmware 3.18.0; paste into libnickel.so.1.0.0.patch
Spoiler:
Code:
<Patch>
patch_name = `Custom page refresh options (Aura only)`
patch_enable = `yes`
#
#     1,5,10,Chapter
# --> 1,32,99,Chapter
#
replace_int = 763C82, 5, 32
replace_int = 763E6C, 5, 32
replace_int = 763EDA, 5, 32
replace_string = B8F850, `5 pages`, `32pages`
#
replace_int = 763D1E, 10, 99
replace_int = 76400A, 10, 99
replace_int = 764066, 10, 99
replace_string = B8F858, `10 pages`, `99 pages`
</Patch>

Last edited by GeoffR; 11-24-2015 at 06:57 PM. Reason: You could set them to `32 page` ...
GeoffR is offline   Reply With Quote