View Single Post
Old 03-05-2014, 02:39 PM   #36
surquizu
Evangelist
surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.
 
surquizu's Avatar
 
Posts: 411
Karma: 902071
Join Date: Jun 2008
Location: Zaragoza (Spain)
Device: prs-505, kobo auraHD, kobo auraH2O, kobo Glo HD, kobo aura ONE
Quote:
Originally Posted by tshering View Post
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.
Perfect! Now all the patches work fine.

Thanks Thsering
surquizu is offline   Reply With Quote