From 776d039bd4f8fb526e4d0449cbf5e98415527f73 Mon Sep 17 00:00:00 2001 From: Roy <88516395+moraroy@users.noreply.github.com> Date: Tue, 7 May 2024 22:15:15 -0700 Subject: [PATCH] reverted gog --- NSLGameScanner.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/NSLGameScanner.py b/NSLGameScanner.py index 8c766fd..6d128d7 100644 --- a/NSLGameScanner.py +++ b/NSLGameScanner.py @@ -787,12 +787,14 @@ else: game_dict = getGogGameInfo(registry_file_path) for game, game_info in game_dict.items(): - if game_info['id'] and game_info['exe']: + if game_info['id']: launch_options = f"STEAM_COMPAT_DATA_PATH=\"{logged_in_home}/.local/share/Steam/steamapps/compatdata/{gog_galaxy_launcher}/\" %command% /command=runGame /gameId={game_info['id']} /path=\"{game_info['exe']}\"" - exe_path = f"\"{game_info['exe']}\"" - start_dir = os.path.dirname(exe_path) + exe_path = f"\"{logged_in_home}/.local/share/Steam/steamapps/compatdata/{gog_galaxy_launcher}/pfx/drive_c/Program Files (x86)/GOG Galaxy/GalaxyClient.exe\"" + start_dir = f"\"{logged_in_home}/.local/share/Steam/steamapps/compatdata/{gog_galaxy_launcher}/pfx/drive_c/Program Files (x86)/GOG Galaxy/\"" create_new_entry(exe_path, game, launch_options, start_dir) +# End of Gog Galaxy Scanner + # End of Gog Galaxy Scanner