How did you found the way to decrypt?
If you open "Assembly-CSharp.dll" with dnSpy (or another .NET disassembler) you can find the decryption code:
public byte load(string in_path)
byte array = File.ReadAllBytes(in_path);
RijndaelManaged rijndaelManaged = new RijndaelManaged();
rijndaelManaged.KeySize = 128;
rijndaelManaged.BlockSize = 128;
string password = "u8DurGE2";
string s = "6BBGizHE";
byte bytes = Encoding.UTF8.GetBytes(s);
Rfc2898DeriveBytes rfc2898DeriveBytes = new Rfc2898DeriveBytes(password, bytes);
rfc2898DeriveBytes.IterationCount = 1000;
rijndaelManaged.Key = rfc2898DeriveBytes.GetBytes(rijndaelManaged.KeySize / 8);
rijndaelManaged.IV = rfc2898DeriveBytes.GetBytes(rijndaelManaged.BlockSize / 8);
ICryptoTransform cryptoTransform = rijndaelManaged.CreateDecryptor();
byte result = cryptoTransform.TransformFinalBlock(array, 0, array.Length);
This works successfully with .bin text files, but it doesn't work with .mdt script files.
Has anyone got any luck with those ones?
.mdt are encrypted in the same way, but then you have to substract 128 from every text character to get the real character. The problem is that .mdt files contains the game scripts, so I'm still looking for a way to extract just the texts without breaking anything else.