Skip to content

Free fork of NotProton: Windows Steam games in Mac Steam, on CodeWeavers' Wine and Apple's Game Porting Toolkit

docs: map Apple's GPTK license terms; ci: weekly AppleGamingWiki refresh of compat/reported.json

raymondchins8edb5a98266f
diff --git a/.github/workflows/compat-reported.yml b/.github/workflows/compat-reported.yml
new file mode 100644
index 0000000..85a0c39
--- /dev/null
+++ b/.github/workflows/compat-reported.yml
@@ -0,0 +1,42 @@
+# Weekly refresh of compat/reported.json, the AppleGamingWiki CrossOver ratings that
+# bridgeplay.dev/compatibility shows as "Should work". The site reads the file from main,
+# so a commit here is live without a deploy. Commits only when the game list changed.
+name: compat-reported
+
+on:
+ schedule:
+ - cron: "41 3 * * 1"
+ workflow_dispatch:
+
+permissions:
+ contents: write
+
+concurrency: compat-reported
+
+jobs:
+ refresh:
+ runs-on: ubuntu-latest
+ timeout-minutes: 30
+ steps:
+ - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
+
+ - name: Fetch AppleGamingWiki ratings
+ run: python3 scripts/compat-reported.py
+
+ - name: Commit if the game list changed
+ run: |
+ set -euo pipefail
+ # "fetched" changes every run; only a different games list is worth a commit.
+ if git show HEAD:compat/reported.json | python3 -c '
+ import json, sys
+ old = json.load(sys.stdin)["games"]
+ new = json.load(open("compat/reported.json"))["games"]
+ sys.exit(0 if old == new else 1)'; then
+ echo "no change in the game list"
+ exit 0
+ fi
+ git add compat/reported.json
+ git -c user.name="github-actions[bot]" \
+ -c user.email="41898282+github-actions[bot]@users.noreply.github.com" \
+ commit -q -m "chore(compat): refresh AppleGamingWiki ratings"
+ git push -q origin HEAD:main
diff --git a/NOTICE b/NOTICE
index 16218bf..e32767c 100644
--- a/NOTICE
+++ b/NOTICE
@@ -90,7 +90,8 @@ in app/Sources/BridgeplayApp/Model/FreeEngine*.swift) when they are not there.
the Apple Software" (section 2C). The wine/ libraries are Apple's build of
Wine (LGPL-2.1-or-later); their source is the Wine source Apple publishes
for the Game Porting Toolkit, which Raymond Chin will also provide on request
- under the offer below.
+ under the offer below. How each condition of Apple's license is met:
+ docs/GPTK-LICENSE.md.
The license texts of DXMT and DXVK ship next to these archives in the installer.
diff --git a/docs/GPTK-LICENSE.md b/docs/GPTK-LICENSE.md
new file mode 100644
index 0000000..8509f07
--- /dev/null
+++ b/docs/GPTK-LICENSE.md
@@ -0,0 +1,24 @@
+# Apple Game Porting Toolkit: how Bridgeplay meets its license
+
+The installer ships Apple's Game Porting Toolkit redistributables (`D3DMetal.framework` and
+the `wine/` libraries from the toolkit's `/redist` directory). They are Apple software under
+Apple's license, shipped as `GPTK-License.rtf`; they are not in this repository. This page
+maps each condition of that license (Game Porting Toolkit 4.0 beta 3) to what Bridgeplay
+does. It is a record of the project's reading, not legal advice.
+
+| License term | What it asks | How Bridgeplay meets it |
+|---|---|---|
+| 2A(iii) | Distribute "solely for non-commercial purposes" | Bridgeplay is free: no price, paid tier, ads, donations or sponsorship, in the app, the site or the repository. README and NOTICE say so. |
+| 2A, 2C | Keep Apple's copyright and proprietary notices on each copy | The installer ships Apple's `License.rtf` as `GPTK-License.rtf`, and the framework keeps its own `Resources/LICENSE`. `scripts/package-installer.sh` stops if the license file is missing. |
+| 2C | Only the Framework "in its entirety" or parts of the Redistributables may be distributed apart from the toolkit | Only `D3DMetal.framework` (whole) and files from `/redist` are shipped. |
+| 2D | No modifying or creating derivative works | Shipped unmodified. `package-installer.sh` refuses any Mach-O in the GPTK folder that does not carry Apple's own signature (`codesign -R 'anchor apple'`). |
+| 2C | Not on non-Apple devices | The installer and the app require an Apple Silicon Mac. |
+| 2C | No renting, selling, hosting or service bureau use | Users run it on their own Mac; nothing is hosted or resold. |
+| 7B | Use only with materials you may legally use | Users play games they own in their own Steam library. |
+
+Not covered by an automated check: the Windows DLLs under `wine/` are PE files that
+`codesign` cannot verify, so their integrity rests on copying them straight from Apple's
+DMG. Their source is the Wine source Apple publishes for the toolkit (LGPL-2.1-or-later),
+available on request under the offer in [NOTICE](../NOTICE).
+
+When Apple ships a new toolkit version, reread its license and update this table.