Quote:
Originally Posted by allanahk
Are there any resources/info for creating patches? The yaml files seem straightforward, but how do you know what to put under e.g. FindZlib or ReplaceZlibGroup etc? What files are these modifying? It would be fun to understand the process more - if it's too complicated for me to tinker with then at least it would be interesting to learn about 
|
As for what jackie_w is referring to, you'll need to look at the Qt resource dumps (see the kobopatch release issues on GitHub, and my qrc repo) along with a disassembly of libnickel to figure out exactly where things are used (if it isn't clear from the CSS). The zlib instructions are the ones which replace compressed Qt resources. The group ones do multiple replacements without recompressing each time (which may fail if one makes it too large -- also note that I'll probably be doing something about that part at some point in the future). Pretty much anything involving the zlib CSS stuff is safe to mess with and can be recovered from without a factory reset unless you do something silly like removing the usb connection button and don't have SSH access or something else like NickelMenu installed, or you install mismatched firmware files.
For the other patches, it's a bit more complicated, and I can talk more about them if you're interested when I have a bit more time.
___
P.S. Regarding the other requests I see from the last month, I didn't miss them; I just didn't have enough time to respond. I'll probably get to them at some point if nobody else does them first.