View Single Post
Old 02-25-2017, 02:37 PM   #69
jackie_w
Wizard
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 3,885
Karma: 7424156
Join Date: Sep 2009
Location: UK
Device: Sony PRS-350, Kobo AuraHD/Aura6"/AuraH2O/GloHD/AuraOne
Dictionary frame size - beta5

Quote:
Originally Posted by surquizu View Post
A very difficult patch!
Tell me about it! For those with some time to spare, let's have another shot at it.

oren64 has asked me to post the latest attempt at fixing this patch for nickel.patch

Spoiler:
Code:
<Patch>
patch_name = `Dictionary frame size - beta5`
patch_enable = `yes`
find_base_address = `\x9C\xB5\x59\xCB\x6E\xDB\x38\x14\xDD\xE7\x2B\x84`
replace_bytes = 0000, 9C B5 59 CB 6E DB 38 14, 9C B5 59 5D 6F A3 38 14
replace_bytes = 0008, DD E7 2B 84 78 5B 03 7A, 7D EF AF 40 CD EB 44 E2
replace_bytes = 0010, 58 8A 65 23 8B 00 19 0C, BB 21 51 1F 2A 75 B5 EA
replace_bytes = 0018, 52 B4 45 D0 1A DD 14 83, 68 67 54 ED 44 FB B2 5A
replace_bytes = 0020, 80 B6 68 99 53 4A 54 29, 55 4E 70 88 77 0C 66 8C
replace_bytes = 0028, BA B1 67 D0 7F AF 64 D3, 33 4D 76 35 FF 7D 20 98
replace_bytes = 0030, 36 25 5E 51 94 91 26 2B, D4 E0 0B 98 A8 D3 3E 71
replace_bytes = 0038, 5D 91 E7 1C F1 3E 99 2C, B1 CF 39 F8 7E BA 5D B3
replace_bytes = 0040, D8 76 B5 F9 88 F3 AD F3, C3 76 FF 09 67 07 EB FF
replace_bytes = 0048, FF 8D E3 2C 19 4F 30 9F, 1B CB DA 30 1E 63 BE B4
replace_bytes = 0050, 39 39 CB F1 FC E6 D7 CD, 32 96 E1 D5 CD 8F 9B CF
replace_bytes = 0058, 27 B2 FA 8E E9 A2 B9 06, 64 FB 15 D3 75 7B 0D DA
replace_bytes = 0060, AD BE A7 9C 6D F3 64 BC, 7E 4D 38 3B 64 F1 7C CB
replace_bytes = 0068, 62 94 55 AB 05 47 79 59, 28 2B 57 0B 8E B2 22 47
replace_bytes = 0070, 20 8E 73 31 AF 16 64 88, 1C 67 62 55 2E 48 11 4F
replace_bytes = 0078, A7 24 9F 39 DE A4 D8 D5, 48 B6 B4 1C 3F 3F 56 20
replace_bytes = 0080, 20 F5 CE 05 DE 89 27 81, D5 CE 35 3E 8A 27 81 D3
replace_bytes = 0088, B3 77 87 A7 A7 0C A5 B8, 0F E7 A7 A7 14 25 B8 7A
replace_bytes = 0090, 7E EC 00 7C DD 10 81 DB, EC 01 7C DD 13 81 BB 5B
replace_bytes = 0098, 5B BF FD 78 28 8A 97 04, FF FE F6 90 E7 2F 31 FE
replace_bytes = 00A0, FF 24 2B FC 54 2E 38 A1, 4E B6 F8 A9 58 73 42 59
replace_bytes = 00A8, 2C DD DF DF 0A BE C5 B7, 72 BA BF 15 FC 80 6F FF
replace_bytes = 00B0, FF B4 70 8D 6B 0F A4 19, E9 E0 0E AE 3D 93 A6 24
replace_bytes = 00B8, C9 C7 AF 24 11 9B 99 E3, 9B BF 92 58 EC 97 96 6B
replace_bytes = 00C0, BB AE 2E B4 89 F0 BC 61, DB BA D0 36 C2 F3 9E E1
replace_bytes = 00C8, 38 27 3B 2B B6 D6 5A 8D, 8C 1C 8D D8 3A 6B 35 36
replace_bytes = 00D0, CD EF 65 7B E4 28 65 B9, 77 94 ED 91 A3 84 65 46
replace_bytes = 00D8, 15 59 73 69 9B 2B E8 FF, 64 ED A5 5D 2E 6F FC CB
replace_bytes = 00E0, B2 47 B4 A7 24 DD 08 3B, 1E D1 89 92 64 2F CC D8
replace_bytes = 00E8, B6 D6 62 8D 2F 06 F8 9C, 3A 8B 35 BE 08 E0 B3 66
replace_bytes = 00F0, 51 A6 3C 7D 40 4B 4C 0F, A9 F2 F4 07 DA 60 7A DE
replace_bytes = 00F8, FB D6 2C 17 E3 35 CA 08, B7 63 99 98 EF 50 4A E8
replace_bytes = 0100, DD CF 9C BF 31 AB 82 06, 69 69 FD 8E 59 19 34 68
replace_bytes = 0108, CD 4F F6 52 EC 29 9E 39, D5 D8 0B 71 A2 78 69 11
replace_bytes = 0110, 44 20 4A 56 73 53 90 38, 81 28 D9 AE 86 82 C4 B2
replace_bytes = 0118, 8E 7C 5E D2 6A 89 05 F9, E4 F3 86 96 4B 0C C8 EB
replace_bytes = 0120, F1 93 28 5B 21 8A 3F A1, 4F A2 6C 8B 28 FE 8C 52
replace_bytes = 0128, 0C DF DF FE 8B 5E DE 3F, 7C 7F FB 2F 7A F9 F8 2C
replace_bytes = 0130, CB AF 69 A8 FA 52 C5 F5, BF A6 A5 EA 4B 19 D7 F3
replace_bytes = 0138, F8 0B E6 64 FD FE F9 9D, 2F 98 93 DD C7 E7 0F 56
replace_bytes = 0140, 53 D6 4F 65 FD D4 96 99, 51 3D 15 D5 53 57 66 C6
replace_bytes = 0148, 33 9E 21 6A CD 6D 8A CB, 78 8A A8 31 F7 50 5C D6
replace_bytes = 0150, 23 2C F9 AF 42 F5 62 AB, B0 E4 BF 12 D5 89 8C 0E
replace_bytes = 0158, C3 EC 8F 3E 05 D3 0F AE, 73 3C FA 14 4C D7 BB 02
replace_bytes = 0160, C0 04 82 4C 85 BC 46 E6, 13 08 32 15 F2 1A 99 0F
replace_bytes = 0168, 03 DD 97 E5 36 EB C2 0C, F4 54 14 87 B4 0F D3 73
replace_bytes = 0170, FC 6B 64 42 D1 A9 82 DE, AF 91 09 45 A7 0A 7A 77
replace_bytes = 0178, 5D 01 DA 55 3B 36 B8 A6, 05 68 5F ED D8 E3 8A 6A
replace_bytes = 0180, 9A 39 93 A8 06 AD 8B DE, 69 F9 61 05 5A 15 BD 63
replace_bytes = 0188, AE 65 7B 03 C7 A9 44 21, C7 F6 0E 8E 53 89 02 80
replace_bytes = 0190, 40 14 5E 43 D4 51 32 4E, 28 B8 86 A8 A7 64 34 98
replace_bytes = 0198, 98 77 AE CE 73 67 97 D6, 77 B6 CE 73 67 96 D6 86
replace_bytes = 01A0, 96 C5 E2 84 1A 03 4C 96, C5 A2 41 8D 00 26 C3 02
replace_bytes = 01A8, 05 A4 DF 47 05 4A 12 92, 32 EE A3 1C C5 31 C9 92
replace_bytes = 01B0, A7 63 C1 8A 2A 44 8F 44, B9 60 79 19 A2 35 51 63
replace_bytes = 01B8, 27 DB 92 09 C1 32 69 7E, DB 30 21 58 2A CD EF E0
replace_bytes = 01C0, 03 37 35 B8 02 98 EB 8D, A6 16 97 07 73 BD 53 DE
replace_bytes = 01C8, F2 AE 41 35 81 A9 80 B6, B5 A8 7C 98 0A 68 BB D7
replace_bytes = 01D0, 7B 9D B3 1A 64 21 4C 16, 39 AB 45 16 C0 64 01 D0
replace_bytes = 01D8, 02 0D 06 E7 68 49 71 72, 60 70 86 36 14 C7 F7 B7
replace_bytes = 01E0, 7F BB 46 B4 AC C1 3A 3A, 3B 44 8B 0A AC A7 03 C8
replace_bytes = 01E8, 80 2C DC A3 F8 F0 53 C3, C2 3D 8B CE 3F 15 CC 53
replace_bytes = 01F0, 3C E5 94 E4 F8 91 AC 04, 46 49 86 1F C9 56 10 96
replace_bytes = 01F8, 61 39 E2 FB AF 04 BF B6, 21 7E FA 8B E0 D7 6E 93
replace_bytes = 0200, 9B 4C 18 29 71 A3 D9 94, 09 42 25 6E 34 9B 12 5F
replace_bytes = 0208, F8 F2 A7 13 3D C0 A4 11, 5E 08 04 98 34 C2 54 93
replace_bytes = 0210, A6 1A D4 C8 A3 78 AA E9, 1A 79 18 2D 34 1D 6F 36
replace_bytes = 0218, B8 D8 14 1D 41 08 E8 90, B5 44 F8 11 50 23 FC C8
replace_bytes = 0220, 46 1B 1D E6 1E EF B9 AE, 54 C7 70 8F 77 6C 5B 3F
replace_bytes = 0228, 7E 1E 8A 51 AD 55 31 54, 0F C5 A8 08 09 5D 5F 17
replace_bytes = 0230, AC E2 C8 5A 48 4F FB F7, 22 8D 46 42 46 DA BF E3
replace_bytes = 0238, 02 48 4A 00 49 89 26 53, 41 52 3C 48 CA C2 01 CA
replace_bytes = 0240, 5D 8A 34 FE BA 19 25 67, 99 34 FE B8 99 C5 17 15
replace_bytes = 0248, 15 5A D5 08 EE 80 8F 50, 7A 1D F4 81 8F 50 8C D5
replace_bytes = 0250, 8C F5 EC 29 B3 DE 6D D8, EC 29 B3 DE 6E D9 28 DE
replace_bytes = 0258, 28 5E 8B FA 64 34 0A 0B, 89 EA 64 34 0A 03 AF 8F
replace_bytes = 0260, AF F7 A1 FA 7D A8 90 0F, A1 BA 63 A8 90 0F 15 50
replace_bytes = 0268, 15 D0 00 02 0D 7A 41 41, 0F 02 F5 46 41 41 7F 28
replace_bytes = 0270, 7F 28 B0 13 1F 80 9D C8, B0 BE 0B C0 FA B2 EC CD
replace_bytes = 0278, B2 37 12 55 42 FE 95 10, 44 99 90 BF C5 44 68 09
replace_bytes = 0280, A1 25 98 17 EA 09 76 B6, E6 04 7A 82 5D 6C 8A 2B
replace_bytes = 0288, 29 AE F0 42 5F 77 85 34, 5C 77 A1 BB 42 1A 15 FC
replace_bytes = 0290, 2A F8 C3 FA 9C 07 B5 85, 69 7D CE 5D 04 00 E8 42
replace_bytes = 0298, 8B 51 C9 BF 00 C8 BF 60, A1 6F 72 CD 03 F2 CF 1B
replace_bytes = 02A0, 6A 24 EF E9 7D 3E D4 64, 26 1F E9 7D DE 02 88 AD
replace_bytes = 02A8, 2F C6 0B 77 1C E8 81 1E, 37 E3 1B 77 E4 E9 81 1E
replace_bytes = 02B0, 9F FD D5 C1 DD D7 0F 83, 5D FC D5 C3 3D D6 0F 03
replace_bytes = 02B8, 00 8A EC 40 67 F7 7C 37, 1B 8A 6C 5B 67 77 5C 3B
replace_bytes = 02C0, D6 F3 4C 1A 2B FE 12 0B, D2 F3 4C 1A 4B FE 02 0B
replace_bytes = 02C8, 51 D5 E8 B2 E3 76 35 4A, 51 D6 E8 A2 E7 76 35 8B
replace_bytes = 02D0, E2 FA F7 3C C4 02 33 B8, A3 EA F7 32 C4 02 33 B8
replace_bytes = 02D8, 1E F0 0A EC 1F 1D A0 5B, 1E F0 0A EC 2F 1D A0 3B
replace_bytes = 02E0, 2C 03 47 E5 8E DD 96 43, 2C 13 47 E5 9E DD 86 43
replace_bytes = 02E8, 71 C7 6E BB F1 B7 63 B3, 71 CF 6E B3 F1 B7 67 B3
replace_bytes = 02F0, E5 A0 DB 45 6D 39 D2 0E, E1 A0 DB 47 6D 38 D2 4E
replace_bytes = 02F8, 38 B5 53 03 97 E5 B0 35, 38 B5 A6 81 CB 72 D8 19
replace_bytes = 0300, 1A 71 99 6F 66 59 A6 21, 8D 78 1D 75 CE B0 AC A1
replace_bytes = 0308, 48 E2 46 30 6E 34 F4 A4, 21 48 E2 86 30 6E 38 F5
replace_bytes = 0310, 9B B0 3E 2C D7 BF E2 14, A4 DB B0 2E 2C D7 BD E2
replace_bytes = 0318, 5B C0 53 18 78 3A F8 1C, 14 3B C0 0B 18 78 31 F9
replace_bytes = 0320, 2C 52 67 50 53 18 F6 55, 1C 0C 52 67 52 53 98 F6
replace_bytes = 0328, 8D FD A7 C8 CC 70 59 56, 55 AD FD 4D 64 A6 B8 28
replace_bytes = 0330, F7 79 3D 3D 1F 7E 56 F2, CA FB BC 9E 9E 0F DF 4B
replace_bytes = 0338, B9 F2 DD 33 C7 6D EE F9, F9 5C F9 EE A5 65 B7 F7
replace_bytes = 0340, B3 B9 DE 49 22 F8 CB E2, FC DA 5C EF 25 11 FC 65
replace_bytes = 0348, 33 44 72 AE 51 ED DD 16, FD 27 44 72 A9 51 DD DD
replace_bytes = 0350, 2E 91 5D F5 DC DC 0E 46, 06 2E 91 5D F5 D2 5E CE
replace_bytes = 0358, 7E 1A C7 A0 EF EE 77 D4, 46 E9 68 2F 80 BE 7B DC
replace_bytes = 0360, 11 33 74 21 CC 10 3C 4B, 51 35 66 60 43 98 01 78
replace_bytes = 0368, 1B F7 1D 51 23 50 69 74, 96 26 EE AB 51 43 50 69
replace_bytes = 0370, 52 BA 66 4C 60 3E E8 42, D8 28 DD 31 26 30 9F 74
replace_bytes = 0378, 2A F7 F4 9F D8 8F 82 B3, 21 95 7B C6 4F EC 5B CE
replace_bytes = 0380, 02 73 B1 3F 48 F9 28 FF, 59 8E B9 38 9D A5 7C 92
replace_bytes = 0388, A0 E7 BB F3 C6 BB 83 A2, 7F D0 73 ED 55 EB DD 59
replace_bytes = 0390, AE 97 C7 0B 42 F3 6D 63, 51 DF CB FA 82 D0 7E DB
replace_bytes = 0398, 02 04 DA 7C E4 1A 74 02, 1A 46 81 E1 BC 99 CD 41
replace_bytes = 03A0, 4E E8 90 19 9A 64 86 46, 9D 80 13 7A 64 06 43 32
replace_bytes = 03A8, 99 61 5B A6 E9 92 0A CB, 83 41 99 41 57 E6 D0 25
replace_bytes = 03B0, 84 FC 0A 0B 0D 7C 83 D0, 15 96 09 F9 15 16 EA B9
replace_bytes = 03B8, F6 CB A6 D0 E3 DB C6 DC, 03 42 BB 2F DB 42 EB B7
replace_bytes = 03C0, E4 43 73 D3 B9 02 51 94, AA 50 C7 05 94 3A 97 0A
replace_bytes = 03C8, A7 5B 2D 08 6D DB 2A BC, 44 51 96 1C B4 20 34 6D
replace_bytes = 03D0, DB B6 AD C2 BB 2D DB 2A, AB F0 6E D3 B6 0A EF 36
replace_bytes = 03D8, BC D9 B6 AD 76 50 DB B6, 6C AB F0 66 D3 B6 DA 43
replace_bytes = 03E0, 55 FB 53 6B FC 59 C6 7C, 6D DA 56 CD 4F AD 3D B3
replace_bytes = 03E8, E8 70 89 52 B2 A0 47 3C, 4D 3E B6 F6 8D 6C EA B9
replace_bytes = 03F0, 54 8C 2E BB A7 66 F2 8E, B5 2E 51 C3 E4 3D 65 47
replace_bytes = 03F8, B2 A3 84 8C 2B 2F A6 A3, 09 19 5B DE 07 67 7B 8C
replace_bytes = 0400, 0D 46 89 2C 30 C7 FF 0B, 62 59 60 EA FF 0B 5C 2E
replace_bytes = 0408, 9C 2F FD 5E B1 73 4A 46, FD 4E 7E B4 0A 46 49 6C
replace_bytes = 0410, 49 E2 A4 1C ED 4D 71 EA, 25 1C 9D 86 E2 D4 01 AE
replace_bytes = 0418, 01 B7 50 53 81 3A 72 0E, C3 43 05 AA E6 9C 76 63
replace_bytes = 0420, BB 31 18 2B 09 04 D8 73, 18 AC 24 10 E0 C8 2D 60
replace_bytes = 0428, 0B 30 A6 3C 88 D7 37 D9, 30 E5 41 BC B1 C9 7E 38
replace_bytes = 0430, 9B 73 F3 37 66 6D A4 CD, 37 7F 02 A9 D5 A4 C3 00
</Patch>


Here are a couple of screenshots from my H2O showing unpatched and patched.

Note:
Please don't report here the problem that the dictionary definition text is clipped on the left edge, because as you can see from the attached screenshots the problem exists even without the patch!
Attached Thumbnails
Click image for larger version

Name:	dictbeta5_unpatched.png
Views:	136
Size:	166.6 KB
ID:	155305   Click image for larger version

Name:	dictbeta5_patched.png
Views:	133
Size:	159.9 KB
ID:	155306  

Last edited by jackie_w; 02-25-2017 at 05:12 PM. Reason: First line of patch code was missing
jackie_w is offline   Reply With Quote