Well if you really want to edit this game then the most important file that needs to me edited is the VDF file and here is the coding which you guide you if you are able to edit the same. On basis of this coding you need to just edit the saved game:
Code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MagickaSavegameEditor.Steam.VDF
{
public class VDFObj
{
public string Name { get; set; }
public string Value { get; set; }
public List<VDFObj> Children { get; set; }
public VDFObj()
{
Children = new List<VDFObj>();
}
public VDFObj this[string ChildName]
{
get
{
return this.Children.SingleOrDefault(obj => obj.Name.ToLower() == ChildName.ToLower());
}
}
public bool HasChildName(string Name)
{
return Children.Any(obj => obj.Name.ToLower() == Name.ToLower());
}
public override string ToString()
{
StringBuilder s = new StringBuilder();
s.Append(Name);
s.Append(": ");
if (Value != null)
{
s.Append(Value);
}
else
{
s.Append(Children.Count);
s.Append(" children");
}
return s.ToString();
}
}
}
Bookmarks