From 7651b348552e28fc93b2e75c1f71e09fc4e69f6c Mon Sep 17 00:00:00 2001 From: TheRogueArchivist Date: Tue, 7 Feb 2023 08:00:04 -0700 Subject: [PATCH] Add new CD-Key/Serial check (#230) * Add new CD-Key/Serial check. --- BurnOutSharp/FileType/Textfile.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/BurnOutSharp/FileType/Textfile.cs b/BurnOutSharp/FileType/Textfile.cs index f0cf2127..373c84cd 100644 --- a/BurnOutSharp/FileType/Textfile.cs +++ b/BurnOutSharp/FileType/Textfile.cs @@ -49,6 +49,9 @@ namespace BurnOutSharp.FileType AppendToDictionary(protections, file, "CD-Key / Serial"); else if (fileContent.Contains("serial number is located")) AppendToDictionary(protections, file, "CD-Key / Serial"); + // Found in "Setup.Ins" ("Word Point 2002" in IA item "advantage-language-french-beginner-langmaster-2005"). + else if (fileContent.Contains("Please enter a valid registration number")) + AppendToDictionary(protections, file, "CD-Key / Serial"); // Freelock // Found in "FILE_ID.DIZ" distributed with Freelock.