New KCL preset UI with json files to configure them.
This commit is contained in:
parent
1fcb0d2c3c
commit
31c48c66fb
@ -59,6 +59,14 @@ namespace FirstPlugin
|
||||
ContextMenuStrip.Items.Add(EndiannessToolstrip);
|
||||
CanSave = true;
|
||||
IFileInfo = new IFileInfo();
|
||||
|
||||
string path = Path.Combine(Runtime.ExecutableDir, "KclMaterialPresets");
|
||||
if (!Directory.Exists(path))
|
||||
Directory.CreateDirectory(path);
|
||||
|
||||
MarioKart.MK7.KCL.CollisionPresets.Clear();
|
||||
MarioKart.MK7.KCL.LoadPresets(Directory.GetFiles(path));
|
||||
MarioKart.MK7.KCL.LoadDefaultPresets();
|
||||
}
|
||||
|
||||
private void OpenMaterialEditor(object sender, EventArgs args)
|
||||
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user