Skip to content

Commit 7335c74

Browse files
committed
Fix some rules to allow splitting by extension
Fix incorrect dot matches
1 parent c9655bc commit 7335c74

File tree

5 files changed

+37
-23
lines changed

5 files changed

+37
-23
lines changed

rules.ini

Lines changed: 24 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,16 @@ WAD = \.wad$ ; idTech1
3535
3D_GameStudio = (?:^|/)acknex\.(?:dll|wdf)$
3636
4A_Engine = ^(?:oaremote_plugin|bchmark)\.dll$
3737
Adobe_AIR = (?:^|/)Adobe AIR(?:$|/)
38-
AdventureGameStudio = (?:^|/)(?:AGSteam\.dll|acsetup\.cfg)$
38+
AdventureGameStudio[] = (?:^|/)AGSteam\.dll$
39+
AdventureGameStudio[] = (?:^|/)acsetup\.cfg$
3940
AGI = (?:^|/)AGIDATA\.OVL$
4041
Alpha_Engine = ^Alpha_Engine\.dll$
4142
Amazon_Lumberyard = ^bootstrap\.cfg$
4243
AppGameKit = (?:^|/)bytecode\.byc$
4344
Argon = ^ar\.cfg$
4445
Asura = \.asr$
45-
BabylonJS = (?:^|/)(?:babylon\.js|lib/babylon)$
46+
BabylonJS[] = (?:^|/)lib/babylon$
47+
BabylonJS[] = (?:^|/)babylon\.js$
4648
Bitsquid[] = (?:^|/)[a-f0-9]{16}\.stream$
4749
Bitsquid[] = (?:^|/)job_animation_player_win32_release\.dll$
4850
BKEngine = \.bkarc$
@@ -77,7 +79,7 @@ Diesel = ^dieselx\.cfg$
7779
Divinity_Engine = ^Data/Localization/language\.lsx$
7880
Eclipse_Engine[] = ^data\.pie$
7981
Eclipse_Engine[] = ^Bundle/bundleMain\.mbundle$
80-
EngineX = ^(?:_bin_PC/BuildData|data)/FILELIST.BIN$
82+
EngineX = ^(?:_bin_PC/BuildData|data)/FILELIST\.BIN$
8183
Essence_Engine = \.sga$
8284
FalcoEngine = (?:^|/)FalcoEngine\.dll$
8385
Fase = ^faseEngine\.dll$
@@ -100,7 +102,8 @@ GameMaker[] = (?:^|/)window_set_cursor\.dll$
100102
GameMaker[] = (?:^|/)joydll\.dll$
101103
GameMaker[] = (?:^|/)gm7zip\.dll$
102104
GameMaker[] = (?:^|/)GMXInput\.dll$
103-
GameMaker[] = \.gm(?:spr|bck)$
105+
GameMaker[] = \.gmspr$
106+
GameMaker[] = \.gmbck$
104107
GameMaker[] = (?:^|/)gmsched\.dll$
105108
GDevelop[] = (?:^|/)LICENSE\.GDevelop\.txt$
106109
GDevelop[] = (?:^|/)gdjs-evtsext__
@@ -131,17 +134,19 @@ Irrlicht = (?:^|/)Irrlicht\.dll$
131134
IW_Engine[] = \.iwd$
132135
IW_Engine[] = (?:common(?:_zm|_mp)?|code_post_gfx)\.ff$
133136
jMonkeyEngine = (?:^|/)jme3-core
134-
Katana = \.ktsl2(?:as|st)bin$
137+
Katana[] = \.ktsl2asbin$
138+
Katana[] = \.ktsl2stbin$
135139
Kex = \.kpf$
136140
KiriKiri[] = (?:^|/)data\.xp3$
137141
KiriKiri[] = (?:^|/)krflash\.dll$
138142
KMY = (?:^|/)kmyCore\.dll$
139143
Lightvn = \.vndat$
140-
Lime_OR_OpenFL = (?:^|/)lime(?:-legacy)?\.[hn]dll$
144+
Lime_OR_OpenFL[] = (?:^|/)lime(?:-legacy)?\.hdll$
145+
Lime_OR_OpenFL[] = (?:^|/)lime(?:-legacy)?\.ndll$
141146
Liquid = (?:^|/)PCTouchHelper\.dll$
142147
LithTech = (?:^|/)default\.archcfg$
143148
Love2D = (?:^|/)(?:lib)?love\.(?:dll|so|so\.0)$
144-
Marmalade = (?:^|/)angle/lib(?:EGL|GLESv2)Marmalade\.dll
149+
Marmalade = (?:^|/)angle/lib(?:EGL|GLESv2)Marmalade\.dll$
145150
MonoGame = (?:^|/)monogame
146151
NeoX = (?:^|/)neox\.xml$
147152
Nitrous = \.MeshDesc$
@@ -203,10 +208,11 @@ Unreal[] = (?:^|/)UnrealEd\.
203208
Unreal[] = \.u(?:pk|asset)$
204209
Virtools = (?:^|/)CKDX[7-9]Rasterizer\.dll$
205210
Vision = (?:^|/)vision(?:71|80|90|100)?\.dll$
206-
VisionaireStudio = (?:^|/)VisionaireConfigurationTool\.exe(?:$|/)
211+
VisionaireStudio = (?:^|/)VisionaireConfigurationTool\.exe$
207212
VisualNovelMaker = (?:^|/)data/summaries\.json\.js$
208213
Warscape = /startpos\.esf$
209-
Wintermute = (?:^|/)(?:wme_steam\.dll|data\.dcp)$
214+
Wintermute[] = (?:^|/)wme_steam\.dll$
215+
Wintermute[] = (?:^|/)data\.dcp$
210216
WolfRPGEditor = data\.wolf$
211217
X-Ray = (?:^|/)xrGame\.dll$
212218
XNA[] = (?:^|/)xnafx31_redist\.msi$
@@ -229,7 +235,7 @@ Arbiter = (?:^|/)Arbiter\.dll$
229235
BattlEye = (?:^|/)BEService(?:_x64)?\.exe$
230236
BlackCipher = (?:^|/)BlackCipher/
231237
EasyAntiCheat = EasyAntiCheat
232-
EA_AntiCheat = (?:^|/)EAAntiCheat.Installer\.exe
238+
EA_AntiCheat = (?:^|/)EAAntiCheat\.Installer\.exe$
233239
EQU8 = (?:^|/)equ8_conf\.json$
234240
FredaikisAntiCheat = (?:^|/)FredaikisAntiCheat/
235241
HackShield = (?:^|/)HShield/HSInst\.dll$
@@ -252,7 +258,8 @@ AMD_GPU_Services = (?:^|/)amd_ags(?:_x(?:64|86))?\.dll$
252258
AMD_TrueAudio_Next = (?:^|/)TrueAudioNext\.dll$
253259
Anzu = (?:^|/)(?:lib)?anzu\.dll$
254260
Autodesk_FBX = fbxsdk
255-
Awesomium = (?:^|/)Awesomium(?:\.dll|_process\.exe)$
261+
Awesomium[] = (?:^|/)Awesomium\.dll$
262+
Awesomium[] = (?:^|/)Awesomium_process\.exe$
256263
Azure_Playfab_Party[] = (?:^|/)Party(?:Win|Win7|Win32|XboxLive|XboxLiveWin32)?\.dll$
257264
Azure_Playfab_Party[] = (?:^|/)XPlatCppWindows\.dll$
258265
BASS = (?:^|/)(?:bass(?:flac|midi)?\.dll|libbass\.(?:dylib|so))$
@@ -317,7 +324,7 @@ Ogg = (?:^|/)(?:lib)?ogg(?:_64)?\.(?:dll|so\.0|0\.dylib)$
317324
Oodle = (?:^|/)oo2(?:core|net|ext)\_[3-9]\_win(?:32|64)\.dll$
318325
OpenAL = (?:^|/)OpenAL(?:32|64)(?:_bundled)?\.dll$
319326
OpenSSL = (?:^|/)(?:lib|ssl)eay32\.dll$
320-
OpenTK = (?:^|/)OpenTK\.(?:Core\.)?dll$
327+
OpenTK = (?:^|/)OpenTK(?:\.Core)?\.dll$
321328
OpenVR = (?:^|/)(?:lib)?openvr_api\.(?:dll|so|bundle)$
322329
OpenXR = (?:^|/)(?:lib)?openxr_loader\.(?:dll|so)$
323330
Opus = (?:^|/)opus\.dll$
@@ -328,19 +335,21 @@ Python = (?:^|/)python[0-9]{0,3}\.dll$
328335
Qt = (?:^|/)Qt(?:Core4|[0-9]Core)\.dll$
329336
Razer_CChromaEditor = (?:^|/)CChromaEditorLibrary(?:64)?\.dll$
330337
SDL = (?:^|/)sdl[23]?\.(?:framework/|dll$|txt$)
331-
Sentry = (?:^|/)(?:(?:lib)?sentry\.dll)$
338+
Sentry = (?:^|/)(?:lib)?sentry\.dll$
332339
SFML = (?:^|/)(?:lib)?sfml-
333340
SharpDX = (?:^|/)SharpDX\.dll$
334341
SlimDX = (?:^|/)slimdx\.dll$
335342
Smacker_Video = (?:^|/)smackw32\.dll$
336343
Sodium = (?:^|/)libsodium\.dll$
337344
Squall = (?:^|/)Squall\.dll$
338-
SteamworksNET = (?:^|/)(?:Steamworks\.NET\.dll|com\.rlabrecque\.steamworks\.net\.dll)$
345+
SteamworksNET[] = (?:^|/)Steamworks\.NET\.dll$
346+
SteamworksNET[] = (?:^|/)com\.rlabrecque\.steamworks\.net\.dll$
339347
Steam_Audio = (?:^|/)(?:lib)?(?:steamaudio|phonon)\.(?:dylib|dll|so)$
340348
Steam_Networking = (?:^|/)(?:lib)?steamnetworkingsockets\.(?:dylib|dll|so)$
341349
TeamSpeak = (?:^|/)ts3client(?:_win32|_win64)?\.dll$
342350
Tencent_GME = (?:^|/)gmesdk\.dll$
343-
Tiled = \.t[ms]x$
351+
Tiled[] = \.tmx$
352+
Tiled[] = \.tsx$
344353
Tobii = (?:^|/)Tobii
345354
trueSKY = (?:^|/)TrueSky(?:PluginRender_MT|PluginRender_MD|UI_MD)\.dll$
346355
Ultraleap = (?:^|/)LeapC?\.dll$
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
/EAAntiCheat@Installer.exe
2-
EAAntiCheat@Installer.exe
1+
/EAAntiCheat.Installer.exe
2+
EAAntiCheat.Installer.exe
33
__Installer/EAAntiCheat/EAAntiCheat.Installer.exe

