From 6c4afefdd551c0dd4c5be06a55150f0661256dd3 Mon Sep 17 00:00:00 2001 From: KillzXGaming Date: Fri, 10 Jul 2020 17:27:31 -0400 Subject: [PATCH] Adjustments to texture mapping. --- File_Format_Library/FileFormats/BFRES/BfresSwitch.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/File_Format_Library/FileFormats/BFRES/BfresSwitch.cs b/File_Format_Library/FileFormats/BFRES/BfresSwitch.cs index a1a34f3d..386510d0 100644 --- a/File_Format_Library/FileFormats/BFRES/BfresSwitch.cs +++ b/File_Format_Library/FileFormats/BFRES/BfresSwitch.cs @@ -743,6 +743,10 @@ namespace FirstPlugin if (mat.ShaderAssign.ShaderArchiveName == "Wii_UBER" || mat.ShaderAssign.ShaderArchiveName == "Block_UBER") Runtime.activeGame = Runtime.ActiveGame.MK8D; + if (mat.ShaderAssign.ShaderArchiveName == "base") { + Runtime.activeGame = Runtime.ActiveGame.MK8D; + } + if (Runtime.activeGame == Runtime.ActiveGame.MK8D) { if (useSampler == "_a0" && AlbedoCount == 0)