Quantcast
Channel: MobileRead Forums - Kobo Developer's Corner
Viewing all articles
Browse latest Browse all 1561

Nickel Icons

$
0
0
This script extracts PNG icons from nickel (and possibly other binaries). It runs on disconnect from PC (currently without visual feedback). The extraction process takes about a minute.

You can edit and replace the PNGs with your own images, as long as they are not larger than the original image was. For some images it can be difficult to meet the size requirement: Reduce color depth. Try pngcrush. Disable optional PNG data (comments, etc.). If nothing helps, reduce colors even further / remove details.

The custom images will be written directly back into the binary. The script does check for valid PNG header and filesize, but even so, bricking is still possible - make backups of your data.

To install, KoboRoot-NickelIcons.tgz » .kobo/KoboRoot.tgz

After installation you will find a .nickelicons directory.
  • .nickelicons/uninstall.txt - uninstallation instructions
  • .nickelicons/report.txt - logfile of the last script run
  • .nickelicons/targets.txt - list of files to be processed by this mod (nickel)
  • .nickelicons/nickel/*.png - the extracted PNG images (leave as is)
  • .nickelicons/nickel/restore/*.png - put your edited PNG images in here (to be restored on disconnect)
  • .nickelicons/nickel/done/*.png - your edited PNG images (previously processed by the script - check report.txt for success)
  • .nickelicons/nickel/invalid/* - broken or invalid files found during processing

The script will not run if nickel/*.png exists (if it already extracted PNG before) and if nickel/restore/*.png does not exist (if there is no custom PNG to put back into the binary). So to start over you must remove .nickelicons/nickel/*.png.

A reboot is necessary to make the changes visible.

In order to uninstall the Nickel Icons mod, simply delete or rename the .nickelicons dir.

Uninstalling will not restore the original icons. You have to do so manually, before uninstalling, by moving the original PNG files into restore/. Alternatively, use a firmware update to get the original /usr/local/Kobo/nickel file back.

Attached Thumbnails
Click image for larger version

Name:	charge.jpg
Views:	N/A
Size:	116.1 KB
ID:	140240   Click image for larger version

Name:	connected.jpg
Views:	N/A
Size:	64.7 KB
ID:	140241  
Attached Files
File Type: zip KoboRoot-NickelIcons.zip (2.4 KB)

Viewing all articles
Browse latest Browse all 1561

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>