diff --git a/legendary/core.py b/legendary/core.py index 493b69a..5f7bfca 100644 --- a/legendary/core.py +++ b/legendary/core.py @@ -482,7 +482,11 @@ class LegendaryCore: params.append(game_exe) if install.launch_parameters: - params.extend(shlex.split(install.launch_parameters, posix=False)) + try: + params.extend(shlex.split(install.launch_parameters, posix=False)) + except ValueError as e: + self.log.warning(f'Parsing predefined launch parameters failed with: {e!r}, ' + f'input: {install.launch_parameters}') params.extend([ '-AUTH_LOGIN=unused',