Thread: Kobo Patcher
View Single Post
Old 12-19-2013, 05:45 PM   #639
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
Quote:
Originally Posted by Iņigo View Post
./patch32lsb: line 13 in 'kpg-311.conf': replace_string unescaped '\' character.
Just remove the "\x00" from the end of the footer string, I haven't added code to parse that yet. The \x00 adds a null terminator to the string because patcher doesn't do it itself when the replace_xor method is used. However patch32lsb does it automatically, so the \x00 is not needed.

(BTW it should run correctly on 32- and 64-bit machines, the 32lsb in the name refers to the executable that is being patched, i.e. Kobo devices run 32-bit little-endian code.)
GeoffR is offline   Reply With Quote