Код: Выделить всё
#!/bin/bash
# This script runs Capture Age using the specified Proton version in the AOE2 Proton prefix.
export PROTON_PATH="${HOME}/.local/share/Steam/steamapps/common/Proton 9.0 (Beta)/proton"
export STEAM_COMPAT_CLIENT_INSTALL_PATH=="${HOME}/.local/share/Steam"
CAPTURE_AGE_EXE="${HOME}/Downloads/CaptureAgeSetup.exe"
# Check if the Proton executable exists
if [ ! -f "$PROTON_PATH" ]; then
echo "Error: Proton executable not found at $PROTON_PATH" >&2
exit 1
fi
# Check if the Capture Age executable exists
if [ ! -f "$CAPTURE_AGE_EXE" ]; then
echo "Error: Capture Age executable not found at $CAPTURE_AGE_EXE" >&2
exit 1
fi
# Set the AOE2 Proton prefix path (App ID 813780 for AOE2 Definitive Edition)
export STEAM_COMPAT_DATA_PATH="$HOME/.steam/steam/steamapps/compatdata/813780/"
# Check if the AOE2 Proton prefix exists
if [ ! -d "$STEAM_COMPAT_DATA_PATH" ]; then
echo "Error: AOE2 Proton prefix not found at $STEAM_COMPAT_DATA_PATH" >&2
echo "Please ensure AOE2 is installed and has been run at least once with Proton." >&2
exit 1
fi
# Run Capture Age using Proton
echo "Running Capture Age with Proton..."
"$PROTON_PATH" run "$CAPTURE_AGE_EXE"
дистрибутив
Имя: ubuntu
версия: 25.04 (Plucky puffin)
kernel p>
15.0.14.0.1.1.1.1.1. /> cpu < /em> < /p>
Архитектура: x86_64
ID поставщика: genuineintel
Имя модели: 12th Gen (R) Core (TM) I7-12700H
Thread (S) на ядро: 2
Core (s) на сок. /> CPU (S) Масштабирование MHZ: 12%
CPU MAX MHZ: 4700.0000
CPU MIN MHZ: 400.0000 < /p>
Дополнение < /h2>
- Это сообщение об ошибке. src = "https://i.sstatic.net/fyaoy4sv.png"/>
Подробнее здесь: https://stackoverflow.com/questions/796 ... ith-proton
Мобильная версия