Split container handling from the file table and add a read-only PE view for the patch engine. Apply declarative script edits at unique anchors and preserve the input line endings and unmodified bytes. Round-trip the 2.61.0.37 GUI pack byte-for-byte and verify that invalid edit definitions and ambiguous matches are rejected.
22 lines
506 B
TOML
22 lines
506 B
TOML
[build-system]
|
|
requires = ["setuptools>=68"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "wtotools"
|
|
version = "0.1.0"
|
|
description = "Developer and installer tools for the War Thunder offline rewrite: script archives, exe patches, data extraction."
|
|
requires-python = ">=3.12"
|
|
dependencies = [
|
|
"pefile>=2024.8.26",
|
|
"capstone>=5.0",
|
|
"keystone-engine>=0.9.2",
|
|
"zstandard>=0.22",
|
|
]
|
|
|
|
[project.scripts]
|
|
wtotools = "wtotools.cli:main"
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["src"]
|