예제 #1
0
 public void Import()
 {
     stringTable.Import(Filename);
     foreach (string name in stringTable.Strings)
     {
         Add(name);
     }
 }
예제 #2
0
        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);
        }