kobopatch

module
v0.7.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 9, 2018 License: MIT

README

kobopatch

An improved patching system for Kobo eReaders. See https://www.mobileread.com/forums/showthread.php?t=297338 .

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

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

Directories

Path Synopsis
Command kobopatch is an all-in-one tool to apply patches to a kobo update zip.
Command kobopatch is an all-in-one tool to apply patches to a kobo update zip.
Command patch32lsb reimplements patch32lsb in Go.
Command patch32lsb reimplements patch32lsb in Go.
Package patchfile provides a standard interface to read patchsets from files.
Package patchfile provides a standard interface to read patchsets from files.
kobopatch
Package kobopatch reads kobopatch style patches.
Package kobopatch reads kobopatch style patches.
patch32lsb
Package patch32lsb reads patch32lsb style patches.
Package patch32lsb reads patch32lsb style patches.
Package patchlib provides common functions related to patching binaries.
Package patchlib provides common functions related to patching binaries.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL