feat(vromfs): read and rebuild VROMFS script packs

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.
This commit is contained in:
N0VAN0M4LY committed 2026-11-23 13:19:27 +08:00
1 parent b89e3c1ce7
commit 8d26ad0fbd
15 files changed
+677

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
[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"]