What this patch tool does
Create deterministic BPS or classic IPS patches locally from an original file and a modified target file.
Format and input contract
Both source and modified target files are limited to 8 MiB. BPS is generated with source, target, and patch CRC32 values. IPS generation uses classic 24-bit offsets and the optional three-byte final-size extension when source and target sizes differ.
Integrity and compatibility limits
The BPS generator uses a deterministic linear SourceRead/TargetRead strategy rather than claiming globally optimal patch size. IPS has no embedded source checksum and can silently produce incorrect output when applied to the wrong base file.
Browser-local processing
When operational, Phase 20 reads only files explicitly selected in the browser, enforces bounded buffers, and does not silently upload patch inputs or outputs.