From bbf36b842aebacf56fde9d29df5e4679b6c86616 Mon Sep 17 00:00:00 2001 From: Matt Filer Date: Wed, 16 Oct 2024 08:47:57 +0100 Subject: [PATCH 1/2] Add rules for Cathode engine --- descriptions/Engine.Cathode.md | 1 + rules.ini | 2 ++ tests/types/Engine.Cathode.txt | 3 +++ tests/types/_NonMatchingTests.txt | 3 +++ 4 files changed, 9 insertions(+) create mode 100644 descriptions/Engine.Cathode.md create mode 100644 tests/types/Engine.Cathode.txt diff --git a/descriptions/Engine.Cathode.md b/descriptions/Engine.Cathode.md new file mode 100644 index 000000000..b18211559 --- /dev/null +++ b/descriptions/Engine.Cathode.md @@ -0,0 +1 @@ +[**Cathode**](https://avp.fandom.com/wiki/Cathode_(engine)) is an in-house engine used by Creative Assembly's Console Team. \ No newline at end of file diff --git a/rules.ini b/rules.ini index 1c5c9cd62..f701982b3 100644 --- a/rules.ini +++ b/rules.ini @@ -52,6 +52,8 @@ Blitz3D = \.b3d$ Buddha = ^Data/Config/User\.(?:cfg|lua)$ Build = (?:^|/)buildlic\.txt$ C4_Engine = (?:^|/)Data/C4(?:\.pak)?$ +Cathode[] = (?:^|/)data/tasks\.(?:txt|bin)$ +Cathode[] = (?:^|/)data/chr_info\.pak$ CatSystem2 = ^cs2confx?\.dll$ ChoiceScript = (?:^|/)SteamChoiceScript-Info\.plist$ ChromeEngine[] = (?:^|/)ChromEd\.exe$ diff --git a/tests/types/Engine.Cathode.txt b/tests/types/Engine.Cathode.txt new file mode 100644 index 000000000..9dd9e64f3 --- /dev/null +++ b/tests/types/Engine.Cathode.txt @@ -0,0 +1,3 @@ +data/tasks.txt +data/tasks.bin +data/chr_info.pak \ No newline at end of file diff --git a/tests/types/_NonMatchingTests.txt b/tests/types/_NonMatchingTests.txt index 5f86a3355..7a75884f2 100644 --- a/tests/types/_NonMatchingTests.txt +++ b/tests/types/_NonMatchingTests.txt @@ -1252,6 +1252,9 @@ asdf.b3 .b3dd abcth_dnh.def th_dnh_def +data/chr_info_pak +data/tasks +data/tasks.zip Engine/Binarisdes/ThirdParty/PhysX3/Win64/VS2015/NvClothdaasdPROFILE_x64.dlsdaasl Engine/Binarieasds/ThirdParty/PhysX3/Win64/VS2015/NvCloth_asdx64.dasdll Engisdane/Binaries/ThirdParty/PhysX3/Win32/VS2015/NvClotsshPROFILE_x86.dlsdasdl From e2bac59c982a54f409ab320560221ceb4c8a6422 Mon Sep 17 00:00:00 2001 From: "matt.filer@ultraleap.com" Date: Thu, 17 Oct 2024 11:13:16 +0100 Subject: [PATCH 2/2] Data folder must be root level --- rules.ini | 4 ++-- tests/types/_NonMatchingTests.txt | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/rules.ini b/rules.ini index f701982b3..d95ecfc19 100644 --- a/rules.ini +++ b/rules.ini @@ -52,8 +52,8 @@ Blitz3D = \.b3d$ Buddha = ^Data/Config/User\.(?:cfg|lua)$ Build = (?:^|/)buildlic\.txt$ C4_Engine = (?:^|/)Data/C4(?:\.pak)?$ -Cathode[] = (?:^|/)data/tasks\.(?:txt|bin)$ -Cathode[] = (?:^|/)data/chr_info\.pak$ +Cathode[] = ^data/tasks\.(?:txt|bin)$ +Cathode[] = ^data/chr_info\.pak$ CatSystem2 = ^cs2confx?\.dll$ ChoiceScript = (?:^|/)SteamChoiceScript-Info\.plist$ ChromeEngine[] = (?:^|/)ChromEd\.exe$ diff --git a/tests/types/_NonMatchingTests.txt b/tests/types/_NonMatchingTests.txt index 7a75884f2..35b32c79e 100644 --- a/tests/types/_NonMatchingTests.txt +++ b/tests/types/_NonMatchingTests.txt @@ -1255,6 +1255,7 @@ th_dnh_def data/chr_info_pak data/tasks data/tasks.zip +something/data/tasks.txt Engine/Binarisdes/ThirdParty/PhysX3/Win64/VS2015/NvClothdaasdPROFILE_x64.dlsdaasl Engine/Binarieasds/ThirdParty/PhysX3/Win64/VS2015/NvCloth_asdx64.dasdll Engisdane/Binaries/ThirdParty/PhysX3/Win32/VS2015/NvClotsshPROFILE_x86.dlsdasdl