mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-10 07:04:36 +00:00
workaround for exporting tranm (#555)
This commit is contained in:
parent
022fcc61cc
commit
eaef6e5f0c
4 changed files with 21 additions and 1 deletions
|
@ -144,7 +144,7 @@ namespace FirstPlugin
|
|||
if (folderName == "Models")
|
||||
folder = new GFPAK.QuickAccessFileFolder("Models");
|
||||
if (folderName == "Animations")
|
||||
folder = new GFPAK.QuickAccessFileFolder("Animations");
|
||||
folder = new GFPAK.AnimationFolder("Animations");
|
||||
|
||||
node.Nodes.Add(folder);
|
||||
folders.Add(folderName, folder);
|
||||
|
|
|
@ -0,0 +1,18 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Toolbox.Library;
|
||||
using Toolbox.Library.Animations;
|
||||
|
||||
namespace FirstPlugin
|
||||
{
|
||||
internal class TRANM : GFBANM, IFileFormat, IAnimationContainer, IConvertableTextFormat
|
||||
{
|
||||
public new bool Identify(System.IO.Stream stream)
|
||||
{
|
||||
return Utils.GetExtension(FileName) == ".tranm";
|
||||
}
|
||||
}
|
||||
}
|
|
@ -485,6 +485,7 @@
|
|||
<Compile Include="FileFormats\Pokemon\GFLX\GFBMDL\GFMDLStructs.cs" />
|
||||
<Compile Include="FileFormats\Pokemon\GFLX\GFBPMCATALOG\FlatBuffers\gfbpmcatalog.cs" />
|
||||
<Compile Include="FileFormats\Pokemon\GFLX\PokemonTable.cs" />
|
||||
<Compile Include="FileFormats\Pokemon\Trinity\TRANM\TRANM.cs" />
|
||||
<Compile Include="FileFormats\Rom\3DS\NCSDStructs.cs" />
|
||||
<Compile Include="FileFormats\Rom\3DS\NCSD.cs" />
|
||||
<Compile Include="FileFormats\Rom\3DS\RomFS.cs" />
|
||||
|
|
|
@ -461,6 +461,7 @@ namespace FirstPlugin
|
|||
Formats.Add(typeof(MTXT));
|
||||
Formats.Add(typeof(NKN));
|
||||
Formats.Add(typeof(MetroidDreadLibrary.BSMAT));
|
||||
Formats.Add(typeof(TRANM));
|
||||
|
||||
//Formats.Add(typeof(XLINK_FILE));
|
||||
|
||||
|
|
Loading…
Reference in a new issue