diff --git a/.github/workflows/restore-sytrus-verification.yml b/.github/workflows/restore-sytrus-verification.yml new file mode 100644 index 0000000..05b3cd4 --- /dev/null +++ b/.github/workflows/restore-sytrus-verification.yml @@ -0,0 +1,47 @@ +name: Restore Sytrus verification FLP + +on: + push: + branches: + - upload/sytrus-verification + paths: + - "downloads/IZKFLP-0.8.0-Sytrus-Verification.flp.xz" + - ".github/workflows/restore-sytrus-verification.yml" + +permissions: + contents: write + +jobs: + restore: + runs-on: ubuntu-latest + steps: + - name: Checkout test branch + uses: actions/checkout@v4 + with: + ref: upload/sytrus-verification + + - name: Decompress and verify FLP + run: | + python - <<'PY' + import hashlib + import lzma + from pathlib import Path + + archive = Path("downloads/IZKFLP-0.8.0-Sytrus-Verification.flp.xz") + target = Path("downloads/IZKFLP-0.8.0-Sytrus-Verification.flp") + payload = lzma.decompress(archive.read_bytes()) + expected = "147c623c44b4400a99765301633e8e02e589390770e78935cdbf426d71b41b7a" + actual = hashlib.sha256(payload).hexdigest() + if actual != expected: + raise SystemExit(f"SHA-256 mismatch: {actual}") + target.write_bytes(payload) + print(f"Restored {len(payload)} bytes; SHA-256 verified: {actual}") + PY + + - name: Commit restored FLP + run: | + git config user.name "github-actions[bot]" + git config user.email "41898282+github-actions[bot]@users.noreply.github.com" + git add downloads/IZKFLP-0.8.0-Sytrus-Verification.flp + git commit -m "test: add Sytrus verification FLP" + git push origin HEAD:upload/sytrus-verification diff --git a/downloads/IZKFLP-0.8.0-Sytrus-Verification.flp.xz b/downloads/IZKFLP-0.8.0-Sytrus-Verification.flp.xz new file mode 100644 index 0000000..4d285db Binary files /dev/null and b/downloads/IZKFLP-0.8.0-Sytrus-Verification.flp.xz differ diff --git a/downloads/README.md b/downloads/README.md new file mode 100644 index 0000000..089eb01 --- /dev/null +++ b/downloads/README.md @@ -0,0 +1,13 @@ +# Sytrus verification project + +This folder contains the FL Studio 24 verification project produced by IZKFLP 0.8.0. + +- Original file: `IZKFLP-0.8.0-Sytrus-Verification.flp` +- Size: 283,730 bytes +- SHA-256: `147c623c44b4400a99765301633e8e02e589390770e78935cdbf426d71b41b7a` +- Test change: Sytrus channel IID 6, Main Pitch changed from -12 to -11. +- All other channel plugin-state payloads were checked as unchanged before packaging. + +The repository stores an XZ-compressed transport copy because the GitHub connector does not accept local binary files directly. The workflow in `.github/workflows/restore-sytrus-verification.yml` restores and verifies the original FLP, then commits it into this folder. + +If Actions are disabled, download the `.flp.xz` file and extract it with 7-Zip.