public void FillResourceGroup(Mogre.ResourceGroupManager mngr, IList<string> list, string path, string group) { foreach (string str in list) { string stype = ""; if (str.Substring(0, 3) == "FS:") stype = "FileSystem"; else if (str.Substring(0, 3) == "ZP:") stype = "Zip"; string resPath = str.Remove(0, 3); if (system.IsRelativePath(resPath)) { resPath = resPath.Insert(0, path + "/"); resPath = system.GetFullPath(resPath); } mngr.AddResourceLocation(resPath, stype, group); } }