Thread: Kobo Patcher
View Single Post
Old 10-05-2013, 07:09 PM   #256
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,902
Karma: 169810634
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by ectoplasm View Post
Nice, now I'm less concerned about getting an unwanted update to 2.9.x on my HD. Hopefully the "Wi-Fi insomnia" and "Fix page breaks bug" patches can also be included.
For the Fix Page Breaks", the address to change for 2.9.0 is D2559E and for 2.8.1b, the address is BE76DE.

With 2.8.1, I was using the alternate method which I'm not sure fixed the long paragraph bug but did save me from some of the orphaned lines at the end of chapters. To revert to the standard method remove the # from in front of the first replace_bytes = and add it before the second replace_bytes.

The ebook I used for testing was "The Cossacks" by Leo Tolstoy as translated by Louise and Aylmer Maude which was downloaded from Gutenberg.


Code:
# for 2.9.0
<Patch>
patch_name = `Fix page breaks bug`
patch_enable = `yes`
# replace_bytes = D2559E, E8 D0, E8 E7
#Alternative method
replace_bytes = D2559E, E8 D0, 00 46
</Patch>

# for 2.8.1b
<Patch>
patch_name = `Fix page breaks bug`
patch_enable = `yes`
# replace_bytes = BE76DE, E8 D0, E8 E7
#Alternative method
replace_bytes = BE76DE, E8 D0, 00 46
</Patch>
Regards,
David

Last edited by DNSB; 10-05-2013 at 07:28 PM. Reason: added the name of the book used for testing
DNSB is offline   Reply With Quote