View Single Post
Old 10-02-2016, 06:40 AM   #179
flawlessx92
Member
flawlessx92 knows the difference between 'who' and 'whom'flawlessx92 knows the difference between 'who' and 'whom'flawlessx92 knows the difference between 'who' and 'whom'flawlessx92 knows the difference between 'who' and 'whom'flawlessx92 knows the difference between 'who' and 'whom'flawlessx92 knows the difference between 'who' and 'whom'flawlessx92 knows the difference between 'who' and 'whom'flawlessx92 knows the difference between 'who' and 'whom'flawlessx92 knows the difference between 'who' and 'whom'flawlessx92 knows the difference between 'who' and 'whom'flawlessx92 knows the difference between 'who' and 'whom'
 
Posts: 21
Karma: 10000
Join Date: Sep 2016
Device: Kobo Glo HD
Quote:
Originally Posted by oren64 View Post
Patch 'Dictionary frame size'.
It increase the size of the pop-up dictionary.
It's for devices Glo, Aura, Aura Hd\H2O, Touch, Mini.

copy the file "nickel.patch" to 3.xx.x_source folder (ONLY in Multi-version 3.13.1-3.19.5761+).

You can increase the height of the pop-up, by increasing the height frame in "nickel.patch" and the height text in "libnickel.so.1.0.0.patch".

pictures
1)unpatch
2)patch


