Add native K/M/RR inference engines, HIP kernels, replay and validation harnesses, and Windows DLSS setup and runtime support. Include GPU profiling tools, build and packaging scripts, platform integration patches, and implementation documentation.
10 lines
551 B
Bash
10 lines
551 B
Bash
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
# One-command launch: runs the game configured in d4r.ini's [Launch] section with all d4r settings
|
|
# from the same file (see config/d4r.ini.default). Extra arguments go to the game.
|
|
# D4R_CONFIG=/path/to/other.ini scripts/d4r_play.sh
|
|
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
|
mapfile -t LAUNCH < <(python3 "$ROOT/scripts/d4r_config.py" --launch) || exit 2
|
|
[[ ${#LAUNCH[@]} -eq 3 ]] || exit 2
|
|
exec "$ROOT/scripts/run_game_d4r_optiscaler_proton.sh" "${LAUNCH[0]}" "${LAUNCH[1]}" "${LAUNCH[2]}" "$@"
|