private object CreateDebugFiles(object parameter)
{
Factory.AGSEditor.SetMODMusicFlag();
CompileMessages errors = (parameter as CompileMessages);
if (!DataFileWriter.SaveThisGameToFile(AGSEditor.COMPILED_DTA_FILE_NAME, Factory.AGSEditor.CurrentGame, errors))
{
return null;
}
Factory.NativeProxy.CreateDebugMiniEXE(new string[] { AGSEditor.COMPILED_DTA_FILE_NAME },
Factory.AGSEditor.BaseGameFileName + ".exe");
File.Delete(AGSEditor.COMPILED_DTA_FILE_NAME);
return null;
}