From 921bfd1f4581c77c3777000c50d724d6e2e43cf1 Mon Sep 17 00:00:00 2001 From: NintenHero <37460517+MichaelHinrichs@users.noreply.github.com> Date: Thu, 24 Apr 2025 12:46:42 -0500 Subject: [PATCH 1/3] detect c2main.js and c2main.js --- rules.ini | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rules.ini b/rules.ini index 1897192e2..539fa5592 100644 --- a/rules.ini +++ b/rules.ini @@ -62,7 +62,8 @@ Clausewitz[] = ^(?:game/)?common/defines/00_defines\.txt$ ClickTeamFusion = (?:^|/)mmfs2\.dll$ Cobra = (?:common|init)\.ovl$ Cocos = cocos(?:2d|-js) -Construct = (?:^|/)c[23]runtime\.js$ +Construct[] = (?:^|/)c[23]runtime\.js$ +Construct[] = (?:^|/)c[23]main\.js$ CopperCube = \.ccb$ CryEngine[] = (?:^|/)cry3dengine\.dll$ CryEngine[] = (?:^|/)CryD3DCompilerStub\.dll$ From 982e0629163b45db7fd82578c4f97b8e4f78c213 Mon Sep 17 00:00:00 2001 From: NintenHero <37460517+MichaelHinrichs@users.noreply.github.com> Date: Thu, 24 Apr 2025 12:48:00 -0500 Subject: [PATCH 2/3] Add c2main.js and c3main.js to Engine.Construct.txt --- tests/types/Engine.Construct.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/types/Engine.Construct.txt b/tests/types/Engine.Construct.txt index 1c63b43bb..4e6440c47 100644 --- a/tests/types/Engine.Construct.txt +++ b/tests/types/Engine.Construct.txt @@ -2,3 +2,7 @@ /c3runtime.js c2runtime.js c3runtime.js +/c2main.js +/c3main.js +c2main.js +c3main.js From f5a97ab8c661b6b0589b9f18aef5747d6c675300 Mon Sep 17 00:00:00 2001 From: NintenHero <37460517+MichaelHinrichs@users.noreply.github.com> Date: Thu, 24 Apr 2025 12:50:38 -0500 Subject: [PATCH 3/3] Add tests for c2main.js and c3main.js to _NonMatchingTests.txt --- tests/types/_NonMatchingTests.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/types/_NonMatchingTests.txt b/tests/types/_NonMatchingTests.txt index b864dc128..b41d56fb8 100644 --- a/tests/types/_NonMatchingTests.txt +++ b/tests/types/_NonMatchingTests.txt @@ -989,6 +989,12 @@ ac2runtime.js ac3runtime.js c2runtime.jss c3runtime.jss +c2mainxjs +c3mainxjs +ac2main.js +ac3main.js +c2main.jss +c3main.jss GameGuard.desu GameData/bundle_PCC.ipk bootresourcemap_pc64.ipk