Thread: Kobo Patcher
View Single Post
Old 11-23-2013, 01:01 AM   #474
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
3.0.1 (644485e229) font size, line spacing, margins patches.

Here are the three patches I use, for firmware 3.0.1 (644485e229) on Touch/Glo/AuraHD devices. Tested on my Glo.

Custom line spacing patch:
Spoiler:
Code:
<Patch>
patch_name = `My line spacing values` 
patch_enable = `yes`
# Bypass code-injected values
replace_bytes = 7493AE, 26 F6 AE EA, 00 46 00 46
replace_bytes = 7493FC, 26 F6 86 EA, 00 46 00 46
replace_bytes = 749422, 26 F6 74 EA, 00 46 00 46
replace_bytes = 749458, 26 F6 58 EA, 00 46 00 46
replace_bytes = 7494B4, 26 F6 2A EA, 00 46 00 46
# Values for replace
replace_float = 7494F8, 1.05, 0.8
replace_float = 749500, 1.07, 0.83
replace_float = 749508, 1.1,  0.865
replace_float = 749510, 1.35, 0.905
replace_float = 749518, 1.7,  0.95
replace_float = 749520, 1.8,  1.0
replace_float = 749528, 2.2,  1.05
replace_float = 749530, 2.4,  1.1
replace_float = 749538, 2.6,  1.25
replace_float = 749540, 2.8,  1.5
</Patch>


Custom font sizes patch:
Spoiler:
Code:
<Patch>
patch_name = `Custom fonts sizes`
patch_enable = `yes`
# Values for replace
replace_int = 11477E8, 12, 12
replace_int = 11477EC, 14, 16
replace_int = 11477F0, 16, 20
replace_int = 11477F4, 17, 22
replace_int = 11477F8, 18, 24
replace_int = 11477FC, 19, 25
replace_int = 1147800, 20, 26
replace_int = 1147804, 21, 27
replace_int = 1147808, 22, 28
replace_int = 114780C, 24, 29
replace_int = 1147810, 25, 30
replace_int = 1147814, 26, 31
replace_int = 1147818, 28, 32
replace_int = 114781C, 32, 33
replace_int = 1147820, 36, 34
replace_int = 1147824, 40, 35
replace_int = 1147828, 44, 36
replace_int = 114782C, 46, 38
replace_int = 1147830, 48, 40
replace_int = 1147834, 50, 42
replace_int = 1147838, 52, 44
replace_int = 114783C, 54, 48
replace_int = 1147840, 56, 52
replace_int = 1147844, 58, 58
</Patch>


Custom margins patch:
Spoiler:
Code:
<Patch>
patch_name = `Custom left & right margins`
patch_enable = `yes`
# Values for replace
replace_int = 13DEE4C, 02, 01
replace_int = 13DEE50, 04, 02
replace_int = 13DEE54, 06, 03
replace_int = 13DEE58, 08, 04
replace_int = 13DEE5C, 10, 05
replace_int = 13DEE60, 12, 06
replace_int = 13DEE64, 14, 07
replace_int = 13DEE68, 16, 08
</Patch>
GeoffR is offline   Reply With Quote