Last month @Qiu233 told me that the source code we decompiled long time ago was broken, some AI code were not successfully decompiled.
It looks weird and the error message shows that the tool used is dnSpy. So I start a new decompilation August 1st with latest dnSpy 5.0.0 and try if it really crash.
Actually all code were decompiled successfully, but it contains tons of errors. This version of dnSpy generates thousands of "ref assignment" like this:
Code:
ref var ptr = ref array[2];
ptr += 2;
It is easy if you know what it is doing.
With the help of Notepad++ and its batch RegEx replace in folder, fix all compile errors takes around four hours, and a quarter more for minor fixes after compile success.
But the problem is, I must have at least 15 posts to include a link in my post. I'm not sure if I can upload code without virus scan links.
Does anyone still want it? If so, I'll upload it later when I've reach that limitation.