View Single Post
Old 12-10-2015, 12:23 PM   #68
oren64
I need a chapter break
oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.
 
oren64's Avatar
 
Posts: 4,042
Karma: 56058267
Join Date: Mar 2015
Location: Israel
Device: Kobo Glo
Patch 'Dictionary frame size'.
It increase the size of the pop-up dictionary.
It's for devices Glo, Aura, Aura Hd\H2O, Touch, Mini, Aura One, Glo HD.

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.2.8810+, the patch is integrated in GeoffR patcher, nickel.patch.


Firmware multi-version : 4.0.7523 - 4.2.8810+: nickel.patch (don't use the attached file), See CSS-nickel-patch.

Spoiler:
Code:
<Patch>
patch_name = `Dictionary frame size`
patch_enable = `yes`
# Multi-version patch: 4.0.7523 - 4.2.8810+
#
## See https://www.mobileread.com/forums/showpost.php?p=3221040&postcount=68
#
find_base_address = `\x0D\x6C\x78\x9C\x9D\x56\x5B\x6F\x9B\x30\x14\x7E`
replace_bytes = 0000, 0D 6C 78 9C 9D 56 5B 6F, 0D 6C 78 9C 95 56 4D 8F
replace_bytes = 0008, 9B 30 14 7E CF AF 40 E9, 9B 30 10 BD EF CF 48 AE
replace_bytes = 0010, EB 90 08 C4 34 49 D5 87, 45 0A 10 48 42 B4 87 95
replace_bytes = 0018, 4A 9D A6 54 DA 14 29 D3, 52 55 59 A9 55 A4 54 BD
replace_bytes = 0020, 5E A6 A9 72 82 43 BC 19, 54 AB 95 13 1C E2 D6 60
replace_bytes = 0028, 4C 6D A7 0D 9B FA DF 07, D6 76 76 43 A3 FD EF E5
replace_bytes = 0030, E1 66 E0 40 BC 29 4F 1C, 33 D8 C6 98 44 9C 3C E6
replace_bytes = 0038, FB BB F8 F8 B3 9D 75 CC, BD 37 6F 3C 8C 59 27 18
replace_bytes = 0040, 68 4C 1E E9 5E 51 1E 63, 25 70 85 F6 1C 91 04 D0
replace_bytes = 0048, 91 7E A3 E4 CD FA 33 B1, EC 17 82 1F 97 18 25 D6
replace_bytes = 0050, AC 88 C6 F6 1B 0D D4 71, 07 0A F9 31 F0 A6 93 F4
replace_bytes = 0058, 65 21 C7 49 CE 77 79 0D, BC 8C C1 59 5E E7 FB 47
replace_bytes = 0060, 9F FB B5 6C DE 91 D0 F0, 88 A2 23 0F DC 49 F3 82
replace_bytes = 0068, A8 56 96 EB 6A 13 3B C5, 14 F8 7C 58 6B 88 7F BF
replace_bytes = 0070, F7 C9 1A 90 FA FE F2 90, 3D A5 E9 6B 08 DF D1 1E
replace_bytes = 0078, 24 CF 01 79 A5 7B B2 96, AE D9 E6 48 60 82 CE 8F
replace_bytes = 0080, 9B 23 27 31 3D DF 4F 95, 23 4E 4F 70 F4 22 A8 FA
replace_bytes = 0088, 38 91 E9 8F AE 0F 1F F5, 73 59 B5 5E 0B AA 53 55
replace_bytes = 0090, 7D 34 35 DD C7 02 F2 B1, 75 7A A3 E8 8A 82 88 24
replace_bytes = 0098, 30 F6 F1 28 70 C8 E3 21, 1A CD C5 62 2E 69 D6 EB
replace_bytes = 00A0, 1B CB 45 DF 46 53 D3 6C, 56 D3 53 9D 7A 37 3B 5D
replace_bytes = 00A8, 78 08 B0 51 16 8D 6C E0, 81 0C 17 10 8D AC ED 7A
replace_bytes = 00B0, 94 E5 A0 21 23 33 F7 76, B2 D7 26 D0 0A CF 55 E1
replace_bytes = 00B8, DE 73 A2 15 35 2B 73 84, 2A F0 39 0E AF 92 97 18
replace_bytes = 00C0, FA 56 CA E2 FB E4 26 A8, D0 28 47 70 92 06 B6 BA
replace_bytes = 00C8, 5D 14 1A 58 84 19 58 F1, 69 2E 40 09 1C 04 75 0C
replace_bytes = 00D0, 24 E3 73 7A 73 AE 37 EB, 54 30 C7 0C EB 9C B0 28
replace_bytes = 00D8, 82 CF 5A DE E7 37 59 61, F6 30 E6 F0 CC BF 86 88
replace_bytes = 00E0, 89 F6 DC 2B 68 30 2E 95, 5F 04 B3 8E AF 98 AD 03
replace_bytes = 00E8, 74 65 5B 91 B3 FA 18 50, 6D 47 3A 4A 47 D6 39 34
replace_bytes = 00F0, 55 37 AF 5A FD 0C DA 9D, 64 C3 3D 66 EE 5C A1 0B
replace_bytes = 00F8, 99 1E A7 2A EA 33 D4 8F, 7D A5 0B 7D 93 92 A6 B1
replace_bytes = 0100, FF 0C 75 F8 CD 92 5C EB, 6A DE A9 AB 08 D5 81 B6
replace_bytes = 0108, 2C 21 F1 25 20 0E 64 1E, F5 66 4A EB 95 EB 5E 21
replace_bytes = 0110, A1 EE E2 8C E2 5B 1F 04, 5D 33 D5 CC 33 D5 D3 4C
replace_bytes = 0118, 0F C8 42 53 D4 82 EE 01, F1 64 B7 AE A5 C0 E7 98
replace_bytes = 0120, 41 F7 AE 68 0F 65 B6 CE, 41 CE 51 12 B1 CB 0E EC
replace_bytes = 0128, BF E3 03 87 A2 2E EA E9, FF 46 94 9C 92 D0 DA 13
replace_bytes = 0130, 76 96 40 BA 8B 62 A6 2F, 4C 68 30 0E 17 C5 B3 3C
replace_bytes = 0138, 89 52 34 0E E5 45 61 87, 90 84 5B 07 10 23 9C 05
replace_bytes = 0140, F7 BF 42 C1 4F 71 60 EF, DF 20 C9 8F 12 08 B8 2A
replace_bytes = 0148, 39 E3 62 65 DD 04 CB FC, 49 4C F6 00 C3 1F 20 86
replace_bytes = 0150, 97 E3 0F 3C 56 F6 01 47, 8F A3 3F E0 F5 79 93 E7
replace_bytes = 0158, 94 A5 2B EB 13 E1 59 42, 27 E2 B6 20 61 D6 16 52
replace_bytes = 0160, 70 8B A2 58 02 E3 7B CC, 74 78 DE 7C 61 C5 82 15
replace_bytes = 0168, C8 17 1C 91 FB E9 4F FC, 8B 8A 9B F1 0C C3 20 21
replace_bytes = 0170, FC B4 29 DD B7 E0 5B 1C, 34 06 B8 C3 DC D8 FF 49
replace_bytes = 0178, 4B 7B 4B 04 3D 3C 6D 3E, 11 26 51 76 75 5F 21 D1
replace_bytes = 0180, 58 32 FF 92 F9 57 AD 23, 3F 18 D8 0B C9 88 B9 11
replace_bytes = 0188, 55 CA C8 CA 8A B9 88 30, 5A 98 E3 1A 60 CA A9 0A
replace_bytes = 0190, 03 54 AA 46 7D 15 94 F1, 28 93 D8 13 CE 18 3B C5
replace_bytes = 0198, 30 6D F5 A9 20 A0 BF 49, 1A 98 EB 98 C4 D4 93 15
replace_bytes = 01A0, 9E 85 CE 32 AF E7 4B 43, 70 33 03 4E 2D 49 0A C2
replace_bytes = 01A8, BB DE 28 1A 08 88 0E 1E, 30 7F CB C2 F0 C0 03 BB
replace_bytes = 01B0, 97 7E 60 A9 94 A7 68 08, 50 6C 22 B4 6C 0A DB 94
replace_bytes = 01B8, 5D 9F DA 01 69 28 1F 3A, 84 5A 28 99 CC EF 92 F9
replace_bytes = 01C0, FC 76 14 0E 75 2D C1 41, B7 97 4F E2 72 BA 89 39
replace_bytes = 01C8, 90 CD B4 19 39 E4 87 C8, 77 55 47 66 9B 77 D9 AA
replace_bytes = 01D0, 2D 42 53 55 45 79 B6 C6, AF 68 47 38 27 F1 36 05
replace_bytes = 01D8, 6D 41 FD EC F0 FA 30 AF, 7B 48 2F 6F 29 25 29 A4
replace_bytes = 01E0, FF AF 9D 6E D3 BA B0 5D, 3C B3 DE 11 43 BB BC DD
replace_bytes = 01E8, F7 3F BA D8 21 5E C0 C4, 0E 00 33 A8 BC 66 2E 6F
replace_bytes = 01F0, 8B 92 78 C7 95 E2 D1 36, 97 A3 D8 90 2F 45 75 B2
replace_bytes = 01F8, C1 7B 22 2E F0 97 44 F0, 94 99 C4 90 31 10 C1 6B
replace_bytes = 0200, 84 08 95 DA AF 54 D2 5D, E2 C2 B4 AE B7 6E 19 9F
replace_bytes = 0208, 1E E2 03 66 92 F4 66 5F, 95 5F D7 2B 25 CA 40 65
replace_bytes = 0210, DF 11 80 2A 1F ED BD 8F, B7 8C F4 30 69 87 7E 45
replace_bytes = 0218, D0 F3 58 5D 2F 11 91 12, 54 5F 3F 02 91 67 48 A9
replace_bytes = 0220, 87 A4 B5 B2 CB 83 E4 76, E7 22 A8 A8 FC 4E 4E 7E
replace_bytes = 0228, 66 98 BE 09 65 5F 9A CB, 95 D3 81 10 AE 56 55 35
replace_bytes = 0230, EF 52 14 D5 AB 3C 46 3A, D7 56 B5 E0 FA DE DC 2F
replace_bytes = 0238, F8 C4 95 9C CD 1D AD 73, CB 36 5E 52 EA 36 AA A3
replace_bytes = 0240, A2 51 A3 23 4F 5F C9 EA, AB 77 26 93 1E 41 A5 06
replace_bytes = 0248, 83 4E FD CA E9 81 73 D5, 7A 3D AF 4F CF BB 5F 4F
replace_bytes = 0250, DD 0C 68 F5 CD 66 E4 B4, 2D 95 56 D1 75 7A 14 A5
replace_bytes = 0258, 9F EB F7 F1 AE 35 76 61, 8D AE 22 06 49 74 EA 1C
replace_bytes = 0260, 1F 1A 2C 76 5F 1F 1D D0, CF E0 70 D4 C3 06 87 A3
replace_bytes = 0268, 07 1A 35 20 8F C6 E4 D1, 1E 36 34 1C F5 A8 C1 E1
replace_bytes = 0270, A8 3C 1A 96 87 7A 0A 1B, D8 23 36 38 1C 6F 2B 89
replace_bytes = 0278, F0 DC 11 03 DD C1 B6 81, F4 03 77 47 4D 04 9C 6F
replace_bytes = 0280, 7C 34 33 C0 70 1C 9E 7A, CC 53 FD D4 84 DF B6 7B
replace_bytes = 0288, DB 6A 7A AD C3 68 D3 6B, EC 09 40 7B 52 FE DD FE
replace_bytes = 0290, 1D 46 1B 5E EB 30 D8 F4, 07 9C B2 58 09 00 00 00
replace_bytes = 0298, 5A 1F 90 36 BD D6 CD BB, 00 00 00 00 00 00 00 00
replace_bytes = 02A0, A6 DF 0A F5 51 32 6F 9B, 00 00 00 00 00 00 00 00
replace_bytes = 02A8, 0E F7 AF 98 87 8E 77 83, 00 00 00 00 00 00 00 00
replace_bytes = 02B0, 5E 8C 8B 0F 1C 64 ED 6F, 00 00 00 00 00 00 00 00
replace_bytes = 02B8, 9D 33 2F 08 FE 02 7B 8B, 00 00 00 00 00 00 00 00
replace_bytes = 02C0, 82 A6 00 00 01 C5 00 00, 00 00 00 00 01 C5 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>
Attached Thumbnails
Click image for larger version

Name:	screen_001.png
Views:	6001
Size:	75.9 KB
ID:	144487   Click image for larger version

Name:	screen_002.png
Views:	5989
Size:	78.7 KB
ID:	144488  
Attached Files
File Type: zip nickel.zip (512 Bytes, 1159 views)

Last edited by oren64; 03-05-2017 at 09:48 AM. Reason: 4.2.8810
oren64 is offline   Reply With Quote