View Single Post
Old 03-05-2014, 03:53 AM   #35
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by surquizu View Post
Thanks Robert. It works, but I see that it is not compatible with the other patches. The other patches are disabled
The problem is that Metazoa's kpg.exe and my patchit.exe both modify the ORIGINAL libnickel.so.1.0.0. Therefore if you copy the KoboRoot.tgz that is produced by kpg.exe (and includes libnickel.so.1.0.0) to the device, only those patches included in the kpg configuration file are applied, and if you copy the KoboRoot.tgz that is produced by patchit.exe to the device, only those patches included in conf_libnickel.txt are applied. (You should however see the increased font in the menu entries, because they are produced by nickel, which is not at all changed by kpg.)

You can overcome this problem in different ways.
- replace libnickel.so.1.0.0 in the kpg folder by one that is already modified by patchit.exe
- replace libnickel.so.1.0.0 in 3.1.1_source by one that is already modified by kpg.exe
- add the patches you use from the kpg configuration file to 3.1.1_source\conf_libnickel.txt

I think the last alternative is the most convenient. For instance if you would like to use the "Search in Library by default" patch (from GeoffR's kpg.conf), add

Code:
<Patch>
patch_name = `Search in Library by default`
patch_enable = `yes`
replace_bytes = 9E7DBC, 7E F7 C0 E2, 00 46 00 46
replace_bytes = 9E7E08, 7E F7 9A E2, 00 46 00 46
</Patch>
to conf_libnickel.txt.
tshering is offline   Reply With Quote