Commit 3ee6435f authored by nanahira's avatar nanahira

version

parent 96907a28
Pipeline #3151 passed with stages
in 32 minutes and 22 seconds
...@@ -338,7 +338,7 @@ public class Program : MonoBehaviour ...@@ -338,7 +338,7 @@ public class Program : MonoBehaviour
#elif UNITY_IPHONE //iPhone #elif UNITY_IPHONE //iPhone
string GamePaths = Application.persistentDataPath + "/ygopro2/"; string GamePaths = Application.persistentDataPath + "/ygopro2/";
if (!File.Exists(GamePaths + "updates/version-1.035.2-UNFly.txt")) if (!File.Exists(GamePaths + "updates/version-1.035.2-Nekoyuki.txt"))
{ {
string filePath = Application.streamingAssetsPath + "/ygopro2-data.zip"; string filePath = Application.streamingAssetsPath + "/ygopro2-data.zip";
ExtractZipFile(System.IO.File.ReadAllBytes(filePath), GamePaths); ExtractZipFile(System.IO.File.ReadAllBytes(filePath), GamePaths);
...@@ -533,7 +533,7 @@ public class Program : MonoBehaviour ...@@ -533,7 +533,7 @@ public class Program : MonoBehaviour
File.Delete("cdb/strings.conf");*/ File.Delete("cdb/strings.conf");*/
HttpDldFile httpDldFile = new HttpDldFile(); HttpDldFile httpDldFile = new HttpDldFile();
httpDldFile.Download("http://koishipro2dl.my-card.in/cards.cdb", "cdb/_cards.cdb"); httpDldFile.Download("http://koishipro2dl.moestart.com/cards.cdb", "cdb/_cards.cdb");
if(YGOSharp.CardsManager.initialize("cdb/_cards.cdb", true)) { if(YGOSharp.CardsManager.initialize("cdb/_cards.cdb", true)) {
ReplaceFile("cdb/cards.cdb", "cdb/_cards.cdb"); ReplaceFile("cdb/cards.cdb", "cdb/_cards.cdb");
} }
...@@ -541,7 +541,7 @@ public class Program : MonoBehaviour ...@@ -541,7 +541,7 @@ public class Program : MonoBehaviour
{ {
PrintToChat(InterString.Get("卡片数据库更新失败。")); PrintToChat(InterString.Get("卡片数据库更新失败。"));
} }
httpDldFile.Download("http://koishipro2dl.my-card.in/lflist.conf", "cdb/_lflist.conf"); httpDldFile.Download("http://koishipro2dl.moestart.com/lflist.conf", "cdb/_lflist.conf");
if(YGOSharp.BanlistManager.initialize("cdb/_lflist.conf", true)) { if(YGOSharp.BanlistManager.initialize("cdb/_lflist.conf", true)) {
ReplaceFile("cdb/lflist.conf","cdb/_lflist.conf"); ReplaceFile("cdb/lflist.conf","cdb/_lflist.conf");
} }
...@@ -549,7 +549,7 @@ public class Program : MonoBehaviour ...@@ -549,7 +549,7 @@ public class Program : MonoBehaviour
{ {
PrintToChat(InterString.Get("禁止/限制卡表文件更新失败。")); PrintToChat(InterString.Get("禁止/限制卡表文件更新失败。"));
} }
httpDldFile.Download("http://koishipro2dl.my-card.in/strings.conf", "cdb/_strings.conf"); httpDldFile.Download("http://koishipro2dl.moestart.com/strings.conf", "cdb/_strings.conf");
if(GameStringManager.initialize("cdb/_strings.conf", true)) { if(GameStringManager.initialize("cdb/_strings.conf", true)) {
ReplaceFile("cdb/strings.conf","cdb/_strings.conf"); ReplaceFile("cdb/strings.conf","cdb/_strings.conf");
} }
...@@ -1116,7 +1116,7 @@ public class Program : MonoBehaviour ...@@ -1116,7 +1116,7 @@ public class Program : MonoBehaviour
string FPS = m_FPS.ToString(); string FPS = m_FPS.ToString();
try { FPS = FPS.Substring(0, 5); } catch{} try { FPS = FPS.Substring(0, 5); } catch{}
GUI.Label(new Rect(10, 5, 200, 200), "[Ver 1.035.2-UNFly] " + "FPS: " + FPS); GUI.Label(new Rect(10, 5, 200, 200), "[Ver 1.035.2-Nekoyuki] " + "FPS: " + FPS);
} }
void Update() void Update()
......
...@@ -818,7 +818,7 @@ public class GameTextureManager ...@@ -818,7 +818,7 @@ public class GameTextureManager
if (!File.Exists(path) && pic.code != 0 && AutoPicDownload) if (!File.Exists(path) && pic.code != 0 && AutoPicDownload)
{ {
//YGOMobile (177x254) //YGOMobile (177x254)
df.Download("http://n.my-card.in/images/ygopro-images-zh-CN/" + pic.code.ToString() + ".jpg", "picture/card/" + pic.code.ToString() + ".jpg"); df.Download("http://cdn01.moestart.com/images/ygopro-images-zh-CN/" + pic.code.ToString() + ".jpg", "picture/card/" + pic.code.ToString() + ".jpg");
path = "picture/card/" + pic.code.ToString() + ".jpg"; path = "picture/card/" + pic.code.ToString() + ".jpg";
} }
/*if (!File.Exists(path) && pic.code != 0 && AutoPicDownload) /*if (!File.Exists(path) && pic.code != 0 && AutoPicDownload)
......
...@@ -123,7 +123,7 @@ PlayerSettings: ...@@ -123,7 +123,7 @@ PlayerSettings:
16:10: 1 16:10: 1
16:9: 1 16:9: 1
Others: 1 Others: 1
bundleVersion: 1.035.2-UNFly bundleVersion: 1.035.2-Nekoyuki
preloadedAssets: [] preloadedAssets: []
metroInputSource: 0 metroInputSource: 0
m_HolographicPauseOnTrackingLoss: 1 m_HolographicPauseOnTrackingLoss: 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment