Restore the reviewed pack, PE, and patch tooling. Specify a TypeScript
build pipeline, a type-preserving BLK codec, and a configurable loopback
port selected at launch. Document the package boundaries.
Archive the earlier backend, client, build, and patch definitions. Document
the stock login and profile requests required to reach the hangar, along
with the profile structure and the relevant configuration blocks.
Compile the upstream Quirrel checker with MSVC and invoke syntax and
static analysis for each input file. Treat reported errors and warnings
as failures because the checker can return a zero exit code for them.
Split the command line by purpose and add GUI pack construction from
declared edits and injected scripts. Verify the checker against stock
scripts and invalid inputs, and confirm that patch checks still run.
Keep patch definitions and dependencies separate from the patch engine.
Resolve all patches before writing, verify expected bytes, and refuse to
overwrite the input executable. Include a read-only check command for
comparing definitions with their assembly source.
Allow locally rebuilt script archives to load in the offline client.
Verify the patch against the 2.61.0.37 executable and confirm that the
patched copy remains readable as PE.
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.