Refreshing data for games that have recommended or minimum requirements of "OpenGL ES 2.0 hardware driver support required for WebGL acceleration. (AMD Catalyst 10.9, nVidia 358.50)" throws an error notification and are marked unfulfilled.
SystemChecker seems to be struggling to parse this as it correctly identifies games that have this requirement in the same words on Steam but fails to for PCGamingWiki.
To Reproduce
Add "Pax Romana: Romulus"
Refresh data with SystemChecker
Data fetched with errors
Extensions log
31-05 00:03:41.236|INFO |SystemChecker#PluginDatabaseObject`4:RefreshNoLoader(Pax Romana: Romulus - 8b6679d1-7d03-487d-bd0c-e917233fecb1)
31-05 00:03:41.236|INFO |SystemChecker#PluginDatabaseObject`4:Try find with PCGamingWikiRequierements for Pax Romana: Romulus
31-05 00:03:46.703|ERROR|SystemChecker#Common:Error on CheckGpu()|G:\GitHub\Lacro59\playnite-systemchecker-plugin\source\Services\SystemApi.cs|149
System.ArgumentException: parsing "opengl es 2.0 hardware driver support required for webgl acceleration. (amd catalyst 10.9" - Not enough )'s.
at System.Text.RegularExpressions.RegexParser.ScanRegex()
at System.Text.RegularExpressions.RegexParser.Parse(String re, RegexOptions op)
at System.Text.RegularExpressions.Regex..ctor(String pattern, RegexOptions options, TimeSpan matchTimeout, Boolean useCache)
at System.Text.RegularExpressions.Regex.IsMatch(String input, String pattern, RegexOptions options)
at SystemChecker.Services.Gpu.SetCard(String GpuName) in G:\GitHub\Lacro59\playnite-systemchecker-plugin\source\Services\Gpu.cs:line 291
at SystemChecker.Services.Gpu..ctor(SystemConfiguration systemConfiguration, String GpuRequierement) in G:\GitHub\Lacro59\playnite-systemchecker-plugin\source\Services\Gpu.cs:line 80
at SystemChecker.Services.SystemApi.CheckGpu(SystemConfiguration systemConfiguration, List`1 requierementGpu) in G:\GitHub\Lacro59\playnite-systemchecker-plugin\source\Services\SystemApi.cs:line 149
Bug Description
Refreshing data for games that have recommended or minimum requirements of "OpenGL ES 2.0 hardware driver support required for WebGL acceleration. (AMD Catalyst 10.9, nVidia 358.50)" throws an error notification and are marked unfulfilled.
SystemChecker seems to be struggling to parse this as it correctly identifies games that have this requirement in the same words on Steam but fails to for PCGamingWiki.
To Reproduce
Extensions log
Screenshots
Pax Romana: Romulus![image](https://github.com/Lacro59/playnite-systemchecker-plugin/assets/171299814/8f2c3592-973d-4cc2-b5d7-6c7d2fb7412a)
Arkhe![image](https://github.com/Lacro59/playnite-systemchecker-plugin/assets/171299814/4965352e-25c1-4c53-b7d8-a8d7d7838919)