From 2c7501998ee224da96ed9adb862723e9502f75bd Mon Sep 17 00:00:00 2001 From: ZouJin Date: Fri, 20 Oct 2023 15:23:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=8C=89=E7=9B=AE=E5=BD=95?= =?UTF-8?q?=E8=AF=BB=E5=8F=96=E5=8C=85=E6=8B=AC=E7=82=B9=E7=AC=A6=E5=8F=B7?= =?UTF-8?q?=E7=9A=84=E7=9B=AE=E5=BD=95=E6=97=B6=E8=AF=BB=E5=8F=96=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- VPet-Simulator.Core/Graph/GraphInfo.cs | 10 ++++++++-- .../Gift/Nomal/新建文件夹/2_012_1125.png | Bin 2231 -> 0 bytes .../vup/Gift/Nomal/新建文件夹/_000_250.png | Bin 2231 -> 0 bytes .../vup/Gift/Nomal/新建文件夹/_001_125.png | Bin 2821 -> 0 bytes .../vup/Gift/Nomal/新建文件夹/_002_125.png | Bin 2850 -> 0 bytes .../vup/Gift/Nomal/新建文件夹/_003_125.png | Bin 2854 -> 0 bytes .../vup/Gift/Nomal/新建文件夹/_004_125.png | Bin 2867 -> 0 bytes .../vup/Gift/Nomal/新建文件夹/_005_875.png | Bin 2872 -> 0 bytes .../vup/Gift/Nomal/新建文件夹/_006_125.png | Bin 2843 -> 0 bytes .../vup/Gift/Nomal/新建文件夹/_007_125.png | Bin 2877 -> 0 bytes .../vup/Gift/Nomal/新建文件夹/_008_125.png | Bin 2875 -> 0 bytes .../vup/Gift/Nomal/新建文件夹/_009_125.png | Bin 2836 -> 0 bytes .../vup/Gift/Nomal/新建文件夹/_010_125.png | Bin 2843 -> 0 bytes .../vup/Gift/Nomal/新建文件夹/_011_500.png | Bin 2872 -> 0 bytes 14 files changed, 8 insertions(+), 2 deletions(-) delete mode 100644 VPet-Simulator.Windows/mod/0000_core/pet/vup/Gift/Nomal/新建文件夹/2_012_1125.png delete mode 100644 VPet-Simulator.Windows/mod/0000_core/pet/vup/Gift/Nomal/新建文件夹/_000_250.png delete mode 100644 VPet-Simulator.Windows/mod/0000_core/pet/vup/Gift/Nomal/新建文件夹/_001_125.png delete mode 100644 VPet-Simulator.Windows/mod/0000_core/pet/vup/Gift/Nomal/新建文件夹/_002_125.png delete mode 100644 VPet-Simulator.Windows/mod/0000_core/pet/vup/Gift/Nomal/新建文件夹/_003_125.png delete mode 100644 VPet-Simulator.Windows/mod/0000_core/pet/vup/Gift/Nomal/新建文件夹/_004_125.png delete mode 100644 VPet-Simulator.Windows/mod/0000_core/pet/vup/Gift/Nomal/新建文件夹/_005_875.png delete mode 100644 VPet-Simulator.Windows/mod/0000_core/pet/vup/Gift/Nomal/新建文件夹/_006_125.png delete mode 100644 VPet-Simulator.Windows/mod/0000_core/pet/vup/Gift/Nomal/新建文件夹/_007_125.png delete mode 100644 VPet-Simulator.Windows/mod/0000_core/pet/vup/Gift/Nomal/新建文件夹/_008_125.png delete mode 100644 VPet-Simulator.Windows/mod/0000_core/pet/vup/Gift/Nomal/新建文件夹/_009_125.png delete mode 100644 VPet-Simulator.Windows/mod/0000_core/pet/vup/Gift/Nomal/新建文件夹/_010_125.png delete mode 100644 VPet-Simulator.Windows/mod/0000_core/pet/vup/Gift/Nomal/新建文件夹/_011_500.png 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 9b5f51d12248aff2345feabe6c76ffa82c58b844..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2231 zcmeAS@N?(olHy`uVBq!ia0y~yVEh8Y9Be?5)7S2I0V&P`kH}&m%?QT+sz}Gr?E3M#L6)+lvOe?+<3~!kT88z wU^F~Nlf!6k7%dD&%fivRVYF%_vSm;^r~RcjXHMP|VC#dy)78&qol`;+0BI{`N&o-= 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 9b5f51d12248aff2345feabe6c76ffa82c58b844..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2231 zcmeAS@N?(olHy`uVBq!ia0y~yVEh8Y9Be?5)7S2I0V&P`kH}&m%?QT+sz}Gr?E3M#L6)+lvOe?+<3~!kT88z wU^F~Nlf!6k7%dD&%fivRVYF%_vSm;^r~RcjXHMP|VC#dy)78&qol`;+0BI{`N&o-= 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 5f94d888445876c67039caf41753d7aec6db19cf..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2821 zcmeAS@N?(olHy`uVBq!ia0y~yVEh8Y9Be?5)7S2I0V&P`kH}&m%?QT+sz3^HfP>Lzi3dj!8P{YAUWA zjh*`&THk&U`EFSgUij7gxvt!~%l!6#KCm#{(dB1gD63>(*l?Pep&?d|f#J<328M*` z>xqYIwZu-m0&!UVeRj{rs)|{10!p-+yM#$YZr< z>+u=;e>`aBuls$k`u*RJf4|@Vf7kfi@A7+<&-v%q{d(#DdNu=_?7dr$!+$+8d{$ps zRrTxq;r;VA*4x*7yy!0fchf%3gbNSX?ydX#>*(Y1U(1ir`1|?c`tvvL%l-RzQholP zJrH@xl4d^jQ_K&{*zPVk-1&)NN3Wy#i-JWq40*{Hc&+AW@HgC+7*#S-!{zLM-e1rE zOK*LCX2D@aU?7~m9$)|W(cSXE=J2i|8fc=6%dzCWK%F9+qY zbou%}AM@q*Uyip;?>GGaHGO{Vx5@AK{np#hZBt&!aOc_V{Cy{-{XRXOQUCw%_eyq< z;K1cYx@G!Niw3yV9gTp|2%vvmKbq=BYO4FsT9z1XbGN!!2iTTn@O1TaS?83{1ONbH B(!T%z 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 4386af967ae5b0347f5a164746026c44f0a3af74..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2850 zcmeAS@N?(olHy`uVBq!ia0y~yVEh8Y9Be?5)7S2I0V&P`kH}&m%?QT+szILxmA+Mn&sD8q zWWM~2b$<17zk*Nf`yM>4{_*ekdwGV2-A@@A4(RbSFqBm?Fl;!@%+L@k$H4IB69YrS zban=Y-8KviHz-wNpBKNc=A`rk-4o0YT;|)?*ZuhM@$vfm`|JPj=9jnoGj09%FJHdQ ze*XOV{A=4=wkz>B2=Cpq$HvCa?%zWoxW9hi>FU34ug;IN|2qFV)C9?rX1?twf%dW8U2r(}6NAM>NAnj2vuzms zQZDdX-BANtGOA=WTFN5F%zIdAmyfAa8jPAk%d&PfbVoy%%GLL1k{V4?v`vcGI+ZB KxvX!EX_y~`Jcy%$?bW}YdYRG7HO z|J%b&KkRD%{`xA+P_W&Gf#JqeMur1={0t0bl?)6UPBSw!#L6)+y!phykT9K{fnoQk zlA#+e>eZE%KhM5?{rdU$@89q5+q<{++3lJ;Zy(pmm#?`mR98~TFz1b-o4u{Q{r`_I zU%osazpv(}@cn0x^ZI}PeOP$>{?&X=`&~8+e&2o^`t#J#>;JDWKURO(UwP;K_2aVj z>tH6lef#$1$E82}t3>j@?YMtmuH59shq+G~3yhlo)k}WaFJ1EE-zNr(nU3Z!3c7)Y zrCs2)x}(J3Fj=ysnQ!|E<_9TkcNZMi9aS`wg-Pr&D 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 c66817fc20d76f584a1a168aa17767e593ec9547..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2867 zcmeAS@N?(olHy`uVBq!ia0y~yVEh8Y9Be?5)7S2I0V&P`kH}&m%?QT+szt5n8d#Q6tZRdfGM#IaM&M%qNdhgyj64T%=lC<2?^<4t% zy}kbP<9w`SbJhaDIONo_#exKfMCxzx}^|ea)_m zuIT#2U~%>FjQtgVe|^0l50w3Rb#*v@PTZb~k3Zku-d?}*J(qu|9K-Uenwj?XGN0>h ztN-}^xL@)8-Cg~!u@6_CVtx<;H1@oF{51Jjf;C?MzWumb-nv|izadz%q?ynBBv791 z?t;U@Q#(Qp}LiQ(&g$N%ZJP5vhz&-)*AUv%Cop!>eQ zyu4ie{CxZW#~%ySR)5J)yMJ#_<>%|a)_n+h%2==}|Ng$eU;h35ZU5)b=kxVdHIe@& zo_##y|Ifqi{QK8K^3I?7pa1?=-(&C(9IeqtYx>dV&CqDm{pOE|-={MXg3+x7SxF7Mf+ zQC}^&&|W@npWL7NJ%22IMcvolQ(DO|=h@4bFP|p<{J2u?;Pxk9=lA`Jd${&A^8*vM zy9*BY0&VMcG=EXB*oMI``2w%i9Sxva5+%)i=BGxLjE2i#O$_(<*Z+TexShZLn(~in zH9tQ+&8}Vl;o4Kif?4wRb$@=nyu7@AZ_ls#xVTq6_x4tQ|N8OcNBOUN4@FOBKag4X z@6S)GSL^k^Uf+LTa__vypFe+oee++?ece5&qjlA21wC3p5AzE8yM5n^U9b60$;<*a Pe;GVo{an^LB{Ts5n4I!H 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 ec9bd3e4f94ee6fca56f6107d3dc36416454f4f0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2843 zcmeAS@N?(olHy`uVBq!ia0y~yVEh8Y9Be?5)7S2I0V&P`kH}&m%?QT+szk)F-Wn8<)_5qZClR$ z{3_zVza%a;_wMrd_xIZ~GL)ZYW@w0&V_Q|bcqEpGnyN`V3YNm&VGQGXP0C9 z<)@=cM#E*0CWdD7{Cj_@4sh71*W2Cu^8Rb=L(7xQ57^${+xz=^x43>?{m)NN<@xs; z|9t#$+W*=;Fa2RE=G)iT{rd6o@#W?I^M7#vsW>g4A9Y`J-sI8RXSB*4ZHkPz_Sb*r ZxIatYUlBH}1-5V*JYD@<);T3K0RY-9ylnsg 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 4763c02f468a9a2fdb7ea8dc24d9fbe795805251..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2877 zcmeAS@N?(olHy`uVBq!ia0y~yVEh8Y9Be?5)7S2I0V&P`kH}&m%?QT+szFf*)yGNCbhRbMTc*%-~sbtkPE{>`^x$oqKT@c+Yh`MUpi%kTevdUm#X zebVPwS6AED|Nr~F{>RVf^Y^dH=RWT!$6#J5^*LWoPR{P%`Ta9%{ygf|udDj~?d|Db z>psXlVJw)u{QReUf9Efq=N~^kJ^j6$ygaW}4O=C{ohO+W{zvscDE?&fqMuFHt{-S; z(gj|tIa>S;vn5KJ`IetzexSy7cfsM6pBQ#@I-0*IST(9-G+YK*VmSHw`uhDV-9K1X zetdMaeS7}>f9v*X+pvSu_wD@se;)&L)X(+6EFhmV@7SODpiFlE{@&{Ex1qVCn_u3} z=FgAE{qcM2|NlGs__6Zh<>&t#y*y+8j~^c&=fAprsCdF?JvCZ?k2YF{Z%gf+eM!A$ V>)MrD_5j+$jo4ZEK*G91w3XJ9C+WMJ5Enwg;?R*r$;%_jzi zgz4-I47+U@7;cOz84Z`w#DJbjmjC|o@$uo==J|4VH9tOF-Ch1(?#7FMeD@_#4ae|NN7+`j(vS@ZuDGGFgsFK=D0 z!rvhM=f~sz`*t?}^#0V_^!-|XeEP5JUt=F?o@9Q&X8-rg<@v7!YrN#*U%i*xKOH8{ zc6Y(ym!BARG&-8UDA;Agke6_Q*J_R)&@hRTX1?X8fm%nEjE2jgObqwy|Nq_omBUW; z{5;#=-*0cv-@ooXm%pbR!}8yMettgu`uh6+A1q$g*VnB4|Mg=0kGFL{9=7k_TlMwT z`T2IWzhY~nE4)52Slrd$|L4=ydiTBW7=FZ$)>@-g^=MT+ysGMd%oF~quIOuH0XB~r O7(8A5T-G@yGywo*9P57o 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 638490398eb0f64a4814d172567aee7acfc83099..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2836 zcmeAS@N?(olHy`uVBq!ia0y~yVEh8Y9Be?5)7S2I0V&P`kH}&m%?QT+szX%nS{&atsV_J~1#POlN0c*lokW zaAQ=-Xt<0f1~M~=#ogPtZ!e#3Utd>MSNHGBr%#7o?0^69>sQnL+BGJX40GPqp85af z>+9?L>;L`vDIdSDCh^OM4c5x$z4&*}Mtt2VU~* za%`7=!dPI{oOj_N8_?oWC8OaoC=Rq_u(Qi>F&CI z{kpxKt?l2pA3uKFonC+M_@CeX^7j8??u**ZvSIk~|I4>;-`aOE+D#g*wMJ|6(I(8$ dXt#Zr|L&}^tIgP_57@M2@O1TaS?83{1OTtt)YJd~ 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 ec9bd3e4f94ee6fca56f6107d3dc36416454f4f0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2843 zcmeAS@N?(olHy`uVBq!ia0y~yVEh8Y9Be?5)7S2I0V&P`kH}&m%?QT+szk)F-Wn8<)_5qZClR$ z{3_zVza%a;_wMrd_xIZ~GL)ZYW@w0&V_Q|bcqEpGnyN`V3YNm&VGQGXP0C9 z<)@=cM#E*0CWdD7{Cj_@4sh71*W2Cu^8Rb=L(7xQ57^${+xz=^x43>?{m)NN<@xs; z|9t#$+W*=;Fa2RE=G)iT{rd6o@#W?I^M7#vsW>g4A9Y`J-sI8RXSB*4ZHkPz_Sb*r ZxIatYUlBH}1-5V*JYD@<);T3K0RY-9ylnsg 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 8598cd5d079fc653838b40621e7c5c5d9f62fadb..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2872 zcmeAS@N?(olHy`uVBq!ia0y~yVEh8Y9Be?5)7S2I0V&P`kH}&m%?QT+sz|-={MXg3+x7SxF7Mf+ zQC}^&&|W@npWL7NJ%22IMcvolQ(DO|=h@4bFP|p<{J2u?;Pxk9=lA`Jd${&A^8*vM zy9*BY0&VMcG=EXB*oMI``2w%i9Sxva5+%)i=BGxLjE2i#O$_(<*Z+TexShZLn(~in zH9tQ+&8}Vl;o4Kif?4wRb$@=nyu7@AZ_ls#xVTq6_x4tQ|N8OcNBOUN4@FOBKag4X z@6S)GSL^k^Uf+LTa__vypFe+oee++?ece5&qjlA21wC3p5AzE8yM5n^U9b60$;<*a Pe;GVo{an^LB{Ts5n4I!H