This commit is contained in:
CroakFang
2023-03-29 16:08:13 +08:00
parent f342c77c60
commit 3714ea45e1
4 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ public class Config
public string MainPathTip = "Path to game folder, eg. D:/Backup/Cygames/umamusume";
public string MainPath = "";
public string WorkModeTip = "Affects how application work, options: 0 - work with game client, 1 - work without game client, Database needs to be updated manually";
public string WorkModeTip = "Affects how application work, options: 0 - work with game client, 1 - work without game client(slow), Database needs to be updated manually";
public WorkMode WorkMode = WorkMode.Default;
+1 -1
View File
@@ -58,7 +58,7 @@ public class ManifestDB
callback?.Invoke("Checking Resource Version", UIMessageType.Default);
yield return UpdateMetaDB();
yield return UpdateMasterDB();
callback?.Invoke(isError ? "Update aborted." : $"Done. Please restart the application.", isError ? UIMessageType.Error : UIMessageType.Success);
callback?.Invoke(isError ? "Update aborted." : $"Done. Please restart the application.\n", isError ? UIMessageType.Error : UIMessageType.Success);
}
//umamusume uses the manifest file to generate meta database.
-1
View File
@@ -31,7 +31,6 @@ public class UmaViewerDownload : MonoBehaviour
public static void DownloadAssetSync(UmaDatabaseEntry entry,string path, Action<string , UIMessageType> callback = null)
{
callback?.Invoke($"Downloading AssetBundle: {Path.GetFileName(entry.Name)}", UIMessageType.Default);
string baseurl = (string.IsNullOrEmpty(Path.GetExtension(entry.Name)) ? GetAssetRequestUrl(entry.Url) : GetGenericRequestUrl(entry.Url));
using UnityWebRequest www = UnityWebRequest.Get(baseurl);
+5
View File
@@ -45,6 +45,11 @@ public class UmaViewerMain : MonoBehaviour
Dictionary<int, string> enNames = new Dictionary<int, string>();
Dictionary<int, string> mobNames = new Dictionary<int, string>();
if(Config.Instance.WorkMode == WorkMode.Standalone)
{
UI.ShowMessage("Initializing...",UIMessageType.Default);
}
//Main chara names (En only)
if (Config.Instance.Language == Language.En)
{