From 965dfd9c9e9023664bdeb3c662bb22d46513f53e Mon Sep 17 00:00:00 2001 From: xPumaa <35280763+xPumaa@users.noreply.github.com> Date: Sun, 24 Jul 2022 03:50:26 +0200 Subject: [PATCH] no penumbra mod folder = no mare cache --- MareSynchronos/UI/IntroUI.cs | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/MareSynchronos/UI/IntroUI.cs b/MareSynchronos/UI/IntroUI.cs index 9245ede..594529d 100644 --- a/MareSynchronos/UI/IntroUI.cs +++ b/MareSynchronos/UI/IntroUI.cs @@ -200,18 +200,21 @@ namespace MareSynchronos.UI ImGui.TextUnformatted("File Cache Setup"); if (_uiShared.UidFontBuilt) ImGui.PopFont(); ImGui.Separator(); - UiShared.TextWrapped("To not unnecessary download files already present on your computer, Mare Synchronos will have to scan your Penumbra mod directory. " + - "Additionally, a local cache folder must be set where Mare Synchronos will download its local file cache to. " + - "Once the Cache Folder is set and the scan complete, this page will automatically forward to registration at a service."); - UiShared.TextWrapped("Note: The initial scan, depending on the amount of mods you have, might take a while. Please wait until it is completed."); - UiShared.ColorTextWrapped("Warning: once past this step you should not delete the FileCache.db of Mare Synchronos in the Plugin Configurations folder of Dalamud. " + - "Otherwise on the next launch a full re-scan of the file cache database will be initiated.", ImGuiColors.DalamudYellow); - _uiShared.DrawCacheDirectorySetting(); if (!_uiShared.HasValidPenumbraModPath) { UiShared.ColorTextWrapped("You do not have a valid Penumbra path set. Open Penumbra and set up a valid path for the mod directory.", ImGuiColors.DalamudRed); } + else + { + UiShared.TextWrapped("To not unnecessary download files already present on your computer, Mare Synchronos will have to scan your Penumbra mod directory. " + + "Additionally, a local cache folder must be set where Mare Synchronos will download its local file cache to. " + + "Once the Cache Folder is set and the scan complete, this page will automatically forward to registration at a service."); + UiShared.TextWrapped("Note: The initial scan, depending on the amount of mods you have, might take a while. Please wait until it is completed."); + UiShared.ColorTextWrapped("Warning: once past this step you should not delete the FileCache.db of Mare Synchronos in the Plugin Configurations folder of Dalamud. " + + "Otherwise on the next launch a full re-scan of the file cache database will be initiated.", ImGuiColors.DalamudYellow); + _uiShared.DrawCacheDirectorySetting(); + } if (!_fileCacheManager.IsScanRunning && !string.IsNullOrEmpty(_pluginConfiguration.CacheFolder) && _uiShared.HasValidPenumbraModPath && Directory.Exists(_pluginConfiguration.CacheFolder)) {