View Single Post
Old 06-01-2016, 02:17 PM   #229
pipcat
Connoisseur
pipcat ought to be getting tired of karma fortunes by now.pipcat ought to be getting tired of karma fortunes by now.pipcat ought to be getting tired of karma fortunes by now.pipcat ought to be getting tired of karma fortunes by now.pipcat ought to be getting tired of karma fortunes by now.pipcat ought to be getting tired of karma fortunes by now.pipcat ought to be getting tired of karma fortunes by now.pipcat ought to be getting tired of karma fortunes by now.pipcat ought to be getting tired of karma fortunes by now.pipcat ought to be getting tired of karma fortunes by now.pipcat ought to be getting tired of karma fortunes by now.
 
Posts: 65
Karma: 200153
Join Date: Apr 2016
Device: Kobo Glo Hd
If bigbless or someone else wants to try css changes in nickel, the attached python scripts could be useful.

Tool to patch compressed streams inside nickel.
- Copy your nickel file from your firmware to this folder.
- Execute python extract.py to extract all compressed streams.
- Browse extracted/ folder and view .css files to find out what you want to change.
- Copy files you want to change to folder modified/ and change what you want.
Note that resulting file after compression could not be larger than original one.
Remove comments or code related to other devices if you need to shorten.
- Execute python patch.py to create a nickel-modif with your patches.
Check messages to verify modifications are well done.
- Execute ./publish.sh to create KoboRoot.tgz and copy to folder .kobo/ in your device.
Attached Files
File Type: zip patch-nickel-zlib.zip (3.9 KB, 211 views)

Last edited by pipcat; 06-02-2016 at 02:08 AM. Reason: Updated zip to include empty folder extracted (needed for windows users)
pipcat is offline   Reply With Quote