diff --git a/VPet-Simulator.Core/Graph/GraphInfo.cs b/VPet-Simulator.Core/Graph/GraphInfo.cs index 1531c31..dcfc1e4 100644 --- a/VPet-Simulator.Core/Graph/GraphInfo.cs +++ b/VPet-Simulator.Core/Graph/GraphInfo.cs @@ -42,7 +42,12 @@ namespace VPet_Simulator.Core /// 信息 public GraphInfo(FileSystemInfo path, ILine info) { - var pn = Sub.Split(path.FullName.Substring(0, path.FullName.Length - path.Extension.Length).ToLower(), info[(gstr)"startuppath"].ToLower()).Last(); + string pn; + if (path is DirectoryInfo) + pn = Sub.Split(path.FullName.ToLower(), info[(gstr)"startuppath"].ToLower()).Last(); + else + pn = Sub.Split(path.FullName.Substring(0, path.FullName.Length - path.Extension.Length).ToLower(), info[(gstr)"startuppath"].ToLower()).Last(); + var path_name = pn.Replace('\\', '_').Split('_').ToList(); path_name.RemoveAll(string.IsNullOrWhiteSpace); if (!Enum.TryParse(info[(gstr)"mode"], true, out GameSave.ModeType modetype)) @@ -109,7 +114,8 @@ namespace VPet_Simulator.Core else if (path_name.Remove("c") || path_name.Remove("end")) { animatType = AnimatType.C_End; - }else if (path_name.Remove("single")) + } + else if (path_name.Remove("single")) { animatType = AnimatType.Single; } diff --git a/VPet-Simulator.Windows/mod/0000_core/pet/vup/Gift/Nomal/新建文件夹/2_012_1125.png b/VPet-Simulator.Windows/mod/0000_core/pet/vup/Gift/Nomal/新建文件夹/2_012_1125.png deleted file mode 100644 index 9b5f51d..0000000 Binary files a/VPet-Simulator.Windows/mod/0000_core/pet/vup/Gift/Nomal/新建文件夹/2_012_1125.png and /dev/null differ diff --git a/VPet-Simulator.Windows/mod/0000_core/pet/vup/Gift/Nomal/新建文件夹/_000_250.png b/VPet-Simulator.Windows/mod/0000_core/pet/vup/Gift/Nomal/新建文件夹/_000_250.png deleted file mode 100644 index 9b5f51d..0000000 Binary files a/VPet-Simulator.Windows/mod/0000_core/pet/vup/Gift/Nomal/新建文件夹/_000_250.png and /dev/null differ diff --git a/VPet-Simulator.Windows/mod/0000_core/pet/vup/Gift/Nomal/新建文件夹/_001_125.png b/VPet-Simulator.Windows/mod/0000_core/pet/vup/Gift/Nomal/新建文件夹/_001_125.png deleted file mode 100644 index 5f94d88..0000000 Binary files a/VPet-Simulator.Windows/mod/0000_core/pet/vup/Gift/Nomal/新建文件夹/_001_125.png and /dev/null differ diff --git a/VPet-Simulator.Windows/mod/0000_core/pet/vup/Gift/Nomal/新建文件夹/_002_125.png b/VPet-Simulator.Windows/mod/0000_core/pet/vup/Gift/Nomal/新建文件夹/_002_125.png deleted file mode 100644 index 4386af9..0000000 Binary files a/VPet-Simulator.Windows/mod/0000_core/pet/vup/Gift/Nomal/新建文件夹/_002_125.png and /dev/null differ diff --git a/VPet-Simulator.Windows/mod/0000_core/pet/vup/Gift/Nomal/新建文件夹/_003_125.png b/VPet-Simulator.Windows/mod/0000_core/pet/vup/Gift/Nomal/新建文件夹/_003_125.png deleted file mode 100644 index bd167a6..0000000 Binary files a/VPet-Simulator.Windows/mod/0000_core/pet/vup/Gift/Nomal/新建文件夹/_003_125.png and /dev/null differ diff --git a/VPet-Simulator.Windows/mod/0000_core/pet/vup/Gift/Nomal/新建文件夹/_004_125.png b/VPet-Simulator.Windows/mod/0000_core/pet/vup/Gift/Nomal/新建文件夹/_004_125.png deleted file mode 100644 index c66817f..0000000 Binary files a/VPet-Simulator.Windows/mod/0000_core/pet/vup/Gift/Nomal/新建文件夹/_004_125.png and /dev/null differ diff --git a/VPet-Simulator.Windows/mod/0000_core/pet/vup/Gift/Nomal/新建文件夹/_005_875.png b/VPet-Simulator.Windows/mod/0000_core/pet/vup/Gift/Nomal/新建文件夹/_005_875.png deleted file mode 100644 index 8598cd5..0000000 Binary files a/VPet-Simulator.Windows/mod/0000_core/pet/vup/Gift/Nomal/新建文件夹/_005_875.png and /dev/null differ diff --git a/VPet-Simulator.Windows/mod/0000_core/pet/vup/Gift/Nomal/新建文件夹/_006_125.png b/VPet-Simulator.Windows/mod/0000_core/pet/vup/Gift/Nomal/新建文件夹/_006_125.png deleted file mode 100644 index ec9bd3e..0000000 Binary files a/VPet-Simulator.Windows/mod/0000_core/pet/vup/Gift/Nomal/新建文件夹/_006_125.png and /dev/null differ diff --git a/VPet-Simulator.Windows/mod/0000_core/pet/vup/Gift/Nomal/新建文件夹/_007_125.png b/VPet-Simulator.Windows/mod/0000_core/pet/vup/Gift/Nomal/新建文件夹/_007_125.png deleted file mode 100644 index 4763c02..0000000 Binary files a/VPet-Simulator.Windows/mod/0000_core/pet/vup/Gift/Nomal/新建文件夹/_007_125.png and /dev/null differ diff --git a/VPet-Simulator.Windows/mod/0000_core/pet/vup/Gift/Nomal/新建文件夹/_008_125.png b/VPet-Simulator.Windows/mod/0000_core/pet/vup/Gift/Nomal/新建文件夹/_008_125.png deleted file mode 100644 index e530fda..0000000 Binary files a/VPet-Simulator.Windows/mod/0000_core/pet/vup/Gift/Nomal/新建文件夹/_008_125.png and /dev/null differ diff --git a/VPet-Simulator.Windows/mod/0000_core/pet/vup/Gift/Nomal/新建文件夹/_009_125.png b/VPet-Simulator.Windows/mod/0000_core/pet/vup/Gift/Nomal/新建文件夹/_009_125.png deleted file mode 100644 index 6384903..0000000 Binary files a/VPet-Simulator.Windows/mod/0000_core/pet/vup/Gift/Nomal/新建文件夹/_009_125.png and /dev/null differ diff --git a/VPet-Simulator.Windows/mod/0000_core/pet/vup/Gift/Nomal/新建文件夹/_010_125.png b/VPet-Simulator.Windows/mod/0000_core/pet/vup/Gift/Nomal/新建文件夹/_010_125.png deleted file mode 100644 index ec9bd3e..0000000 Binary files a/VPet-Simulator.Windows/mod/0000_core/pet/vup/Gift/Nomal/新建文件夹/_010_125.png and /dev/null differ diff --git a/VPet-Simulator.Windows/mod/0000_core/pet/vup/Gift/Nomal/新建文件夹/_011_500.png b/VPet-Simulator.Windows/mod/0000_core/pet/vup/Gift/Nomal/新建文件夹/_011_500.png deleted file mode 100644 index 8598cd5..0000000 Binary files a/VPet-Simulator.Windows/mod/0000_core/pet/vup/Gift/Nomal/新建文件夹/_011_500.png and /dev/null differ