public void Import() { stringTable.Import(Filename); foreach (string name in stringTable.Strings) { Add(name); } }
static void BuildFile() { var database = new ParamDB(); Directory.SetCurrentDirectory("Data"); IDStrings.Import(); Strings.Import("Strings"); UnicodeStrings.Import("UnicodeStrings"); ColourStrings.Import("ColourStrings"); database.ImportData(); Directory.CreateDirectory("..\\Output"); Directory.SetCurrentDirectory("..\\Output"); database.WriteData(); IDStrings.Write(); Strings.Write("paramstr_eu.db", false); UnicodeStrings.Write("paramunistr_eu.db", true); ColourStrings.Write("carcolor.sdb", true); }