There is indeed a hash used on the save data and it is (sort of) custom but isn't used on the compressed data. The problem isn't with your code but the DeflateStream class in .NET; the compression classes in every version of .NET don't work very well.
You're better off using the original (native C++) ZLib library and writing a simple class with DllImport functions (via entry points) of the Inflate and Deflate exports or use a third-party .NET implementation of ZLib like ICSharpZipLib











Reply With Quote















