View Single Post
Old 10-14-2017, 09:18 AM   #26
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by vjjustin View Post
I am using GeoffR method and replacing the values in your dictionary popup increase patch. But since there isn't any difference in the nickel and nickel-modif, the makepatch generated an empty patch. I haven't checked it but will check it again today and will reply.
When using the pipcat method, for each new firmware if you are planning to re-run patch.py you first need to re-run the extract.py routine to create a new nickel-extracted.css file. Then open it to get the header
Code:
/* found: 91 (zlib) pos: 4c1655 */
for the CSS stream you want to modify. Make sure that the header in your nickel-modified.css file is exactly the same. There is a 99.9999% chance the red values are not the same as the ones you used for the previous firmware.

Once you've succeeded in modifying nickel via pipcat, using GeoffR's makepatch v0.02 utility can greatly improve the chances of your patch surviving from one firmware to the next without needing to re-do the pipcat part, but only if Kobo didn't change the contents of the CSS stream.
  • make sure you run makepatch with the -b option so that all but one of the absolute addresses are replaced with relative addresses
  • in the makepatch output file, replace the line containing the one remaining absolute address (base_address = xxxxxx) with a find_base_address = `...`. You can look at my `Dictionary frame size` entry in GeoffR's nickel.patch file to see how that can be done.
jackie_w is offline   Reply With Quote