Quote:
Originally Posted by Terisa de morgan
And, BTW, the patches I use, they work. I'm translating the new strings...
|
I haven't had much time recently, so I haven't got around to updating all the patches, but here are some of the updated patches (these are the main ones I use). I've sent a PM to GeoffR about him updating the patches this time, but if he doesn't (or I find time to do it), I might update the rest of the patches later. I'll release an official patch zip when the majority are updated.
Note that as you found, all the zlib and string ones shouldn't need updating.
Code:
Freedom to advanced fonts control:
- Enabled: no
- Description: |
This patch allows the advanced font options (weight/sharpness adjustments)
to work with sideloaded fonts too. (KEPUB: OTF and TTF. EPUB: TTF only.)
#
# The following passes a junk pointer to N3FontTypeUtil::setupDropdown, but it
# seems the pointer is only passed on to ReadingSettings::getDefaultFontFamily
# where it is discarded without being dereferenced, so it should be safe?
# BEWARE: check whether this still holds in future firmware versions.
#
# N3FontTypeUtil.setupMonotypeDropdown(b,c)
# --> N3FontTypeUtil.setupDropdown(UNDEFINED,b,c)
- ReplaceBytes: {Offset: 0x843834, FindH: 59 46 50 46, ReplaceH: 5A 46 51 46}
- ReplaceBytes: {Offset: 0x843838, FindH: C1 F7 DA E4, ReplaceH: D9 F7 7A E6}
# N3FontTypeController.setupAdvancedOption(...) --> NOP
- ReplaceBytes: {Offset: 0x9F8456, FindH: 28 F6 10 E2, ReplaceH: 00 46 00 46}
- ReplaceBytes: {Offset: 0x9F9A3C, FindH: 26 F6 1C E7, ReplaceH: 00 46 00 46}
Custom Sleep/Power-off timeouts:
- Enabled: no
- Description: |
Changes the Sleep/Power-off timeout menu options from 5,10,15,30,45,60
minutes to 10,20,30,60,120,240 minutes.
# Values displayed on both menus
- ReplaceString: {Offset: 0xD303C0, Find: "5 mins\0", Replace: "10 mins"}
- ReplaceString: {Offset: 0xD303C8, Find: "10 mins", Replace: "20 mins"}
- ReplaceString: {Offset: 0xD303D0, Find: "15 mins", Replace: "30 mins"}
- ReplaceString: {Offset: 0xD303D8, Find: "30 mins", Replace: "1 hour"}
- ReplaceString: {Offset: 0xD303E0, Find: "45 mins", Replace: "2 hours"}
- ReplaceString: {Offset: 0xD303E8, Find: "60 mins", Replace: "4 hours"}
# Actual values used for sleep menu
- ReplaceInt: {Offset: 0xA8FB18, Find: 5, Replace: 10}
- ReplaceInt: {Offset: 0xA8FB70, Find: 10, Replace: 20}
- ReplaceInt: {Offset: 0xA8FBAC, Find: 15, Replace: 30}
- ReplaceInt: {Offset: 0xA8FBE8, Find: 30, Replace: 60}
- ReplaceInt: {Offset: 0xA8FC24, Find: 45, Replace: 120}
- ReplaceInt: {Offset: 0xA8FC60, Find: 60, Replace: 240}
# Actual values used for power menu
- ReplaceInt: {Offset: 0xA8FCDE, Find: 5, Replace: 10}
- ReplaceInt: {Offset: 0xA8FD1A, Find: 10, Replace: 20}
- ReplaceInt: {Offset: 0xA8FD54, Find: 15, Replace: 30}
- ReplaceInt: {Offset: 0xA8FD8E, Find: 30, Replace: 60}
- ReplaceInt: {Offset: 0xA8FDC8, Find: 45, Replace: 120}
- ReplaceInt: {Offset: 0xA8FE00, Find: 60, Replace: 240}
Always display chapter name on navigation menu:
- Enabled: no
- Description: |
Normally the <-> navigation menu only displays the current chapter name if
[Reading settings > Display progress for:] is set to 'Current Chapter'.
This patch causes the current chapter name to be displayed if 'Entire book'
progress is selected as well. Works for both ePub and KePub books.
# in ReadingMenuScrubberController::setChapterAndProgressText(...)
# progressTypeIsBookBased(...) --> False
- ReplaceBytes: {Offset: 0xA01FA4, FindH: 1D F6 0A E4, ReplaceH: 00 20 00 20}
Clock display duration:
- Enabled: no
- Description: |
When the reading footer menu is opened a clock is displayed at the top left
for 3 seconds before being replaced with the reading progress percentage.
This patch changes the length of time the clock is displayed to 5 seconds.
- ReplaceBytes: {Offset: 0x9E7B28, FindH: 40 F6 B8 31, ReplaceH: 03 21 89 02}
- ReplaceInt: {Offset: 0x9E7B28, Find: 3, Replace: 5} # Replacement value: Clock display duration in seconds