Run body and fire phases during scripted control locks
This commit is contained in:
1 parent
5876da112c
commit
c285b57091
35 files changed
+1503
-45
No files matched your search
Executable
+21
@@ -0,0 +1,21 @@
|
||||
#!/usr/bin/env bash
|
||||
# Local REA launcher. Setup paths live in ignored .tools/rea.env; no client edits.
|
||||
set -euo pipefail
|
||||
NEUTRON_REA_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
||||
cd "$NEUTRON_REA_ROOT"
|
||||
if [[ -f .tools/rea.env ]]; then source .tools/rea.env; fi
|
||||
export GHIDRA_INSTALL_DIR="${GHIDRA_INSTALL_DIR:-$NEUTRON_REA_ROOT/.tools/ghidra_12.1.4_PUBLIC}"
|
||||
export JAVA_HOME="${NEUTRON_REA_JAVA_HOME:-$NEUTRON_REA_ROOT/.tools/java/usr/lib/jvm/java-21-openjdk-amd64}"
|
||||
NEUTRON_REA_NODE="${NEUTRON_REA_NODE:-node}"
|
||||
if [[ ! -x "$JAVA_HOME/bin/javac" || ! -x "$GHIDRA_INSTALL_DIR/support/analyzeHeadless" ]]; then
|
||||
echo 'REA requires the local Ghidra/full JDK setup; see docs/rea.md.' >&2
|
||||
exit 2
|
||||
fi
|
||||
if [[ -n "${NEUTRON_REA_LAUNCHER:-}" ]]; then
|
||||
exec "$NEUTRON_REA_NODE" "$NEUTRON_REA_LAUNCHER" "$@"
|
||||
elif command -v rea >/dev/null; then
|
||||
exec rea "$@"
|
||||
else
|
||||
echo 'Set NEUTRON_REA_LAUNCHER to the installed public scripts/rea.mjs; see docs/rea.md.' >&2
|
||||
exit 2
|
||||
fi
|
||||
@@ -41,6 +41,7 @@ dotnet run --no-build -- --headless --debug-page systems --width 2560 --height 1
|
||||
dotnet run --no-build -- --headless --debug-overlay --frames 2 --screenshot artifacts/test-debug-overlay.ppm
|
||||
dotnet run --no-build -- --headless --story --smoke-lab-route
|
||||
dotnet run --no-build -- --headless --smoke-carl-cutscene --frames 60 --screenshot artifacts/test-carl-cutscene.ppm
|
||||
dotnet run --no-build -- --headless --smoke-control-phases
|
||||
dotnet run --no-build -- --headless --smoke-objective-panel --story-time 1 --screenshot artifacts/test-objective-visible.ppm
|
||||
dotnet run --no-build -- --headless --smoke-objective-panel --story-time 9 --screenshot artifacts/test-objective-hidden.ppm
|
||||
dotnet run --no-build -- --headless --scene artifacts/extracted/VR04/scene.json --level gam/VR04.gam --smoke-jetpack --screenshot artifacts/test-jetpack.ppm
|
||||
|
||||
Reference in new issue
Block a user