Cleaning up some text

This commit is contained in:
J-Doiron
2025-01-21 12:27:26 -08:00
parent aa5946edcd
commit 89badb3d6d
4 changed files with 6 additions and 4 deletions

View File

@@ -5,7 +5,7 @@ This benchmark runs one of the built in benchmarks for the game.
## Prerequisites
- Python 3.10+
- Stellaris installed
- Ashes of the Singularity installed
- Keras OCR service
## Options

View File

@@ -82,7 +82,7 @@ def start_game():
def run_benchmark(process_name, command_to_run):
"""Run the benchmark and wait for the benchmark process to finish."""
# Start Steam via subprocess.Popen
# Start Ashes Exe via subprocess.Popen
with subprocess.Popen(command_to_run, cwd=GAME_DIR, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, universal_newlines=True) as proc:
# Wait for the actual benchmark process to start and finish

View File

@@ -7,6 +7,7 @@ This script navigates through in-game menus to the built in benchmark and runs i
- Python 3.10+
- Forza Motorsport via Steam
- Keras OCR service
- RTSS installed - https://rivatuner.net/
## Output

View File

@@ -66,7 +66,7 @@ def run_benchmark() -> tuple[float]:
logging.info("Could not find the main menu. Did the game load?")
sys.exit(1)
# Navigate to display menu
# Navigate to options menu
user.press("down")
time.sleep(0.5)
user.press("down")
@@ -74,7 +74,7 @@ def run_benchmark() -> tuple[float]:
user.press("enter")
time.sleep(0.5)
# Verify that we have navigated to the video settings menu and take a screenshot
if kerasService.wait_for_word(word="language", timeout=30, interval=1) is None:
logging.info("Did not find the video settings menu. Did the menu get stuck?")
sys.exit(1)
@@ -82,6 +82,7 @@ def run_benchmark() -> tuple[float]:
user.press("e")
time.sleep(0.5)
# Verify that we have navigated to the display settings menu and take a screenshot
if kerasService.wait_for_word(word="monitor", timeout=30, interval=1) is None:
logging.info("Did not find the display settings menu. Did the menu get stuck?")
sys.exit(1)