diff --git a/Assets/Scripts/Config.cs b/Assets/Scripts/Config.cs index 71ec41f..e469d57 100644 --- a/Assets/Scripts/Config.cs +++ b/Assets/Scripts/Config.cs @@ -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; diff --git a/Assets/Scripts/Manifest/ManifestDB.cs b/Assets/Scripts/Manifest/ManifestDB.cs index 9ee3bf5..964c5e7 100644 --- a/Assets/Scripts/Manifest/ManifestDB.cs +++ b/Assets/Scripts/Manifest/ManifestDB.cs @@ -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. diff --git a/Assets/Scripts/UmaViewerDownload.cs b/Assets/Scripts/UmaViewerDownload.cs index 40fe29c..b907ba7 100644 --- a/Assets/Scripts/UmaViewerDownload.cs +++ b/Assets/Scripts/UmaViewerDownload.cs @@ -31,7 +31,6 @@ public class UmaViewerDownload : MonoBehaviour public static void DownloadAssetSync(UmaDatabaseEntry entry,string path, Action 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); diff --git a/Assets/Scripts/UmaViewerMain.cs b/Assets/Scripts/UmaViewerMain.cs index 6881493..d3b4380 100644 --- a/Assets/Scripts/UmaViewerMain.cs +++ b/Assets/Scripts/UmaViewerMain.cs @@ -45,6 +45,11 @@ public class UmaViewerMain : MonoBehaviour Dictionary enNames = new Dictionary(); Dictionary mobNames = new Dictionary(); + if(Config.Instance.WorkMode == WorkMode.Standalone) + { + UI.ShowMessage("Initializing...",UIMessageType.Default); + } + //Main chara names (En only) if (Config.Instance.Language == Language.En) {