Skip to content

Commit

Permalink
Removed GeoffR's updated 24 line spacing values patch due to crashes …
Browse files Browse the repository at this point in the history
…in the epub reader
  • Loading branch information
pgaskin committed Aug 25, 2018
1 parent de67ce1 commit 4a22e8e
Showing 1 changed file with 1 addition and 35 deletions.
36 changes: 1 addition & 35 deletions src/versions/4.10.11591/libnickel.so.1.0.0.yaml/geoffr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,41 +32,7 @@ My 10 line spacing values:
- ReplaceFloat: {Offset: 0x40, Find: 2.6, Replace: 1.05}
- ReplaceFloat: {Offset: 0x48, Find: 2.8, Replace: 1.1}

My 24 line spacing values:
- Enabled: no
- PatchGroup: Line spacing values alternatives
- Description: |
This patch changes the values on the line spacing adjustment slider,
increasing the number of spacing options from 15 to 24, and allowing
much narrower spacing values to be set.
# save r5, initialise loop counter
- ReplaceBytes: {Offset: 0x65A034, FindH: BC F5 84 EA 6D A3, ReplaceH: A9 46 00 25 ED 00}
# loop to load 14 vals from new table
- ReplaceBytes: {Offset: 0x65A03A, FindH: D3 E9 00 23 07 F1, ReplaceH: 20 46 04 A1 29 44}
- ReplaceBytes: {Offset: 0x65A040, FindH: 80 01 20 46, ReplaceH: BC F5 7E EA}
- ReplaceBytes: {Offset: 0x65A044, FindH: 61 E9 1C 23 BC F5, ReplaceH: 08 35 70 2D F7 D1}
# jump over new table
- ReplaceBytes: {Offset: 0x65A04A, FindH: 7A EA 6A A3 D3 E9, ReplaceH: 7C E0 00 BF 00 BF}
# new table: 14 8-aligned doubles
- BaseAddress: 0x65A050
- ReplaceBytes: {Offset: 0x00, FindH: 00 23 07 F1 80 01 20 46, ReplaceH: 00 00 00 00 00 00 F0 3F}
- ReplaceBytes: {Offset: 0x08, FindH: 61 E9 1A 23 BC F5 70 EA, ReplaceH: 00 00 00 00 00 00 F0 3F}
- ReplaceBytes: {Offset: 0x10, FindH: 67 A3 D3 E9 00 23 07 F1, ReplaceH: 00 00 00 00 00 00 F0 3F}
- ReplaceBytes: {Offset: 0x18, FindH: 80 01 20 46 61 E9 18 23, ReplaceH: 00 00 00 00 00 00 F0 3F}
- ReplaceBytes: {Offset: 0x20, FindH: BC F5 66 EA 43 F2 33 33, ReplaceH: 00 00 00 00 00 00 F0 3F}
- ReplaceBytes: {Offset: 0x28, FindH: 4F F0 33 32 C3 F6 F3 73, ReplaceH: 00 00 00 00 00 00 F0 3F}
- ReplaceBytes: {Offset: 0x30, FindH: 07 F1 80 01 20 46 61 E9, ReplaceH: 00 00 00 00 00 00 F0 3F}
- ReplaceBytes: {Offset: 0x38, FindH: 16 23 BC F5 5A EA 5E A3, ReplaceH: 00 00 00 00 00 00 F0 3F}
- ReplaceBytes: {Offset: 0x40, FindH: D3 E9 00 23 07 F1 80 01, ReplaceH: 00 00 00 00 00 00 F0 3F}
- ReplaceBytes: {Offset: 0x48, FindH: 20 46 61 E9 14 23 BC F5, ReplaceH: 00 00 00 00 00 00 F0 3F}
- ReplaceBytes: {Offset: 0x50, FindH: 50 EA 00 23 00 22 C3 F6, ReplaceH: 00 00 00 00 00 00 F0 3F}
- ReplaceBytes: {Offset: 0x58, FindH: F8 73 07 F1 80 01 20 46, ReplaceH: 00 00 00 00 00 00 F0 3F}
- ReplaceBytes: {Offset: 0x60, FindH: 61 E9 12 23 BC F5 44 EA, ReplaceH: 00 00 00 00 00 00 F0 3F}
- ReplaceBytes: {Offset: 0x68, FindH: 55 A3 D3 E9 00 23 07 F1, ReplaceH: 00 00 00 00 00 00 F0 3F}
- BaseAddress: 0
# initialise loop counter
- ReplaceBytes: {Offset: 0x65A144, FindH: 00 23 00 22, ReplaceH: 00 BF 00 25}
# loop to load 10 vals from old table
# MISSING (causes crashes on epub reader): My 24 line spacing values

Custom left & right margins:
- Enabled: no
Expand Down

0 comments on commit 4a22e8e

Please sign in to comment.