Пример #1
0
		private static void ProcessCreateXRes(ArrayList files)
		{
			
			if(files.Count <= 0) throw new Exception("No DLL files!");
			string fileName = Path.GetFullPath(InputParser.externalResourceName + "-netz.resources");
			OutDirMan.OutDir = Path.GetDirectoryName(fileName);
			Logger.Log("XR Creating external resource file: " + fileName);
			Logger.Log(string.Empty);
			rm = new ResMan();
			rm.ResourceFilePath = fileName;
			for(int i = 0; i < files.Count; i++)
			{
				InputFile inf = (InputFile)files[i];
				Logger.Log("[" + (i + 1)+ " of " + files.Count + "] XR adding: " + inf.File);
				ProcessXRDllFile(inf);
			}
			rm.Save();
			Logger.Log("Done!");
		}
Пример #2
0
        private static void Proceed(ArrayList files)
        {
            if (files.Count <= 0)
            {
                throw new Exception("E1009 No files");
            }
            long start = DateTime.Now.Ticks;

            OutDirMan.Make();
            InitResMan();
            Logger.Log("Processing      : " + files.Count + " file(s)\r\n");
            ProcessFiles(files);
            rm.Save();
            genData.MakeReadOnly();
            if (InputParser.exeFileSet)
            {
                MakeStarterApp();
            }
            start = DateTime.Now.Ticks - start;
            Logger.Log("\r\nDone [" + ElapsedTime(start) + "]");
        }
Пример #3
0
        private static void ProcessCreateXRes(ArrayList files)
        {
            if (files.Count <= 0)
            {
                throw new Exception("No DLL files!");
            }
            string fileName = Path.GetFullPath(InputParser.externalResourceName + "-netz.resources");

            OutDirMan.OutDir = Path.GetDirectoryName(fileName);
            Logger.Log("XR Creating external resource file: " + fileName);
            Logger.Log(string.Empty);
            rm = new ResMan();
            rm.ResourceFilePath = fileName;
            for (int i = 0; i < files.Count; i++)
            {
                InputFile inf = (InputFile)files[i];
                Logger.Log("[" + (i + 1) + " of " + files.Count + "] XR adding: " + inf.File);
                ProcessXRDllFile(inf);
            }
            rm.Save();
            Logger.Log("Done!");
        }