adc893de6e
- Updated README with detailed instructions for creating a dedicated Ansible user on Linux, including SSH key setup and passwordless sudo. - Added userConfigurations.json for Steam ROM Manager with configurations for various gaming consoles. - Introduced scripts for managing Gamescope and Steam sessions, including launch scripts for various emulators (Genesis, PSP, RPCS3, SNES). - Created systemd service for Gamescope session management. - Developed Ansible playbook for configuring Fedora for optimized Sunshine and Gamescope streaming, including user setup and system configurations. - Updated Prometheus configuration to reflect changes in exporter targets. - Commented out the Devolo exporter module in Terraform configuration for future reference.
16 lines
366 B
Bash
16 lines
366 B
Bash
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
LOGFILE="$HOME/.local/logs/rpcs3.log"
|
|
|
|
log() { echo "[$(date --iso-8601=seconds)] $*" | tee -a "$LOGFILE"; }
|
|
|
|
RPCS_BIN="$(command -v rpcs3 || true)"
|
|
if [ -z "$RPCS_BIN" ]; then
|
|
log "ERROR: rpcs3 not found in PATH"
|
|
exit 127
|
|
fi
|
|
|
|
log "Launching RPCS3: $RPCS_BIN \"${@}\""
|
|
"$RPCS_BIN" --no-gui --fullscreen "${@}" >>"$LOGFILE"
|
|
|