Package RustRaptor and refine controls, menus, saves, sound and mod selection

This commit is contained in:
raptorreplica committed 2026-10-10 13:47:41 +11:00
1 parent 0844f6dffa
commit e17bc1003e
649 files changed
+8652 -2677

No files matched your search

+3 -3
View File
@@ -1,9 +1,9 @@
#!/bin/sh
# Keep the reference engine as the default until Rust parity is validated.
# RustRaptor is the default; the original engine is an optional reference.
set -eu
cd "$(dirname "$0")"
ROOT="$PWD"
ENGINE=legacy
ENGINE=rust
if [ "${1:-}" = --engine ]; then
[ "$#" -ge 2 ] || { echo 'Usage: ./play.sh --engine legacy|rust [arguments]' >&2; exit 2; }
ENGINE="$2"
@@ -12,7 +12,7 @@ fi
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}$HOME/.local/lib"
case "$ENGINE" in
rust)
exec cargo run --locked --release --manifest-path "$ROOT/Cargo.toml" --bin raptor-rust -- --data "$ROOT/data" "$@"
exec cargo run --locked --release --manifest-path "$ROOT/RustRaptor/Cargo.toml" --bin raptor-rust -- "$@"
;;
legacy)
if [ ! -f data/INDEX ]; then