Quote:
Originally Posted by sumdog
I was wondering only one thing ... what exactly do the patches entail?
|
Most of the libnickel patches patch the executable directly. If you want to look further into it, use a dissassembler (I recommend
Hopper and
IDA, but
Cutter works too) on usr/local/Kobo/libnickel.so.1.0.0. For reference on the meaning of instructions, look at the
ARM Keil. The majority of libnickel is in Thumb mode. If you want to learn more about assembly, play with
Compiler Explorer.
On the other hand, most of the nickel patches patch zlib-compressed
qResource streams by replacing the compressed data. For this, use cssextract (included in the patches) on usr/local/Kobo/nickel, and modify the CSS you find in there. If you're wondering about the layout of the widgets, enable layout rects in developer mode, or look at the ui_* methods and widget constructors in libnickel.