Firmware 4.0.7523: nickel.patch (don't use the attached file), See CSS nickel patch.
Spoiler:
Code:
<Patch>
patch_name = `Dictionary frame size`
patch_enable = `yes`
# Version 4.0.7523
# file: nickel.patch
replace_bytes = 4BE518, 9D 56 5B 6F 9B 30 14 7E, 95 56 C1 8E 9B 30 10 BD
replace_bytes = 4BE520, CF AF 40 E9 EB 90 08 C4, EF 67 24 D7 22 25 10 58
replace_bytes = 4BE528, 34 49 D5 87 4A 9D A6 54, 42 B4 87 95 52 55 59 A9
replace_bytes = 4BE530, DA 14 29 D3 5E A6 A9 72, 55 A4 54 BD 54 AB 95 13
replace_bytes = 4BE538, 82 43 BC 19 4C 6D A7 0D, 1C E2 D6 60 D6 76 76 43
replace_bytes = 4BE540, 9B FA DF 07 E1 66 E0 40, A3 FC 7B 01 43 B0 8D 81
replace_bytes = 4BE548, BC 29 4F 1C FB BB F8 F8, 44 9C 3C C3 7B 6F 66 3C
replace_bytes = 4BE550, B3 9D 75 CC 68 4C 1E E9, 1E 7B 95 60 94 C0 25 DA
replace_bytes = 4BE558, 5E 51 1E 63 91 7E A3 E4, 71 44 12 40 B3 5F 08 7E
replace_bytes = 4BE560, CD FA 33 B1 AC 88 C6 F6, 9E 63 94 58 9F 28 E4 87
replace_bytes = 4BE568, 1B 0D D4 71 65 21 C7 49, C0 9D 4D D2 D3 22 06 27
replace_bytes = 4BE570, CE 77 79 0D 9F FB B5 6C, 75 9D FB 0F 10 45 07 1E
replace_bytes = 4BE578, DE 91 D0 F0 A8 56 96 EB, 38 93 FA 07 C5 70 79 58
replace_bytes = 4BE580, 6A 13 3B C5 F7 C9 1A 90, 19 88 7F BF 3F A7 E9 5B
replace_bytes = 4BE588, FA FE F2 90 24 CF 01 79, 08 3F D0 0E AE D8 FA 40
replace_bytes = 4BE590, A5 7B B2 96 9B 23 27 31, 60 82 4E 4F 23 4E 8F 70
replace_bytes = 4BE598, 3D DF 4F 95 38 91 E9 8F, F4 2A A9 7A BE AA 5A AD
replace_bytes = 4BE5A0, AE 0F 1F F5 7D 34 35 DD, 25 55 4F 57 F5 6E 55 5D
replace_bytes = 4BE5A8, C7 02 F2 B1 30 F6 F1 28, 52 10 91 C4 20 3A 9F FB
replace_bytes = 4BE5B0, 70 C8 E3 21 1B CB 45 DF, 8A 68 B5 6E 44 5D 3D 55
replace_bytes = 4BE5B8, 46 53 D3 6C 78 08 B0 51, F7 E6 54 97 20 C3 05 C4
replace_bytes = 4BE5C0, 16 8D 6C E0 94 E5 A0 21, 20 3B 75 5C 35 D9 DA D0
replace_bytes = 4BE5C8, 23 33 F7 76 DE 73 A2 15, 08 FB BA B0 30 5C C6 E1
replace_bytes = 4BE5D0, 35 2B 73 84 FA 56 CA E2, 55 F2 1C 03 1A E5 08 4E
replace_bytes = 4BE5D8, FB E4 26 A8 5D 14 1A 58, D2 60 AA 3B FB 0B 50 02
replace_bytes = 4BE5E0, 84 19 58 F1 24 E3 73 7A, 07 41 AD 04 04 CC EE 87
replace_bytes = 4BE5E8, 73 AE 37 EB 82 CF 5A DE, B5 B6 58 16 7B 18 73 78
replace_bytes = 4BE5F0, E7 37 59 61 89 F6 DC 2B, E2 5F 43 C4 CF 52 B2 53
replace_bytes = 4BE5F8, 68 30 2E 95 74 65 5B 91, 57 4B 76 7A 2D 47 D5 82
replace_bytes = 4BE600, B3 FA 18 50 55 37 AF 5A, B6 D6 92 55 0C 35 D9 70
replace_bytes = 4BE608, FD 0C DA 9D 99 1E A7 2A, 93 D5 3D 63 EB 4D 64 AB
replace_bytes = 4BE610, EA 33 D4 8F FF 0C 75 F8, 4A 9E A7 B5 A1 D7 A7 64
replace_bytes = 4BE618, CD 92 5C EB 2C 21 F1 25, 68 AC 8A 77 E6 68 42 95
replace_bytes = 4BE620, 20 0E 64 1E A1 EE E2 8C, A1 69 BD 47 AD F5 CA 75
replace_bytes = 4BE628, E2 5B 1F 04 0F C8 42 53, A7 90 A9 99 EA 96 F4 F5
replace_bytes = 4BE630, D4 82 EE 01 41 F7 AE 68, 1E F5 55 A9 69 73 60 15
replace_bytes = 4BE638, 0F 65 B6 CE BF E3 03 87, C3 65 CC 20 E7 28 89 D8
replace_bytes = 4BE640, A2 2E EA E9 76 96 40 BA, 79 0B 76 7F 23 4A 8E 49
replace_bytes = 4BE648, 8B 62 A6 2F 89 52 34 0E, 68 ED 08 26 34 18 87 F3
replace_bytes = 4BE650, E5 45 61 87 F7 BF 42 C1, E2 5B EC 49 C2 AD 3D 88
replace_bytes = 4BE658, 4F 71 60 EF 39 E3 62 65, 11 CE 82 6F 90 E4 5B 09
replace_bytes = 4BE660, DD 04 CB FC 97 E3 0F 3C, 24 9C 08 12 93 1D C0 F0
replace_bytes = 4BE668, 56 F6 01 47 94 A5 2B EB, 07 88 E1 D3 E8 0F 78 7B
replace_bytes = 4BE670, 13 E1 59 42 70 8B A2 58, 59 E7 F1 C9 B8 0D 48 98
replace_bytes = 4BE678, 02 E3 7B CC C8 17 1C 91, B5 81 14 ED 5F D6 5F 58
replace_bytes = 4BE680, FB E9 4F FC FC B4 29 DD, B1 60 C5 42 70 33 9E 61
replace_bytes = 4BE688, B7 E0 5B 1C 4B 7B 4B 04, 18 24 84 C6 00 B7 98 EB
replace_bytes = 4BE690, 3D 3C 6D 3E 58 32 FF 92, F4 7F 52 84 49 94 5D B3
replace_bytes = 4BE698, F9 57 AD 23 55 CA C8 CA, 17 48 F4 0F 06 D3 B9 92
replace_bytes = 4BE6A0, 8A B9 88 30 03 54 AA 46, 48 7F 23 34 30 DB E9 81
replace_bytes = 4BE6A8, 7D 15 94 F1 30 6D F5 A9, 69 BB 2A A1 FA C4 9E 71
replace_bytes = 4BE6B0, 20 A0 BF 49 9E 85 CE 32, C6 D8 31 36 C0 1C BB 4F
replace_bytes = 4BE6B8, AF E7 4B 43 BB DE 28 1A, 4C DF 59 09 F7 D8 83 D3
replace_bytes = 4BE6C0, 08 88 0E 1E 97 7E 60 A9, 4B 92 82 30 CC FF B2 30
replace_bytes = 4BE6C8, 94 A7 68 08 5D 9F DA 01, DC E7 E7 A7 50 AC 2D 54
replace_bytes = 4BE6D0, 69 28 1F 3A FC 76 14 0E, 1C A9 BE 20 F4 42 A9 64
replace_bytes = 4BE6D8, 75 2D C1 41 90 CD B4 19, 5E 9B CC BB BD 7C 0A 97
replace_bytes = 4BE6E0, 39 E4 87 C8 2D 42 53 55, DD 0E CC BE AB 3A 2A 9B
replace_bytes = 4BE6E8, 45 79 B6 C6 6D 41 FD EC, DF 66 13 A7 68 4B 38 27
replace_bytes = 4BE6F0, F0 FA 30 AF FF AF 9D 6E, F1 26 05 3B 48 CF EF 29
replace_bytes = 4BE6F8, D3 BA B0 5D F7 3F BA D8, 25 29 A4 3C B3 3E 10 43
replace_bytes = 4BE700, 21 5E C0 C4 8B 92 78 C7, DB BC DD F6 00 33 A8 FD
replace_bytes = 4BE708, 95 E2 D1 36 C1 7B 22 2E, D6 5F DE 36 47 E1 50 6F
replace_bytes = 4BE710, F0 97 44 F0 84 08 95 DA, 45 FD 52 2C 23 89 21 63
replace_bytes = 4BE718, AF 54 D2 5D 1E E2 03 66, 20 82 D7 C0 A5 69 5D B9
replace_bytes = 4BE720, 92 F4 66 5F DF 11 80 2A, 6E 19 9F 22 5F C7 2D 25
replace_bytes = 4BE728, 1F ED BD 8F D0 F3 58 5D, 4A 83 48 B7 B4 74 30 19
replace_bytes = 4BE730, 2F 11 91 12 87 A4 B5 B2, 87 BE 20 AA E6 AD 44 E4
replace_bytes = 4BE738, CB 83 E4 76 66 98 BE 09, F6 84 D4 71 11 08 2A AF
replace_bytes = 4BE740, 65 5F 9A CB EF 52 14 D5, 15 93 27 62 DA 13 C2 F5
replace_bytes = 4BE748, AB 3C 46 3A F8 C4 95 9C, AA EA C9 35 55 2D B8 BE
replace_bytes = 4BE750, CD 1D AD 73 A2 51 A3 23, D7 F7 CB A2 B1 97 94 26
replace_bytes = 4BE758, 4F 5F C9 EA 83 4E FD CA, 87 D8 BA CA 33 99 74 08
replace_bytes = 4BE760, E9 81 73 D5 DD 0C 68 F5, 6A 35 30 EB B9 5D 7A EE
replace_bytes = 4BE768, CD 66 E4 B4 9F EB F7 F1, FD 7A 7A A9 8C 8A 8E DD
replace_bytes = 4BE770, AE 35 76 61 1F 1A 2C 76, A1 A8 38 DA 8A 18 24 D1
replace_bytes = 4BE778, 5F 1F 1D D0 07 1A 35 20, B1 B5 3D 83 C3 D1 0C 1B
replace_bytes = 4BE780, 8F C6 E4 D1 A8 3C 1A 96, 1C 8E 66 D8 D0 70 34 A3
replace_bytes = 4BE788, 87 7A 0A 1B F0 DC 11 03, 06 87 63 87 D8 E0 70 BC
replace_bytes = 4BE790, DD C1 B6 81 7C 34 33 C0, AD 24 CA 03 EE 8E 9A 48
replace_bytes = 4BE798, 70 1C 9E 7A DB 6A 7A AD, 38 AF 37 4E FD A8 49 CF
replace_bytes = 4BE7A0, C3 68 D3 6B 1D 46 1B 5E, B6 7B D2 93 9F 40 93 59
replace_bytes = 4BE7A8, EB 30 D8 F4 5A 1F 90 36, 81 FC 0F 78 37 58 49 00
replace_bytes = 4BE7B0, BD D6 CD BB A6 DF 0A F5, 00 00 00 00 00 00 00 00
replace_bytes = 4BE7B8, 51 32 6F 9B 0E F7 AF 98, 00 00 00 00 00 00 00 00
replace_bytes = 4BE7C0, 87 8E 77 83 5E 8C 8B 0F, 00 00 00 00 00 00 00 00
replace_bytes = 4BE7C8, 1C 64 ED 6F 9D 33 2F 08, 00 00 00 00 00 00 00 00
replace_bytes = 4BE7D0, FE 02 7B 8B 82 A6 00 00, 00 00 00 00 00 00 00 00
</Patch>


Multi-version 3.13.1-3.19.5761+. libnickel.so.1.0.0.patch
Spoiler:
Code:
<Patch>
patch_name = `Dictionary frame size`
patch_enable = `yes`
# Multi-version patch: 3.13.1-3.19.5761+
#file libnickel.so.1.0.0.patch
#
find_base_address = `#dictionary {\n\tmargin-top: 10px;`
# Dictionary text margin-glo
replace_string = 004F, `margin: 25px;`, `margin: 10px;`
# Dictionary text margin-Aura hd
replace_string = 008C, `margin: 20px;`, `margin: 10px;`
# Dictionary text area size in frame-Mini
replace_string = 00A9, `min-height: 150px;`, `min-height: 260px;`
replace_string = 00BD, `max-height: 150px;`, `max-height: 260px;`
replace_string = 00D1, `min-width: 515px;`, `min-width: 520px;`
replace_string = 00E4, `max-width: 515px;`, `max-width: 520px;`
# Dictionary text area size in frame-Glo
replace_string = 0123, `min-height: 190px;`, `min-height: 320px;`
replace_string = 0137, `max-height: 190px;`, `max-height: 320px;`
replace_string = 014B, `min-width: 550px;`, `min-width: 660px;`
replace_string = 015E, `max-width: 550px;`, `max-width: 660px;`
# Dictionary text area size in frame-Aura hd
replace_string = 019C, `min-height: 235px;`, `min-height: 430px;`
replace_string = 01B0, `max-height: 235px;`, `max-height: 430px;`
replace_string = 01C4, `min-width: 930px;`, `min-width: 978px;`
replace_string = 01D7, `max-width: 930px;`, `max-width: 978px;`
#padding-top
replace_string = 01F1, `padding-top: 20px;`, `padding-top: 10px;`
#
#
find_base_address = `#footer[qApp_deviceIsPhoenix="true"] {\n\tqproperty-leftMargin: 20;\n\tqproperty-rightMargin: 20;\n\tqproperty-bottomMargin: 20;`
# Footer: Page and language font & margin in frame-Mini-Glo
replace_string = 005F, `qproperty-bottomMargin: 20;`, `qproperty-bottomMargin: 00;`
# Footer: Page and language font & margin in frame-Aura hd
replace_string = 00DC, `qproperty-bottomMargin: 25;`, `qproperty-bottomMargin: 00;`
</Patch>
Can this be use for Kobo Glo HD? If not how can i find the address and create the patch. Thanks
flawlessx92 is offline   Reply With Quote