diff --git a/.github/workflows/desktop.yml b/.github/workflows/desktop.yml
index 92e28a7..65a1447 100644
--- a/.github/workflows/desktop.yml
+++ b/.github/workflows/desktop.yml
@@ -25,6 +25,25 @@ env:
BUILD_VERSION: ${{ (startsWith(github.ref, 'refs/tags/v') && github.ref_name) || inputs.version || (github.event_name == 'pull_request' && format('pr-{0}', github.event.number)) || (github.ref == 'refs/heads/main' && format('v0.1.0-preview.main.{0}', github.run_number)) || github.ref_name }}
jobs:
+ build_tools:
+ strategy:
+ fail-fast: false
+ matrix:
+ os: [ubuntu-22.04, windows-2022, macos-15]
+ runs-on: ${{ matrix.os }}
+ steps:
+ - uses: actions/checkout@v5
+ with:
+ persist-credentials: false
+ sparse-checkout-cone-mode: false
+ sparse-checkout: |
+ /tools/release.py
+ /tests/release/
+ - uses: actions/setup-python@v6
+ with:
+ python-version: '3.12'
+ - name: Check release preflight and source-ZIP provenance without exporting
+ run: python -m unittest discover -s tests/release -v
gameplay:
strategy:
fail-fast: false
@@ -38,16 +57,17 @@ jobs:
sparse-checkout-cone-mode: false
sparse-checkout: |
/global.json
+ /Directory.Build.props
/gameplay/
/tests/gameplay/
- /addons/wol_engine/portable/
+ /addons/wol_engine/platforms/*/portable/
- uses: actions/setup-dotnet@v5
with:
dotnet-version: '10.0.403'
- name: Check gameplay with only the portable core and no Godot backend
run: dotnet run --project tests/gameplay/GameplayContracts.csproj -c Release
player:
- needs: gameplay
+ needs: [gameplay, build_tools]
strategy:
fail-fast: false
matrix:
diff --git a/AGENTS.md b/AGENTS.md
index e029a0d..42fa093 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -2,6 +2,7 @@
- Project Vagrant is a C# game consumer of `RakuenSoftware/wol-engine`, whose binary release is vendored at `addons/wol_engine`. Runtime code is C# on Godot 4.7.2 .NET; no GDScript. Reusable engine behaviour belongs in wol-engine with one owner; game rules, content adapters and scenes belong here.
- Extracted game rules belong in `gameplay/Vagrant.Gameplay.csproj`, an ordinary .NET library with no Godot or backend references; it may reference the plain .NET `WolEngine.Core` contracts. Host scenes compose it through .NET-typed boundaries; reusable device and presentation operations belong in wol-engine. Keep Vagrant-specific rules here and remove displaced host calls as each boundary is extracted.
+- Retail catalog and installation rules live in the plain gameplay library; its catalog is an embedded .NET resource. Disc I/O and content-pack mechanisms belong to `WolEngine.Core`; Godot executable discovery and media processes belong to the engine backend. Host resource-cache preparation stays in `RetailContent` until its rendering dependencies are extracted.
- Only players with their own US Vagrant Story disc (SLUS-01040) can play. There is one installation: the disc's files, verified against the retail digest and kept byte for byte (`disc/`, with `install.json` recording where each starts on the disc). It is never versioned or converted. The game decodes what it needs from those files at runtime; what is slow to decode may be kept in `cache/`, which can always be made again.
- Every behaviour is implemented exactly once: one decoder per disc format, one handler per script opcode, one owner for each piece of logic. Reuse and move existing code to its owner rather than writing a second copy. Never commit, ship, download or bundle anything from the disc, and never add fallback content that lets the game run without a verified disc.
- This is not a decompilation project. ser-pounce/rood-reverse is reference material for formats and behaviour only: do not copy its code, tooling, data, tables or text. Write independent implementations.
diff --git a/Directory.Build.props b/Directory.Build.props
new file mode 100644
index 0000000..913de2f
--- /dev/null
+++ b/Directory.Build.props
@@ -0,0 +1,8 @@
+
+
+ windows-x64
+ macos-universal
+ linux-x64
+ $(MSBuildThisFileDirectory)addons/wol_engine/platforms/$(WolEngineTarget)/portable
+
+
diff --git a/README.md b/README.md
index 75e0a07..c755f52 100644
--- a/README.md
+++ b/README.md
@@ -49,6 +49,12 @@ or port. A separate Unreal Engine 5 backend is not currently supplied. The work
here establishes the gameplay behavior that future engine implementations can
preserve and reuse.
+## Acknowledgements
+
+Thanks to [ser-pounce/rood-reverse](https://github.com/ser-pounce/rood-reverse) and
+its contributors for documenting Vagrant Story's data structures and file formats.
+Their work provides a reference for Project Vagrant's independent implementations.
+
## Current state
The title presents the publisher and developer logos, opening movie, title screen and menu wheel. New Game enters the prologue and then field play; Continue loads a memory-card save. The retail Sound and Vibration options and the added Settings panel control audio, controller vibration, display and graphics settings.
@@ -76,7 +82,28 @@ FFmpeg and ffprobe are bundled for first-time disc conversion; player downloads
The wol-engine binaries are already checked into this repository. No private
engine access, submodule initialization, SCons or C++ compiler is needed. Install
-Python 3.12+ and .NET SDK 10.0.403, then build a player on its native host:
+Python 3.12+ and the pinned .NET SDK **10.0.403**. Release builds use
+`global.json`'s SDK resolver; an earlier .NET 10 feature band such as 10.0.301
+does not satisfy this pin. The build script reports an incompatible SDK before
+it downloads Godot or creates player output.
+
+Building bundled FFmpeg/ffprobe also needs a native C toolchain:
+
+- **Windows:** install [MSYS2](https://www.msys2.org/), open its **MINGW64** terminal
+ and run `pacman -S --needed make pkgconf diffutils mingw-w64-x86_64-gcc`.
+ The default location is `C:/msys64`; set `MSYS2_ROOT` to your installation root
+ if it is elsewhere. Git Bash alone does not supply this toolchain.
+- **Linux:** install `build-essential pkg-config diffutils curl` (Debian/Ubuntu
+ names, or your distribution's equivalents).
+- **macOS:** install Xcode Command Line Tools (`xcode-select --install`) and
+ `pkg-config` (for example with Homebrew). The build uses the native tools to
+ produce both architectures.
+
+Git clones and GitHub **Download ZIP** source archives are supported. ZIP builds
+need no Git installation; `BUILD.json` records their revision and dirty state as
+unknown. A Git checkout requires Git on PATH to record its actual provenance.
+Missing prerequisites are listed together before export or media compilation.
+Then build a player on its native host:
```sh
python tools/release.py linux-x64 --version development
diff --git a/Vagrant.csproj b/Vagrant.csproj
index 803aac2..5d1f8f3 100644
--- a/Vagrant.csproj
+++ b/Vagrant.csproj
@@ -6,11 +6,7 @@
Wol.Games.Vagrant
Vagrant
true
- windows-x64
- macos-universal
- linux-x64
$(MSBuildProjectDirectory)/addons/wol_engine/platforms/$(WolEngineTarget)
- $(MSBuildProjectDirectory)/addons/wol_engine/portable
Release
diff --git a/addons/wol_engine/VENDOR.json b/addons/wol_engine/VENDOR.json
index 0fe06dd..6431248 100644
--- a/addons/wol_engine/VENDOR.json
+++ b/addons/wol_engine/VENDOR.json
@@ -3,21 +3,21 @@
"godot": "4.7.2",
"targets": {
"linux-x64": {
- "asset": "wol-engine-dcb5145dfeb3906830c0c6dc6b6d1f22ad1b4950-linux-x64.zip",
- "sha256": "74d38daded15e0c6052a26920b675c1d462a5afe46f3dbac401cf65970ef4131"
+ "asset": "wol-engine-a66481a4008acb84091ab9f9049437efb81f8fc5-linux-x64.zip",
+ "sha256": "69c55bba90c668cb96805b4155e1ae25614571038b5c3f046bdba46c9f7e61ce"
},
"macos-universal": {
- "asset": "wol-engine-dcb5145dfeb3906830c0c6dc6b6d1f22ad1b4950-macos-universal.zip",
- "sha256": "f22b31351ef50dd4d53f8fb7c9d494c2b1cf80f6041a09745942a504e7f8b7ef"
+ "asset": "wol-engine-a66481a4008acb84091ab9f9049437efb81f8fc5-macos-universal.zip",
+ "sha256": "ea691ba6545c97e9eb9624b1da5b3f4c795566f239273babf0e1e9d56d0a70a1"
},
"windows-x64": {
- "asset": "wol-engine-dcb5145dfeb3906830c0c6dc6b6d1f22ad1b4950-windows-x64.zip",
- "sha256": "51c0c3df7e779eb33c9f04b522fcb96b126af5d273749b830cf7ad500f03b255"
+ "asset": "wol-engine-a66481a4008acb84091ab9f9049437efb81f8fc5-windows-x64.zip",
+ "sha256": "e23fa18e790d4d8058a510283aa05e942dba7ac121fcba54b5599c94f99d3373"
}
},
- "commit": "dcb5145dfeb3906830c0c6dc6b6d1f22ad1b4950",
- "release": "https://github.com/RakuenSoftware/wol-engine-release/releases/tag/runtime-dcb5145dfeb3906830c0c6dc6b6d1f22ad1b4950",
- "binary_commit": "dcb5145dfeb3906830c0c6dc6b6d1f22ad1b4950",
+ "commit": "a66481a4008acb84091ab9f9049437efb81f8fc5",
+ "release": "https://github.com/RakuenSoftware/wol-engine-release/releases/tag/runtime-a66481a4008acb84091ab9f9049437efb81f8fc5",
+ "binary_commit": "a66481a4008acb84091ab9f9049437efb81f8fc5",
"files": {
"licenses/GODOT-COPYRIGHT.txt": "cb1980c88089573bcacd7221d777c689bb8bbd778799f24c27fca0fe5f774d6d",
"licenses/GODOT-LICENSE.txt": "b0435e3b3e4e55238f05f4b306f30524a1b2e20147810d436eaa554fa6855c80",
@@ -25,38 +25,44 @@
"licenses/WOL-THIRD-PARTY-NOTICES.txt": "455b8936eea75163edad0ad1f34df43e7868655de7b4a55053d9f99ca818c120",
"native/bin/libspatial.linux.template_release.x86_64.so": "de8a5565cd550f28e63362a9f70bd62d7464f7de3b4d105b402675d8a2757ecc",
"native/bin/libspatial.macos.template_release.universal.dylib": "43e797872fdbe2920a012064a716718f3e1d67ed33704369487dcb4ae4b9012b",
- "native/bin/libspatial.windows.template_release.x86_64.dll": "1398f36de2d98462938edb8d17631b265496b2e16c0d541c5000bae298d4d1ce",
+ "native/bin/libspatial.windows.template_release.x86_64.dll": "49da5b74b2186b95884b7a662921e7e66511487a30d8eca96f81b139344e072a",
"native/spatial.gdextension": "21794fe9349bc8e47bcfb0b4553e5c775108c8d93e88bac45512ea8d2ffb55ed",
- "platforms/linux-x64/.dependencies/godot-api/api/Debug/GodotSharp.dll": "cf0263425e6feec983ef694c93f199b9ba21498c3b6baa0d7f955c68c6090500",
- "platforms/linux-x64/.dependencies/godot-api/api/Debug/GodotSharpEditor.dll": "a265f2dd5f4516bda6f0aff9f4add00ee7113bbce6b1914aa901021bff2ca7f9",
- "platforms/linux-x64/.dependencies/godot-api/api/Release/GodotSharp.dll": "dbb93c4032bea865a4c4a720b323e7a48433dfcc5ec44836eaa54ddaece1e5b0",
- "platforms/linux-x64/.dependencies/godot-api/api/Release/GodotSharpEditor.dll": "04dbb41ee6d14a69c25289be72820a179c54629f09cb27c544422aa8fd745b82",
+ "platforms/linux-x64/.dependencies/godot-api/api/Debug/GodotSharp.dll": "3248e5d70a81e1c8a9a22665c1767b0ef5ff00462fa4c8dcf13b46935b7efcdd",
+ "platforms/linux-x64/.dependencies/godot-api/api/Debug/GodotSharpEditor.dll": "831d1f9c21047d9485dd8e15d671c45a1e6fb17c5ff0b70beff51690ef67a77d",
+ "platforms/linux-x64/.dependencies/godot-api/api/Release/GodotSharp.dll": "48f79e0a4ace321297fb7356ec1dbffcda571f0eb35f342c08f95879e1539827",
+ "platforms/linux-x64/.dependencies/godot-api/api/Release/GodotSharpEditor.dll": "7cd096f1992a8474cb7d99797bcd26ada44b365392abb6901f33209ba0146d7c",
"platforms/linux-x64/GodotApi.props": "eea79f97503bfb690456ba5cbb41e3153869eae11c50ba6512cbe4781ce8b2e9",
- "platforms/linux-x64/RUNTIME.json": "8d598360a18f567df2e9a72c750afa50c0ad07359c51fe351ee737aed78d35a2",
+ "platforms/linux-x64/RUNTIME.json": "6c6bce1821fb571a2185785f3951193ae24df0171d4f472ae72633f60c83cae0",
"platforms/linux-x64/WolEngine.props": "fbd62933cb36f38c8f9219b643b330fde2e2d9729ba82c4c0e38c339b733417e",
- "platforms/linux-x64/managed/Debug/WolEngine.dll": "6e8f2a3c0bce05e199a50b634695c20f6711d4b24060ccb1b6243db7976c96cb",
- "platforms/linux-x64/managed/Release/WolEngine.dll": "e0a84ade4f24479457651a41573177abcfcf05978be6ea39a557653364e3030f",
- "platforms/macos-universal/.dependencies/godot-api/api/Debug/GodotSharp.dll": "ae3d824f035c0a2b85c137ed69f262251d50b6d64928825bf8bddafabd62d9ce",
- "platforms/macos-universal/.dependencies/godot-api/api/Debug/GodotSharpEditor.dll": "259359a0376a2fd2e9f4722e758a256e5cdafe335be7367e23da2b0c58a52ab1",
- "platforms/macos-universal/.dependencies/godot-api/api/Release/GodotSharp.dll": "58639b1a0b6f6b0d8a6c47d368c9ab4cd3630383634bd0b64a2981e3d762a6fb",
- "platforms/macos-universal/.dependencies/godot-api/api/Release/GodotSharpEditor.dll": "cc85407578e4dc4a84b3801ad9a88263e4184b25de35a677e2729abcd35fb1f9",
+ "platforms/linux-x64/managed/Debug/WolEngine.dll": "7a364774cf55b836cf03723f72ec8da71ad208ea899c649985c7d5ebcf5c2d66",
+ "platforms/linux-x64/managed/Release/WolEngine.dll": "86758e299e40a03f2c735365968770a646aae59b9392c89ce060133238e59a6e",
+ "platforms/linux-x64/portable/Debug/WolEngine.Core.dll": "a8cee629735b481110a5aa09855799222be260adfcf9878c09346b5dee66b7c8",
+ "platforms/linux-x64/portable/Release/WolEngine.Core.dll": "7d93984c0a313fe094aa4564c801aa2a3a44b4fa130aabb20fc43c21032fa07f",
+ "platforms/linux-x64/portable/WolEngine.Core.props": "c0cd70829a95f5b0346e5d03b4809b0ed13585183cc533d09e4873c97f434d9f",
+ "platforms/macos-universal/.dependencies/godot-api/api/Debug/GodotSharp.dll": "3d743468cee54c2f58ac5a792f6eccfc380872552b21099a39245c4411c337d9",
+ "platforms/macos-universal/.dependencies/godot-api/api/Debug/GodotSharpEditor.dll": "66f6ddfa15da86669e15e35d6f4b87d140df20bc4400845f1c296b49bb1766d8",
+ "platforms/macos-universal/.dependencies/godot-api/api/Release/GodotSharp.dll": "8d249d7945cd72e91a8af48b6458a2904e81f776ad6547e02093bbc5eeb00c61",
+ "platforms/macos-universal/.dependencies/godot-api/api/Release/GodotSharpEditor.dll": "1fd56ca2bf6258718c29b2c53905b1b4040be5b796a224bf5ca9b5157f220837",
"platforms/macos-universal/GodotApi.props": "eea79f97503bfb690456ba5cbb41e3153869eae11c50ba6512cbe4781ce8b2e9",
- "platforms/macos-universal/RUNTIME.json": "d8868064d4f3bc9a35ecdb870944ead10ba2c1ecd24cb90dbede763a043a0047",
+ "platforms/macos-universal/RUNTIME.json": "44819a4e84a014e153ad4534694808e65a2ce050b8fc8ec85617f22257ef39ed",
"platforms/macos-universal/WolEngine.props": "fbd62933cb36f38c8f9219b643b330fde2e2d9729ba82c4c0e38c339b733417e",
- "platforms/macos-universal/managed/Debug/WolEngine.dll": "526f3929484c0b6d96d46eab0c4438e736c9f2318016ae5959fe95f22e7e5708",
- "platforms/macos-universal/managed/Release/WolEngine.dll": "4377ea80589838c6d7fe925c9a3a528d97f2e6b88cb1b1485655fcb6daee2633",
- "platforms/windows-x64/.dependencies/godot-api/api/Debug/GodotSharp.dll": "3e097fa19c3b89f277613fcf65ba778e5d307d3a0dc065fecbe25eeb7e3f9c0e",
- "platforms/windows-x64/.dependencies/godot-api/api/Debug/GodotSharpEditor.dll": "cc72b11a4c5b29dd7c14fc264d0be61305cb5f0fd7c21bf8b6125927b47c5353",
- "platforms/windows-x64/.dependencies/godot-api/api/Release/GodotSharp.dll": "34d4ee8ae3719c4ec9d965b22017ce34d3dd559c1dc13274c4410d9aab625a0a",
- "platforms/windows-x64/.dependencies/godot-api/api/Release/GodotSharpEditor.dll": "c955a30ca1a9d53e349aa757d6049f61f09ccb467d223fd934f21018e78928e4",
+ "platforms/macos-universal/managed/Debug/WolEngine.dll": "7a364774cf55b836cf03723f72ec8da71ad208ea899c649985c7d5ebcf5c2d66",
+ "platforms/macos-universal/managed/Release/WolEngine.dll": "86758e299e40a03f2c735365968770a646aae59b9392c89ce060133238e59a6e",
+ "platforms/macos-universal/portable/Debug/WolEngine.Core.dll": "ed567f7e7e2b7b3e53d6b61d86abd148c88daa41db4332793eb00ea4a2557163",
+ "platforms/macos-universal/portable/Release/WolEngine.Core.dll": "599ca0f534acff42f8099e726cd45711bb22bc95ea93c7b83dd36171ddbcd1d7",
+ "platforms/macos-universal/portable/WolEngine.Core.props": "c0cd70829a95f5b0346e5d03b4809b0ed13585183cc533d09e4873c97f434d9f",
+ "platforms/windows-x64/.dependencies/godot-api/api/Debug/GodotSharp.dll": "828202439d3ae112c6925676b82d119994066d107ef7b90d07257145fa729a35",
+ "platforms/windows-x64/.dependencies/godot-api/api/Debug/GodotSharpEditor.dll": "82c8e27d09a228c78b57928f4c71c8207e4bc5627fd21eb5b0a3102fc98b4663",
+ "platforms/windows-x64/.dependencies/godot-api/api/Release/GodotSharp.dll": "e93b894670025d0b52d259c98c07a79d7e037cabd29f07800cf89953a9e9aff4",
+ "platforms/windows-x64/.dependencies/godot-api/api/Release/GodotSharpEditor.dll": "b50d5b045884ff153ead1f76e92f24feccd2a0d8de67b906ee3002d47be9efe7",
"platforms/windows-x64/GodotApi.props": "eea79f97503bfb690456ba5cbb41e3153869eae11c50ba6512cbe4781ce8b2e9",
- "platforms/windows-x64/RUNTIME.json": "91807d43193132792c8eec4ce4aa6419bd30081ab67a2cac52c2d23f2d01c0d6",
+ "platforms/windows-x64/RUNTIME.json": "8bbfc0a43f5754127c82484a2485d8d4b8bdbfab694e743ec93d0dae4d37254e",
"platforms/windows-x64/WolEngine.props": "fbd62933cb36f38c8f9219b643b330fde2e2d9729ba82c4c0e38c339b733417e",
- "platforms/windows-x64/managed/Debug/WolEngine.dll": "1205060c950376e582d781c2eb1a6d37ed2c3c18e0bd6ffd8f7905b89cd52423",
- "platforms/windows-x64/managed/Release/WolEngine.dll": "9c400dc621f2fe22fa93a01422ecc8309f8dd4d21a0345ea1ed9a8672550dacb",
- "portable/Debug/WolEngine.Core.dll": "76785f5ffd3e17ee9bf47534fe59db159e0cf21efd1355851c40ddb654589d47",
- "portable/Release/WolEngine.Core.dll": "7b592bbcd47d26676ad1ea7ebcce84a89ee861a64b76e36251dd43dff3f445d0",
- "portable/WolEngine.Core.props": "c0cd70829a95f5b0346e5d03b4809b0ed13585183cc533d09e4873c97f434d9f",
+ "platforms/windows-x64/managed/Debug/WolEngine.dll": "6eb9e83be43c5f9f37fd6d484118d3665d4b55683ebd46dac7178ec1df12d88e",
+ "platforms/windows-x64/managed/Release/WolEngine.dll": "97ff243c467c078dd3ddd63f4420d9f73439c13cf1bb065a4c9298870be70c97",
+ "platforms/windows-x64/portable/Debug/WolEngine.Core.dll": "a8cee629735b481110a5aa09855799222be260adfcf9878c09346b5dee66b7c8",
+ "platforms/windows-x64/portable/Release/WolEngine.Core.dll": "7d93984c0a313fe094aa4564c801aa2a3a44b4fa130aabb20fc43c21032fa07f",
+ "platforms/windows-x64/portable/WolEngine.Core.props": "c0cd70829a95f5b0346e5d03b4809b0ed13585183cc533d09e4873c97f434d9f",
"runtime/HumanoidRig.cs": "01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b",
"runtime/HumanoidRig.cs.uid": "bac13d33aadbebc049e4bab96b463766c0484c1a53b380f9c63a69fb432ffd8a",
"runtime/PaintedCharacter3D.cs": "01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b",
@@ -108,9 +114,10 @@
"runtime/flow/FlowStateSchema.cs.uid": "c281911a33cfab19b84aef0f3306ef42d35c8bafefe32217069d15d2cdcd81e6",
"runtime/flow/ThresholdCondition.cs": "01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b",
"runtime/flow/ThresholdCondition.cs.uid": "3b461cb6cbef735c7f4fb3f2cc6ccda12f4633b4b641703735228240f96199d4",
- "runtime/install/ContentPack.cs": "01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b",
- "runtime/install/PlayStationDisc.cs": "01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b",
- "runtime/install/PlayStationDisc.cs.uid": "0d46d00babce77721596e02a51855ab0be45035fd87e1818b7cfbc4dfa783223",
+ "runtime/install/AssemblyInfo.cs": "01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b",
+ "runtime/install/AssemblyInfo.cs.uid": "961d34ca24f8a331a108c74e654b7c4185b38955478192614f8c9d4441e43980",
+ "runtime/install/MediaTools.cs": "01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b",
+ "runtime/install/MediaTools.cs.uid": "7fff5b1244299a795ae83b488fa195421b529e8feb24b39085a8b8f9be7b8e4e",
"runtime/party/Roster.cs": "01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b",
"runtime/party/Roster.cs.uid": "e077ab586b6cc286b6c1ab9fb96b8bf9e7a347b788e631d5b153c69a153ff1c1",
"runtime/ui/BitmapFontAsset.cs": "01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b",
diff --git a/addons/wol_engine/native/bin/libspatial.windows.template_release.x86_64.dll b/addons/wol_engine/native/bin/libspatial.windows.template_release.x86_64.dll
index fb536c1..9b059d6 100644
Binary files a/addons/wol_engine/native/bin/libspatial.windows.template_release.x86_64.dll and b/addons/wol_engine/native/bin/libspatial.windows.template_release.x86_64.dll differ
diff --git a/addons/wol_engine/platforms/linux-x64/.dependencies/godot-api/api/Debug/GodotSharp.dll b/addons/wol_engine/platforms/linux-x64/.dependencies/godot-api/api/Debug/GodotSharp.dll
index 31d5c37..ae828e4 100644
Binary files a/addons/wol_engine/platforms/linux-x64/.dependencies/godot-api/api/Debug/GodotSharp.dll and b/addons/wol_engine/platforms/linux-x64/.dependencies/godot-api/api/Debug/GodotSharp.dll differ
diff --git a/addons/wol_engine/platforms/linux-x64/.dependencies/godot-api/api/Debug/GodotSharpEditor.dll b/addons/wol_engine/platforms/linux-x64/.dependencies/godot-api/api/Debug/GodotSharpEditor.dll
index 7eed53b..d8bd9d4 100644
Binary files a/addons/wol_engine/platforms/linux-x64/.dependencies/godot-api/api/Debug/GodotSharpEditor.dll and b/addons/wol_engine/platforms/linux-x64/.dependencies/godot-api/api/Debug/GodotSharpEditor.dll differ
diff --git a/addons/wol_engine/platforms/linux-x64/.dependencies/godot-api/api/Release/GodotSharp.dll b/addons/wol_engine/platforms/linux-x64/.dependencies/godot-api/api/Release/GodotSharp.dll
index fab4acb..9b94686 100644
Binary files a/addons/wol_engine/platforms/linux-x64/.dependencies/godot-api/api/Release/GodotSharp.dll and b/addons/wol_engine/platforms/linux-x64/.dependencies/godot-api/api/Release/GodotSharp.dll differ
diff --git a/addons/wol_engine/platforms/linux-x64/.dependencies/godot-api/api/Release/GodotSharpEditor.dll b/addons/wol_engine/platforms/linux-x64/.dependencies/godot-api/api/Release/GodotSharpEditor.dll
index df76980..a62fe05 100644
Binary files a/addons/wol_engine/platforms/linux-x64/.dependencies/godot-api/api/Release/GodotSharpEditor.dll and b/addons/wol_engine/platforms/linux-x64/.dependencies/godot-api/api/Release/GodotSharpEditor.dll differ
diff --git a/addons/wol_engine/platforms/linux-x64/RUNTIME.json b/addons/wol_engine/platforms/linux-x64/RUNTIME.json
index 89298aa..b38af13 100644
--- a/addons/wol_engine/platforms/linux-x64/RUNTIME.json
+++ b/addons/wol_engine/platforms/linux-x64/RUNTIME.json
@@ -2,7 +2,7 @@
"schema": 1,
"target": "linux-x64",
"godot": "4.7.2",
- "commit": "dcb5145dfeb3906830c0c6dc6b6d1f22ad1b4950",
+ "commit": "a66481a4008acb84091ab9f9049437efb81f8fc5",
"editor": "editor/Godot_v4.7.2-stable_mono_linux.x86_64",
"files": {
"WolEngine.props": "fbd62933cb36f38c8f9219b643b330fde2e2d9729ba82c4c0e38c339b733417e",
@@ -26,10 +26,10 @@
"licenses/PS1-SPU-LICENSE.txt": "591fdcae9335df2f1093b9ff03b61f80c4873e4ea60a06d258bfef6db49d8331",
"portable/WolEngine.Core.props": "c0cd70829a95f5b0346e5d03b4809b0ed13585183cc533d09e4873c97f434d9f",
"native/spatial.gdextension": "21794fe9349bc8e47bcfb0b4553e5c775108c8d93e88bac45512ea8d2ffb55ed",
- ".dependencies/godot-api/api/Release/GodotSharp.dll": "dbb93c4032bea865a4c4a720b323e7a48433dfcc5ec44836eaa54ddaece1e5b0",
- ".dependencies/godot-api/api/Release/GodotSharpEditor.dll": "04dbb41ee6d14a69c25289be72820a179c54629f09cb27c544422aa8fd745b82",
- ".dependencies/godot-api/api/Debug/GodotSharp.dll": "cf0263425e6feec983ef694c93f199b9ba21498c3b6baa0d7f955c68c6090500",
- ".dependencies/godot-api/api/Debug/GodotSharpEditor.dll": "a265f2dd5f4516bda6f0aff9f4add00ee7113bbce6b1914aa901021bff2ca7f9",
+ ".dependencies/godot-api/api/Release/GodotSharp.dll": "48f79e0a4ace321297fb7356ec1dbffcda571f0eb35f342c08f95879e1539827",
+ ".dependencies/godot-api/api/Release/GodotSharpEditor.dll": "7cd096f1992a8474cb7d99797bcd26ada44b365392abb6901f33209ba0146d7c",
+ ".dependencies/godot-api/api/Debug/GodotSharp.dll": "3248e5d70a81e1c8a9a22665c1767b0ef5ff00462fa4c8dcf13b46935b7efcdd",
+ ".dependencies/godot-api/api/Debug/GodotSharpEditor.dll": "831d1f9c21047d9485dd8e15d671c45a1e6fb17c5ff0b70beff51690ef67a77d",
"runtime/party/Roster.cs.uid": "e077ab586b6cc286b6c1ab9fb96b8bf9e7a347b788e631d5b153c69a153ff1c1",
"runtime/party/Roster.cs": "01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b",
"runtime/audio/AudioDirector.cs": "01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b",
@@ -243,9 +243,10 @@
"runtime/world/FieldSceneModelFragments.cs": "01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b",
"runtime/world/FieldSceneMirror.cs": "01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b",
"runtime/world/CameraFraming.cs.uid": "2236f6cf69aebea9e9c3ea010db250f005d967cd38efdfb26fdfcf0ca651c5e1",
- "runtime/install/PlayStationDisc.cs": "01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b",
- "runtime/install/ContentPack.cs": "01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b",
- "runtime/install/PlayStationDisc.cs.uid": "0d46d00babce77721596e02a51855ab0be45035fd87e1818b7cfbc4dfa783223",
+ "runtime/install/MediaTools.cs": "01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b",
+ "runtime/install/MediaTools.cs.uid": "7fff5b1244299a795ae83b488fa195421b529e8feb24b39085a8b8f9be7b8e4e",
+ "runtime/install/AssemblyInfo.cs": "01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b",
+ "runtime/install/AssemblyInfo.cs.uid": "961d34ca24f8a331a108c74e654b7c4185b38955478192614f8c9d4441e43980",
"runtime/branding/wol_icon.png": "4d79db17b93d5e7264c09b5c67a87c990122b2da29d20facf2100bde8745e381",
"runtime/branding/README.md": "9f312286d9673432848fc23388fd569dafeda637dbcfdebb986867244ebe5c78",
"runtime/branding/wol_splash.svg": "ad79e95024c53ce9c4d58e849d87f2e3269075bd007f50ace48acdb66a8400de",
@@ -304,19 +305,19 @@
"editor/GodotSharp/Tools/nupkgs/Godot.SourceGenerators.4.7.2.nupkg": "4170a0666ce2d1137a8b2c9f7aab72a6782256c8c824a35e8a249f72b4445a42",
"editor/GodotSharp/Tools/it/Microsoft.CodeAnalysis.resources.dll": "c7d7366236036bb7d44a4950d58915b9dff48235ecf17b38f7d9564743fd4ede",
"editor/GodotSharp/Tools/it/Microsoft.CodeAnalysis.CSharp.resources.dll": "90e447f763e50bfed0936e10f6c1f079446e982a9079e26095e91aca479421fa",
- "editor/GodotSharp/Api/Release/GodotSharp.dll": "dbb93c4032bea865a4c4a720b323e7a48433dfcc5ec44836eaa54ddaece1e5b0",
+ "editor/GodotSharp/Api/Release/GodotSharp.dll": "48f79e0a4ace321297fb7356ec1dbffcda571f0eb35f342c08f95879e1539827",
"editor/GodotSharp/Api/Release/GodotPlugins.runtimeconfig.json": "163a87196bb2c5607973cbf99e6215bf4b2623dadedeb86e65bc465ce309b988",
"editor/GodotSharp/Api/Release/GodotPlugins.dll": "ab5b94d35ac88c98a62e0b680c7af0b98f85741da93235031abc6c90184201c9",
- "editor/GodotSharp/Api/Release/GodotSharpEditor.dll": "04dbb41ee6d14a69c25289be72820a179c54629f09cb27c544422aa8fd745b82",
- "editor/GodotSharp/Api/Debug/GodotSharp.dll": "cf0263425e6feec983ef694c93f199b9ba21498c3b6baa0d7f955c68c6090500",
+ "editor/GodotSharp/Api/Release/GodotSharpEditor.dll": "7cd096f1992a8474cb7d99797bcd26ada44b365392abb6901f33209ba0146d7c",
+ "editor/GodotSharp/Api/Debug/GodotSharp.dll": "3248e5d70a81e1c8a9a22665c1767b0ef5ff00462fa4c8dcf13b46935b7efcdd",
"editor/GodotSharp/Api/Debug/GodotPlugins.runtimeconfig.json": "f7ecefae96040c2437e1c98914954b211546391ed2bf6dfb8fa8836600ec1491",
"editor/GodotSharp/Api/Debug/GodotPlugins.dll": "1d94e9624cb0f1c2e196f296d131fce2934ec850e0ca3d78e0fa3ebd71a70e90",
- "editor/GodotSharp/Api/Debug/GodotSharpEditor.dll": "a265f2dd5f4516bda6f0aff9f4add00ee7113bbce6b1914aa901021bff2ca7f9",
- "portable/Release/WolEngine.Core.dll": "7b592bbcd47d26676ad1ea7ebcce84a89ee861a64b76e36251dd43dff3f445d0",
- "portable/Debug/WolEngine.Core.dll": "76785f5ffd3e17ee9bf47534fe59db159e0cf21efd1355851c40ddb654589d47",
+ "editor/GodotSharp/Api/Debug/GodotSharpEditor.dll": "831d1f9c21047d9485dd8e15d671c45a1e6fb17c5ff0b70beff51690ef67a77d",
+ "portable/Release/WolEngine.Core.dll": "7d93984c0a313fe094aa4564c801aa2a3a44b4fa130aabb20fc43c21032fa07f",
+ "portable/Debug/WolEngine.Core.dll": "a8cee629735b481110a5aa09855799222be260adfcf9878c09346b5dee66b7c8",
"native/bin/libspatial.linux.template_release.x86_64.so": "de8a5565cd550f28e63362a9f70bd62d7464f7de3b4d105b402675d8a2757ecc",
- "managed/Release/WolEngine.dll": "e0a84ade4f24479457651a41573177abcfcf05978be6ea39a557653364e3030f",
- "managed/Debug/WolEngine.dll": "6e8f2a3c0bce05e199a50b634695c20f6711d4b24060ccb1b6243db7976c96cb"
+ "managed/Release/WolEngine.dll": "86758e299e40a03f2c735365968770a646aae59b9392c89ce060133238e59a6e",
+ "managed/Debug/WolEngine.dll": "7a364774cf55b836cf03723f72ec8da71ad208ea899c649985c7d5ebcf5c2d66"
},
- "release": "https://github.com/RakuenSoftware/wol-engine-release/releases/tag/runtime-dcb5145dfeb3906830c0c6dc6b6d1f22ad1b4950"
+ "release": "https://github.com/RakuenSoftware/wol-engine-release/releases/tag/runtime-a66481a4008acb84091ab9f9049437efb81f8fc5"
}
diff --git a/addons/wol_engine/platforms/linux-x64/managed/Debug/WolEngine.dll b/addons/wol_engine/platforms/linux-x64/managed/Debug/WolEngine.dll
index 75d0d27..37823ed 100644
Binary files a/addons/wol_engine/platforms/linux-x64/managed/Debug/WolEngine.dll and b/addons/wol_engine/platforms/linux-x64/managed/Debug/WolEngine.dll differ
diff --git a/addons/wol_engine/platforms/linux-x64/managed/Release/WolEngine.dll b/addons/wol_engine/platforms/linux-x64/managed/Release/WolEngine.dll
index 6c707ec..2ea8c65 100644
Binary files a/addons/wol_engine/platforms/linux-x64/managed/Release/WolEngine.dll and b/addons/wol_engine/platforms/linux-x64/managed/Release/WolEngine.dll differ
diff --git a/addons/wol_engine/platforms/linux-x64/portable/Debug/WolEngine.Core.dll b/addons/wol_engine/platforms/linux-x64/portable/Debug/WolEngine.Core.dll
new file mode 100644
index 0000000..31fb07f
Binary files /dev/null and b/addons/wol_engine/platforms/linux-x64/portable/Debug/WolEngine.Core.dll differ
diff --git a/addons/wol_engine/platforms/linux-x64/portable/Release/WolEngine.Core.dll b/addons/wol_engine/platforms/linux-x64/portable/Release/WolEngine.Core.dll
new file mode 100644
index 0000000..46472c1
Binary files /dev/null and b/addons/wol_engine/platforms/linux-x64/portable/Release/WolEngine.Core.dll differ
diff --git a/addons/wol_engine/portable/WolEngine.Core.props b/addons/wol_engine/platforms/linux-x64/portable/WolEngine.Core.props
similarity index 100%
rename from addons/wol_engine/portable/WolEngine.Core.props
rename to addons/wol_engine/platforms/linux-x64/portable/WolEngine.Core.props
diff --git a/addons/wol_engine/platforms/macos-universal/.dependencies/godot-api/api/Debug/GodotSharp.dll b/addons/wol_engine/platforms/macos-universal/.dependencies/godot-api/api/Debug/GodotSharp.dll
index ea8526a..ae4f0c1 100644
Binary files a/addons/wol_engine/platforms/macos-universal/.dependencies/godot-api/api/Debug/GodotSharp.dll and b/addons/wol_engine/platforms/macos-universal/.dependencies/godot-api/api/Debug/GodotSharp.dll differ
diff --git a/addons/wol_engine/platforms/macos-universal/.dependencies/godot-api/api/Debug/GodotSharpEditor.dll b/addons/wol_engine/platforms/macos-universal/.dependencies/godot-api/api/Debug/GodotSharpEditor.dll
index a62949e..b5aface 100644
Binary files a/addons/wol_engine/platforms/macos-universal/.dependencies/godot-api/api/Debug/GodotSharpEditor.dll and b/addons/wol_engine/platforms/macos-universal/.dependencies/godot-api/api/Debug/GodotSharpEditor.dll differ
diff --git a/addons/wol_engine/platforms/macos-universal/.dependencies/godot-api/api/Release/GodotSharp.dll b/addons/wol_engine/platforms/macos-universal/.dependencies/godot-api/api/Release/GodotSharp.dll
index a9a8d5b..c293df1 100644
Binary files a/addons/wol_engine/platforms/macos-universal/.dependencies/godot-api/api/Release/GodotSharp.dll and b/addons/wol_engine/platforms/macos-universal/.dependencies/godot-api/api/Release/GodotSharp.dll differ
diff --git a/addons/wol_engine/platforms/macos-universal/.dependencies/godot-api/api/Release/GodotSharpEditor.dll b/addons/wol_engine/platforms/macos-universal/.dependencies/godot-api/api/Release/GodotSharpEditor.dll
index e06dde7..4fef943 100644
Binary files a/addons/wol_engine/platforms/macos-universal/.dependencies/godot-api/api/Release/GodotSharpEditor.dll and b/addons/wol_engine/platforms/macos-universal/.dependencies/godot-api/api/Release/GodotSharpEditor.dll differ
diff --git a/addons/wol_engine/platforms/macos-universal/RUNTIME.json b/addons/wol_engine/platforms/macos-universal/RUNTIME.json
index f2732b3..e3ffae6 100644
--- a/addons/wol_engine/platforms/macos-universal/RUNTIME.json
+++ b/addons/wol_engine/platforms/macos-universal/RUNTIME.json
@@ -2,7 +2,7 @@
"schema": 1,
"target": "macos-universal",
"godot": "4.7.2",
- "commit": "dcb5145dfeb3906830c0c6dc6b6d1f22ad1b4950",
+ "commit": "a66481a4008acb84091ab9f9049437efb81f8fc5",
"editor": "editor/Godot.app/Contents/MacOS/Godot",
"files": {
"WolEngine.props": "fbd62933cb36f38c8f9219b643b330fde2e2d9729ba82c4c0e38c339b733417e",
@@ -25,11 +25,11 @@
"runtime/HumanoidRig.cs.uid": "bac13d33aadbebc049e4bab96b463766c0484c1a53b380f9c63a69fb432ffd8a",
"runtime/SceneManagerInterpolation.cs.uid": "b3184c763a7535ce4f5d5d3217f136cd94deb28906c4b7276ea514aa9e30eed8",
"runtime/PaintedCloth3D.cs": "01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b",
- "managed/Release/WolEngine.dll": "4377ea80589838c6d7fe925c9a3a528d97f2e6b88cb1b1485655fcb6daee2633",
- "managed/Debug/WolEngine.dll": "526f3929484c0b6d96d46eab0c4438e736c9f2318016ae5959fe95f22e7e5708",
+ "managed/Release/WolEngine.dll": "86758e299e40a03f2c735365968770a646aae59b9392c89ce060133238e59a6e",
+ "managed/Debug/WolEngine.dll": "7a364774cf55b836cf03723f72ec8da71ad208ea899c649985c7d5ebcf5c2d66",
"native/bin/libspatial.macos.template_release.universal.dylib": "43e797872fdbe2920a012064a716718f3e1d67ed33704369487dcb4ae4b9012b",
- "portable/Release/WolEngine.Core.dll": "7b592bbcd47d26676ad1ea7ebcce84a89ee861a64b76e36251dd43dff3f445d0",
- "portable/Debug/WolEngine.Core.dll": "76785f5ffd3e17ee9bf47534fe59db159e0cf21efd1355851c40ddb654589d47",
+ "portable/Release/WolEngine.Core.dll": "599ca0f534acff42f8099e726cd45711bb22bc95ea93c7b83dd36171ddbcd1d7",
+ "portable/Debug/WolEngine.Core.dll": "ed567f7e7e2b7b3e53d6b61d86abd148c88daa41db4332793eb00ea4a2557163",
"runtime/ui/TextPresentation.cs": "01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b",
"runtime/ui/ScreenPolygonCanvas.cs": "01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b",
"runtime/ui/ScreenGlyphAtlas.cs.uid": "41d59301650e5b20394b4a03a63e55b0e17468b98b81d6c2e4fa45b340b4e10b",
@@ -42,9 +42,10 @@
"runtime/branding/wol_splash.svg": "ad79e95024c53ce9c4d58e849d87f2e3269075bd007f50ace48acdb66a8400de",
"runtime/branding/README.md": "9f312286d9673432848fc23388fd569dafeda637dbcfdebb986867244ebe5c78",
"runtime/branding/wol_icon.png": "4d79db17b93d5e7264c09b5c67a87c990122b2da29d20facf2100bde8745e381",
- "runtime/install/ContentPack.cs": "01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b",
- "runtime/install/PlayStationDisc.cs": "01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b",
- "runtime/install/PlayStationDisc.cs.uid": "0d46d00babce77721596e02a51855ab0be45035fd87e1818b7cfbc4dfa783223",
+ "runtime/install/AssemblyInfo.cs": "01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b",
+ "runtime/install/MediaTools.cs": "01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b",
+ "runtime/install/AssemblyInfo.cs.uid": "961d34ca24f8a331a108c74e654b7c4185b38955478192614f8c9d4441e43980",
+ "runtime/install/MediaTools.cs.uid": "7fff5b1244299a795ae83b488fa195421b529e8feb24b39085a8b8f9be7b8e4e",
"runtime/combat/CommandSequence.cs": "01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b",
"runtime/combat/CommandExecutor.Authoring.cs.uid": "09614619de983d52d56db9c271f95bb8b12f75d1465f427951f04d564cdb6c44",
"runtime/combat/CommandSequence.cs.uid": "ec66be14b3335c057f7a48ee181e5840088c44524af28ef24b8d9bd906929821",
@@ -257,15 +258,15 @@
"runtime/flow/FlowAuthoring.cs.uid": "4c60be787c9d98405f7678b01691efed04723759618d2ce10b3029567bded3f6",
"runtime/flow/ThresholdCondition.cs": "01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b",
"runtime/flow/FlowLifecycle.cs.uid": "ae7f9c64bea3b66386700527b73c84dcbe103c5b88edb41c22897b5e4df0ee42",
- ".dependencies/godot-api/api/Release/GodotSharpEditor.dll": "cc85407578e4dc4a84b3801ad9a88263e4184b25de35a677e2729abcd35fb1f9",
- ".dependencies/godot-api/api/Release/GodotSharp.dll": "58639b1a0b6f6b0d8a6c47d368c9ab4cd3630383634bd0b64a2981e3d762a6fb",
- ".dependencies/godot-api/api/Debug/GodotSharpEditor.dll": "259359a0376a2fd2e9f4722e758a256e5cdafe335be7367e23da2b0c58a52ab1",
- ".dependencies/godot-api/api/Debug/GodotSharp.dll": "ae3d824f035c0a2b85c137ed69f262251d50b6d64928825bf8bddafabd62d9ce",
+ ".dependencies/godot-api/api/Release/GodotSharpEditor.dll": "1fd56ca2bf6258718c29b2c53905b1b4040be5b796a224bf5ca9b5157f220837",
+ ".dependencies/godot-api/api/Release/GodotSharp.dll": "8d249d7945cd72e91a8af48b6458a2904e81f776ad6547e02093bbc5eeb00c61",
+ ".dependencies/godot-api/api/Debug/GodotSharpEditor.dll": "66f6ddfa15da86669e15e35d6f4b87d140df20bc4400845f1c296b49bb1766d8",
+ ".dependencies/godot-api/api/Debug/GodotSharp.dll": "3d743468cee54c2f58ac5a792f6eccfc380872552b21099a39245c4411c337d9",
"editor/Godot.app/Contents/CodeResources": "ba599658c0884c22e162be127602b5a010e557b1dae1943de5e95c48d16b907b",
"editor/Godot.app/Contents/Info.plist": "1e345d4fcac1d46a1d04339d03a44e42a6644e9c8b9807ee5524f5d55b28942d",
"editor/Godot.app/Contents/PkgInfo": "7e50a30efad50208a173203ced60818d693bb61266b75aa10927d1a2adce80cb",
- "editor/Godot.app/Contents/_CodeSignature/CodeResources": "895a2eab8b0633f91f7de29e7e32f9c8a2d6d62cd7109d2c4de8baf1d653cd80",
- "editor/Godot.app/Contents/MacOS/Godot": "8790b1eadc27bcbb6288234836fd8b54830d298f1da90aaec3c7de188950e0d4",
+ "editor/Godot.app/Contents/_CodeSignature/CodeResources": "67f53332a1aaaeac99c982354e36bd927a89791fd136fe75abd14569c1928cd1",
+ "editor/Godot.app/Contents/MacOS/Godot": "8508e70b69e518b9ec2d447ed90770afce77f57d6ffd03cb1aa648e617e58787",
"editor/Godot.app/Contents/Resources/Resource.icns": "653f73eb9436a2fa7334b8a53356b3e8fd0f6c8fec151ed1969647b10b7c879a",
"editor/Godot.app/Contents/Resources/Shader.icns": "2a6963d8f8259779610d459dd4d335a1f6b8a339e13dcb74a028811b60ac01ef",
"editor/Godot.app/Contents/Resources/GodotLG.icns": "d77068bc7cd23397883412b6083092889b207ea1cf403697853a1c5d0ea96fd5",
@@ -389,13 +390,13 @@
"editor/Godot.app/Contents/Resources/GodotSharp/Tools/tr/Microsoft.CodeAnalysis.resources.dll": "660fa2661a524dd05402991750509edb72c5cce4ddec9cdc56126c1e1c50bcdc",
"editor/Godot.app/Contents/Resources/GodotSharp/Tools/tr/Microsoft.CodeAnalysis.CSharp.resources.dll": "76c1f8a8bd7d748170cf0e9b93039fb2bc2ee074ba19eedc10f9a9bc026ec197",
"editor/Godot.app/Contents/Resources/GodotSharp/Api/Release/GodotPlugins.runtimeconfig.json": "163a87196bb2c5607973cbf99e6215bf4b2623dadedeb86e65bc465ce309b988",
- "editor/Godot.app/Contents/Resources/GodotSharp/Api/Release/GodotSharpEditor.dll": "cc85407578e4dc4a84b3801ad9a88263e4184b25de35a677e2729abcd35fb1f9",
- "editor/Godot.app/Contents/Resources/GodotSharp/Api/Release/GodotSharp.dll": "58639b1a0b6f6b0d8a6c47d368c9ab4cd3630383634bd0b64a2981e3d762a6fb",
+ "editor/Godot.app/Contents/Resources/GodotSharp/Api/Release/GodotSharpEditor.dll": "1fd56ca2bf6258718c29b2c53905b1b4040be5b796a224bf5ca9b5157f220837",
+ "editor/Godot.app/Contents/Resources/GodotSharp/Api/Release/GodotSharp.dll": "8d249d7945cd72e91a8af48b6458a2904e81f776ad6547e02093bbc5eeb00c61",
"editor/Godot.app/Contents/Resources/GodotSharp/Api/Release/GodotPlugins.dll": "ab5b94d35ac88c98a62e0b680c7af0b98f85741da93235031abc6c90184201c9",
"editor/Godot.app/Contents/Resources/GodotSharp/Api/Debug/GodotPlugins.runtimeconfig.json": "f7ecefae96040c2437e1c98914954b211546391ed2bf6dfb8fa8836600ec1491",
- "editor/Godot.app/Contents/Resources/GodotSharp/Api/Debug/GodotSharpEditor.dll": "259359a0376a2fd2e9f4722e758a256e5cdafe335be7367e23da2b0c58a52ab1",
- "editor/Godot.app/Contents/Resources/GodotSharp/Api/Debug/GodotSharp.dll": "ae3d824f035c0a2b85c137ed69f262251d50b6d64928825bf8bddafabd62d9ce",
+ "editor/Godot.app/Contents/Resources/GodotSharp/Api/Debug/GodotSharpEditor.dll": "66f6ddfa15da86669e15e35d6f4b87d140df20bc4400845f1c296b49bb1766d8",
+ "editor/Godot.app/Contents/Resources/GodotSharp/Api/Debug/GodotSharp.dll": "3d743468cee54c2f58ac5a792f6eccfc380872552b21099a39245c4411c337d9",
"editor/Godot.app/Contents/Resources/GodotSharp/Api/Debug/GodotPlugins.dll": "1d94e9624cb0f1c2e196f296d131fce2934ec850e0ca3d78e0fa3ebd71a70e90"
},
- "release": "https://github.com/RakuenSoftware/wol-engine-release/releases/tag/runtime-dcb5145dfeb3906830c0c6dc6b6d1f22ad1b4950"
+ "release": "https://github.com/RakuenSoftware/wol-engine-release/releases/tag/runtime-a66481a4008acb84091ab9f9049437efb81f8fc5"
}
diff --git a/addons/wol_engine/platforms/macos-universal/managed/Debug/WolEngine.dll b/addons/wol_engine/platforms/macos-universal/managed/Debug/WolEngine.dll
index 0bcc3eb..37823ed 100644
Binary files a/addons/wol_engine/platforms/macos-universal/managed/Debug/WolEngine.dll and b/addons/wol_engine/platforms/macos-universal/managed/Debug/WolEngine.dll differ
diff --git a/addons/wol_engine/platforms/macos-universal/managed/Release/WolEngine.dll b/addons/wol_engine/platforms/macos-universal/managed/Release/WolEngine.dll
index a900031..2ea8c65 100644
Binary files a/addons/wol_engine/platforms/macos-universal/managed/Release/WolEngine.dll and b/addons/wol_engine/platforms/macos-universal/managed/Release/WolEngine.dll differ
diff --git a/addons/wol_engine/platforms/macos-universal/portable/Debug/WolEngine.Core.dll b/addons/wol_engine/platforms/macos-universal/portable/Debug/WolEngine.Core.dll
new file mode 100644
index 0000000..c48a37e
Binary files /dev/null and b/addons/wol_engine/platforms/macos-universal/portable/Debug/WolEngine.Core.dll differ
diff --git a/addons/wol_engine/platforms/macos-universal/portable/Release/WolEngine.Core.dll b/addons/wol_engine/platforms/macos-universal/portable/Release/WolEngine.Core.dll
new file mode 100644
index 0000000..5780a06
Binary files /dev/null and b/addons/wol_engine/platforms/macos-universal/portable/Release/WolEngine.Core.dll differ
diff --git a/addons/wol_engine/platforms/macos-universal/portable/WolEngine.Core.props b/addons/wol_engine/platforms/macos-universal/portable/WolEngine.Core.props
new file mode 100644
index 0000000..239a5e9
--- /dev/null
+++ b/addons/wol_engine/platforms/macos-universal/portable/WolEngine.Core.props
@@ -0,0 +1,12 @@
+
+
+ Debug
+ Release
+
+
+
+ $(MSBuildThisFileDirectory)$(WolEngineCoreConfiguration)/WolEngine.Core.dll
+ true
+
+
+
diff --git a/addons/wol_engine/platforms/windows-x64/.dependencies/godot-api/api/Debug/GodotSharp.dll b/addons/wol_engine/platforms/windows-x64/.dependencies/godot-api/api/Debug/GodotSharp.dll
index 18f77c1..dacb656 100644
Binary files a/addons/wol_engine/platforms/windows-x64/.dependencies/godot-api/api/Debug/GodotSharp.dll and b/addons/wol_engine/platforms/windows-x64/.dependencies/godot-api/api/Debug/GodotSharp.dll differ
diff --git a/addons/wol_engine/platforms/windows-x64/.dependencies/godot-api/api/Debug/GodotSharpEditor.dll b/addons/wol_engine/platforms/windows-x64/.dependencies/godot-api/api/Debug/GodotSharpEditor.dll
index 392be7b..1c42d60 100644
Binary files a/addons/wol_engine/platforms/windows-x64/.dependencies/godot-api/api/Debug/GodotSharpEditor.dll and b/addons/wol_engine/platforms/windows-x64/.dependencies/godot-api/api/Debug/GodotSharpEditor.dll differ
diff --git a/addons/wol_engine/platforms/windows-x64/.dependencies/godot-api/api/Release/GodotSharp.dll b/addons/wol_engine/platforms/windows-x64/.dependencies/godot-api/api/Release/GodotSharp.dll
index db36c1a..efcc092 100644
Binary files a/addons/wol_engine/platforms/windows-x64/.dependencies/godot-api/api/Release/GodotSharp.dll and b/addons/wol_engine/platforms/windows-x64/.dependencies/godot-api/api/Release/GodotSharp.dll differ
diff --git a/addons/wol_engine/platforms/windows-x64/.dependencies/godot-api/api/Release/GodotSharpEditor.dll b/addons/wol_engine/platforms/windows-x64/.dependencies/godot-api/api/Release/GodotSharpEditor.dll
index be80889..d88db2b 100644
Binary files a/addons/wol_engine/platforms/windows-x64/.dependencies/godot-api/api/Release/GodotSharpEditor.dll and b/addons/wol_engine/platforms/windows-x64/.dependencies/godot-api/api/Release/GodotSharpEditor.dll differ
diff --git a/addons/wol_engine/platforms/windows-x64/RUNTIME.json b/addons/wol_engine/platforms/windows-x64/RUNTIME.json
index 0a0158b..24f578e 100644
--- a/addons/wol_engine/platforms/windows-x64/RUNTIME.json
+++ b/addons/wol_engine/platforms/windows-x64/RUNTIME.json
@@ -2,7 +2,7 @@
"schema": 1,
"target": "windows-x64",
"godot": "4.7.2",
- "commit": "dcb5145dfeb3906830c0c6dc6b6d1f22ad1b4950",
+ "commit": "a66481a4008acb84091ab9f9049437efb81f8fc5",
"editor": "editor/Godot_v4.7.2-stable_mono_win64.exe",
"files": {
"GodotApi.props": "4b64e3c7edd81561a220b075e263415cd0f0028380564f6a50708726022a7308",
@@ -27,10 +27,10 @@
"runtime/SceneManager.cs.uid": "8af2d19ad6e1f0c505b8301f162a08da5aaaabebd1b3ed005fc2bc63284f2cec",
"runtime/SceneManagerInterpolation.cs": "7eb70257593da06f682a3ddda54a9d260d4fc514f645237f5ca74b08f8da61a6",
"runtime/SceneManagerInterpolation.cs.uid": "56789ab1b3077b028f2afd05841e1f1e5310ccc4dea13a6b604150d8f1c75f39",
- ".dependencies/godot-api/api/Debug/GodotSharp.dll": "3e097fa19c3b89f277613fcf65ba778e5d307d3a0dc065fecbe25eeb7e3f9c0e",
- ".dependencies/godot-api/api/Debug/GodotSharpEditor.dll": "cc72b11a4c5b29dd7c14fc264d0be61305cb5f0fd7c21bf8b6125927b47c5353",
- ".dependencies/godot-api/api/Release/GodotSharp.dll": "34d4ee8ae3719c4ec9d965b22017ce34d3dd559c1dc13274c4410d9aab625a0a",
- ".dependencies/godot-api/api/Release/GodotSharpEditor.dll": "c955a30ca1a9d53e349aa757d6049f61f09ccb467d223fd934f21018e78928e4",
+ ".dependencies/godot-api/api/Debug/GodotSharp.dll": "828202439d3ae112c6925676b82d119994066d107ef7b90d07257145fa729a35",
+ ".dependencies/godot-api/api/Debug/GodotSharpEditor.dll": "82c8e27d09a228c78b57928f4c71c8207e4bc5627fd21eb5b0a3102fc98b4663",
+ ".dependencies/godot-api/api/Release/GodotSharp.dll": "e93b894670025d0b52d259c98c07a79d7e037cabd29f07800cf89953a9e9aff4",
+ ".dependencies/godot-api/api/Release/GodotSharpEditor.dll": "b50d5b045884ff153ead1f76e92f24feccd2a0d8de67b906ee3002d47be9efe7",
"editor/GodotSharp/Tools/envdte.dll": "7cae2269c6dc59edb16a1fd16672f184a4690c6d720c1faae9616fe0c8d5cb46",
"editor/GodotSharp/Tools/GodotTools.BuildLogger.dll": "6e795ad754946522b35210186acdfb6b5cd89d05694fdefbc906aa16f5eae7c8",
"editor/GodotSharp/Tools/GodotTools.Core.dll": "1f19d5adf53034caef7fc1efb8fa405809122cad81b02acc975707ef69e1689d",
@@ -56,12 +56,12 @@
"editor/GodotSharp/Tools/NuGet.Frameworks.dll": "42972564d5632852fddf484c6badb1f91cd5167b4f540b23e30663aa84f795f0",
"editor/GodotSharp/Api/Debug/GodotPlugins.dll": "1d94e9624cb0f1c2e196f296d131fce2934ec850e0ca3d78e0fa3ebd71a70e90",
"editor/GodotSharp/Api/Debug/GodotPlugins.runtimeconfig.json": "f7ecefae96040c2437e1c98914954b211546391ed2bf6dfb8fa8836600ec1491",
- "editor/GodotSharp/Api/Debug/GodotSharp.dll": "3e097fa19c3b89f277613fcf65ba778e5d307d3a0dc065fecbe25eeb7e3f9c0e",
- "editor/GodotSharp/Api/Debug/GodotSharpEditor.dll": "cc72b11a4c5b29dd7c14fc264d0be61305cb5f0fd7c21bf8b6125927b47c5353",
+ "editor/GodotSharp/Api/Debug/GodotSharp.dll": "828202439d3ae112c6925676b82d119994066d107ef7b90d07257145fa729a35",
+ "editor/GodotSharp/Api/Debug/GodotSharpEditor.dll": "82c8e27d09a228c78b57928f4c71c8207e4bc5627fd21eb5b0a3102fc98b4663",
"editor/GodotSharp/Api/Release/GodotPlugins.dll": "ab5b94d35ac88c98a62e0b680c7af0b98f85741da93235031abc6c90184201c9",
"editor/GodotSharp/Api/Release/GodotPlugins.runtimeconfig.json": "163a87196bb2c5607973cbf99e6215bf4b2623dadedeb86e65bc465ce309b988",
- "editor/GodotSharp/Api/Release/GodotSharp.dll": "34d4ee8ae3719c4ec9d965b22017ce34d3dd559c1dc13274c4410d9aab625a0a",
- "editor/GodotSharp/Api/Release/GodotSharpEditor.dll": "c955a30ca1a9d53e349aa757d6049f61f09ccb467d223fd934f21018e78928e4",
+ "editor/GodotSharp/Api/Release/GodotSharp.dll": "e93b894670025d0b52d259c98c07a79d7e037cabd29f07800cf89953a9e9aff4",
+ "editor/GodotSharp/Api/Release/GodotSharpEditor.dll": "b50d5b045884ff153ead1f76e92f24feccd2a0d8de67b906ee3002d47be9efe7",
"editor/GodotSharp/Tools/cs/Microsoft.CodeAnalysis.CSharp.resources.dll": "b770a8c39ded76ee883149128c0b343a23c4930e8c0599a61ea4a189d468a52c",
"editor/GodotSharp/Tools/cs/Microsoft.CodeAnalysis.resources.dll": "4dd085aa3824c42e69d24b45ddbca9cf7f9fcad7dc3ee956be79922fa60a4e51",
"editor/GodotSharp/Tools/de/Microsoft.CodeAnalysis.CSharp.resources.dll": "0f3bae26e249638ca2c9204cbbbbce2b1ccfeaf784f6bd77b7121d148f671f29",
@@ -92,11 +92,11 @@
"editor/GodotSharp/Tools/zh-Hans/Microsoft.CodeAnalysis.resources.dll": "966487734ddbd371ccfadd6521a8a7e36ba74a5ad777c749df90ea26118212bb",
"editor/GodotSharp/Tools/zh-Hant/Microsoft.CodeAnalysis.CSharp.resources.dll": "1f4bcaed17f6b189a0a68813a8cf5f3d8d31b6269fd10bcc824b9dd45c2b9a8d",
"editor/GodotSharp/Tools/zh-Hant/Microsoft.CodeAnalysis.resources.dll": "537fd03e590ca4502980dfe08d5163a4a115d7b33040cd495a795818dbde315f",
- "managed/Debug/WolEngine.dll": "1205060c950376e582d781c2eb1a6d37ed2c3c18e0bd6ffd8f7905b89cd52423",
- "managed/Release/WolEngine.dll": "9c400dc621f2fe22fa93a01422ecc8309f8dd4d21a0345ea1ed9a8672550dacb",
- "native/bin/libspatial.windows.template_release.x86_64.dll": "1398f36de2d98462938edb8d17631b265496b2e16c0d541c5000bae298d4d1ce",
- "portable/Debug/WolEngine.Core.dll": "76785f5ffd3e17ee9bf47534fe59db159e0cf21efd1355851c40ddb654589d47",
- "portable/Release/WolEngine.Core.dll": "7b592bbcd47d26676ad1ea7ebcce84a89ee861a64b76e36251dd43dff3f445d0",
+ "managed/Debug/WolEngine.dll": "6eb9e83be43c5f9f37fd6d484118d3665d4b55683ebd46dac7178ec1df12d88e",
+ "managed/Release/WolEngine.dll": "97ff243c467c078dd3ddd63f4420d9f73439c13cf1bb065a4c9298870be70c97",
+ "native/bin/libspatial.windows.template_release.x86_64.dll": "49da5b74b2186b95884b7a662921e7e66511487a30d8eca96f81b139344e072a",
+ "portable/Debug/WolEngine.Core.dll": "a8cee629735b481110a5aa09855799222be260adfcf9878c09346b5dee66b7c8",
+ "portable/Release/WolEngine.Core.dll": "7d93984c0a313fe094aa4564c801aa2a3a44b4fa130aabb20fc43c21032fa07f",
"runtime/audio/AudioDirector.cs": "7eb70257593da06f682a3ddda54a9d260d4fc514f645237f5ca74b08f8da61a6",
"runtime/audio/AudioDirector.cs.uid": "38b98e1364123b6b3727526f34eacbbcee84f83b2efeef337fdfb903b6aecc5d",
"runtime/branding/README.md": "ed2b58bffd76d470aff2b8d66f84832d8cbd85c3732353a7bdc55c2f42493ad1",
@@ -136,9 +136,10 @@
"runtime/flow/FlowStateSchema.cs.uid": "97c9e94f487aed21022ee0af535ed52b11e4de4f823720a37131b3f51c19550e",
"runtime/flow/ThresholdCondition.cs": "7eb70257593da06f682a3ddda54a9d260d4fc514f645237f5ca74b08f8da61a6",
"runtime/flow/ThresholdCondition.cs.uid": "16f3e7fd0a02f5130bf12625f3df13c10302773ade694ecc48611b5ed6fa43ce",
- "runtime/install/ContentPack.cs": "7eb70257593da06f682a3ddda54a9d260d4fc514f645237f5ca74b08f8da61a6",
- "runtime/install/PlayStationDisc.cs": "7eb70257593da06f682a3ddda54a9d260d4fc514f645237f5ca74b08f8da61a6",
- "runtime/install/PlayStationDisc.cs.uid": "c47abb6622ca4ce018a065dbc6122b5614747d51ac30760373207df575bf4a17",
+ "runtime/install/AssemblyInfo.cs": "7eb70257593da06f682a3ddda54a9d260d4fc514f645237f5ca74b08f8da61a6",
+ "runtime/install/AssemblyInfo.cs.uid": "ae8e0ebd35bfa1b2e9313c634da1b27deb93f96ba2817c6ea0398bcb70fc28ee",
+ "runtime/install/MediaTools.cs": "7eb70257593da06f682a3ddda54a9d260d4fc514f645237f5ca74b08f8da61a6",
+ "runtime/install/MediaTools.cs.uid": "95edc2827fa8c06a3058081ae0aa10454f14f93e1bb81491e7804d90c4880996",
"runtime/party/Roster.cs": "7eb70257593da06f682a3ddda54a9d260d4fc514f645237f5ca74b08f8da61a6",
"runtime/party/Roster.cs.uid": "8db25d776d3d8a9091211871cfc9f42836c0947d76cce355fe3b9ab1e372fd95",
"runtime/ui/BitmapFontAsset.cs": "7eb70257593da06f682a3ddda54a9d260d4fc514f645237f5ca74b08f8da61a6",
@@ -325,5 +326,5 @@
"runtime/world/WalkSurface.cs": "7eb70257593da06f682a3ddda54a9d260d4fc514f645237f5ca74b08f8da61a6",
"runtime/world/WalkSurface.cs.uid": "d6b5f4a3ecae305570f135cbfce951c822c3bdc78a91f15fffebaea480e20ac9"
},
- "release": "https://github.com/RakuenSoftware/wol-engine-release/releases/tag/runtime-dcb5145dfeb3906830c0c6dc6b6d1f22ad1b4950"
+ "release": "https://github.com/RakuenSoftware/wol-engine-release/releases/tag/runtime-a66481a4008acb84091ab9f9049437efb81f8fc5"
}
diff --git a/addons/wol_engine/platforms/windows-x64/managed/Debug/WolEngine.dll b/addons/wol_engine/platforms/windows-x64/managed/Debug/WolEngine.dll
index e339722..60ffd94 100644
Binary files a/addons/wol_engine/platforms/windows-x64/managed/Debug/WolEngine.dll and b/addons/wol_engine/platforms/windows-x64/managed/Debug/WolEngine.dll differ
diff --git a/addons/wol_engine/platforms/windows-x64/managed/Release/WolEngine.dll b/addons/wol_engine/platforms/windows-x64/managed/Release/WolEngine.dll
index 96404b9..b5033b2 100644
Binary files a/addons/wol_engine/platforms/windows-x64/managed/Release/WolEngine.dll and b/addons/wol_engine/platforms/windows-x64/managed/Release/WolEngine.dll differ
diff --git a/addons/wol_engine/platforms/windows-x64/portable/Debug/WolEngine.Core.dll b/addons/wol_engine/platforms/windows-x64/portable/Debug/WolEngine.Core.dll
new file mode 100644
index 0000000..31fb07f
Binary files /dev/null and b/addons/wol_engine/platforms/windows-x64/portable/Debug/WolEngine.Core.dll differ
diff --git a/addons/wol_engine/platforms/windows-x64/portable/Release/WolEngine.Core.dll b/addons/wol_engine/platforms/windows-x64/portable/Release/WolEngine.Core.dll
new file mode 100644
index 0000000..46472c1
Binary files /dev/null and b/addons/wol_engine/platforms/windows-x64/portable/Release/WolEngine.Core.dll differ
diff --git a/addons/wol_engine/platforms/windows-x64/portable/WolEngine.Core.props b/addons/wol_engine/platforms/windows-x64/portable/WolEngine.Core.props
new file mode 100644
index 0000000..239a5e9
--- /dev/null
+++ b/addons/wol_engine/platforms/windows-x64/portable/WolEngine.Core.props
@@ -0,0 +1,12 @@
+
+
+ Debug
+ Release
+
+
+
+ $(MSBuildThisFileDirectory)$(WolEngineCoreConfiguration)/WolEngine.Core.dll
+ true
+
+
+
diff --git a/addons/wol_engine/portable/Debug/WolEngine.Core.dll b/addons/wol_engine/portable/Debug/WolEngine.Core.dll
deleted file mode 100644
index feecdd7..0000000
Binary files a/addons/wol_engine/portable/Debug/WolEngine.Core.dll and /dev/null differ
diff --git a/addons/wol_engine/portable/Release/WolEngine.Core.dll b/addons/wol_engine/portable/Release/WolEngine.Core.dll
deleted file mode 100644
index c0f1ff0..0000000
Binary files a/addons/wol_engine/portable/Release/WolEngine.Core.dll and /dev/null differ
diff --git a/addons/wol_engine/runtime/install/ContentPack.cs b/addons/wol_engine/runtime/install/AssemblyInfo.cs
similarity index 100%
rename from addons/wol_engine/runtime/install/ContentPack.cs
rename to addons/wol_engine/runtime/install/AssemblyInfo.cs
diff --git a/addons/wol_engine/runtime/install/AssemblyInfo.cs.uid b/addons/wol_engine/runtime/install/AssemblyInfo.cs.uid
new file mode 100644
index 0000000..97faafa
--- /dev/null
+++ b/addons/wol_engine/runtime/install/AssemblyInfo.cs.uid
@@ -0,0 +1 @@
+uid://c6fo0xlxfasc5
diff --git a/addons/wol_engine/runtime/install/PlayStationDisc.cs b/addons/wol_engine/runtime/install/MediaTools.cs
similarity index 100%
rename from addons/wol_engine/runtime/install/PlayStationDisc.cs
rename to addons/wol_engine/runtime/install/MediaTools.cs
diff --git a/addons/wol_engine/runtime/install/MediaTools.cs.uid b/addons/wol_engine/runtime/install/MediaTools.cs.uid
new file mode 100644
index 0000000..98a65ce
--- /dev/null
+++ b/addons/wol_engine/runtime/install/MediaTools.cs.uid
@@ -0,0 +1 @@
+uid://cklfdqdssvwad
diff --git a/addons/wol_engine/runtime/install/PlayStationDisc.cs.uid b/addons/wol_engine/runtime/install/PlayStationDisc.cs.uid
deleted file mode 100644
index 06ea8c9..0000000
--- a/addons/wol_engine/runtime/install/PlayStationDisc.cs.uid
+++ /dev/null
@@ -1 +0,0 @@
-uid://c26uj01hq6kbf
diff --git a/docs/DISTRIBUTION.md b/docs/DISTRIBUTION.md
index d18607f..ba6c862 100644
--- a/docs/DISTRIBUTION.md
+++ b/docs/DISTRIBUTION.md
@@ -24,16 +24,18 @@ binary bytes are copied unchanged. Vendored text file line endings
are normalized to LF, and C# resource stubs contain one newline.
The current SDK is the public `RakuenSoftware/wol-engine-release` release
-`runtime-dcb5145dfeb3906830c0c6dc6b6d1f22ad1b4950`. Native Linux, Windows and
+`runtime-a66481a4008acb84091ab9f9049437efb81f8fc5`. Native Linux, Windows and
universal macOS CI compiled and qualified each SDK from that exact private
engine tag. A separate job independently audited all three SDKs before
publication. Each archive and every member file has a verified SHA-256 record.
The game vendors the downloaded release assets; its CI never fetches or builds
private engine source.
-This SDK adds the host-neutral `WolEngine.Core` pixel contracts and the backend
-image/PNG codec API used by the portable content decoders. Its portable DLLs are
-byte-identical across the three platform archives. It retains controller motor
+This SDK adds portable disc/content-pack owners and the `IMediaTools` boundary,
+with Godot media execution in the backend. Type forwarders preserve the previous
+SDK’s disc/content-pack identities. It retains the host-neutral pixel contracts
+and image/PNG codec API used by the portable content decoders. Its portable DLLs are
+retained byte for byte from their respective platform archives. It retains controller motor
output, the reused-dialogue sizing fix and the four painted shader programs
in their existing compiled C# owners. There are no loose shader
implementations or owned debug symbols in the dependency update. Earlier
@@ -71,9 +73,17 @@ and decoded pixel planes with the host at its presentation boundary.
Vagrant owns the controller's two-channel envelopes and timing, and the retail
content decoders under `gameplay/installation`: title/loading art, fonts, HUD,
manuals, overlays, effects, map geometry/textures/skies, inventory, save pictures,
-results, event-script translation and ending decompression. Images are decoded into byte-defined raster
+results, event-script translation, disc installation/media validation and ending
+decompression. The retail digest catalog is embedded in the gameplay assembly
+from `gameplay/installation/retail_digests.json`; it does not use Godot resource
+loading. Images are decoded into byte-defined raster
planes. wol-engine owns hardware controller output, native image creation and
-PNG cache encoding/decoding. There is one decoder per format and one owned image
+PNG cache encoding/decoding. Its portable core also owns generic disc reading,
+digest verification and data-only content-pack installation. The game supplies
+its retail catalog, conversion arguments and output expectations through
+`IMediaTools`; the Godot backend owns bundled-tool discovery and child-process
+execution. The exported player still requires its bundled ffmpeg/ffprobe and
+clears PATH for child processes. There is one decoder per format and one owned image
buffer; no parallel Godot decoder or second image cache remains.
Run the deliberate-input contracts with the .NET SDK and vendored portable DLLs:
@@ -83,13 +93,23 @@ dotnet run --project tests/gameplay/GameplayContracts.csproj -c Release
```
CI runs these checks on Linux, Windows and macOS in sparse checkouts containing
-only this library, its tests, the pinned .NET version and `portable` binaries.
+only this library, its tests, the pinned .NET version, target-selection props
+and each SDK’s `portable` binaries.
Godot, the backend SDK, native libraries and a disc installation are absent.
The checks reject backend dependencies both in gameplay and transitively in the
portable core, and exercise palette keys, transparency passes, indexed/direct
-art, save-picture palette columns, glyph metrics and controller envelopes.
+art, save-picture palette columns, glyph metrics, controller envelopes, install rejection preserving previous
+files/cache, explicit STR input arguments, media-output validation and XA
+integrity despite a cached decode.
Native player builds wait for these checks and retain the published core DLL
-byte for byte. Vendoring rejects differing portable bytes across target SDKs.
+byte for byte. Vendoring preserves each target’s portable core bytes, alongside its other
+managed/API assemblies. `Directory.Build.props` selects the native target for
+both the host and the plain gameplay project. The core has no Godot dependency;
+platform SDKs may differ in .NET generator build metadata.
+
+The host still prepares the installation’s decoded room/rig cache with the
+existing orchestration; this step constructs rendering resources. No renderer is
+needed to verify/copy disc files or validate media in the portable installer.
Other game systems, including character rendering, audio playback and scenes,
still contain Godot dependencies and remain to be extracted. This is an
@@ -97,8 +117,32 @@ incremental boundary, not a claim that the whole application is portable yet.
## Build and CI
-Use Python 3.12+ and .NET SDK 10.0.403. No engine credentials, SCons or C++
-compiler are needed. On the native host:
+Use Python 3.12+ and the pinned .NET SDK 10.0.403 (`global.json` uses
+`latestPatch`; earlier 10.0 feature bands do not qualify). No engine credentials,
+SCons or C++ compiler are needed. Bundled media is compiled with a C toolchain:
+
+- Windows: [MSYS2](https://www.msys2.org/) at `C:/msys64` or the root specified by
+ `MSYS2_ROOT`. In its MINGW64 terminal install
+ `pacman -S --needed make pkgconf diffutils mingw-w64-x86_64-gcc`.
+- Linux: a C compiler/binutils, Bash, make, pkg-config, diff and curl; on
+ Debian/Ubuntu use `build-essential pkg-config diffutils curl`.
+- macOS: Xcode Command Line Tools (`xcode-select --install`) and pkg-config;
+ Bash, make, curl, lipo and codesign must be available.
+
+The preflight asks the .NET resolver to select the SDK in the project directory
+and checks media tools before downloading Godot, creating player output,
+exporting or compiling FFmpeg. It reports all missing prerequisites together.
+Synthetic projection checks need the managed SDK but not the media compiler.
+`--media-only` checks media prerequisites without requiring .NET.
+
+Both Git checkouts and GitHub source ZIPs are supported. Checkout provenance is
+read before the expensive work; missing Git or unreadable checkout metadata
+fails early. Archive builds use `game_source: "archive"`, `game_commit: null`
+and `game_worktree_dirty: null` rather than claiming a known revision or failing
+at the end. Git builds use `game_source: "git"`, their actual commit and a boolean
+dirty state. Source archives are not treated as their parent directory's checkout.
+
+On the native host:
```sh
python tools/release.py linux-x64 --version development
@@ -145,8 +189,9 @@ allowed as metadata. These checks do not establish legal clearance or detect
every possible modified/decoded asset. Each native CI job runs the actual exported executable's
`--verify-package` check with an empty installation, verifies the separate
compiled engine/native audio, and rejects test types and implementation source
-in the PCK. Archives contain BUILD.json with game/engine revisions, upstream SDK
-checksum, native hashes and game dirty state, plus a SHA-256 sidecar. These are
+in the PCK. Archives contain BUILD.json with source provenance, game/engine revisions, upstream
+SDK checksum, native hashes and game dirty state, plus a SHA-256 sidecar. Archive
+builds explicitly mark unknown game revision/dirty state with null values. These are
provenance checks, not a bit-for-bit reproducibility claim.
No retail assets, disc images, BIOS, installed files or decoded caches are
diff --git a/gameplay/Vagrant.Gameplay.csproj b/gameplay/Vagrant.Gameplay.csproj
index a2e22fa..7674632 100644
--- a/gameplay/Vagrant.Gameplay.csproj
+++ b/gameplay/Vagrant.Gameplay.csproj
@@ -7,12 +7,14 @@
true
Wol.Games.Vagrant
Vagrant.Gameplay
- $(MSBuildThisFileDirectory)../addons/wol_engine/portable
none
false
false
+
+
+
diff --git a/installation/RetailDisc.cs b/gameplay/installation/RetailDisc.cs
similarity index 71%
rename from installation/RetailDisc.cs
rename to gameplay/installation/RetailDisc.cs
index ebe4b6a..73a1537 100644
--- a/installation/RetailDisc.cs
+++ b/gameplay/installation/RetailDisc.cs
@@ -1,5 +1,6 @@
// SPDX-License-Identifier: AGPL-3.0-only
using System.Collections.Generic;
+using System.Text.Json;
using Wol.Engine.Install;
namespace Wol.Games.Vagrant.Installation;
@@ -13,17 +14,17 @@ public static class RetailDisc
public const string VolumeIdentifier = "SLUS-01040";
///
- /// SHA-256 of every Form 1 file on the retail US disc (installation/retail_digests.json), so the installer can
+ /// SHA-256 of every Form 1 file on the retail US disc (gameplay/installation/retail_digests.json), so the installer can
/// verify whatever it consumes.
///
private static readonly Dictionary RetailFileDigests = LoadDigests();
private static Dictionary LoadDigests()
{
- var parsed = Godot.Json.ParseString(Godot.FileAccess.GetFileAsString("res://installation/retail_digests.json"));
- var digests = new Dictionary(System.StringComparer.Ordinal);
- foreach (var (path, digest) in parsed.AsGodotDictionary()) digests[path.AsString()] = digest.AsString();
- if (digests.Count == 0) throw new System.InvalidOperationException("The retail digest catalog is missing.");
+ using var source = typeof(RetailDisc).Assembly.GetManifestResourceStream("Wol.Games.Vagrant.Installation.RetailDigests")
+ ?? throw new System.InvalidOperationException("The retail digest catalog is missing.");
+ var digests = JsonSerializer.Deserialize>(source);
+ if (digests is not { Count: > 0 }) throw new System.InvalidOperationException("The retail digest catalog is missing.");
return digests;
}
diff --git a/installation/RetailInstallation.cs b/gameplay/installation/RetailInstallation.cs
similarity index 73%
rename from installation/RetailInstallation.cs
rename to gameplay/installation/RetailInstallation.cs
index 4e8fc7b..2ee35c9 100644
--- a/installation/RetailInstallation.cs
+++ b/gameplay/installation/RetailInstallation.cs
@@ -1,6 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0-only
using System;
-using System.Diagnostics;
using System.IO;
using System.Security.Cryptography;
using System.Text.Json.Nodes;
@@ -36,11 +35,11 @@ public sealed class RetailInstallation
public string CachePath => Path.Combine(Root, "cache");
/// Installs from (BIN or CUE). Throws with a player-facing message on rejection.
- public void Install(string discPath, Action progress)
+ public void Install(string discPath, IMediaTools media, Action progress)
{
// Fail before copying the disc if an incomplete player package omitted its tools.
- _ = Executable("ffmpeg");
- _ = Executable("ffprobe");
+ _ = media.Executable("ffmpeg");
+ _ = media.Executable("ffprobe");
Directory.CreateDirectory(Root);
string stage = Path.Combine(Root, "staging");
if (Directory.Exists(stage)) Directory.Delete(stage, true);
@@ -84,50 +83,29 @@ public void Install(string discPath, Action progress)
{
if (Directory.Exists(stage)) Directory.Delete(stage, true);
}
- progress("Preparing the game…");
- Prepare(progress);
- progress("Installation complete.");
}
///
- /// Fills the cache with what takes long to decode, so play does not wait for it: the intro movie, every room
- /// and Ashley's rig.
- ///
- private void Prepare(Action progress)
- {
- var movie = System.Threading.Tasks.Task.Run(IntroMovie);
- var ending = System.Threading.Tasks.Task.Run(EndingMusic);
- Runtime.FieldContent Content() => new Runtime.FieldContent(Root);
- var rooms = Content().RoomNames();
- System.Threading.Tasks.Parallel.ForEach(rooms, new System.Threading.Tasks.ParallelOptions { MaxDegreeOfParallelism = Environment.ProcessorCount }, Content,
- (room, _, field) => { field.CacheRoom(room); return field; }, _ => { });
- Content().Character("character_00");
- movie.GetAwaiter().GetResult();
- ending.GetAwaiter().GetResult();
- progress($"Prepared {rooms.Count} rooms.");
- }
-
- ///
- /// The intro movie's picture and sound as Godot plays them (Theora and Vorbis), made from the disc's MOV/TITLE.STR
+ /// The intro movie's picture and sound (Theora and Vorbis), made from the disc's MOV/TITLE.STR
/// into the cache the first time they are asked for. The retail intro's picture ends long before its audio, which
/// continues as the title music, so they are separate tracks.
///
- public (string Video, string Music) IntroMovie()
+ public (string Video, string Music) IntroMovie(IMediaTools media)
{
string video = Path.Combine(CachePath, "intro_video.ogv"), music = Path.Combine(CachePath, "intro_music.ogg");
if (File.Exists(video) && File.Exists(music)) return (video, music);
- string ffmpeg = Executable("ffmpeg"), ffprobe = Executable("ffprobe"), stream = Path.Combine(DiscPath, "MOV", "TITLE.STR");
+ string ffmpeg = media.Executable("ffmpeg"), ffprobe = media.Executable("ffprobe"), stream = Path.Combine(DiscPath, "MOV", "TITLE.STR");
Directory.CreateDirectory(CachePath);
string partVideo = video + ".partial.ogv", partMusic = music + ".partial.ogg";
- var picture = System.Threading.Tasks.Task.Run(() => Run(ffmpeg, "-nostdin", "-hide_banner", "-loglevel", "error", "-y", "-f", "psxstr", "-i", stream,
+ var picture = System.Threading.Tasks.Task.Run(() => media.Run(ffmpeg, "-nostdin", "-hide_banner", "-loglevel", "error", "-y", "-f", "psxstr", "-i", stream,
"-map", "0:v:0", "-an", "-c:v", "libtheora", "-q:v", "8", "-pix_fmt", "yuv420p", partVideo));
- Run(ffmpeg, "-nostdin", "-hide_banner", "-loglevel", "error", "-y", "-f", "psxstr", "-i", stream, "-map", "0:a:0", "-vn", "-c:a", "libvorbis", "-q:a", "6", partMusic);
+ media.Run(ffmpeg, "-nostdin", "-hide_banner", "-loglevel", "error", "-y", "-f", "psxstr", "-i", stream, "-map", "0:a:0", "-vn", "-c:a", "libvorbis", "-q:a", "6", partMusic);
picture.GetAwaiter().GetResult();
- var shape = JsonNode.Parse(Run(ffprobe, "-v", "error", "-count_frames", "-select_streams", "v:0",
+ var shape = JsonNode.Parse(media.Run(ffprobe, "-v", "error", "-count_frames", "-select_streams", "v:0",
"-show_entries", "stream=width,height,nb_read_frames", "-of", "json", partVideo))!["streams"]![0]!;
if ((int)shape["width"]! != 320 || (int)shape["height"]! != 224 || int.Parse((string)shape["nb_read_frames"]!) != IntroVideoFrames)
throw new InvalidDataException("The opening movie could not be decoded as the retail picture.");
- var audio = JsonNode.Parse(Run(ffprobe, "-v", "error", "-show_entries", "stream=channels", "-of", "json", partMusic))!["streams"]![0]!;
+ var audio = JsonNode.Parse(media.Run(ffprobe, "-v", "error", "-show_entries", "stream=channels", "-of", "json", partMusic))!["streams"]![0]!;
if ((int)audio["channels"]! != 2) throw new InvalidDataException("The title music could not be decoded in stereo.");
File.Move(partVideo, video, true);
File.Move(partMusic, music, true);
@@ -167,7 +145,7 @@ private static void CopyEnding(PlayStationDisc disc, Stream output)
}
/// Decodes the owned disc's unlisted XA music, leaving its raw sectors byte for byte in disc/.
- public string EndingMusic()
+ public string EndingMusic(IMediaTools media)
{
string raw = Path.Combine(DiscPath, EndingStream);
if (!File.Exists(raw)) throw new InvalidDataException("This older installation omits the ending music. Install again from your US disc.");
@@ -194,9 +172,9 @@ public string EndingMusic()
}
if (File.Exists(music)) return music;
string part = music + ".partial.ogg";
- Run(Executable("ffmpeg"), "-nostdin", "-hide_banner", "-loglevel", "error", "-y", "-f", "psxstr", "-i", stream,
+ media.Run(media.Executable("ffmpeg"), "-nostdin", "-hide_banner", "-loglevel", "error", "-y", "-f", "psxstr", "-i", stream,
"-map", "0:a:0", "-vn", "-c:a", "libvorbis", "-q:a", "6", part);
- var audio = JsonNode.Parse(Run(Executable("ffprobe"), "-v", "error", "-show_entries", "stream=channels,sample_rate,duration", "-of", "json", part))!["streams"]![0]!;
+ var audio = JsonNode.Parse(media.Run(media.Executable("ffprobe"), "-v", "error", "-show_entries", "stream=channels,sample_rate,duration", "-of", "json", part))!["streams"]![0]!;
if ((int)audio["channels"]! != 2 || int.Parse((string)audio["sample_rate"]!) != 37800
|| Math.Abs(double.Parse((string)audio["duration"]!, System.Globalization.CultureInfo.InvariantCulture) - 443.52) > 0.05)
throw new InvalidDataException("The ending music could not be decoded as the retail stereo stream.");
@@ -205,28 +183,11 @@ public string EndingMusic()
return music;
}
- private static string Executable(string name)
- {
- string bundled = Path.Combine(Path.GetDirectoryName(Godot.OS.GetExecutablePath())!, "media", name + (OperatingSystem.IsWindows() ? ".exe" : ""));
- if (File.Exists(bundled)) return bundled;
- if (!Godot.OS.HasFeature("editor"))
- throw new FileNotFoundException($"The player package is missing its bundled {name}. Extract the complete Project Vagrant archive again.");
- foreach (string directory in (Environment.GetEnvironmentVariable("PATH") ?? "").Split(Path.PathSeparator))
- {
- foreach (string candidate in new[] { name, name + ".exe" })
- {
- string path = Path.Combine(directory, candidate);
- if (File.Exists(path)) return path;
- }
- }
- throw new FileNotFoundException($"Playing the opening movie requires {name} (FFmpeg) on PATH.");
- }
-
/// Exercises the packaged encoders, probe, and game-input decoder availability without retail assets.
- public static void VerifyMediaTools()
+ public static void VerifyMediaTools(IMediaTools media)
{
- string ffmpeg = Executable("ffmpeg"), ffprobe = Executable("ffprobe");
- string decoders = Run(ffmpeg, "-hide_banner", "-decoders");
+ string ffmpeg = media.Executable("ffmpeg"), ffprobe = media.Executable("ffprobe");
+ string decoders = media.Run(ffmpeg, "-hide_banner", "-decoders");
if (!decoders.Contains(" mdec ", StringComparison.Ordinal) || !decoders.Contains(" adpcm_xa ", StringComparison.Ordinal))
throw new InvalidDataException("The bundled media tool cannot decode PlayStation video and XA audio.");
string temporary = Path.Combine(Path.GetTempPath(), "project-vagrant-media-" + Guid.NewGuid().ToString("N") + ".ogv");
@@ -248,11 +209,11 @@ public static void VerifyMediaTools()
fixture.Write(sector);
}
}
- var input = JsonNode.Parse(Run(ffprobe, "-v", "error", "-show_entries", "format=format_name:stream=codec_name,channels,sample_rate", "-of", "json", xa))!;
+ var input = JsonNode.Parse(media.Run(ffprobe, "-v", "error", "-show_entries", "format=format_name:stream=codec_name,channels,sample_rate", "-of", "json", xa))!;
if ((string?)input["format"]?["format_name"] != "psxstr"
|| (string?)input["streams"]?[0]?["codec_name"] != "adpcm_xa")
throw new InvalidDataException("The bundled tools cannot recognize a PlayStation STR/XA stream.");
- Run(ffmpeg, "-nostdin", "-hide_banner", "-loglevel", "error", "-y", "-i", xa,
+ media.Run(ffmpeg, "-nostdin", "-hide_banner", "-loglevel", "error", "-y", "-i", xa,
"-map", "0:a:0", "-c:a", "pcm_s16le", decoded);
using (var wave = new BinaryReader(File.OpenRead(decoded)))
{
@@ -276,11 +237,11 @@ public static void VerifyMediaTools()
}
if (!samples) throw new InvalidDataException("The XA decoder produced no PCM samples.");
}
- Run(ffmpeg, "-nostdin", "-hide_banner", "-loglevel", "error", "-y",
+ media.Run(ffmpeg, "-nostdin", "-hide_banner", "-loglevel", "error", "-y",
"-f", "lavfi", "-i", "color=size=32x32:rate=15:duration=0.2",
"-f", "lavfi", "-i", "sine=frequency=440:sample_rate=37800:duration=0.2",
"-c:v", "libtheora", "-pix_fmt", "yuv420p", "-c:a", "libvorbis", "-ac", "2", temporary);
- var streams = JsonNode.Parse(Run(ffprobe, "-v", "error", "-show_entries", "stream=codec_name,channels,width,height", "-of", "json", temporary))!["streams"]!.AsArray();
+ var streams = JsonNode.Parse(media.Run(ffprobe, "-v", "error", "-show_entries", "stream=codec_name,channels,width,height", "-of", "json", temporary))!["streams"]!.AsArray();
bool video = false, audio = false;
foreach (var stream in streams)
{
@@ -296,16 +257,4 @@ public static void VerifyMediaTools()
}
}
- private static string Run(string executable, params string[] arguments)
- {
- var start = new ProcessStartInfo(executable) { RedirectStandardOutput = true, RedirectStandardError = true, UseShellExecute = false, CreateNoWindow = true };
- if (!Godot.OS.HasFeature("editor")) start.Environment["PATH"] = "";
- foreach (string argument in arguments) start.ArgumentList.Add(argument);
- using var process = Process.Start(start) ?? throw new IOException($"Could not start {executable}.");
- var error = process.StandardError.ReadToEndAsync();
- string output = process.StandardOutput.ReadToEnd();
- process.WaitForExit();
- if (process.ExitCode != 0) throw new IOException($"{Path.GetFileName(executable)} failed: {error.Result.Trim()}");
- return output;
- }
}
diff --git a/installation/retail_digests.json b/gameplay/installation/retail_digests.json
similarity index 100%
rename from installation/retail_digests.json
rename to gameplay/installation/retail_digests.json
diff --git a/installation/RetailDisc.cs.uid b/installation/RetailDisc.cs.uid
deleted file mode 100644
index 28e7f53..0000000
--- a/installation/RetailDisc.cs.uid
+++ /dev/null
@@ -1 +0,0 @@
-uid://d3hxl8ajpk5ut
diff --git a/installation/RetailInstallation.cs.uid b/installation/RetailInstallation.cs.uid
deleted file mode 100644
index 8d2434d..0000000
--- a/installation/RetailInstallation.cs.uid
+++ /dev/null
@@ -1 +0,0 @@
-uid://cqirskbhjcqpm
diff --git a/runtime/RetailContent.cs b/runtime/RetailContent.cs
index 801d7cd..09fd337 100644
--- a/runtime/RetailContent.cs
+++ b/runtime/RetailContent.cs
@@ -7,6 +7,7 @@
using Godot;
using Wol.Engine.Display;
using Wol.Engine.Ui;
+using Wol.Engine.Install;
using Wol.Games.Vagrant.Installation;
namespace Wol.Games.Vagrant.Runtime;
@@ -43,7 +44,7 @@ public partial class RetailContent : Node
public VideoStream IntroVideo { get; private set; } = null!;
public AudioStream IntroMusic { get; private set; } = null!;
/// The ending's verified XA stream, decoded on first use from the owned installation.
- public AudioStream EndingMusic() => AudioStreamOggVorbis.LoadFromFile(new RetailInstallation(GlobalRoot).EndingMusic());
+ public AudioStream EndingMusic() => AudioStreamOggVorbis.LoadFromFile(new RetailInstallation(GlobalRoot).EndingMusic(MediaTools));
public override void _Ready()
{
@@ -76,6 +77,28 @@ public override void _ExitTree()
GC.WaitForPendingFinalizers();
}
+ /// The backend owns bundled-tool discovery, process arguments and the exported-player environment.
+ public IMediaTools MediaTools { get; } = new MediaTools("Project Vagrant");
+
+ /// Installs verified files, then prepares the host resources play needs before leaving the installer.
+ public void Install(string disc, Action progress)
+ {
+ var installation = new RetailInstallation(GlobalRoot);
+ installation.Install(disc, MediaTools, progress);
+ progress("Preparing the game…");
+ var movie = System.Threading.Tasks.Task.Run(() => installation.IntroMovie(MediaTools));
+ var ending = System.Threading.Tasks.Task.Run(() => installation.EndingMusic(MediaTools));
+ FieldContent Content() => new FieldContent(installation.Root);
+ var rooms = Content().RoomNames();
+ System.Threading.Tasks.Parallel.ForEach(rooms, new System.Threading.Tasks.ParallelOptions { MaxDegreeOfParallelism = System.Environment.ProcessorCount }, Content,
+ (room, _, field) => { field.CacheRoom(room); return field; }, _ => { });
+ Content().Character("character_00");
+ movie.GetAwaiter().GetResult();
+ ending.GetAwaiter().GetResult();
+ progress($"Prepared {rooms.Count} rooms.");
+ progress("Installation complete.");
+ }
+
public string GlobalRoot => ProjectSettings.GlobalizePath(Root);
/// An image decoded from the disc, by the name the document that has it gives.
@@ -389,7 +412,7 @@ public void Reload()
TitleGlowOrigins[i] = new Vector2I((int)glow["x"]!, (int)glow["y"]!);
}
Field.DiscFile("MOV/TITLE.STR");
- var (video, music) = new RetailInstallation(GlobalRoot).IntroMovie();
+ var (video, music) = new RetailInstallation(GlobalRoot).IntroMovie(MediaTools);
IntroVideo = new VideoStreamTheora { File = video };
IntroMusic = AudioStreamOggVorbis.LoadFromFile(music);
if (!System.IO.File.Exists(System.IO.Path.Combine(GlobalRoot, "disc", RetailInstallation.EndingStream)))
diff --git a/scenes/startup/Startup.cs b/scenes/startup/Startup.cs
index 6800d30..386a67d 100644
--- a/scenes/startup/Startup.cs
+++ b/scenes/startup/Startup.cs
@@ -96,7 +96,7 @@ public override void _Ready()
if (texture == null || texture.GetWidth() == 0 || texture.GetHeight() == 0)
throw new InvalidOperationException("Missing shared WoL branding image: " + image);
}
- RetailInstallation.VerifyMediaTools();
+ RetailInstallation.VerifyMediaTools(_content.MediaTools);
GD.Print("MEDIA_TOOLS_OK: bundled STR/XA decoding, video/audio conversion and probe work with no PATH dependencies");
GD.Print("PACKAGE_OK: compiled engine present; player assembly/resources contain no tests, source or disc data");
GetTree().Quit();
@@ -228,7 +228,7 @@ private string Install(string disc, Action progress)
{
try
{
- new RetailInstallation(_content.GlobalRoot).Install(disc, progress);
+ _content.Install(disc, progress);
_content.CallDeferred(RetailContent.MethodName.Reload);
return "";
}
diff --git a/tests/EndingAudioContracts.cs b/tests/EndingAudioContracts.cs
index 51b1742..da3ffe0 100644
--- a/tests/EndingAudioContracts.cs
+++ b/tests/EndingAudioContracts.cs
@@ -24,7 +24,7 @@ public override void _Ready()
var content = GetNode("/root/RetailContent");
var installation = new RetailInstallation(content.GlobalRoot);
installation.InstallEndingMusic(disc);
- string decoded = installation.EndingMusic();
+ string decoded = installation.EndingMusic(content.MediaTools);
using var music = AudioStreamOggVorbis.LoadFromFile(decoded);
if (Math.Abs(music.GetLength() - 443.52) > 0.05) throw new InvalidOperationException("XA duration is not 443.52 seconds");
string raw = Path.Combine(installation.DiscPath, RetailInstallation.EndingStream);
@@ -46,9 +46,9 @@ public override void _Ready()
}
catch (Exception error) { GD.PrintErr("ENDING_AUDIO_CONTRACTS_FAILED: " + error.Message); GetTree().Quit(1); }
}
- private static void Reject(RetailInstallation installation, string expected)
+ private void Reject(RetailInstallation installation, string expected)
{
- try { installation.EndingMusic(); }
+ try { installation.EndingMusic(GetNode("/root/RetailContent").MediaTools); }
catch (InvalidDataException error) when (error.Message.Contains(expected)) { return; }
throw new InvalidOperationException("damaged XA was accepted: " + expected);
}
diff --git a/tests/InstallContracts.cs b/tests/InstallContracts.cs
index 1bb3f7c..c126712 100644
--- a/tests/InstallContracts.cs
+++ b/tests/InstallContracts.cs
@@ -36,11 +36,11 @@ public override void _Ready()
}
}
- private static void Rejects(RetailInstallation installation, string image, string expected)
+ private void Rejects(RetailInstallation installation, string image, string expected)
{
try
{
- installation.Install(image, _ => { });
+ installation.Install(image, GetNode("/root/RetailContent").MediaTools, _ => { });
}
catch (Exception error) when (error is IOException or InvalidDataException)
{
@@ -67,11 +67,11 @@ private void Run(string disc, string scratch)
File.WriteAllBytes(chd, new byte[16]);
Rejects(installation, chd, "chdman");
- installation.Install(disc, _ => { });
+ content.Install(disc, _ => { });
string before = File.ReadAllText(installation.RecordPath);
if (new FileInfo(Path.Combine(installation.DiscPath, RetailInstallation.EndingStream)).Length != (long)RetailInstallation.EndingSectors * Wol.Engine.Install.PlayStationDisc.RawSectorSize)
throw new InvalidOperationException("the installer omitted the unlisted XA sectors");
- installation.EndingMusic();
+ installation.EndingMusic(content.MediaTools);
foreach (string path in RetailDisc.Catalog.FileDigests.Keys)
if (Convert.ToHexStringLower(System.Security.Cryptography.SHA256.HashData(File.ReadAllBytes(Path.Combine(installation.DiscPath, path)))) != RetailDisc.Catalog.FileDigests[path])
throw new InvalidOperationException($"the installed {path} is not the disc's file byte for byte");
diff --git a/tests/gameplay/GameplayContracts.csproj b/tests/gameplay/GameplayContracts.csproj
index ce1d457..09c08bd 100644
--- a/tests/gameplay/GameplayContracts.csproj
+++ b/tests/gameplay/GameplayContracts.csproj
@@ -5,7 +5,6 @@
net10.0
enable
true
- $(MSBuildThisFileDirectory)../../addons/wol_engine/portable
diff --git a/tests/gameplay/InstallationContracts.cs b/tests/gameplay/InstallationContracts.cs
new file mode 100644
index 0000000..4885b72
--- /dev/null
+++ b/tests/gameplay/InstallationContracts.cs
@@ -0,0 +1,104 @@
+// SPDX-License-Identifier: AGPL-3.0-only
+using System;
+using System.Collections.Generic;
+using System.IO;
+using System.Linq;
+using Wol.Engine.Install;
+using Wol.Games.Vagrant.Installation;
+
+internal static class InstallationContracts
+{
+ public static void Check()
+ {
+ if (typeof(RetailDisc).Assembly != typeof(RetailInstallation).Assembly || typeof(RetailDisc).Assembly != typeof(Wol.Games.Vagrant.Runtime.VibrationDriver).Assembly
+ || !RetailDisc.Catalog.FileDigests.TryGetValue("SLUS_010.40", out var digest) || digest.Length != 64 || RetailDisc.Catalog.VolumeIdentifier != "SLUS-01040")
+ throw new InvalidOperationException("The embedded retail catalog is not available in portable gameplay.");
+ string root = Path.Combine(Path.GetTempPath(), "vagrant-install-contract-" + Guid.NewGuid().ToString("N"));
+ Directory.CreateDirectory(root);
+ try
+ {
+ var installation = new RetailInstallation(Path.Combine(root, "previous installation"));
+ Directory.CreateDirectory(installation.DiscPath); Directory.CreateDirectory(installation.CachePath);
+ File.WriteAllText(installation.RecordPath, "previous record");
+ File.WriteAllText(Path.Combine(installation.DiscPath, "original"), "previous verified data");
+ File.WriteAllText(Path.Combine(installation.CachePath, "original"), "previous cache");
+ var media = new RecordingMedia();
+ string blank = Path.Combine(root, "blank.bin"), compressed = Path.Combine(root, "compressed.chd");
+ File.WriteAllBytes(blank, new byte[32 * PlayStationDisc.RawSectorSize]); File.WriteAllBytes(compressed, [0]);
+ foreach (var (path, reason) in new[] { (blank, "no ISO 9660 volume"), (compressed, "chdman") })
+ {
+ bool rejected = false;
+ try { installation.Install(path, media, _ => { }); } catch (InvalidDataException error) when (error.Message.Contains(reason, StringComparison.Ordinal)) { rejected = true; }
+ if (!rejected || Directory.Exists(Path.Combine(installation.Root, "staging")) || File.ReadAllText(installation.RecordPath) != "previous record"
+ || File.ReadAllText(Path.Combine(installation.DiscPath, "original")) != "previous verified data" || File.ReadAllText(Path.Combine(installation.CachePath, "original")) != "previous cache")
+ throw new InvalidOperationException("Disc rejection changed an existing installation or left staging behind.");
+ }
+ if (!media.Resolved.SequenceEqual(new[] { "ffmpeg", "ffprobe", "ffmpeg", "ffprobe" }) || media.Calls.Count != 0)
+ throw new InvalidOperationException("Installation did not resolve both media tools before copying, or ran a converter for a rejected disc.");
+ var missing = new RecordingMedia { Missing = true };
+ var untouched = new RetailInstallation(Path.Combine(root, "no tools"));
+ bool toolRejected = false;
+ try { untouched.Install(blank, missing, _ => { }); } catch (FileNotFoundException) { toolRejected = true; }
+ if (!toolRejected || Directory.Exists(untouched.Root)) throw new InvalidOperationException("Missing tools changed the installation before rejection.");
+
+ // Cached movie tracks are usable without resolving or launching external tools.
+ File.WriteAllText(Path.Combine(installation.CachePath, "intro_video.ogv"), "synthetic cached picture");
+ File.WriteAllText(Path.Combine(installation.CachePath, "intro_music.ogg"), "synthetic cached audio");
+ _ = installation.IntroMovie(missing);
+ if (missing.Resolved.Count != 1) throw new InvalidOperationException("A cached intro attempted media discovery.");
+
+ // A conversion uses the explicit STR demuxer and publishes only validated video/audio tracks.
+ var fresh = new RetailInstallation(Path.Combine(root, "movie conversion"));
+ media = new RecordingMedia();
+ var tracks = fresh.IntroMovie(media);
+ if (!File.Exists(tracks.Video) || !File.Exists(tracks.Music) || media.Calls.Count != 4)
+ throw new InvalidOperationException("Media conversion did not validate and publish both tracks.");
+ foreach (var call in media.Calls.Where(c => c.Executable == "ffmpeg"))
+ {
+ int format = Array.IndexOf(call.Arguments, "-f"), input = Array.IndexOf(call.Arguments, "-i");
+ if (format < 0 || call.Arguments[format + 1] != "psxstr" || input < 0 || call.Arguments[input + 1] != Path.Combine(fresh.DiscPath, "MOV", "TITLE.STR"))
+ throw new InvalidOperationException("The intro no longer supplies its STR format and input as separate process arguments.");
+ }
+ var invalid = new RetailInstallation(Path.Combine(root, "invalid conversion"));
+ bool shapeRejected = false;
+ try { _ = invalid.IntroMovie(new RecordingMedia { VideoFrames = 592 }); } catch (InvalidDataException) { shapeRejected = true; }
+ if (!shapeRejected || File.Exists(Path.Combine(invalid.CachePath, "intro_video.ogv")) || File.Exists(Path.Combine(invalid.CachePath, "intro_music.ogg")))
+ throw new InvalidOperationException("A movie with the wrong retail frame count was published.");
+
+ // Cached audio cannot hide missing, truncated or corrupt raw XA. The full-size fixture is sparse zeros.
+ var ending = new RetailInstallation(Path.Combine(root, "ending"));
+ Directory.CreateDirectory(Path.Combine(ending.DiscPath, "ENDING")); Directory.CreateDirectory(ending.CachePath);
+ File.WriteAllText(Path.Combine(ending.CachePath, "ending_music.ogg"), "synthetic cached audio");
+ string raw = Path.Combine(ending.DiscPath, RetailInstallation.EndingStream);
+ foreach (var (length, reason) in new[] { (-1L, "older installation"), (1L, "truncated"), ((long)RetailInstallation.EndingSectors * PlayStationDisc.RawSectorSize, "does not match") })
+ {
+ if (length >= 0) { using var file = File.Create(raw); file.SetLength(length); }
+ bool rejected = false;
+ try { _ = ending.EndingMusic(missing); } catch (InvalidDataException error) when (error.Message.Contains(reason, StringComparison.Ordinal)) { rejected = true; }
+ if (!rejected) throw new InvalidOperationException("Invalid raw XA was accepted because a cached decode exists.");
+ }
+ Console.WriteLine("GAME_INSTALLATION_CONTRACTS_OK: embedded catalog, atomic rejection, tool preflight, cached intro, STR arguments, validated tracks and XA integrity without Godot");
+ }
+ finally { Directory.Delete(root, true); }
+ }
+
+ private sealed class RecordingMedia : IMediaTools
+ {
+ public readonly List Resolved = new();
+ public readonly List<(string Executable, string[] Arguments)> Calls = new();
+ public bool Missing;
+ public int VideoFrames = 593;
+ public string Executable(string name)
+ {
+ Resolved.Add(name);
+ if (Missing) throw new FileNotFoundException("Synthetic missing media tool.");
+ return name;
+ }
+ public string Run(string executable, params string[] arguments)
+ {
+ lock (Calls) Calls.Add((executable, arguments));
+ if (executable == "ffmpeg") { File.WriteAllText(arguments[^1], "synthetic converted track"); return ""; }
+ return arguments.Contains("-count_frames") ? $"{{\"streams\":[{{\"width\":320,\"height\":224,\"nb_read_frames\":\"{VideoFrames}\"}}]}}" : "{\"streams\":[{\"channels\":2}]}";
+ }
+ }
+}
diff --git a/tests/gameplay/Program.cs b/tests/gameplay/Program.cs
index 49ba31c..94eedc0 100644
--- a/tests/gameplay/Program.cs
+++ b/tests/gameplay/Program.cs
@@ -14,6 +14,7 @@
if (dependency.Name is not { } name || !name.StartsWith("System", StringComparison.Ordinal))
throw new InvalidOperationException("The portable core depends on a backend: " + dependency.FullName);
ContentContracts.Check();
+InstallationContracts.Check();
bool wasEnabled = VibrationDriver.Enabled;
try
diff --git a/tests/release/test_release.py b/tests/release/test_release.py
new file mode 100644
index 0000000..e95e1cc
--- /dev/null
+++ b/tests/release/test_release.py
@@ -0,0 +1,223 @@
+# SPDX-License-Identifier: AGPL-3.0-only
+"""Release preconditions and provenance; never export a player or compile media."""
+import importlib.util
+import hashlib
+import zipfile
+import json
+import os
+from pathlib import Path
+import shutil
+import subprocess
+import sys
+import tempfile
+from types import SimpleNamespace
+import unittest
+from unittest.mock import patch
+
+SPEC = importlib.util.spec_from_file_location('vagrant_release', Path(__file__).resolve().parents[2] / 'tools/release.py')
+release_module = importlib.util.module_from_spec(SPEC)
+SPEC.loader.exec_module(release_module)
+
+
+class ReleasePreflightTests(unittest.TestCase):
+ def setUp(self):
+ temporary = tempfile.TemporaryDirectory()
+ self.addCleanup(temporary.cleanup)
+ self.root = Path(temporary.name)
+ (self.root / 'global.json').write_text(json.dumps({'sdk': {'version': '10.0.403', 'rollForward': 'latestPatch'}}))
+ self.release = release_module.DesktopRelease.__new__(release_module.DesktopRelease)
+ self.release.root = self.root
+ self.release.cache = self.root / 'cache'
+ self.release.args = SimpleNamespace(target='windows-x64', version='development', output=str(self.root / 'player'))
+ self.msys = self.root / 'custom MSYS2'
+
+ def tool(self, name):
+ return '/tools/' + name
+
+ def resolver(self, command, **kwargs):
+ self.assertEqual(Path(kwargs['cwd']), self.root)
+ self.assertEqual(command[1:], ['--version'])
+ return subprocess.CompletedProcess(command, 0, '10.0.403\n', '')
+
+ def install_msys_fixture(self):
+ for name in ('usr/bin/bash.exe', 'usr/bin/make.exe', 'usr/bin/pkgconf.exe', 'usr/bin/diff.exe',
+ 'mingw64/bin/gcc.exe', 'mingw64/bin/ar.exe', 'mingw64/bin/ranlib.exe'):
+ path = self.msys / name
+ path.parent.mkdir(parents=True, exist_ok=True)
+ path.write_bytes(b'fixture, never executed')
+
+ def test_reports_all_missing_windows_requirements_before_prepare_or_output(self):
+ with patch.object(release_module.platform, 'system', return_value='Windows'), \
+ patch.object(release_module.shutil, 'which', return_value=None), \
+ patch.dict(os.environ, {'MSYS2_ROOT': str(self.msys)}), \
+ patch.object(self.release, 'prepare') as prepare:
+ with self.assertRaises(RuntimeError) as failure:
+ self.release.build()
+ message = str(failure.exception)
+ for expected in ('10.0.403', 'MSYS2_ROOT', 'pacman -S --needed', 'mingw-w64-x86_64-gcc', 'curl'):
+ self.assertIn(expected, message)
+ prepare.assert_not_called()
+ self.assertFalse(Path(self.release.args.output).exists())
+
+ def test_sdk_resolver_enforces_global_json_and_reports_installed_versions(self):
+ def incompatible(command, **kwargs):
+ self.assertEqual(Path(kwargs['cwd']), self.root)
+ return subprocess.CompletedProcess(command, 1 if command[-1] == '--version' else 0,
+ '' if command[-1] == '--version' else '8.0.421 [SDKs]\n10.0.301 [SDKs]\n', '')
+ with patch.object(release_module.platform, 'system', return_value='Windows'), \
+ patch.object(release_module.shutil, 'which', side_effect=self.tool), \
+ patch.object(release_module.subprocess, 'run', side_effect=incompatible):
+ with self.assertRaisesRegex(RuntimeError, r'10\.0\.403.*8\.0\.421, 10\.0\.301'):
+ self.release.preflight(managed=True)
+
+ def test_custom_msys_root_with_complete_mingw64_is_used(self):
+ self.install_msys_fixture()
+ with patch.object(release_module.platform, 'system', return_value='Windows'), \
+ patch.object(release_module.shutil, 'which', side_effect=self.tool), \
+ patch.object(release_module.subprocess, 'run', side_effect=self.resolver), \
+ patch.dict(os.environ, {'MSYS2_ROOT': str(self.msys)}):
+ self.release.preflight(managed=True, media=True)
+ self.assertEqual(self.release.media_bash, (self.msys / 'usr/bin/bash.exe').as_posix())
+
+ def test_bash_alone_does_not_satisfy_windows_compiler_requirement(self):
+ bash = self.msys / 'usr/bin/bash.exe'
+ bash.parent.mkdir(parents=True)
+ bash.write_bytes(b'fixture')
+ with patch.object(release_module.platform, 'system', return_value='Windows'), \
+ patch.object(release_module.shutil, 'which', side_effect=self.tool), \
+ patch.dict(os.environ, {'MSYS2_ROOT': str(self.msys)}):
+ with self.assertRaisesRegex(RuntimeError, 'mingw64/bin/gcc.exe'):
+ self.release.preflight(media=True)
+
+ def test_macos_compiler_stubs_without_active_developer_tools_are_rejected(self):
+ self.release.args.target = 'macos-universal'
+ with patch.object(release_module.platform, 'system', return_value='Darwin'), \
+ patch.object(release_module.shutil, 'which', side_effect=self.tool), \
+ patch.object(release_module.subprocess, 'run', return_value=subprocess.CompletedProcess([], 1, '', 'no developer directory')):
+ with self.assertRaisesRegex(RuntimeError, 'xcode-select --install'):
+ self.release.preflight(media=True)
+
+ def test_projection_checks_do_not_require_media_compilers(self):
+ with patch.object(release_module.platform, 'system', return_value='Windows'), \
+ patch.object(release_module.shutil, 'which', side_effect=lambda name: '/tools/dotnet' if name == 'dotnet' else None), \
+ patch.object(release_module.subprocess, 'run', side_effect=self.resolver):
+ self.release.preflight(managed=True)
+
+ def test_zip_sources_do_not_require_git_and_record_unknown_provenance(self):
+ with patch.object(release_module.platform, 'system', return_value='Windows'), \
+ patch.object(release_module.shutil, 'which', return_value=None) as which, \
+ patch.object(release_module.subprocess, 'run') as run:
+ identity = self.release.preflight(source=True)
+ self.assertEqual(identity, {'game_source': 'archive', 'game_commit': None, 'game_worktree_dirty': None})
+ which.assert_not_called()
+ run.assert_not_called()
+
+ def test_git_checkouts_require_readable_metadata_up_front(self):
+ (self.root / '.git').mkdir()
+ with patch.object(release_module.platform, 'system', return_value='Windows'), \
+ patch.object(release_module.shutil, 'which', return_value=None):
+ with self.assertRaisesRegex(RuntimeError, 'Install Git'):
+ self.release.preflight(source=True)
+ with patch.object(release_module.platform, 'system', return_value='Windows'), \
+ patch.object(release_module.shutil, 'which', side_effect=self.tool), \
+ patch.object(release_module.subprocess, 'run', return_value=subprocess.CompletedProcess([], 128, '', 'bad metadata')):
+ with self.assertRaisesRegex(RuntimeError, 'Repair the checkout'):
+ self.release.preflight(source=True)
+
+ def test_real_checkout_revision_and_dirty_state(self):
+ git = shutil.which('git')
+ if not git:
+ self.skipTest('Git unavailable; source-ZIP mode is tested independently')
+ subprocess.run([git, 'init', '-q', str(self.root)], check=True)
+ subprocess.run([git, '-C', str(self.root), 'add', 'global.json'], check=True)
+ subprocess.run([git, '-C', str(self.root), '-c', 'user.name=Fixture', '-c', 'user.email=fixture@example.invalid',
+ '-c', 'commit.gpgsign=false', 'commit', '-qm', 'Deliberate input'], check=True)
+ expected = subprocess.check_output([git, '-C', str(self.root), 'rev-parse', 'HEAD'], text=True).strip()
+ with patch.object(release_module.platform, 'system', return_value='Windows'):
+ clean = self.release.preflight(source=True)
+ (self.root / 'local-change').write_text('deliberate input')
+ dirty = self.release.preflight(source=True)
+ self.assertEqual(clean, {'game_source': 'git', 'game_commit': expected, 'game_worktree_dirty': False})
+ self.assertEqual(dirty, {**clean, 'game_worktree_dirty': True})
+
+ def test_wrong_host_and_nonempty_output_fail_before_export(self):
+ with patch.object(release_module.platform, 'system', return_value='Linux'):
+ with self.assertRaisesRegex(RuntimeError, 'native host'):
+ self.release.preflight()
+ output = Path(self.release.args.output)
+ output.mkdir()
+ (output / 'keep').write_text('existing output')
+ with patch.object(self.release, 'prepare') as prepare:
+ with self.assertRaisesRegex(RuntimeError, 'empty output directory'):
+ self.release.build()
+ prepare.assert_not_called()
+ self.assertEqual((output / 'keep').read_text(), 'existing output')
+
+ def test_cli_missing_tools_is_actionable_without_traceback_or_partial_output(self):
+ tools = self.root / 'tools'
+ tools.mkdir()
+ shutil.copy2(Path(release_module.__file__), tools / 'release.py')
+ target = {'Linux': 'linux-x64', 'Windows': 'windows-x64', 'Darwin': 'macos-universal'}[release_module.platform.system()]
+ output = self.root / 'output'
+ result = subprocess.run([sys.executable, str(tools / 'release.py'), target, '--output', str(output)],
+ env={**os.environ, 'PATH': '', 'MSYS2_ROOT': str(self.msys)}, capture_output=True, text=True)
+ self.assertNotEqual(result.returncode, 0)
+ self.assertIn('BUILD_FAILED: Build prerequisites are not ready', result.stderr)
+ self.assertIn('10.0.403', result.stderr)
+ self.assertNotIn('Traceback', result.stderr)
+ self.assertFalse(output.exists())
+ self.assertFalse((self.root / '.godot').exists())
+
+
+class VendorPlatformCoreTests(unittest.TestCase):
+ def setUp(self):
+ temporary = tempfile.TemporaryDirectory()
+ self.addCleanup(temporary.cleanup)
+ self.root = Path(temporary.name)
+ self.release = release_module.DesktopRelease.__new__(release_module.DesktopRelease)
+ self.release.engine = self.root / 'addon'
+ self.release.cache = self.root
+
+ def sdk(self, target, *, shared=b'shared resource', source=False):
+ commit = 'a' * 40
+ files = {'portable/Release/WolEngine.Core.dll': b'MZ deliberate fixture ' + target.encode(),
+ 'portable/WolEngine.Core.props': b'', 'runtime/branding/wol.svg': shared}
+ if source:
+ files['portable/Private.cs'] = b'namespace PrivateImplementation;'
+ manifest = {'target': target, 'commit': commit, 'godot': '4.7.2',
+ 'release': f'https://github.com/RakuenSoftware/wol-engine-release/releases/tag/runtime-{commit}',
+ 'files': {name: hashlib.sha256(data).hexdigest() for name, data in files.items()}}
+ archive = self.root / (target + '.zip')
+ with zipfile.ZipFile(archive, 'w') as packed:
+ for name, data in files.items():
+ packed.writestr(name, data)
+ packed.writestr('RUNTIME.json', json.dumps(manifest))
+ archive.with_suffix('.zip.sha256').write_text(hashlib.sha256(archive.read_bytes()).hexdigest() + ' ' + archive.name + '\n')
+ return archive
+
+ def test_distinct_platform_core_bytes_are_preserved_and_hashed(self):
+ self.release.args = SimpleNamespace(vendor_runtime=[self.sdk(target) for target in release_module.DesktopRelease.TARGETS])
+ self.release.vendor()
+ record = json.loads((self.release.engine / 'VENDOR.json').read_text())
+ for target in release_module.DesktopRelease.TARGETS:
+ name = f'platforms/{target}/portable/Release/WolEngine.Core.dll'
+ actual = (self.release.engine / name).read_bytes()
+ self.assertEqual(actual, b'MZ deliberate fixture ' + target.encode())
+ self.assertEqual(record['files'][name], hashlib.sha256(actual).hexdigest())
+ self.assertFalse((self.release.engine / 'portable').exists())
+
+ def test_common_resources_still_require_matching_bytes(self):
+ self.release.args = SimpleNamespace(vendor_runtime=[self.sdk('linux-x64'), self.sdk('windows-x64', shared=b'different'), self.sdk('macos-universal')])
+ with self.assertRaisesRegex(RuntimeError, 'Common SDK resources differ'):
+ self.release.vendor()
+ self.assertFalse(self.release.engine.exists())
+
+ def test_portable_paths_do_not_allow_private_source(self):
+ self.release.args = SimpleNamespace(vendor_runtime=[self.sdk('linux-x64', source=True), self.sdk('windows-x64'), self.sdk('macos-universal')])
+ with self.assertRaisesRegex(RuntimeError, 'implementation source'):
+ self.release.vendor()
+ self.assertFalse(self.release.engine.exists())
+
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/tools/release.py b/tools/release.py
index 60b094b..24afa08 100644
--- a/tools/release.py
+++ b/tools/release.py
@@ -9,6 +9,7 @@
import platform
import plistlib
import shutil
+import sys
import subprocess
import tempfile
import tarfile
@@ -36,12 +37,76 @@ def run(self, *command, cwd=None):
print("+", " ".join(map(str, command)), flush=True)
subprocess.run(list(map(str, command)), cwd=cwd or self.root, check=True)
+ def preflight(self, *, managed=False, media=False, source=False):
+ """Check build inputs before downloads, exports or output-directory creation."""
+ errors = []
+ host = platform.system()
+ target = {"Linux": "linux-x64", "Windows": "windows-x64", "Darwin": "macos-universal"}.get(host)
+ if self.args.target != target:
+ errors.append(f"Build {self.args.target} on its native host (this host is {host}).")
+ if sys.version_info < (3, 12):
+ errors.append("Install Python 3.12 or newer.")
+ if managed:
+ requested = json.loads((self.root / "global.json").read_text())["sdk"]["version"]
+ dotnet = shutil.which("dotnet")
+ if not dotnet:
+ errors.append(f"Install .NET SDK {requested} and put dotnet on PATH (required by global.json).")
+ else:
+ # Let the SDK resolver enforce global.json, including its roll-forward policy.
+ result = subprocess.run([dotnet, "--version"], cwd=self.root, capture_output=True, text=True)
+ if result.returncode:
+ installed = subprocess.run([dotnet, "--list-sdks"], cwd=self.root, capture_output=True, text=True)
+ versions = ", ".join(line.split()[0] for line in installed.stdout.splitlines() if line.strip()) or "none"
+ errors.append(f"Install .NET SDK {requested}, as required by global.json. Installed SDKs: {versions}.")
+ if media:
+ if host == "Windows":
+ root = Path(os.environ.get("MSYS2_ROOT") or "C:/msys64")
+ self.media_bash = (root / "usr/bin/bash.exe").as_posix()
+ required = ["usr/bin/bash.exe", "usr/bin/make.exe", "usr/bin/pkgconf.exe", "usr/bin/diff.exe",
+ "mingw64/bin/gcc.exe", "mingw64/bin/ar.exe", "mingw64/bin/ranlib.exe"]
+ missing = [name for name in required if not (root / name).is_file()]
+ if missing:
+ errors.append(f"MSYS2/MINGW64 is incomplete at {root}: missing {', '.join(missing)}. "
+ "Install MSYS2, then run in its MINGW64 terminal: "
+ "pacman -S --needed make pkgconf diffutils mingw-w64-x86_64-gcc. "
+ "Set MSYS2_ROOT if MSYS2 is installed elsewhere.")
+ else:
+ self.media_bash = "bash"
+ required = ["bash", "make", "pkg-config", "ar", "ranlib", "diff"]
+ required += ["clang", "xcrun", "lipo", "codesign"] if host == "Darwin" else ["cc"]
+ missing = [name for name in required if not shutil.which(name)]
+ if missing:
+ install = "Install Xcode Command Line Tools (xcode-select --install) and pkg-config." if host == "Darwin" else "Install build-essential, pkg-config and diffutils (or your distribution's equivalents)."
+ errors.append(f"Missing media build tools: {', '.join(missing)}. {install}")
+ if host == "Darwin" and shutil.which("xcrun"):
+ compiler = subprocess.run(["xcrun", "--find", "clang"], capture_output=True, text=True)
+ if compiler.returncode:
+ errors.append("Activate Xcode Command Line Tools before building media (xcode-select --install).")
+ if not shutil.which("curl"):
+ errors.append("Install curl and put it on PATH; it downloads the checksummed media sources.")
+ identity = {"game_source": "archive", "game_commit": None, "game_worktree_dirty": None}
+ if source and (self.root / ".git").exists():
+ git = shutil.which("git")
+ if not git:
+ errors.append("Install Git and put it on PATH to record this checkout's revision, or build from a source ZIP.")
+ else:
+ revision = subprocess.run([git, "rev-parse", "--verify", "HEAD"], cwd=self.root, capture_output=True, text=True)
+ status = subprocess.run([git, "status", "--porcelain", "--ignore-submodules=all"], cwd=self.root, capture_output=True, text=True)
+ if revision.returncode or status.returncode:
+ errors.append("Cannot read this checkout's Git revision/status. Repair the checkout or use a source ZIP.")
+ else:
+ identity = {"game_source": "git", "game_commit": revision.stdout.strip(), "game_worktree_dirty": bool(status.stdout)}
+ if errors:
+ raise RuntimeError("Build prerequisites are not ready:\n- " + "\n- ".join(errors))
+ return identity
+
def verify_projection(self):
+ self.preflight(managed=True)
editor, _ = self.prepare()
# Editor import creates UID metadata beside scripts. Keep those writes out of the immutable SDK.
with tempfile.TemporaryDirectory(prefix="vagrant-projection-", dir=self.cache) as temporary:
stage = Path(temporary)
- for name in ("project.godot", "Vagrant.csproj", "Vagrant.sln", "global.json", "export_presets.cfg",
+ for name in ("project.godot", "Vagrant.csproj", "Vagrant.sln", "global.json", "Directory.Build.props", "export_presets.cfg",
"installation", "runtime", "gameplay", "scenes", "tests"):
source = self.root / name
if source.is_dir():
@@ -140,7 +205,7 @@ def vendor(self):
data = b"\n"
if path.suffix in (".txt", ".md", ".svg", ".uid", ".tscn", ".gdextension", ".props", ".json"):
data = data.replace(b"\r\n", b"\n")
- if name.startswith(("managed/", ".dependencies/")) or name in ("GodotApi.props", "WolEngine.props"):
+ if name.startswith(("managed/", "portable/", ".dependencies/")) or name in ("GodotApi.props", "WolEngine.props"):
destination = stage / "platforms" / target / path
else:
destination = stage / path
@@ -214,9 +279,7 @@ def prepare(self):
return editor, api
def bundle_media(self, output):
- host = {"Linux": "linux-x64", "Windows": "windows-x64", "Darwin": "macos-universal"}[platform.system()]
- if host != self.args.target:
- raise RuntimeError("Build media tools on their native CI runner.")
+ self.preflight(media=True)
output.mkdir(parents=True, exist_ok=True)
sources = json.loads((self.root / "distribution/media-sources.json").read_text())["sources"]
downloaded = []
@@ -244,8 +307,7 @@ def bundle_media(self, output):
packed.extractall(work / "sources", filter="data")
if not (work / "sources" / name / "configure").is_file():
raise RuntimeError("Missing media configure script: " + name)
- bash = (Path(os.environ.get("MSYS2_ROOT") or "C:/msys64") / "usr/bin/bash.exe").as_posix() if platform.system() == "Windows" else "bash"
- command = [bash, (self.root / "tools/build_media.sh").as_posix(), self.args.target, work.as_posix(), output.as_posix()]
+ command = [self.media_bash, (self.root / "tools/build_media.sh").as_posix(), self.args.target, work.as_posix(), output.as_posix()]
print("+", " ".join(command), flush=True)
subprocess.run(command, check=True, env={**os.environ, "MSYSTEM": "MINGW64"})
notices = output / "licenses"
@@ -281,7 +343,7 @@ def bundle_media(self, output):
def audit(self, output):
# Inspect loose files as well as the PCK, whose contents the exported player checks below.
- retail = json.loads((self.root / "installation/retail_digests.json").read_text())
+ retail = json.loads((self.root / "gameplay/installation/retail_digests.json").read_text())
retail_hashes = set(retail.values())
retail_formats = {Path(name).suffix.lower() for name in retail} | {".str", ".xa", ".cue", ".iso", ".chd", ".img"}
forbidden = {".cs", ".cpp", ".hpp", ".h", ".pdb", ".mdb", ".csproj", ".sln", ".cue", ".iso", ".chd", ".xml"}
@@ -308,24 +370,25 @@ def audit(self, output):
if not libraries or any(hashlib.sha256(p.read_bytes()).hexdigest() != expected for p in libraries):
raise RuntimeError("The player did not retain the pinned Release library: " + name)
- expected_core = hashlib.sha256((self.engine / "portable/Release/WolEngine.Core.dll").read_bytes()).hexdigest()
+ expected_core = hashlib.sha256((self.sdk / "portable/Release/WolEngine.Core.dll").read_bytes()).hexdigest()
libraries = list(output.rglob("WolEngine.Core.dll"))
if not libraries or any(hashlib.sha256(p.read_bytes()).hexdigest() != expected_core for p in libraries):
raise RuntimeError("The player did not retain the pinned portable core library")
def build(self):
- editor, api = self.prepare()
output = Path(self.args.output or self.root / "dist" / self.args.target).resolve()
if output.exists() and any(output.iterdir()):
raise RuntimeError("Choose an empty output directory; existing files are not removed.")
- output.mkdir(parents=True, exist_ok=True)
version = self.args.version
if not version or any(c not in "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789._-" for c in version):
raise RuntimeError("Version must contain only letters, digits, dots, hyphens or underscores.")
+ identity = self.preflight(managed=True, media=True, source=True)
+ editor, api = self.prepare()
+ output.mkdir(parents=True, exist_ok=True)
# A whitelist prevents local discs, caches, test assets and unrelated engine content entering the exporter.
with tempfile.TemporaryDirectory(prefix="vagrant-export-", dir=self.cache) as temp:
stage = Path(temp)
- for name in ("project.godot", "Vagrant.csproj", "Vagrant.sln", "global.json", "export_presets.cfg", "installation", "runtime", "gameplay", "scenes"):
+ for name in ("project.godot", "Vagrant.csproj", "Vagrant.sln", "global.json", "Directory.Build.props", "export_presets.cfg", "installation", "runtime", "gameplay", "scenes"):
source = self.root / name
if source.is_dir():
shutil.copytree(source, stage / name, ignore=shutil.ignore_patterns("bin", "obj"))
@@ -333,12 +396,12 @@ def build(self):
shutil.copy2(source, stage / name)
addon = stage / "addons/wol_engine"
shutil.copytree(self.engine / "runtime", addon / "runtime")
- shutil.copytree(self.engine / "portable", addon / "portable")
sdk = addon / "platforms" / self.args.target
sdk.mkdir(parents=True)
shutil.copy2(self.sdk / "GodotApi.props", sdk / "GodotApi.props")
shutil.copy2(self.sdk / "WolEngine.props", sdk / "WolEngine.props")
shutil.copytree(self.sdk / "managed", sdk / "managed")
+ shutil.copytree(self.sdk / "portable", sdk / "portable")
(addon / "native/bin").mkdir(parents=True)
shutil.copy2(self.engine / "native/spatial.gdextension", addon / "native/spatial.gdextension")
suffix = {"linux": "so", "windows": "dll", "macos": "dylib"}[self.native_platform]
@@ -397,11 +460,10 @@ def build(self):
native = {p.name: hashlib.sha256(p.read_bytes()).hexdigest() for p in output.rglob("*spatial*") if p.is_file()}
manifest = {
"version": version, "target": self.args.target,
- "game_commit": subprocess.check_output(["git", "rev-parse", "HEAD"], cwd=self.root, text=True).strip(),
+ **identity,
"engine_commit": self.runtime["commit"],
"engine_binary_commit": self.runtime.get("binary_commit", self.runtime["commit"]),
"godot": self.VERSION, "native_sha256": native,
- "game_worktree_dirty": bool(subprocess.check_output(["git", "status", "--porcelain", "--ignore-submodules=all"], cwd=self.root)),
"engine_package_sha256": self.runtime["targets"][self.args.target]["sha256"],
"disc_content_included": False, "engine_source_included": False,
}
@@ -438,20 +500,23 @@ def build(self):
parser.add_argument("--audit", type=Path, help="Audit an existing player directory without building")
args = parser.parse_args()
release = DesktopRelease(args)
- if args.vendor_runtime:
- release.vendor()
- elif not args.target:
- parser.error("a desktop target is required")
- elif args.media_only:
- release.bundle_media(Path(args.output or "dist/media").resolve())
- elif args.verify_projection:
- release.verify_projection()
- elif args.prepare:
- editor, _ = release.prepare()
- print("QUALIFIED_EDITOR:", editor)
- elif args.audit:
- release.prepare()
- release.audit(args.audit.resolve())
- print("PACKAGE_FILES_OK")
- else:
- release.build()
+ try:
+ if args.vendor_runtime:
+ release.vendor()
+ elif not args.target:
+ parser.error("a desktop target is required")
+ elif args.media_only:
+ release.bundle_media(Path(args.output or "dist/media").resolve())
+ elif args.verify_projection:
+ release.verify_projection()
+ elif args.prepare:
+ editor, _ = release.prepare()
+ print("QUALIFIED_EDITOR:", editor)
+ elif args.audit:
+ release.prepare()
+ release.audit(args.audit.resolve())
+ print("PACKAGE_FILES_OK")
+ else:
+ release.build()
+ except (RuntimeError, OSError, subprocess.CalledProcessError) as error:
+ parser.exit(1, "BUILD_FAILED: " + str(error) + "\n")