Skip to content

norbusan/kobopatch

 
 

Repository files navigation

kobopatch

An improved patching system for Kobo eReaders. See https://www.mobileread.com/forums/showthread.php?t=297338 . Download patches for v4.9.11311+ here.

Progress:

  • Core patching functionality (./patchlib)
  • Drop-in replacement for patch32lsb with exactly the same output and features (./patch32lsb)
  • All-in-one patcher (base features) (./kobopatch)
  • All-in-one patcher (./kobopatch)
  • kobopatch: support new format
  • kobopatch: support old format
  • kobopatch: pluggable format system
  • Automatic builds
  • Alternative patch format (which has more reliable and has less complex parsing)
  • Manually check hashes of output from both batch formats with each other and the old patcher with all patches enabled to ensure reliability
  • Patch overrides to force enable/disable patches in a portable way.
  • Patch consistency check
  • Convert old patch zips
  • Translation file support
  • Zlib support
  • CSS extraction tool (./cssextract)
  • Support for adding additional files

Improvements/Goals:

  • More readable code
  • Unit tests
  • Built-in support for generating kobo update files
  • More modular
  • Embeddable into another application
  • Single file
  • Better consistency checking of config and result
  • Easier cross-platform build support without external deps
  • Optional improved patch format
  • Faster and lower memory consumption
  • No need for temp files
  • Save and restore lists of enabled patches
  • Translation file support
  • more (coming soon)
  • Zlib support (coming soon)

Testing:

  • Unit tests (automatically run by Travis CI): go test -v ./...
  • Real tests (compares original and new): rewrite coming soon, already done manually

Packages

No packages published

Languages

  • Go 65.9%
  • C 17.0%
  • Shell 10.2%
  • Batchfile 4.1%
  • Makefile 2.8%