tests/types/Engine.EngineX.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
_bin_PC/BuildData/FILELIST@BIN
1+
_bin_PC/BuildData/FILELIST.BIN
22
_bin_PC/BuildData/Filelist.bin
3-
data/FILELIST@BIN
3+
data/FILELIST.BIN
44
data/Filelist.bin
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
/VisionaireConfigurationTool.exe
2-
/VisionaireConfigurationTool.exe/
32
VisionaireConfigurationTool.exe
4-
VisionaireConfigurationTool.exe/
53
sub/dir/VisionaireConfigurationTool.exe

tests/types/_NonMatchingTests.txt

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -549,6 +549,7 @@ python.dl
549549
/sub/dir/python1234.dll
550550
FVisionaireConfigurationTool.exe
551551
VisionaireConfigurationTool.exef
552+
VisionaireConfigurationTool.exe/
552553
AGIDATA.OVLTINE
553554
DFDFAGIDATA.OVL
554555
HMIDET.386dfdf
@@ -692,6 +693,8 @@ irrKlang.fdll
692693
/irrKlang_.dll
693694
/irrKlang_dll
694695
AAntiCheat.Installer.exe
696+
fEAAntiCheat.Installer.exe
697+
EAAntiCheat.Installer.exef
695698
EAAntiCheat.Installer.ex
696699
EAAntiCheat.Installer_exe
697700
something.cfgf
@@ -772,9 +775,9 @@ GDCpp_dll
772775
GGDCpp.dll
773776
fNadeo.ini
774777
Nadeof
775-
Nadeo.f
778+
Nadeo.f
776779
Nadeo.init
777-
/Nadeo.ini
780+
/Nadeo.ini
778781
data.podf
779782
sub/dir/data.podf
780783
something.rimf
@@ -1050,6 +1053,8 @@ Squall_dll
10501053
Squall.dl
10511054
quall.dll
10521055
.iwdd
1056+
data/FILELIST@BIN
1057+
10531058
.fff
10541059
.xpakk
10551060
fgame.unx
@@ -1176,6 +1181,8 @@ angle/libEGLMarmalade_dll
11761181
angle/libGLESv2Marmalade_dll
11771182
angle/libEGL_Marmalade.dll
11781183
angle/libGLESv2_Marmalade.dll
1184+
angle/libGLESv2_Marmalade.dllf
1185+
fangle/libGLESv2_Marmalade.dll
11791186
particle_ring_wave_curl.vtf
11801187
particle_ring_wave_curl
11811188
corl.dll

0 commit comments

Comments
 (0)