Projections
Created
April 27, 2017 22:08
-
-
Save derofim/02e3749fa5dc1c7150bb699b84ebde0c to your computer and use it in GitHub Desktop.
Rain World
Author
protected string[] GetProgLines()
{
if (File.Exists(this.saveFilePath))
{
string text = File.ReadAllText(this.saveFilePath);
string b = text.Substring(0, 32);
text = text.Substring(32, text.Length - 32);
if (Custom.Md5Sum(text) == b)
{
Debug.Log("Checksum CORRECT!");
}
else
{
Debug.Log("Checksum WRONG!");
this.gameTinkeredWith = true;
}
return Regex.Split(text, "<progDivA>");
}
return new string[0];
}
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.