diff --git a/robocop_ng/helpers/ryujinx_log_analyser.py b/robocop_ng/helpers/ryujinx_log_analyser.py index e2bbc37..03c54c6 100644 --- a/robocop_ng/helpers/ryujinx_log_analyser.py +++ b/robocop_ng/helpers/ryujinx_log_analyser.py @@ -397,7 +397,10 @@ class LogAnalyser: self._game_info["mods"] = "\n".join(mods_status) def __get_cheats(self): - cheat_regex = re.compile(r"Tampering program\s<(.+)>") + # Make sure to skip cheats which fail to compile + cheat_regex = re.compile( + r"Installing cheat\s'(.+)'(?!\s\d{2}:\d{2}:\d{2}\.\d{3}\s\|E\|\sTamperMachine\sCompile)" + ) matches = re.findall(cheat_regex, self._log_text) if matches: cheats = [f"ℹ️ {match}" for match in matches]