|  | @@ -272,8 +272,8 @@ public class GameUty
 | 
	
		
			
				|  |  |  		int check_ver_no = 3;
 | 
	
		
			
				|  |  |  		Func<string, bool> AddFolderOrArchive = delegate(string name)
 | 
	
		
			
				|  |  |  		{
 | 
	
		
			
				|  |  | -			bool flag3 = GameUty.m_FileSystem.AddArchive(gameDataPath + "\\" + name + ".arc");
 | 
	
		
			
				|  |  | -			if (flag3)
 | 
	
		
			
				|  |  | +			bool flag4 = GameUty.m_FileSystem.AddArchive(gameDataPath + "\\" + name + ".arc");
 | 
	
		
			
				|  |  | +			if (flag4)
 | 
	
		
			
				|  |  |  			{
 | 
	
		
			
				|  |  |  				Debug.Log(string.Concat(new string[]
 | 
	
		
			
				|  |  |  				{
 | 
	
	
		
			
				|  | @@ -284,61 +284,61 @@ public class GameUty
 | 
	
		
			
				|  |  |  					".arc]を読み込みました"
 | 
	
		
			
				|  |  |  				}));
 | 
	
		
			
				|  |  |  			}
 | 
	
		
			
				|  |  | -			if (flag3)
 | 
	
		
			
				|  |  | +			if (flag4)
 | 
	
		
			
				|  |  |  			{
 | 
	
		
			
				|  |  |  				GameUty.loadArchiveList.Add(name.ToLower());
 | 
	
		
			
				|  |  |  			}
 | 
	
		
			
				|  |  | -			return flag3;
 | 
	
		
			
				|  |  | +			return flag4;
 | 
	
		
			
				|  |  |  		};
 | 
	
		
			
				|  |  |  		HashSet<string> addedLegacyArchives = new HashSet<string>();
 | 
	
		
			
				|  |  |  		Action<string> action = delegate(string name)
 | 
	
		
			
				|  |  |  		{
 | 
	
		
			
				|  |  | -			foreach (string text30 in GameUty.PathList)
 | 
	
		
			
				|  |  | +			foreach (string text32 in GameUty.PathList)
 | 
	
		
			
				|  |  |  			{
 | 
	
		
			
				|  |  | -				string text31 = name + "_" + text30;
 | 
	
		
			
				|  |  | -				bool flag3 = AddFolderOrArchive(text31);
 | 
	
		
			
				|  |  | -				if (flag3 && !addedLegacyArchives.Contains(text31))
 | 
	
		
			
				|  |  | +				string text33 = name + "_" + text32;
 | 
	
		
			
				|  |  | +				bool flag4 = AddFolderOrArchive(text33);
 | 
	
		
			
				|  |  | +				if (flag4 && !addedLegacyArchives.Contains(text33))
 | 
	
		
			
				|  |  |  				{
 | 
	
		
			
				|  |  | -					addedLegacyArchives.Add(text31);
 | 
	
		
			
				|  |  | +					addedLegacyArchives.Add(text33);
 | 
	
		
			
				|  |  |  				}
 | 
	
		
			
				|  |  | -				if (flag3)
 | 
	
		
			
				|  |  | +				if (flag4)
 | 
	
		
			
				|  |  |  				{
 | 
	
		
			
				|  |  |  					if (name == "csv")
 | 
	
		
			
				|  |  |  					{
 | 
	
		
			
				|  |  | -						GameUty.ExistCsvPathList.Add(text30);
 | 
	
		
			
				|  |  | +						GameUty.ExistCsvPathList.Add(text32);
 | 
	
		
			
				|  |  |  					}
 | 
	
		
			
				|  |  | -					for (int num13 = 2; num13 <= check_ver_no; num13++)
 | 
	
		
			
				|  |  | +					for (int num15 = 2; num15 <= check_ver_no; num15++)
 | 
	
		
			
				|  |  |  					{
 | 
	
		
			
				|  |  | -						AddFolderOrArchive(text31 + "_" + num13);
 | 
	
		
			
				|  |  | +						AddFolderOrArchive(text33 + "_" + num15);
 | 
	
		
			
				|  |  |  					}
 | 
	
		
			
				|  |  |  				}
 | 
	
		
			
				|  |  |  			}
 | 
	
		
			
				|  |  |  		};
 | 
	
		
			
				|  |  |  		Action<string> action2 = delegate(string name)
 | 
	
		
			
				|  |  |  		{
 | 
	
		
			
				|  |  | -			foreach (string text30 in GameUty.PathList)
 | 
	
		
			
				|  |  | +			foreach (string text32 in GameUty.PathList)
 | 
	
		
			
				|  |  |  			{
 | 
	
		
			
				|  |  | -				string text31 = name + "_" + text30;
 | 
	
		
			
				|  |  | -				bool flag3 = AddFolderOrArchive(text31);
 | 
	
		
			
				|  |  | -				if (!flag3 && addedLegacyArchives.Contains(text31))
 | 
	
		
			
				|  |  | +				string text33 = name + "_" + text32;
 | 
	
		
			
				|  |  | +				bool flag4 = AddFolderOrArchive(text33);
 | 
	
		
			
				|  |  | +				if (!flag4 && addedLegacyArchives.Contains(text33))
 | 
	
		
			
				|  |  |  				{
 | 
	
		
			
				|  |  | -					flag3 = true;
 | 
	
		
			
				|  |  | +					flag4 = true;
 | 
	
		
			
				|  |  |  				}
 | 
	
		
			
				|  |  | -				if (flag3)
 | 
	
		
			
				|  |  | +				if (flag4)
 | 
	
		
			
				|  |  |  				{
 | 
	
		
			
				|  |  |  					if (name == "csv")
 | 
	
		
			
				|  |  |  					{
 | 
	
		
			
				|  |  | -						GameUty.ExistCsvPathList.Add(text30);
 | 
	
		
			
				|  |  | +						GameUty.ExistCsvPathList.Add(text32);
 | 
	
		
			
				|  |  |  					}
 | 
	
		
			
				|  |  | -					for (int num13 = 2; num13 <= check_ver_no; num13++)
 | 
	
		
			
				|  |  | +					for (int num15 = 2; num15 <= check_ver_no; num15++)
 | 
	
		
			
				|  |  |  					{
 | 
	
		
			
				|  |  |  						AddFolderOrArchive(string.Concat(new object[]
 | 
	
		
			
				|  |  |  						{
 | 
	
		
			
				|  |  |  							name,
 | 
	
		
			
				|  |  |  							"_",
 | 
	
		
			
				|  |  | -							text30,
 | 
	
		
			
				|  |  | +							text32,
 | 
	
		
			
				|  |  |  							"_",
 | 
	
		
			
				|  |  | -							num13
 | 
	
		
			
				|  |  | +							num15
 | 
	
		
			
				|  |  |  						}));
 | 
	
		
			
				|  |  |  					}
 | 
	
		
			
				|  |  |  				}
 | 
	
	
		
			
				|  | @@ -346,23 +346,23 @@ public class GameUty
 | 
	
		
			
				|  |  |  		};
 | 
	
		
			
				|  |  |  		Action<string> action3 = delegate(string name)
 | 
	
		
			
				|  |  |  		{
 | 
	
		
			
				|  |  | -			foreach (string text30 in GameUty.PathList)
 | 
	
		
			
				|  |  | +			foreach (string text32 in GameUty.PathList)
 | 
	
		
			
				|  |  |  			{
 | 
	
		
			
				|  |  | -				if (AddFolderOrArchive(name + "_" + text30))
 | 
	
		
			
				|  |  | +				if (AddFolderOrArchive(name + "_" + text32))
 | 
	
		
			
				|  |  |  				{
 | 
	
		
			
				|  |  |  					if (name == "csv")
 | 
	
		
			
				|  |  |  					{
 | 
	
		
			
				|  |  | -						GameUty.ExistCsvPathList.Add(text30);
 | 
	
		
			
				|  |  | +						GameUty.ExistCsvPathList.Add(text32);
 | 
	
		
			
				|  |  |  					}
 | 
	
		
			
				|  |  | -					for (int num13 = 2; num13 <= check_ver_no; num13++)
 | 
	
		
			
				|  |  | +					for (int num15 = 2; num15 <= check_ver_no; num15++)
 | 
	
		
			
				|  |  |  					{
 | 
	
		
			
				|  |  |  						AddFolderOrArchive(string.Concat(new object[]
 | 
	
		
			
				|  |  |  						{
 | 
	
		
			
				|  |  |  							name,
 | 
	
		
			
				|  |  |  							"_",
 | 
	
		
			
				|  |  | -							text30,
 | 
	
		
			
				|  |  | +							text32,
 | 
	
		
			
				|  |  |  							"_",
 | 
	
		
			
				|  |  | -							num13
 | 
	
		
			
				|  |  | +							num15
 | 
	
		
			
				|  |  |  						}));
 | 
	
		
			
				|  |  |  					}
 | 
	
		
			
				|  |  |  				}
 | 
	
	
		
			
				|  | @@ -710,9 +710,57 @@ public class GameUty
 | 
	
		
			
				|  |  |  			NDebug.Assert(AddFolderOrArchive(text27), str + text27);
 | 
	
		
			
				|  |  |  			foreach (string text28 in GameUty.PathList)
 | 
	
		
			
				|  |  |  			{
 | 
	
		
			
				|  |  | +				if (Product.isJapan && !Product.isPublic)
 | 
	
		
			
				|  |  | +				{
 | 
	
		
			
				|  |  | +					string text29 = "parts_cw005cloth4.arc";
 | 
	
		
			
				|  |  | +					string path = "parts_cw005cloth4_2.arc";
 | 
	
		
			
				|  |  | +					if (string.Equals(text27 + "_" + text28, Path.GetFileNameWithoutExtension(text29), StringComparison.OrdinalIgnoreCase))
 | 
	
		
			
				|  |  | +					{
 | 
	
		
			
				|  |  | +						string text30 = Path.Combine(UTY.gameDataPath, text29);
 | 
	
		
			
				|  |  | +						if (File.Exists(text30) && File.Exists(Path.Combine(UTY.gameDataPath, path)))
 | 
	
		
			
				|  |  | +						{
 | 
	
		
			
				|  |  | +							byte[] bytes = Resources.Load<TextAsset>(Path.Combine("System", text29)).bytes;
 | 
	
		
			
				|  |  | +							if (new FileInfo(text30).Length > (long)bytes.Length)
 | 
	
		
			
				|  |  | +							{
 | 
	
		
			
				|  |  | +								FileSystemArchive fileSystemArchive = new FileSystemArchive();
 | 
	
		
			
				|  |  | +								fileSystemArchive.SetBaseDirectory(text);
 | 
	
		
			
				|  |  | +								fileSystemArchive.AddArchive(Path.Combine(gameDataPath, text29));
 | 
	
		
			
				|  |  | +								fileSystemArchive.AddArchive(Path.Combine(gameDataPath, path));
 | 
	
		
			
				|  |  | +								fileSystemArchive.Dispose();
 | 
	
		
			
				|  |  | +								bool flag3 = true;
 | 
	
		
			
				|  |  | +								using (FileStream fileStream = File.OpenRead(Path.Combine(UTY.gameDataPath, path)))
 | 
	
		
			
				|  |  | +								{
 | 
	
		
			
				|  |  | +									using (BinaryReader binaryReader = new BinaryReader(fileStream))
 | 
	
		
			
				|  |  | +									{
 | 
	
		
			
				|  |  | +										foreach (int num10 in new int[]
 | 
	
		
			
				|  |  | +										{
 | 
	
		
			
				|  |  | +											119,
 | 
	
		
			
				|  |  | +											97,
 | 
	
		
			
				|  |  | +											114,
 | 
	
		
			
				|  |  | +											99
 | 
	
		
			
				|  |  | +										})
 | 
	
		
			
				|  |  | +										{
 | 
	
		
			
				|  |  | +											byte b = binaryReader.ReadByte();
 | 
	
		
			
				|  |  | +											if ((int)b != num10)
 | 
	
		
			
				|  |  | +											{
 | 
	
		
			
				|  |  | +												flag3 = false;
 | 
	
		
			
				|  |  | +												break;
 | 
	
		
			
				|  |  | +											}
 | 
	
		
			
				|  |  | +										}
 | 
	
		
			
				|  |  | +									}
 | 
	
		
			
				|  |  | +								}
 | 
	
		
			
				|  |  | +								if (flag3)
 | 
	
		
			
				|  |  | +								{
 | 
	
		
			
				|  |  | +									File.Delete(text30);
 | 
	
		
			
				|  |  | +									File.WriteAllBytes(text30, bytes);
 | 
	
		
			
				|  |  | +								}
 | 
	
		
			
				|  |  | +							}
 | 
	
		
			
				|  |  | +						}
 | 
	
		
			
				|  |  | +					}
 | 
	
		
			
				|  |  | +				}
 | 
	
		
			
				|  |  |  				if (AddFolderOrArchive(text27 + "_" + text28))
 | 
	
		
			
				|  |  |  				{
 | 
	
		
			
				|  |  | -					for (int num9 = 2; num9 <= check_ver_no; num9++)
 | 
	
		
			
				|  |  | +					for (int num11 = 2; num11 <= check_ver_no; num11++)
 | 
	
		
			
				|  |  |  					{
 | 
	
		
			
				|  |  |  						AddFolderOrArchive(string.Concat(new object[]
 | 
	
		
			
				|  |  |  						{
 | 
	
	
		
			
				|  | @@ -720,7 +768,7 @@ public class GameUty
 | 
	
		
			
				|  |  |  							"_",
 | 
	
		
			
				|  |  |  							text28,
 | 
	
		
			
				|  |  |  							"_",
 | 
	
		
			
				|  |  | -							num9
 | 
	
		
			
				|  |  | +							num11
 | 
	
		
			
				|  |  |  						}));
 | 
	
		
			
				|  |  |  					}
 | 
	
		
			
				|  |  |  				}
 | 
	
	
		
			
				|  | @@ -743,9 +791,9 @@ public class GameUty
 | 
	
		
			
				|  |  |  		string[] list = GameUty.m_FileSystem.GetList("bg", AFileSystemBase.ListType.AllFile);
 | 
	
		
			
				|  |  |  		if (list != null && 0 < list.Length)
 | 
	
		
			
				|  |  |  		{
 | 
	
		
			
				|  |  | -			foreach (string path in list)
 | 
	
		
			
				|  |  | +			foreach (string path2 in list)
 | 
	
		
			
				|  |  |  			{
 | 
	
		
			
				|  |  | -				string fileName = Path.GetFileName(path);
 | 
	
		
			
				|  |  | +				string fileName = Path.GetFileName(path2);
 | 
	
		
			
				|  |  |  				if (!(Path.GetExtension(fileName) != ".asset_bg") && !GameUty.BgFiles.ContainsKey(fileName))
 | 
	
		
			
				|  |  |  				{
 | 
	
		
			
				|  |  |  					GameUty.BgFiles.Add(fileName, GameUty.m_FileSystem);
 | 
	
	
		
			
				|  | @@ -757,9 +805,9 @@ public class GameUty
 | 
	
		
			
				|  |  |  			list = GameUty.m_FileSystem.GetList("language", AFileSystemBase.ListType.AllFile);
 | 
	
		
			
				|  |  |  			if (list != null && 0 < list.Length)
 | 
	
		
			
				|  |  |  			{
 | 
	
		
			
				|  |  | -				foreach (string path2 in list)
 | 
	
		
			
				|  |  | +				foreach (string path3 in list)
 | 
	
		
			
				|  |  |  				{
 | 
	
		
			
				|  |  | -					string fileName2 = Path.GetFileName(path2);
 | 
	
		
			
				|  |  | +					string fileName2 = Path.GetFileName(path3);
 | 
	
		
			
				|  |  |  					if (!(Path.GetExtension(fileName2) != ".asset_language"))
 | 
	
		
			
				|  |  |  					{
 | 
	
		
			
				|  |  |  						using (AFileBase afileBase = GameUty.m_FileSystem.FileOpen(fileName2))
 | 
	
	
		
			
				|  | @@ -787,11 +835,11 @@ public class GameUty
 | 
	
		
			
				|  |  |  			GameUty.m_ModFileSystem.SetBaseDirectory(text);
 | 
	
		
			
				|  |  |  			GameUty.m_ModFileSystem.AddFolder("Mod");
 | 
	
		
			
				|  |  |  			string[] list2 = GameUty.m_ModFileSystem.GetList(string.Empty, AFileSystemBase.ListType.AllFolder);
 | 
	
		
			
				|  |  | -			foreach (string text29 in list2)
 | 
	
		
			
				|  |  | +			foreach (string text31 in list2)
 | 
	
		
			
				|  |  |  			{
 | 
	
		
			
				|  |  | -				if (!GameUty.m_ModFileSystem.AddAutoPath(text29))
 | 
	
		
			
				|  |  | +				if (!GameUty.m_ModFileSystem.AddAutoPath(text31))
 | 
	
		
			
				|  |  |  				{
 | 
	
		
			
				|  |  | -					Debug.Log("m_ModFileSystemのAddAutoPathには既に " + text29 + " がありました。");
 | 
	
		
			
				|  |  | +					Debug.Log("m_ModFileSystemのAddAutoPathには既に " + text31 + " がありました。");
 | 
	
		
			
				|  |  |  				}
 | 
	
		
			
				|  |  |  			}
 | 
	
		
			
				|  |  |  		}
 | 
	
	
		
			
				|  | @@ -1378,14 +1426,14 @@ public class GameUty
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  	public static string GetBuildVersionText()
 | 
	
		
			
				|  |  |  	{
 | 
	
		
			
				|  |  | -		int num = 1480;
 | 
	
		
			
				|  |  | +		int num = 1510;
 | 
	
		
			
				|  |  |  		return (num >= 1000) ? ((float)num / 1000f).ToString("F2") : ((float)num / 100f).ToString("F2");
 | 
	
		
			
				|  |  |  	}
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  	public static string GetGameVersionText()
 | 
	
		
			
				|  |  |  	{
 | 
	
		
			
				|  |  |  		string text = "COM3D2x64.exe";
 | 
	
		
			
				|  |  | -		int num = 1480;
 | 
	
		
			
				|  |  | +		int num = 1510;
 | 
	
		
			
				|  |  |  		string path = UTY.gameProjectPath + "\\update.lst";
 | 
	
		
			
				|  |  |  		string[] array = new string[0];
 | 
	
		
			
				|  |  |  		if (File.Exists(path))
 |