Crate smart_patcher

Source
Expand description

Patcher based on rules.

Main features:

  • check command to test patch (featured by tests, enabled by default)
  • rules to select files and patch areas
  • file content encoders/decoders support
  • regex support
  • Python, Lua and Rhai scripts support (featured by python, lua and rhai)

See PatchFile for further details.

Structs§

Patch
Patch definition.
PatchFile
Patch file structure,
RegexIR
Regular expression.

Enums§

AreaRule
Rule for patch area and cursor position definition.
DecodeBy
Decoder definition.
EncodeBy
Encoder definition.
FilePath
File path definition.
Replacer
Replacer definition.