diff --git a/KataGo/OpenCL.dll b/KataGo/OpenCL.dll index 2c8d65d..ec4db0f 100644 Binary files a/KataGo/OpenCL.dll and b/KataGo/OpenCL.dll differ diff --git a/KataGo/boost_filesystem-vc142-mt-x64-1_72.dll b/KataGo/boost_filesystem-vc142-mt-x64-1_72.dll new file mode 100644 index 0000000..2d6950d Binary files /dev/null and b/KataGo/boost_filesystem-vc142-mt-x64-1_72.dll differ diff --git a/KataGo/katago-bs b/KataGo/katago-bs deleted file mode 100755 index d461551..0000000 Binary files a/KataGo/katago-bs and /dev/null differ diff --git a/KataGo/katago-bs.exe b/KataGo/katago-bs.exe deleted file mode 100644 index 47557ad..0000000 Binary files a/KataGo/katago-bs.exe and /dev/null differ diff --git a/KataGo/katago.exe b/KataGo/katago.exe index decdb4e..834a12b 100644 Binary files a/KataGo/katago.exe and b/KataGo/katago.exe differ diff --git a/KataGo/libz.dll b/KataGo/libz.dll deleted file mode 100644 index 831fa88..0000000 Binary files a/KataGo/libz.dll and /dev/null differ diff --git a/KataGo/libzip.dll b/KataGo/libzip.dll deleted file mode 100644 index c8bf586..0000000 Binary files a/KataGo/libzip.dll and /dev/null differ diff --git a/KataGo/zlib1.dll b/KataGo/zlib1.dll new file mode 100644 index 0000000..be705d8 Binary files /dev/null and b/KataGo/zlib1.dll differ diff --git a/config.json b/config.json index 9fc88fa..3734b1f 100644 --- a/config.json +++ b/config.json @@ -1,6 +1,6 @@ { "engine": { - "katago": "KataGo/katago-bs", + "katago": "KataGo/katago", "model": "KataGo/models/b15-1.3.2.txt.gz", "config": "KataGo/analysis_config.cfg", "threads": 16, diff --git a/core/sgf_parser.py b/core/sgf_parser.py index a6cd917..390df6c 100644 --- a/core/sgf_parser.py +++ b/core/sgf_parser.py @@ -239,10 +239,10 @@ class SGF: if not encoding: match = re.search(rb"CA\[(.*?)\]", bin_contents) if match: - encoding = match[1].decode("ascii") + encoding = match[1].decode("ascii", errors="ignore") else: encoding = "ISO-8859-1" # default - decoded = bin_contents.decode(encoding=encoding) + decoded = bin_contents.decode(encoding=encoding, errors="ignore") return cls.parse(decoded) def __init__(self, contents):