From 9d3e9fecea52f0a4bc9ffd71b02f9163a0127b7d Mon Sep 17 00:00:00 2001 From: loathingKernel <142770+loathingKernel@users.noreply.github.com> Date: Tue, 9 Jan 2024 16:33:45 +0200 Subject: [PATCH] GameProcess: Add more information in the failure message when a timeout occurs --- rare/shared/game_process.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/rare/shared/game_process.py b/rare/shared/game_process.py index b12b690a..07dbe2b1 100644 --- a/rare/shared/game_process.py +++ b/rare/shared/game_process.py @@ -64,7 +64,14 @@ class GameProcess(QObject): self.tried_connections += 1 if self.tried_connections > 50: # 10 seconds - QMessageBox.warning(None, "Error", self.tr("Connection to game process failed (Timeout)")) + QMessageBox.warning( + None, + self.tr("Error - {}").format(self.game.app_title), + self.tr( + "Connection to game launcher for {} failed due to timeout.\n" + "This is usually do it the game or Rare's game launcher already running" + ).format(self.game.app_name) + ) self.timer.stop() self.finished.emit(GameProcess.Code.TIMEOUT)