mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2025-02-03 07:43:26 +00:00
Disable gmx saving as editing isn't supported yet
This commit is contained in:
parent
65d5fc1a32
commit
a5ab81cc9b
2 changed files with 3 additions and 1 deletions
|
@ -113,7 +113,7 @@ namespace FirstPlugin
|
|||
|
||||
public void Load(System.IO.Stream stream)
|
||||
{
|
||||
CanSave = true;
|
||||
CanSave = false;
|
||||
|
||||
//Set renderer
|
||||
Renderer = new GMX_Renderer();
|
||||
|
|
|
@ -113,6 +113,8 @@ namespace Toolbox.Library.IO
|
|||
bool IsBotwFile = FilePath.IsSubPathOf(Runtime.BotwGamePath);
|
||||
bool IsTPHDFile = FilePath.IsSubPathOf(Runtime.TpGamePath);
|
||||
|
||||
STConsole.WriteLine($"IsTPHDFile {IsTPHDFile}");
|
||||
|
||||
if (Runtime.ResourceTables.BotwTable && IsBotwFile)
|
||||
{
|
||||
string newFilePath = FilePath.Replace(Runtime.BotwGamePath, string.Empty).Remove(0, 1);
|
||||
|
|
Loading…
Reference in a new issue