Adjust the toolbox name to no longer include "Switch" in it.
This commit is contained in:
parent
c8ac9c8de2
commit
6cfb6a214f
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -75,14 +75,13 @@
|
|||||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\Switch_Toolbox_Library\Switch_Toolbox_Library.csproj">
|
<None Include="app.config" />
|
||||||
<Project>{96820047-2a39-4e5a-bfa4-e84fff5c66cf}</Project>
|
|
||||||
<Name>Switch_Toolbox_Library</Name>
|
|
||||||
<Private>False</Private>
|
|
||||||
</ProjectReference>
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="app.config" />
|
<ProjectReference Include="..\Switch_Toolbox_Library\Toolbox_Library.csproj">
|
||||||
|
<Project>{96820047-2a39-4e5a-bfa4-e84fff5c66cf}</Project>
|
||||||
|
<Name>Toolbox_Library</Name>
|
||||||
|
</ProjectReference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
</Project>
|
</Project>
|
@ -3,7 +3,7 @@ using System.Collections.Generic;
|
|||||||
using System.Xml;
|
using System.Xml;
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
|
|
||||||
namespace FirstPlugin
|
namespace FirstPlugin
|
||||||
{
|
{
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using Switch_Toolbox.Library.IO;
|
using Toolbox.Library.IO;
|
||||||
using Switch_Toolbox.Library.Forms;
|
using Toolbox.Library.Forms;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using aampv1 = AampV1Library;
|
using aampv1 = AampV1Library;
|
||||||
using aampv2 = AampV2Library;
|
using aampv2 = AampV2Library;
|
||||||
|
@ -3,11 +3,11 @@ using System.Collections.Generic;
|
|||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Switch_Toolbox;
|
using Toolbox;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using Switch_Toolbox.Library.IO;
|
using Toolbox.Library.IO;
|
||||||
using Switch_Toolbox.Library.Forms;
|
using Toolbox.Library.Forms;
|
||||||
|
|
||||||
namespace FirstPlugin
|
namespace FirstPlugin
|
||||||
{
|
{
|
||||||
@ -27,7 +27,7 @@ namespace FirstPlugin
|
|||||||
|
|
||||||
public bool Identify(System.IO.Stream stream)
|
public bool Identify(System.IO.Stream stream)
|
||||||
{
|
{
|
||||||
using (var reader = new Switch_Toolbox.Library.IO.FileReader(stream, true))
|
using (var reader = new Toolbox.Library.IO.FileReader(stream, true))
|
||||||
{
|
{
|
||||||
return reader.CheckSignature(4, "APAK");
|
return reader.CheckSignature(4, "APAK");
|
||||||
}
|
}
|
||||||
|
@ -3,10 +3,10 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Switch_Toolbox;
|
using Toolbox;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using Switch_Toolbox.Library.IO;
|
using Toolbox.Library.IO;
|
||||||
|
|
||||||
namespace FirstPlugin
|
namespace FirstPlugin
|
||||||
{
|
{
|
||||||
@ -28,7 +28,7 @@ namespace FirstPlugin
|
|||||||
|
|
||||||
public bool Identify(System.IO.Stream stream)
|
public bool Identify(System.IO.Stream stream)
|
||||||
{
|
{
|
||||||
using (var reader = new Switch_Toolbox.Library.IO.FileReader(stream, true))
|
using (var reader = new Toolbox.Library.IO.FileReader(stream, true))
|
||||||
{
|
{
|
||||||
return reader.ReadInt64() == 0x000000000000;
|
return reader.ReadInt64() == 0x000000000000;
|
||||||
}
|
}
|
||||||
|
@ -3,13 +3,13 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Switch_Toolbox;
|
using Toolbox;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using BezelEngineArchive_Lib;
|
using BezelEngineArchive_Lib;
|
||||||
using Switch_Toolbox.Library.IO;
|
using Toolbox.Library.IO;
|
||||||
using Switch_Toolbox.Library.Forms;
|
using Toolbox.Library.Forms;
|
||||||
|
|
||||||
namespace FirstPlugin
|
namespace FirstPlugin
|
||||||
{
|
{
|
||||||
|
@ -3,10 +3,10 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Switch_Toolbox;
|
using Toolbox;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using Switch_Toolbox.Library.IO;
|
using Toolbox.Library.IO;
|
||||||
|
|
||||||
namespace FirstPlugin
|
namespace FirstPlugin
|
||||||
{
|
{
|
||||||
@ -28,7 +28,7 @@ namespace FirstPlugin
|
|||||||
|
|
||||||
public bool Identify(System.IO.Stream stream)
|
public bool Identify(System.IO.Stream stream)
|
||||||
{
|
{
|
||||||
using (var reader = new Switch_Toolbox.Library.IO.FileReader(stream, true))
|
using (var reader = new Toolbox.Library.IO.FileReader(stream, true))
|
||||||
{
|
{
|
||||||
return reader.CheckSignature(4, "GFAC");
|
return reader.CheckSignature(4, "GFAC");
|
||||||
}
|
}
|
||||||
|
@ -3,12 +3,12 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Switch_Toolbox;
|
using Toolbox;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using Switch_Toolbox.Library.IO;
|
using Toolbox.Library.IO;
|
||||||
using Switch_Toolbox.Library.Forms;
|
using Toolbox.Library.Forms;
|
||||||
|
|
||||||
namespace FirstPlugin
|
namespace FirstPlugin
|
||||||
{
|
{
|
||||||
@ -77,7 +77,7 @@ namespace FirstPlugin
|
|||||||
|
|
||||||
public bool Identify(System.IO.Stream stream)
|
public bool Identify(System.IO.Stream stream)
|
||||||
{
|
{
|
||||||
using (var reader = new Switch_Toolbox.Library.IO.FileReader(stream, true))
|
using (var reader = new Toolbox.Library.IO.FileReader(stream, true))
|
||||||
{
|
{
|
||||||
return reader.CheckSignature(8, "GFLXPACK");
|
return reader.CheckSignature(8, "GFLXPACK");
|
||||||
}
|
}
|
||||||
|
@ -3,10 +3,10 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Switch_Toolbox;
|
using Toolbox;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using Switch_Toolbox.Library.IO;
|
using Toolbox.Library.IO;
|
||||||
|
|
||||||
namespace FirstPlugin
|
namespace FirstPlugin
|
||||||
{
|
{
|
||||||
@ -28,7 +28,7 @@ namespace FirstPlugin
|
|||||||
|
|
||||||
public bool Identify(System.IO.Stream stream)
|
public bool Identify(System.IO.Stream stream)
|
||||||
{
|
{
|
||||||
using (var reader = new Switch_Toolbox.Library.IO.FileReader(stream, true))
|
using (var reader = new Toolbox.Library.IO.FileReader(stream, true))
|
||||||
{
|
{
|
||||||
return reader.CheckSignature(3, "IGA");
|
return reader.CheckSignature(3, "IGA");
|
||||||
}
|
}
|
||||||
|
@ -3,11 +3,11 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Switch_Toolbox;
|
using Toolbox;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using Switch_Toolbox.Library.IO;
|
using Toolbox.Library.IO;
|
||||||
using Switch_Toolbox.Library.Forms;
|
using Toolbox.Library.Forms;
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
|
|
||||||
namespace FirstPlugin
|
namespace FirstPlugin
|
||||||
@ -31,7 +31,7 @@ namespace FirstPlugin
|
|||||||
|
|
||||||
public bool Identify(System.IO.Stream stream)
|
public bool Identify(System.IO.Stream stream)
|
||||||
{
|
{
|
||||||
using (var reader = new Switch_Toolbox.Library.IO.FileReader(stream, true))
|
using (var reader = new Toolbox.Library.IO.FileReader(stream, true))
|
||||||
{
|
{
|
||||||
reader.ByteOrder = Syroot.BinaryData.ByteOrder.BigEndian;
|
reader.ByteOrder = Syroot.BinaryData.ByteOrder.BigEndian;
|
||||||
return reader.ReadUInt32() == 0x5824F3A9;
|
return reader.ReadUInt32() == 0x5824F3A9;
|
||||||
|
@ -3,10 +3,10 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Switch_Toolbox;
|
using Toolbox;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using Switch_Toolbox.Library.IO;
|
using Toolbox.Library.IO;
|
||||||
|
|
||||||
namespace FirstPlugin
|
namespace FirstPlugin
|
||||||
{
|
{
|
||||||
@ -28,7 +28,7 @@ namespace FirstPlugin
|
|||||||
|
|
||||||
public bool Identify(System.IO.Stream stream)
|
public bool Identify(System.IO.Stream stream)
|
||||||
{
|
{
|
||||||
using (var reader = new Switch_Toolbox.Library.IO.FileReader(stream, true))
|
using (var reader = new Toolbox.Library.IO.FileReader(stream, true))
|
||||||
{
|
{
|
||||||
return Utils.GetExtension(FileName) == ".lzarc";
|
return Utils.GetExtension(FileName) == ".lzarc";
|
||||||
}
|
}
|
||||||
|
@ -3,10 +3,10 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Switch_Toolbox;
|
using Toolbox;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using Switch_Toolbox.Library.IO;
|
using Toolbox.Library.IO;
|
||||||
|
|
||||||
namespace FirstPlugin
|
namespace FirstPlugin
|
||||||
{
|
{
|
||||||
@ -29,7 +29,7 @@ namespace FirstPlugin
|
|||||||
private bool IsSA01 = false;
|
private bool IsSA01 = false;
|
||||||
public bool Identify(System.IO.Stream stream)
|
public bool Identify(System.IO.Stream stream)
|
||||||
{
|
{
|
||||||
using (var reader = new Switch_Toolbox.Library.IO.FileReader(stream, true))
|
using (var reader = new Toolbox.Library.IO.FileReader(stream, true))
|
||||||
{
|
{
|
||||||
bool IsMEO1 = reader.CheckSignature(4, "ME01");
|
bool IsMEO1 = reader.CheckSignature(4, "ME01");
|
||||||
IsSA01 = reader.CheckSignature(4, "SA01");
|
IsSA01 = reader.CheckSignature(4, "SA01");
|
||||||
|
@ -3,10 +3,10 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Switch_Toolbox;
|
using Toolbox;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using Switch_Toolbox.Library.IO;
|
using Toolbox.Library.IO;
|
||||||
|
|
||||||
namespace FirstPlugin
|
namespace FirstPlugin
|
||||||
{
|
{
|
||||||
@ -28,7 +28,7 @@ namespace FirstPlugin
|
|||||||
|
|
||||||
public bool Identify(System.IO.Stream stream)
|
public bool Identify(System.IO.Stream stream)
|
||||||
{
|
{
|
||||||
using (var reader = new Switch_Toolbox.Library.IO.FileReader(stream, true))
|
using (var reader = new Toolbox.Library.IO.FileReader(stream, true))
|
||||||
{
|
{
|
||||||
return reader.CheckSignature(4, "pack");
|
return reader.CheckSignature(4, "pack");
|
||||||
}
|
}
|
||||||
|
@ -3,9 +3,9 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using Switch_Toolbox.Library.IO;
|
using Toolbox.Library.IO;
|
||||||
using Switch_Toolbox.Library.Forms;
|
using Toolbox.Library.Forms;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
|
||||||
namespace FirstPlugin
|
namespace FirstPlugin
|
||||||
@ -23,7 +23,7 @@ namespace FirstPlugin
|
|||||||
|
|
||||||
public bool Identify(System.IO.Stream stream)
|
public bool Identify(System.IO.Stream stream)
|
||||||
{
|
{
|
||||||
using (var reader = new Switch_Toolbox.Library.IO.FileReader(stream, true))
|
using (var reader = new Toolbox.Library.IO.FileReader(stream, true))
|
||||||
{
|
{
|
||||||
return reader.CheckSignature(4, "NARC");
|
return reader.CheckSignature(4, "NARC");
|
||||||
}
|
}
|
||||||
|
@ -3,10 +3,10 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Switch_Toolbox;
|
using Toolbox;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using Switch_Toolbox.Library.IO;
|
using Toolbox.Library.IO;
|
||||||
|
|
||||||
namespace FirstPlugin
|
namespace FirstPlugin
|
||||||
{
|
{
|
||||||
@ -28,7 +28,7 @@ namespace FirstPlugin
|
|||||||
|
|
||||||
public bool Identify(System.IO.Stream stream)
|
public bool Identify(System.IO.Stream stream)
|
||||||
{
|
{
|
||||||
using (var reader = new Switch_Toolbox.Library.IO.FileReader(stream, true))
|
using (var reader = new Toolbox.Library.IO.FileReader(stream, true))
|
||||||
{
|
{
|
||||||
return reader.CheckSignature(4, "RAXN");
|
return reader.CheckSignature(4, "RAXN");
|
||||||
}
|
}
|
||||||
|
@ -3,10 +3,10 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Switch_Toolbox;
|
using Toolbox;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using Switch_Toolbox.Library.IO;
|
using Toolbox.Library.IO;
|
||||||
|
|
||||||
namespace FirstPlugin
|
namespace FirstPlugin
|
||||||
{
|
{
|
||||||
@ -28,7 +28,7 @@ namespace FirstPlugin
|
|||||||
|
|
||||||
public bool Identify(System.IO.Stream stream)
|
public bool Identify(System.IO.Stream stream)
|
||||||
{
|
{
|
||||||
using (var reader = new Switch_Toolbox.Library.IO.FileReader(stream, true))
|
using (var reader = new Toolbox.Library.IO.FileReader(stream, true))
|
||||||
{
|
{
|
||||||
return reader.CheckSignature(4, "RARC");
|
return reader.CheckSignature(4, "RARC");
|
||||||
}
|
}
|
||||||
|
@ -2,12 +2,12 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using Switch_Toolbox;
|
using Toolbox;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using SARCExt;
|
using SARCExt;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using Switch_Toolbox.Library.IO;
|
using Toolbox.Library.IO;
|
||||||
using Switch_Toolbox.Library.Forms;
|
using Toolbox.Library.Forms;
|
||||||
|
|
||||||
namespace FirstPlugin.New
|
namespace FirstPlugin.New
|
||||||
{
|
{
|
||||||
@ -24,7 +24,7 @@ namespace FirstPlugin.New
|
|||||||
|
|
||||||
public bool Identify(System.IO.Stream stream)
|
public bool Identify(System.IO.Stream stream)
|
||||||
{
|
{
|
||||||
using (var reader = new Switch_Toolbox.Library.IO.FileReader(stream, true))
|
using (var reader = new Toolbox.Library.IO.FileReader(stream, true))
|
||||||
{
|
{
|
||||||
return reader.CheckSignature(4, "SARC");
|
return reader.CheckSignature(4, "SARC");
|
||||||
}
|
}
|
||||||
|
@ -2,12 +2,12 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using Switch_Toolbox;
|
using Toolbox;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using SARCExt;
|
using SARCExt;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using Switch_Toolbox.Library.IO;
|
using Toolbox.Library.IO;
|
||||||
using Switch_Toolbox.Library.Forms;
|
using Toolbox.Library.Forms;
|
||||||
|
|
||||||
namespace FirstPlugin
|
namespace FirstPlugin
|
||||||
{
|
{
|
||||||
@ -24,7 +24,7 @@ namespace FirstPlugin
|
|||||||
|
|
||||||
public bool Identify(System.IO.Stream stream)
|
public bool Identify(System.IO.Stream stream)
|
||||||
{
|
{
|
||||||
using (var reader = new Switch_Toolbox.Library.IO.FileReader(stream, true))
|
using (var reader = new Toolbox.Library.IO.FileReader(stream, true))
|
||||||
{
|
{
|
||||||
return reader.CheckSignature(4, "SARC");
|
return reader.CheckSignature(4, "SARC");
|
||||||
}
|
}
|
||||||
|
@ -3,11 +3,11 @@ using System.Collections.Generic;
|
|||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Switch_Toolbox;
|
using Toolbox;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using Switch_Toolbox.Library.IO;
|
using Toolbox.Library.IO;
|
||||||
using Switch_Toolbox.Library.Forms;
|
using Toolbox.Library.Forms;
|
||||||
|
|
||||||
namespace FirstPlugin
|
namespace FirstPlugin
|
||||||
{
|
{
|
||||||
@ -29,7 +29,7 @@ namespace FirstPlugin
|
|||||||
|
|
||||||
public bool Identify(System.IO.Stream stream)
|
public bool Identify(System.IO.Stream stream)
|
||||||
{
|
{
|
||||||
using (var reader = new Switch_Toolbox.Library.IO.FileReader(stream, true))
|
using (var reader = new Toolbox.Library.IO.FileReader(stream, true))
|
||||||
{
|
{
|
||||||
return reader.CheckSignature(4, "WEST");
|
return reader.CheckSignature(4, "WEST");
|
||||||
}
|
}
|
||||||
|
@ -3,8 +3,8 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using Switch_Toolbox.Library.IO;
|
using Toolbox.Library.IO;
|
||||||
|
|
||||||
namespace FirstPlugin
|
namespace FirstPlugin
|
||||||
{
|
{
|
||||||
@ -21,7 +21,7 @@ namespace FirstPlugin
|
|||||||
|
|
||||||
public bool Identify(System.IO.Stream stream)
|
public bool Identify(System.IO.Stream stream)
|
||||||
{
|
{
|
||||||
using (var reader = new Switch_Toolbox.Library.IO.FileReader(stream, true))
|
using (var reader = new Toolbox.Library.IO.FileReader(stream, true))
|
||||||
{
|
{
|
||||||
bool IsMatch = reader.ReadUInt32() == 0xD6D1820C;
|
bool IsMatch = reader.ReadUInt32() == 0xD6D1820C;
|
||||||
reader.Position = 0;
|
reader.Position = 0;
|
||||||
|
@ -3,11 +3,11 @@ using System.Collections.Generic;
|
|||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Switch_Toolbox;
|
using Toolbox;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using Switch_Toolbox.Library.IO;
|
using Toolbox.Library.IO;
|
||||||
using Switch_Toolbox.Library.Forms;
|
using Toolbox.Library.Forms;
|
||||||
|
|
||||||
namespace FirstPlugin
|
namespace FirstPlugin
|
||||||
{
|
{
|
||||||
@ -30,7 +30,7 @@ namespace FirstPlugin
|
|||||||
|
|
||||||
public bool Identify(System.IO.Stream stream)
|
public bool Identify(System.IO.Stream stream)
|
||||||
{
|
{
|
||||||
using (var reader = new Switch_Toolbox.Library.IO.FileReader(stream, true))
|
using (var reader = new Toolbox.Library.IO.FileReader(stream, true))
|
||||||
{
|
{
|
||||||
return reader.CheckSignature(4, "TMPK");
|
return reader.CheckSignature(4, "TMPK");
|
||||||
}
|
}
|
||||||
|
@ -3,10 +3,10 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Switch_Toolbox;
|
using Toolbox;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using Switch_Toolbox.Library.IO;
|
using Toolbox.Library.IO;
|
||||||
|
|
||||||
namespace FirstPlugin
|
namespace FirstPlugin
|
||||||
{
|
{
|
||||||
@ -28,7 +28,7 @@ namespace FirstPlugin
|
|||||||
|
|
||||||
public bool Identify(System.IO.Stream stream)
|
public bool Identify(System.IO.Stream stream)
|
||||||
{
|
{
|
||||||
using (var reader = new Switch_Toolbox.Library.IO.FileReader(stream, true))
|
using (var reader = new Toolbox.Library.IO.FileReader(stream, true))
|
||||||
{
|
{
|
||||||
reader.ByteOrder = Syroot.BinaryData.ByteOrder.BigEndian;
|
reader.ByteOrder = Syroot.BinaryData.ByteOrder.BigEndian;
|
||||||
return reader.ReadUInt32() == 0x55AA382D;
|
return reader.ReadUInt32() == 0x55AA382D;
|
||||||
|
@ -4,9 +4,9 @@ using System.IO;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using Switch_Toolbox.Library.IO;
|
using Toolbox.Library.IO;
|
||||||
using Switch_Toolbox.Library.Forms;
|
using Toolbox.Library.Forms;
|
||||||
using BarsLib;
|
using BarsLib;
|
||||||
using VGAudio.Formats;
|
using VGAudio.Formats;
|
||||||
using VGAudio;
|
using VGAudio;
|
||||||
|
@ -3,7 +3,7 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
|
|
||||||
namespace FirstPlugin
|
namespace FirstPlugin
|
||||||
{
|
{
|
||||||
@ -20,7 +20,7 @@ namespace FirstPlugin
|
|||||||
|
|
||||||
public bool Identify(System.IO.Stream stream)
|
public bool Identify(System.IO.Stream stream)
|
||||||
{
|
{
|
||||||
using (var reader = new Switch_Toolbox.Library.IO.FileReader(stream, true))
|
using (var reader = new Toolbox.Library.IO.FileReader(stream, true))
|
||||||
{
|
{
|
||||||
return reader.CheckSignature(4, "FGRP");
|
return reader.CheckSignature(4, "FGRP");
|
||||||
}
|
}
|
||||||
|
@ -3,10 +3,10 @@ using System.Collections.Generic;
|
|||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Switch_Toolbox;
|
using Toolbox;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using Switch_Toolbox.Library.IO;
|
using Toolbox.Library.IO;
|
||||||
|
|
||||||
namespace FirstPlugin
|
namespace FirstPlugin
|
||||||
{
|
{
|
||||||
@ -23,7 +23,7 @@ namespace FirstPlugin
|
|||||||
|
|
||||||
public bool Identify(System.IO.Stream stream)
|
public bool Identify(System.IO.Stream stream)
|
||||||
{
|
{
|
||||||
using (var reader = new Switch_Toolbox.Library.IO.FileReader(stream, true))
|
using (var reader = new Toolbox.Library.IO.FileReader(stream, true))
|
||||||
{
|
{
|
||||||
return reader.CheckSignature(4, "FSAR");
|
return reader.CheckSignature(4, "FSAR");
|
||||||
}
|
}
|
||||||
|
@ -3,10 +3,10 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Switch_Toolbox;
|
using Toolbox;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using Switch_Toolbox.Library.IO;
|
using Toolbox.Library.IO;
|
||||||
|
|
||||||
namespace FirstPlugin
|
namespace FirstPlugin
|
||||||
{
|
{
|
||||||
@ -23,7 +23,7 @@ namespace FirstPlugin
|
|||||||
|
|
||||||
public bool Identify(System.IO.Stream stream)
|
public bool Identify(System.IO.Stream stream)
|
||||||
{
|
{
|
||||||
using (var reader = new Switch_Toolbox.Library.IO.FileReader(stream, true))
|
using (var reader = new Toolbox.Library.IO.FileReader(stream, true))
|
||||||
{
|
{
|
||||||
return reader.CheckSignature(4, "ARSL");
|
return reader.CheckSignature(4, "ARSL");
|
||||||
}
|
}
|
||||||
|
@ -3,10 +3,10 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Switch_Toolbox;
|
using Toolbox;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using Switch_Toolbox.Library.Forms;
|
using Toolbox.Library.Forms;
|
||||||
using VGAudio.Formats;
|
using VGAudio.Formats;
|
||||||
using VGAudio.Containers.NintendoWare;
|
using VGAudio.Containers.NintendoWare;
|
||||||
|
|
||||||
@ -25,7 +25,7 @@ namespace FirstPlugin
|
|||||||
|
|
||||||
public bool Identify(System.IO.Stream stream)
|
public bool Identify(System.IO.Stream stream)
|
||||||
{
|
{
|
||||||
using (var reader = new Switch_Toolbox.Library.IO.FileReader(stream, true))
|
using (var reader = new Toolbox.Library.IO.FileReader(stream, true))
|
||||||
{
|
{
|
||||||
return reader.CheckSignature(4, "CSTM");
|
return reader.CheckSignature(4, "CSTM");
|
||||||
}
|
}
|
||||||
|
@ -3,10 +3,10 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Switch_Toolbox;
|
using Toolbox;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using Switch_Toolbox.Library.Forms;
|
using Toolbox.Library.Forms;
|
||||||
using VGAudio.Formats;
|
using VGAudio.Formats;
|
||||||
using VGAudio.Containers.NintendoWare;
|
using VGAudio.Containers.NintendoWare;
|
||||||
|
|
||||||
@ -25,7 +25,7 @@ namespace FirstPlugin
|
|||||||
|
|
||||||
public bool Identify(System.IO.Stream stream)
|
public bool Identify(System.IO.Stream stream)
|
||||||
{
|
{
|
||||||
using (var reader = new Switch_Toolbox.Library.IO.FileReader(stream, true))
|
using (var reader = new Toolbox.Library.IO.FileReader(stream, true))
|
||||||
{
|
{
|
||||||
return reader.CheckSignature(4, "CWAV");
|
return reader.CheckSignature(4, "CWAV");
|
||||||
}
|
}
|
||||||
|
@ -3,10 +3,10 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Switch_Toolbox;
|
using Toolbox;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using Switch_Toolbox.Library.Forms;
|
using Toolbox.Library.Forms;
|
||||||
using VGAudio.Formats;
|
using VGAudio.Formats;
|
||||||
using VGAudio.Containers.NintendoWare;
|
using VGAudio.Containers.NintendoWare;
|
||||||
|
|
||||||
@ -25,7 +25,7 @@ namespace FirstPlugin
|
|||||||
|
|
||||||
public bool Identify(System.IO.Stream stream)
|
public bool Identify(System.IO.Stream stream)
|
||||||
{
|
{
|
||||||
using (var reader = new Switch_Toolbox.Library.IO.FileReader(stream, true))
|
using (var reader = new Toolbox.Library.IO.FileReader(stream, true))
|
||||||
{
|
{
|
||||||
return reader.CheckSignature(4, "FSTM");
|
return reader.CheckSignature(4, "FSTM");
|
||||||
}
|
}
|
||||||
|
@ -3,10 +3,10 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Switch_Toolbox;
|
using Toolbox;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using Switch_Toolbox.Library.Forms;
|
using Toolbox.Library.Forms;
|
||||||
using VGAudio.Formats;
|
using VGAudio.Formats;
|
||||||
using VGAudio.Containers.NintendoWare;
|
using VGAudio.Containers.NintendoWare;
|
||||||
|
|
||||||
@ -25,7 +25,7 @@ namespace FirstPlugin
|
|||||||
|
|
||||||
public bool Identify(System.IO.Stream stream)
|
public bool Identify(System.IO.Stream stream)
|
||||||
{
|
{
|
||||||
using (var reader = new Switch_Toolbox.Library.IO.FileReader(stream, true))
|
using (var reader = new Toolbox.Library.IO.FileReader(stream, true))
|
||||||
{
|
{
|
||||||
return reader.CheckSignature(4, "FWAV");
|
return reader.CheckSignature(4, "FWAV");
|
||||||
}
|
}
|
||||||
|
@ -3,10 +3,10 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Switch_Toolbox;
|
using Toolbox;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using Switch_Toolbox.Library.Forms;
|
using Toolbox.Library.Forms;
|
||||||
using VGAudio.Formats;
|
using VGAudio.Formats;
|
||||||
using VGAudio.Containers.NintendoWare;
|
using VGAudio.Containers.NintendoWare;
|
||||||
|
|
||||||
@ -25,7 +25,7 @@ namespace FirstPlugin
|
|||||||
|
|
||||||
public bool Identify(System.IO.Stream stream)
|
public bool Identify(System.IO.Stream stream)
|
||||||
{
|
{
|
||||||
using (var reader = new Switch_Toolbox.Library.IO.FileReader(stream, true))
|
using (var reader = new Toolbox.Library.IO.FileReader(stream, true))
|
||||||
{
|
{
|
||||||
return reader.CheckSignature(4, "RSTM");
|
return reader.CheckSignature(4, "RSTM");
|
||||||
}
|
}
|
||||||
|
@ -3,10 +3,10 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Switch_Toolbox;
|
using Toolbox;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using Switch_Toolbox.Library.Forms;
|
using Toolbox.Library.Forms;
|
||||||
using VGAudio.Formats;
|
using VGAudio.Formats;
|
||||||
using VGAudio.Containers.NintendoWare;
|
using VGAudio.Containers.NintendoWare;
|
||||||
|
|
||||||
@ -25,7 +25,7 @@ namespace FirstPlugin
|
|||||||
|
|
||||||
public bool Identify(System.IO.Stream stream)
|
public bool Identify(System.IO.Stream stream)
|
||||||
{
|
{
|
||||||
using (var reader = new Switch_Toolbox.Library.IO.FileReader(stream, true))
|
using (var reader = new Toolbox.Library.IO.FileReader(stream, true))
|
||||||
{
|
{
|
||||||
return reader.CheckSignature(4, "RWAV");
|
return reader.CheckSignature(4, "RWAV");
|
||||||
}
|
}
|
||||||
|
@ -3,10 +3,10 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Switch_Toolbox;
|
using Toolbox;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using Switch_Toolbox.Library.Forms;
|
using Toolbox.Library.Forms;
|
||||||
using VGAudio.Formats;
|
using VGAudio.Formats;
|
||||||
using VGAudio.Containers.NintendoWare;
|
using VGAudio.Containers.NintendoWare;
|
||||||
|
|
||||||
@ -25,7 +25,7 @@ namespace FirstPlugin
|
|||||||
|
|
||||||
public bool Identify(System.IO.Stream stream)
|
public bool Identify(System.IO.Stream stream)
|
||||||
{
|
{
|
||||||
using (var reader = new Switch_Toolbox.Library.IO.FileReader(stream, true))
|
using (var reader = new Toolbox.Library.IO.FileReader(stream, true))
|
||||||
{
|
{
|
||||||
return reader.CheckSignature(8, " HALPST\0");
|
return reader.CheckSignature(8, " HALPST\0");
|
||||||
}
|
}
|
||||||
|
@ -3,10 +3,10 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Switch_Toolbox;
|
using Toolbox;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using Switch_Toolbox.Library.Forms;
|
using Toolbox.Library.Forms;
|
||||||
using VGAudio.Formats;
|
using VGAudio.Formats;
|
||||||
using VGAudio.Containers.NintendoWare;
|
using VGAudio.Containers.NintendoWare;
|
||||||
|
|
||||||
@ -25,7 +25,7 @@ namespace FirstPlugin
|
|||||||
|
|
||||||
public bool Identify(System.IO.Stream stream)
|
public bool Identify(System.IO.Stream stream)
|
||||||
{
|
{
|
||||||
using (var reader = new Switch_Toolbox.Library.IO.FileReader(stream, true))
|
using (var reader = new Toolbox.Library.IO.FileReader(stream, true))
|
||||||
{
|
{
|
||||||
return reader.CheckSignature(4, "IDSP");
|
return reader.CheckSignature(4, "IDSP");
|
||||||
}
|
}
|
||||||
|
@ -3,10 +3,10 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Switch_Toolbox;
|
using Toolbox;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using Switch_Toolbox.Library.Forms;
|
using Toolbox.Library.Forms;
|
||||||
using VGAudio.Formats;
|
using VGAudio.Formats;
|
||||||
using VGAudio.Containers.NintendoWare;
|
using VGAudio.Containers.NintendoWare;
|
||||||
using CSCore;
|
using CSCore;
|
||||||
@ -27,7 +27,7 @@ namespace FirstPlugin
|
|||||||
|
|
||||||
public bool Identify(System.IO.Stream stream)
|
public bool Identify(System.IO.Stream stream)
|
||||||
{
|
{
|
||||||
using (var reader = new Switch_Toolbox.Library.IO.FileReader(stream, true))
|
using (var reader = new Toolbox.Library.IO.FileReader(stream, true))
|
||||||
{
|
{
|
||||||
bool IsValidSig = reader.CheckSignature(3, "ID3");
|
bool IsValidSig = reader.CheckSignature(3, "ID3");
|
||||||
bool IsValidExt = Utils.HasExtension(FileName, ".mp3");
|
bool IsValidExt = Utils.HasExtension(FileName, ".mp3");
|
||||||
|
@ -3,10 +3,10 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Switch_Toolbox;
|
using Toolbox;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using Switch_Toolbox.Library.Forms;
|
using Toolbox.Library.Forms;
|
||||||
using VGAudio.Formats;
|
using VGAudio.Formats;
|
||||||
using VGAudio.Containers.NintendoWare;
|
using VGAudio.Containers.NintendoWare;
|
||||||
using CSCore;
|
using CSCore;
|
||||||
@ -27,7 +27,7 @@ namespace FirstPlugin
|
|||||||
|
|
||||||
public bool Identify(System.IO.Stream stream)
|
public bool Identify(System.IO.Stream stream)
|
||||||
{
|
{
|
||||||
using (var reader = new Switch_Toolbox.Library.IO.FileReader(stream, true))
|
using (var reader = new Toolbox.Library.IO.FileReader(stream, true))
|
||||||
{
|
{
|
||||||
bool IsValidSig = reader.CheckSignature(4, "OggS");
|
bool IsValidSig = reader.CheckSignature(4, "OggS");
|
||||||
bool IsValidExt = Utils.HasExtension(FileName, ".ogg");
|
bool IsValidExt = Utils.HasExtension(FileName, ".ogg");
|
||||||
|
@ -3,10 +3,10 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Switch_Toolbox;
|
using Toolbox;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using Switch_Toolbox.Library.Forms;
|
using Toolbox.Library.Forms;
|
||||||
using VGAudio.Formats;
|
using VGAudio.Formats;
|
||||||
using VGAudio.Containers.NintendoWare;
|
using VGAudio.Containers.NintendoWare;
|
||||||
|
|
||||||
@ -25,7 +25,7 @@ namespace FirstPlugin
|
|||||||
|
|
||||||
public bool Identify(System.IO.Stream stream)
|
public bool Identify(System.IO.Stream stream)
|
||||||
{
|
{
|
||||||
using (var reader = new Switch_Toolbox.Library.IO.FileReader(stream, true))
|
using (var reader = new Toolbox.Library.IO.FileReader(stream, true))
|
||||||
{
|
{
|
||||||
bool IsValidSig = reader.CheckSignature(4, "WAVE"); //RIFF is also used in avi so just use WAVE
|
bool IsValidSig = reader.CheckSignature(4, "WAVE"); //RIFF is also used in avi so just use WAVE
|
||||||
bool IsValidExt = reader.CheckSignature(4, ".wav");
|
bool IsValidExt = reader.CheckSignature(4, ".wav");
|
||||||
|
@ -3,10 +3,10 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Switch_Toolbox;
|
using Toolbox;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using Switch_Toolbox.Library.Forms;
|
using Toolbox.Library.Forms;
|
||||||
using BcresLibrary;
|
using BcresLibrary;
|
||||||
using FirstPlugin.Forms;
|
using FirstPlugin.Forms;
|
||||||
using GL_EditorFramework.Interfaces;
|
using GL_EditorFramework.Interfaces;
|
||||||
@ -26,7 +26,7 @@ namespace FirstPlugin
|
|||||||
|
|
||||||
public bool Identify(System.IO.Stream stream)
|
public bool Identify(System.IO.Stream stream)
|
||||||
{
|
{
|
||||||
using (var reader = new Switch_Toolbox.Library.IO.FileReader(stream, true))
|
using (var reader = new Toolbox.Library.IO.FileReader(stream, true))
|
||||||
{
|
{
|
||||||
return reader.CheckSignature(4, "CGFX");
|
return reader.CheckSignature(4, "CGFX");
|
||||||
}
|
}
|
||||||
|
@ -3,8 +3,8 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Switch_Toolbox.Library.NodeWrappers;
|
using Toolbox.Library.NodeWrappers;
|
||||||
using Switch_Toolbox.Library.Forms;
|
using Toolbox.Library.Forms;
|
||||||
|
|
||||||
namespace FirstPlugin
|
namespace FirstPlugin
|
||||||
{
|
{
|
||||||
|
@ -3,9 +3,9 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using BcresLibrary;
|
using BcresLibrary;
|
||||||
using Switch_Toolbox.Library.NodeWrappers;
|
using Toolbox.Library.NodeWrappers;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
|
||||||
namespace FirstPlugin
|
namespace FirstPlugin
|
||||||
|
@ -5,7 +5,7 @@ using System.Linq;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using BcresLibrary;
|
using BcresLibrary;
|
||||||
|
|
||||||
namespace FirstPlugin
|
namespace FirstPlugin
|
||||||
|
@ -5,7 +5,7 @@ using System.Linq;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using BcresLibrary;
|
using BcresLibrary;
|
||||||
|
|
||||||
namespace FirstPlugin
|
namespace FirstPlugin
|
||||||
|
@ -5,7 +5,7 @@ using System.Linq;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using BcresLibrary;
|
using BcresLibrary;
|
||||||
|
|
||||||
namespace FirstPlugin
|
namespace FirstPlugin
|
||||||
|
@ -5,7 +5,7 @@ using System.Linq;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using BcresLibrary;
|
using BcresLibrary;
|
||||||
using BcresLibrary.Enums;
|
using BcresLibrary.Enums;
|
||||||
using OpenTK;
|
using OpenTK;
|
||||||
|
@ -5,8 +5,8 @@ using System.Linq;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using Switch_Toolbox.Library.Rendering;
|
using Toolbox.Library.Rendering;
|
||||||
using BcresLibrary;
|
using BcresLibrary;
|
||||||
using OpenTK;
|
using OpenTK;
|
||||||
using BcresLibrary.Enums;
|
using BcresLibrary.Enums;
|
||||||
|
@ -5,9 +5,9 @@ using System.Linq;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using BcresLibrary;
|
using BcresLibrary;
|
||||||
using Switch_Toolbox.Library.Forms;
|
using Toolbox.Library.Forms;
|
||||||
|
|
||||||
namespace FirstPlugin
|
namespace FirstPlugin
|
||||||
{
|
{
|
||||||
|
@ -5,14 +5,14 @@ using System.IO;
|
|||||||
using System.Data;
|
using System.Data;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using Switch_Toolbox.Library.Forms;
|
using Toolbox.Library.Forms;
|
||||||
using Switch_Toolbox.Library.IO;
|
using Toolbox.Library.IO;
|
||||||
using Bfres.Structs;
|
using Bfres.Structs;
|
||||||
using ResU = Syroot.NintenTools.Bfres;
|
using ResU = Syroot.NintenTools.Bfres;
|
||||||
using Syroot.NintenTools.NSW.Bfres;
|
using Syroot.NintenTools.NSW.Bfres;
|
||||||
using Switch_Toolbox.Library.Animations;
|
using Toolbox.Library.Animations;
|
||||||
using Switch_Toolbox.Library.NodeWrappers;
|
using Toolbox.Library.NodeWrappers;
|
||||||
using GL_EditorFramework.Interfaces;
|
using GL_EditorFramework.Interfaces;
|
||||||
using FirstPlugin.Forms;
|
using FirstPlugin.Forms;
|
||||||
using FirstPlugin.NodeWrappers;
|
using FirstPlugin.NodeWrappers;
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Switch_Toolbox.Library.NodeWrappers;
|
using Toolbox.Library.NodeWrappers;
|
||||||
using Switch_Toolbox.Library.Animations;
|
using Toolbox.Library.Animations;
|
||||||
using Switch_Toolbox.Library.Forms;
|
using Toolbox.Library.Forms;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using ResU = Syroot.NintenTools.Bfres;
|
using ResU = Syroot.NintenTools.Bfres;
|
||||||
using ResNX = Syroot.NintenTools.NSW.Bfres;
|
using ResNX = Syroot.NintenTools.NSW.Bfres;
|
||||||
using FirstPlugin;
|
using FirstPlugin;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
using Switch_Toolbox.Library.NodeWrappers;
|
using Toolbox.Library.NodeWrappers;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
@ -7,8 +7,8 @@ using System;
|
|||||||
using FirstPlugin;
|
using FirstPlugin;
|
||||||
using ResU = Syroot.NintenTools.Bfres;
|
using ResU = Syroot.NintenTools.Bfres;
|
||||||
using ResNX = Syroot.NintenTools.NSW.Bfres;
|
using ResNX = Syroot.NintenTools.NSW.Bfres;
|
||||||
using Switch_Toolbox.Library.Animations;
|
using Toolbox.Library.Animations;
|
||||||
using Switch_Toolbox.Library.Forms;
|
using Toolbox.Library.Forms;
|
||||||
|
|
||||||
namespace Bfres.Structs
|
namespace Bfres.Structs
|
||||||
{
|
{
|
||||||
|
@ -4,9 +4,9 @@ using System.Linq;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Syroot.NintenTools.NSW.Bfres;
|
using Syroot.NintenTools.NSW.Bfres;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using ResU = Syroot.NintenTools.Bfres;
|
using ResU = Syroot.NintenTools.Bfres;
|
||||||
using Switch_Toolbox.Library.Animations;
|
using Toolbox.Library.Animations;
|
||||||
|
|
||||||
namespace Bfres.Structs
|
namespace Bfres.Structs
|
||||||
{
|
{
|
||||||
|
@ -5,10 +5,10 @@ using Syroot.NintenTools.NSW.Bfres;
|
|||||||
using Syroot.NintenTools.NSW.Bfres.Helpers;
|
using Syroot.NintenTools.NSW.Bfres.Helpers;
|
||||||
using OpenTK;
|
using OpenTK;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using Switch_Toolbox.Library.Rendering;
|
using Toolbox.Library.Rendering;
|
||||||
using Switch_Toolbox.Library.IO;
|
using Toolbox.Library.IO;
|
||||||
using Switch_Toolbox.Library.Forms;
|
using Toolbox.Library.Forms;
|
||||||
using FirstPlugin;
|
using FirstPlugin;
|
||||||
|
|
||||||
namespace Bfres.Structs
|
namespace Bfres.Structs
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
using System;
|
using System;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using FirstPlugin;
|
using FirstPlugin;
|
||||||
using Switch_Toolbox.Library.NodeWrappers;
|
using Toolbox.Library.NodeWrappers;
|
||||||
using Switch_Toolbox.Library.Forms;
|
using Toolbox.Library.Forms;
|
||||||
|
|
||||||
namespace Bfres.Structs
|
namespace Bfres.Structs
|
||||||
{
|
{
|
||||||
|
@ -2,12 +2,12 @@
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using Switch_Toolbox.Library.Forms;
|
using Toolbox.Library.Forms;
|
||||||
using FirstPlugin;
|
using FirstPlugin;
|
||||||
using Syroot.NintenTools.NSW.Bfres;
|
using Syroot.NintenTools.NSW.Bfres;
|
||||||
using FirstPlugin.Forms;
|
using FirstPlugin.Forms;
|
||||||
using Switch_Toolbox.Library.Animations;
|
using Toolbox.Library.Animations;
|
||||||
|
|
||||||
namespace Bfres.Structs
|
namespace Bfres.Structs
|
||||||
{
|
{
|
||||||
|
@ -3,10 +3,10 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using Syroot.NintenTools.NSW.Bfres;
|
using Syroot.NintenTools.NSW.Bfres;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using Switch_Toolbox.Library.NodeWrappers;
|
using Toolbox.Library.NodeWrappers;
|
||||||
using Switch_Toolbox.Library.Rendering;
|
using Toolbox.Library.Rendering;
|
||||||
using Switch_Toolbox.Library.Forms;
|
using Toolbox.Library.Forms;
|
||||||
using ResU = Syroot.NintenTools.Bfres;
|
using ResU = Syroot.NintenTools.Bfres;
|
||||||
using ResUGX2 = Syroot.NintenTools.Bfres.GX2;
|
using ResUGX2 = Syroot.NintenTools.Bfres.GX2;
|
||||||
using ResGFX = Syroot.NintenTools.NSW.Bfres.GFX;
|
using ResGFX = Syroot.NintenTools.NSW.Bfres.GFX;
|
||||||
|
@ -4,10 +4,10 @@ using System.Linq;
|
|||||||
using System.IO;
|
using System.IO;
|
||||||
using Syroot.NintenTools.NSW.Bfres;
|
using Syroot.NintenTools.NSW.Bfres;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using Switch_Toolbox.Library.IO;
|
using Toolbox.Library.IO;
|
||||||
using Switch_Toolbox.Library.Rendering;
|
using Toolbox.Library.Rendering;
|
||||||
using Switch_Toolbox.Library.Forms;
|
using Toolbox.Library.Forms;
|
||||||
using ResU = Syroot.NintenTools.Bfres;
|
using ResU = Syroot.NintenTools.Bfres;
|
||||||
using ResUGX2 = Syroot.NintenTools.Bfres.GX2;
|
using ResUGX2 = Syroot.NintenTools.Bfres.GX2;
|
||||||
using ResGFX = Syroot.NintenTools.NSW.Bfres.GFX;
|
using ResGFX = Syroot.NintenTools.NSW.Bfres.GFX;
|
||||||
|
@ -4,9 +4,9 @@ using System.Linq;
|
|||||||
using Syroot.NintenTools.NSW.Bfres;
|
using Syroot.NintenTools.NSW.Bfres;
|
||||||
using Syroot.NintenTools.NSW.Bfres.Helpers;
|
using Syroot.NintenTools.NSW.Bfres.Helpers;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using Switch_Toolbox.Library.Rendering;
|
using Toolbox.Library.Rendering;
|
||||||
using Switch_Toolbox.Library.Forms;
|
using Toolbox.Library.Forms;
|
||||||
using ResU = Syroot.NintenTools.Bfres;
|
using ResU = Syroot.NintenTools.Bfres;
|
||||||
using ResUGX2 = Syroot.NintenTools.Bfres.GX2;
|
using ResUGX2 = Syroot.NintenTools.Bfres.GX2;
|
||||||
using ResGFX = Syroot.NintenTools.NSW.Bfres.GFX;
|
using ResGFX = Syroot.NintenTools.NSW.Bfres.GFX;
|
||||||
|
@ -4,12 +4,12 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using Syroot.NintenTools.NSW.Bfres;
|
using Syroot.NintenTools.NSW.Bfres;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using ResU = Syroot.NintenTools.Bfres;
|
using ResU = Syroot.NintenTools.Bfres;
|
||||||
using FirstPlugin;
|
using FirstPlugin;
|
||||||
using Switch_Toolbox.Library.NodeWrappers;
|
using Toolbox.Library.NodeWrappers;
|
||||||
using Switch_Toolbox.Library.Forms;
|
using Toolbox.Library.Forms;
|
||||||
using Switch_Toolbox.Library.IO;
|
using Toolbox.Library.IO;
|
||||||
|
|
||||||
namespace Bfres.Structs
|
namespace Bfres.Structs
|
||||||
{
|
{
|
||||||
|
@ -1,14 +1,14 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using FirstPlugin.Forms;
|
using FirstPlugin.Forms;
|
||||||
using FirstPlugin;
|
using FirstPlugin;
|
||||||
using Syroot.NintenTools.NSW.Bfres;
|
using Syroot.NintenTools.NSW.Bfres;
|
||||||
using ResU = Syroot.NintenTools.Bfres;
|
using ResU = Syroot.NintenTools.Bfres;
|
||||||
|
|
||||||
using Switch_Toolbox.Library.Animations;
|
using Toolbox.Library.Animations;
|
||||||
using Switch_Toolbox.Library.NodeWrappers;
|
using Toolbox.Library.NodeWrappers;
|
||||||
|
|
||||||
namespace Bfres.Structs
|
namespace Bfres.Structs
|
||||||
{
|
{
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using Switch_Toolbox.Library.Animations;
|
using Toolbox.Library.Animations;
|
||||||
using Switch_Toolbox.Library.NodeWrappers;
|
using Toolbox.Library.NodeWrappers;
|
||||||
using FirstPlugin;
|
using FirstPlugin;
|
||||||
using Syroot.NintenTools.NSW.Bfres;
|
using Syroot.NintenTools.NSW.Bfres;
|
||||||
using ResU = Syroot.NintenTools.Bfres;
|
using ResU = Syroot.NintenTools.Bfres;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Syroot.NintenTools.Bfres;
|
using Syroot.NintenTools.Bfres;
|
||||||
using FirstPlugin.Forms;
|
using FirstPlugin.Forms;
|
||||||
@ -7,7 +7,7 @@ using FirstPlugin;
|
|||||||
using Bfres.Structs;
|
using Bfres.Structs;
|
||||||
using System;
|
using System;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using Switch_Toolbox.Library.Animations;
|
using Toolbox.Library.Animations;
|
||||||
|
|
||||||
namespace Bfres.Structs
|
namespace Bfres.Structs
|
||||||
{
|
{
|
||||||
|
@ -3,12 +3,12 @@ using System.Linq;
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using Syroot.NintenTools.NSW.Bfres;
|
using Syroot.NintenTools.NSW.Bfres;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using ResU = Syroot.NintenTools.Bfres;
|
using ResU = Syroot.NintenTools.Bfres;
|
||||||
using FirstPlugin;
|
using FirstPlugin;
|
||||||
using OpenTK;
|
using OpenTK;
|
||||||
using Switch_Toolbox.Library.Animations;
|
using Toolbox.Library.Animations;
|
||||||
using Switch_Toolbox.Library.Forms;
|
using Toolbox.Library.Forms;
|
||||||
using SELib;
|
using SELib;
|
||||||
|
|
||||||
namespace Bfres.Structs
|
namespace Bfres.Structs
|
||||||
|
@ -4,13 +4,13 @@ using System.Linq;
|
|||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using Switch_Toolbox.Library.Forms;
|
using Toolbox.Library.Forms;
|
||||||
using Syroot.NintenTools.Bfres;
|
using Syroot.NintenTools.Bfres;
|
||||||
using Syroot.NintenTools.Bfres.GX2;
|
using Syroot.NintenTools.Bfres.GX2;
|
||||||
using OpenTK;
|
using OpenTK;
|
||||||
using OpenTK.Graphics.OpenGL;
|
using OpenTK.Graphics.OpenGL;
|
||||||
using Switch_Toolbox.Library.IO;
|
using Toolbox.Library.IO;
|
||||||
using FirstPlugin;
|
using FirstPlugin;
|
||||||
using FirstPlugin.Forms;
|
using FirstPlugin.Forms;
|
||||||
|
|
||||||
|
@ -4,8 +4,8 @@ using System.Collections.Generic;
|
|||||||
using FirstPlugin;
|
using FirstPlugin;
|
||||||
using FirstPlugin.Forms;
|
using FirstPlugin.Forms;
|
||||||
using Syroot.NintenTools.Bfres;
|
using Syroot.NintenTools.Bfres;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using Switch_Toolbox.Library.Animations;
|
using Toolbox.Library.Animations;
|
||||||
|
|
||||||
namespace Bfres.Structs
|
namespace Bfres.Structs
|
||||||
{
|
{
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using FirstPlugin;
|
using FirstPlugin;
|
||||||
using Syroot.NintenTools.NSW.Bfres;
|
using Syroot.NintenTools.NSW.Bfres;
|
||||||
using FirstPlugin.Forms;
|
using FirstPlugin.Forms;
|
||||||
using Switch_Toolbox.Library.Animations;
|
using Toolbox.Library.Animations;
|
||||||
using ResU = Syroot.NintenTools.Bfres;
|
using ResU = Syroot.NintenTools.Bfres;
|
||||||
|
|
||||||
namespace Bfres.Structs
|
namespace Bfres.Structs
|
||||||
|
@ -6,14 +6,14 @@ using System.Threading.Tasks;
|
|||||||
using Syroot.NintenTools.NSW.Bfres;
|
using Syroot.NintenTools.NSW.Bfres;
|
||||||
using Syroot.NintenTools.NSW.Bfres.Helpers;
|
using Syroot.NintenTools.NSW.Bfres.Helpers;
|
||||||
using Syroot.NintenTools.NSW.Bfres.GFX;
|
using Syroot.NintenTools.NSW.Bfres.GFX;
|
||||||
using Switch_Toolbox.Library.IO;
|
using Toolbox.Library.IO;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using Switch_Toolbox.Library.Rendering;
|
using Toolbox.Library.Rendering;
|
||||||
using Switch_Toolbox.Library.Forms;
|
using Toolbox.Library.Forms;
|
||||||
using OpenTK;
|
using OpenTK;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Bfres.Structs;
|
using Bfres.Structs;
|
||||||
using Switch_Toolbox.Library.Animations;
|
using Toolbox.Library.Animations;
|
||||||
|
|
||||||
namespace FirstPlugin
|
namespace FirstPlugin
|
||||||
{
|
{
|
||||||
|
@ -3,7 +3,7 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Switch_Toolbox.Library.IO;
|
using Toolbox.Library.IO;
|
||||||
|
|
||||||
namespace FirstPlugin
|
namespace FirstPlugin
|
||||||
{
|
{
|
||||||
|
@ -8,9 +8,9 @@ using Syroot.NintenTools.Bfres.Helpers;
|
|||||||
using Syroot.NintenTools.Bfres.GX2;
|
using Syroot.NintenTools.Bfres.GX2;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Bfres.Structs;
|
using Bfres.Structs;
|
||||||
using Switch_Toolbox.Library.IO;
|
using Toolbox.Library.IO;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using Switch_Toolbox.Library.Rendering;
|
using Toolbox.Library.Rendering;
|
||||||
using OpenTK;
|
using OpenTK;
|
||||||
using ResNSW = Syroot.NintenTools.NSW.Bfres;
|
using ResNSW = Syroot.NintenTools.NSW.Bfres;
|
||||||
|
|
||||||
|
@ -3,12 +3,12 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Switch_Toolbox;
|
using Toolbox;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using Switch_Toolbox.Library.IO;
|
using Toolbox.Library.IO;
|
||||||
using Switch_Toolbox.Library.Forms;
|
using Toolbox.Library.Forms;
|
||||||
using Switch_Toolbox.Library.Rendering;
|
using Toolbox.Library.Rendering;
|
||||||
using SuperBMDLib;
|
using SuperBMDLib;
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using SuperBMDLib.Rigging;
|
using SuperBMDLib.Rigging;
|
||||||
@ -31,7 +31,7 @@ namespace FirstPlugin
|
|||||||
|
|
||||||
public bool Identify(System.IO.Stream stream)
|
public bool Identify(System.IO.Stream stream)
|
||||||
{
|
{
|
||||||
using (var reader = new Switch_Toolbox.Library.IO.FileReader(stream, true))
|
using (var reader = new Toolbox.Library.IO.FileReader(stream, true))
|
||||||
{
|
{
|
||||||
reader.SetByteOrder(true);
|
reader.SetByteOrder(true);
|
||||||
bool IsBMD = reader.ReadUInt32() == 0x4A334432;
|
bool IsBMD = reader.ReadUInt32() == 0x4A334432;
|
||||||
|
@ -4,8 +4,8 @@ using System.Linq;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using Switch_Toolbox.Library.Forms;
|
using Toolbox.Library.Forms;
|
||||||
using SuperBMDLib.Materials;
|
using SuperBMDLib.Materials;
|
||||||
|
|
||||||
namespace FirstPlugin
|
namespace FirstPlugin
|
||||||
|
@ -4,10 +4,10 @@ using System.Linq;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using Switch_Toolbox.Library.IO;
|
using Toolbox.Library.IO;
|
||||||
using Switch_Toolbox.Library.Rendering;
|
using Toolbox.Library.Rendering;
|
||||||
using Switch_Toolbox.Library.Forms;
|
using Toolbox.Library.Forms;
|
||||||
using SuperBMDLib.Geometry;
|
using SuperBMDLib.Geometry;
|
||||||
|
|
||||||
namespace FirstPlugin
|
namespace FirstPlugin
|
||||||
|
@ -3,7 +3,7 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
|
|
||||||
namespace FirstPlugin
|
namespace FirstPlugin
|
||||||
{
|
{
|
||||||
|
@ -4,9 +4,9 @@ using System.Linq;
|
|||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using Switch_Toolbox.Library.IO;
|
using Toolbox.Library.IO;
|
||||||
using Switch_Toolbox.Library.Forms;
|
using Toolbox.Library.Forms;
|
||||||
using SuperBMDLib;
|
using SuperBMDLib;
|
||||||
|
|
||||||
namespace FirstPlugin
|
namespace FirstPlugin
|
||||||
|
@ -3,9 +3,9 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Switch_Toolbox;
|
using Toolbox;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using Syroot.NintenTools.MarioKart8.BinData;
|
using Syroot.NintenTools.MarioKart8.BinData;
|
||||||
using Syroot.NintenTools.MarioKart8;
|
using Syroot.NintenTools.MarioKart8;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
@ -26,7 +26,7 @@ namespace FirstPlugin.Turbo
|
|||||||
|
|
||||||
public bool Identify(System.IO.Stream stream)
|
public bool Identify(System.IO.Stream stream)
|
||||||
{
|
{
|
||||||
using (var reader = new Switch_Toolbox.Library.IO.FileReader(stream, true))
|
using (var reader = new Toolbox.Library.IO.FileReader(stream, true))
|
||||||
{
|
{
|
||||||
return reader.CheckSignature(4, "PRTS");
|
return reader.CheckSignature(4, "PRTS");
|
||||||
}
|
}
|
||||||
|
@ -3,11 +3,11 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Switch_Toolbox;
|
using Toolbox;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using Switch_Toolbox.Library.Forms;
|
using Toolbox.Library.Forms;
|
||||||
using Switch_Toolbox.Library.IO;
|
using Toolbox.Library.IO;
|
||||||
using ByamlExt.Byaml;
|
using ByamlExt.Byaml;
|
||||||
using ByamlExt;
|
using ByamlExt;
|
||||||
using FirstPlugin.Turbo;
|
using FirstPlugin.Turbo;
|
||||||
@ -27,7 +27,7 @@ namespace FirstPlugin
|
|||||||
|
|
||||||
public bool Identify(System.IO.Stream stream)
|
public bool Identify(System.IO.Stream stream)
|
||||||
{
|
{
|
||||||
using (var reader = new Switch_Toolbox.Library.IO.FileReader(stream, true))
|
using (var reader = new Toolbox.Library.IO.FileReader(stream, true))
|
||||||
{
|
{
|
||||||
//File too small to have any data
|
//File too small to have any data
|
||||||
if (stream.Length <= 16)
|
if (stream.Length <= 16)
|
||||||
|
@ -2,15 +2,15 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using GL_EditorFramework.Interfaces;
|
using GL_EditorFramework.Interfaces;
|
||||||
using OpenTK.Graphics.OpenGL;
|
using OpenTK.Graphics.OpenGL;
|
||||||
using OpenTK;
|
using OpenTK;
|
||||||
using Switch_Toolbox.Library.Rendering;
|
using Toolbox.Library.Rendering;
|
||||||
using GL_EditorFramework.GL_Core;
|
using GL_EditorFramework.GL_Core;
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using Switch_Toolbox.Library.IO;
|
using Toolbox.Library.IO;
|
||||||
using Switch_Toolbox.Library.Forms;
|
using Toolbox.Library.Forms;
|
||||||
using GL_EditorFramework.EditorDrawables;
|
using GL_EditorFramework.EditorDrawables;
|
||||||
using FirstPlugin.Forms;
|
using FirstPlugin.Forms;
|
||||||
using static GL_EditorFramework.EditorDrawables.EditorSceneBase;
|
using static GL_EditorFramework.EditorDrawables.EditorSceneBase;
|
||||||
@ -30,7 +30,7 @@ namespace FirstPlugin
|
|||||||
|
|
||||||
public bool Identify(System.IO.Stream stream)
|
public bool Identify(System.IO.Stream stream)
|
||||||
{
|
{
|
||||||
using (var reader = new Switch_Toolbox.Library.IO.FileReader(stream, true))
|
using (var reader = new Toolbox.Library.IO.FileReader(stream, true))
|
||||||
{
|
{
|
||||||
reader.ByteOrder = Syroot.BinaryData.ByteOrder.BigEndian;
|
reader.ByteOrder = Syroot.BinaryData.ByteOrder.BigEndian;
|
||||||
return reader.ReadUInt32() == 0x02020000;
|
return reader.ReadUInt32() == 0x02020000;
|
||||||
|
@ -3,7 +3,7 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using Switch_Toolbox.Library.IO;
|
using Toolbox.Library.IO;
|
||||||
using OpenTK;
|
using OpenTK;
|
||||||
|
|
||||||
namespace FirstPlugin
|
namespace FirstPlugin
|
||||||
|
@ -3,8 +3,8 @@ using System.Collections.Generic;
|
|||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using Switch_Toolbox.Library.Rendering;
|
using Toolbox.Library.Rendering;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using OpenTK;
|
using OpenTK;
|
||||||
|
|
||||||
|
@ -3,10 +3,10 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Switch_Toolbox;
|
using Toolbox;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using Switch_Toolbox.Library.IO;
|
using Toolbox.Library.IO;
|
||||||
using FirstPlugin.Forms;
|
using FirstPlugin.Forms;
|
||||||
|
|
||||||
namespace FirstPlugin
|
namespace FirstPlugin
|
||||||
@ -24,7 +24,7 @@ namespace FirstPlugin
|
|||||||
|
|
||||||
public bool Identify(System.IO.Stream stream)
|
public bool Identify(System.IO.Stream stream)
|
||||||
{
|
{
|
||||||
using (var reader = new Switch_Toolbox.Library.IO.FileReader(stream, true))
|
using (var reader = new Toolbox.Library.IO.FileReader(stream, true))
|
||||||
{
|
{
|
||||||
if (reader.CheckSignature(4, "EFCF") ||
|
if (reader.CheckSignature(4, "EFCF") ||
|
||||||
reader.CheckSignature(4, "EFCC"))
|
reader.CheckSignature(4, "EFCC"))
|
||||||
|
@ -3,8 +3,8 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Switch_Toolbox.Library.IO;
|
using Toolbox.Library.IO;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
|
|
||||||
namespace FirstPlugin
|
namespace FirstPlugin
|
||||||
{
|
{
|
||||||
@ -21,7 +21,7 @@ namespace FirstPlugin
|
|||||||
|
|
||||||
public bool Identify(System.IO.Stream stream)
|
public bool Identify(System.IO.Stream stream)
|
||||||
{
|
{
|
||||||
using (var reader = new Switch_Toolbox.Library.IO.FileReader(stream, true))
|
using (var reader = new Toolbox.Library.IO.FileReader(stream, true))
|
||||||
{
|
{
|
||||||
return reader.CheckSignature(4, "EFFN");
|
return reader.CheckSignature(4, "EFFN");
|
||||||
}
|
}
|
||||||
|
@ -4,12 +4,12 @@ using System.Linq;
|
|||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Switch_Toolbox.Library.IO;
|
using Toolbox.Library.IO;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using Syroot.BinaryData;
|
using Syroot.BinaryData;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Switch_Toolbox.Library.Forms;
|
using Toolbox.Library.Forms;
|
||||||
using Bfres.Structs;
|
using Bfres.Structs;
|
||||||
|
|
||||||
namespace FirstPlugin
|
namespace FirstPlugin
|
||||||
@ -27,7 +27,7 @@ namespace FirstPlugin
|
|||||||
|
|
||||||
public bool Identify(System.IO.Stream stream)
|
public bool Identify(System.IO.Stream stream)
|
||||||
{
|
{
|
||||||
using (var reader = new Switch_Toolbox.Library.IO.FileReader(stream, true))
|
using (var reader = new Toolbox.Library.IO.FileReader(stream, true))
|
||||||
{
|
{
|
||||||
if (reader.CheckSignature(4, "VFXB") ||
|
if (reader.CheckSignature(4, "VFXB") ||
|
||||||
reader.CheckSignature(4, "SPBD") ||
|
reader.CheckSignature(4, "SPBD") ||
|
||||||
|
@ -3,12 +3,12 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using Switch_Toolbox.Library.IO;
|
using Toolbox.Library.IO;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using Syroot.BinaryData;
|
using Syroot.BinaryData;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Switch_Toolbox.Library.Forms;
|
using Toolbox.Library.Forms;
|
||||||
using Bfres.Structs;
|
using Bfres.Structs;
|
||||||
|
|
||||||
namespace FirstPlugin
|
namespace FirstPlugin
|
||||||
|
@ -3,12 +3,12 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using Switch_Toolbox.Library.IO;
|
using Toolbox.Library.IO;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using Syroot.BinaryData;
|
using Syroot.BinaryData;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Switch_Toolbox.Library.Forms;
|
using Toolbox.Library.Forms;
|
||||||
using Bfres.Structs;
|
using Bfres.Structs;
|
||||||
|
|
||||||
namespace FirstPlugin
|
namespace FirstPlugin
|
||||||
|
@ -3,12 +3,12 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Switch_Toolbox;
|
using Toolbox;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using Switch_Toolbox.Library.IO;
|
using Toolbox.Library.IO;
|
||||||
using Switch_Toolbox.Library.Forms;
|
using Toolbox.Library.Forms;
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
|
|
||||||
namespace FirstPlugin
|
namespace FirstPlugin
|
||||||
|
@ -3,12 +3,12 @@ using System.Collections.Generic;
|
|||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Switch_Toolbox;
|
using Toolbox;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using Switch_Toolbox.Library.IO;
|
using Toolbox.Library.IO;
|
||||||
using Switch_Toolbox.Library.Forms;
|
using Toolbox.Library.Forms;
|
||||||
using Switch_Toolbox.Library.Rendering;
|
using Toolbox.Library.Rendering;
|
||||||
using OpenTK;
|
using OpenTK;
|
||||||
|
|
||||||
namespace FirstPlugin
|
namespace FirstPlugin
|
||||||
@ -26,7 +26,7 @@ namespace FirstPlugin
|
|||||||
|
|
||||||
public bool Identify(System.IO.Stream stream)
|
public bool Identify(System.IO.Stream stream)
|
||||||
{
|
{
|
||||||
using (var reader = new Switch_Toolbox.Library.IO.FileReader(stream, true))
|
using (var reader = new Toolbox.Library.IO.FileReader(stream, true))
|
||||||
{
|
{
|
||||||
reader.ByteOrder = Syroot.BinaryData.ByteOrder.BigEndian;
|
reader.ByteOrder = Syroot.BinaryData.ByteOrder.BigEndian;
|
||||||
|
|
||||||
|
@ -3,8 +3,8 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using Switch_Toolbox.Library.Rendering;
|
using Toolbox.Library.Rendering;
|
||||||
using OpenTK;
|
using OpenTK;
|
||||||
|
|
||||||
namespace FirstPlugin
|
namespace FirstPlugin
|
||||||
|
@ -3,12 +3,12 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Switch_Toolbox;
|
using Toolbox;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using Switch_Toolbox.Library.IO;
|
using Toolbox.Library.IO;
|
||||||
using Switch_Toolbox.Library.Rendering;
|
using Toolbox.Library.Rendering;
|
||||||
using Switch_Toolbox.Library.Forms;
|
using Toolbox.Library.Forms;
|
||||||
|
|
||||||
namespace FirstPlugin
|
namespace FirstPlugin
|
||||||
{
|
{
|
||||||
@ -25,7 +25,7 @@ namespace FirstPlugin
|
|||||||
|
|
||||||
public bool Identify(System.IO.Stream stream)
|
public bool Identify(System.IO.Stream stream)
|
||||||
{
|
{
|
||||||
using (var reader = new Switch_Toolbox.Library.IO.FileReader(stream, true))
|
using (var reader = new Toolbox.Library.IO.FileReader(stream, true))
|
||||||
{
|
{
|
||||||
return reader.CheckSignature(4, "GMX2");
|
return reader.CheckSignature(4, "GMX2");
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,7 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Switch_Toolbox.Library.IO;
|
using Toolbox.Library.IO;
|
||||||
using Syroot.BinaryData;
|
using Syroot.BinaryData;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
|
@ -3,9 +3,9 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Switch_Toolbox;
|
using Toolbox;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
|
|
||||||
namespace FirstPlugin
|
namespace FirstPlugin
|
||||||
{
|
{
|
||||||
@ -22,7 +22,7 @@ namespace FirstPlugin
|
|||||||
|
|
||||||
public bool Identify(System.IO.Stream stream)
|
public bool Identify(System.IO.Stream stream)
|
||||||
{
|
{
|
||||||
using (var reader = new Switch_Toolbox.Library.IO.FileReader(stream, true))
|
using (var reader = new Toolbox.Library.IO.FileReader(stream, true))
|
||||||
{
|
{
|
||||||
return reader.CheckSignature(4, "FLAN");
|
return reader.CheckSignature(4, "FLAN");
|
||||||
}
|
}
|
||||||
|
@ -3,9 +3,9 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Switch_Toolbox;
|
using Toolbox;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
|
|
||||||
namespace FirstPlugin
|
namespace FirstPlugin
|
||||||
{
|
{
|
||||||
@ -22,7 +22,7 @@ namespace FirstPlugin
|
|||||||
|
|
||||||
public bool Identify(System.IO.Stream stream)
|
public bool Identify(System.IO.Stream stream)
|
||||||
{
|
{
|
||||||
using (var reader = new Switch_Toolbox.Library.IO.FileReader(stream, true))
|
using (var reader = new Toolbox.Library.IO.FileReader(stream, true))
|
||||||
{
|
{
|
||||||
return reader.CheckSignature(4, "FLYT");
|
return reader.CheckSignature(4, "FLYT");
|
||||||
}
|
}
|
||||||
|
@ -3,12 +3,12 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Switch_Toolbox;
|
using Toolbox;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using Switch_Toolbox.Library.IO;
|
using Toolbox.Library.IO;
|
||||||
using Switch_Toolbox.Library.Forms;
|
using Toolbox.Library.Forms;
|
||||||
using Switch_Toolbox.Library.Rendering;
|
using Toolbox.Library.Rendering;
|
||||||
using OpenTK;
|
using OpenTK;
|
||||||
using OpenTK.Graphics.OpenGL;
|
using OpenTK.Graphics.OpenGL;
|
||||||
using GL_EditorFramework.Interfaces;
|
using GL_EditorFramework.Interfaces;
|
||||||
@ -29,7 +29,7 @@ namespace FirstPlugin
|
|||||||
|
|
||||||
public bool Identify(System.IO.Stream stream)
|
public bool Identify(System.IO.Stream stream)
|
||||||
{
|
{
|
||||||
using (var reader = new Switch_Toolbox.Library.IO.FileReader(stream, true))
|
using (var reader = new Toolbox.Library.IO.FileReader(stream, true))
|
||||||
{
|
{
|
||||||
return reader.CheckSignature(4, "BIKE");
|
return reader.CheckSignature(4, "BIKE");
|
||||||
}
|
}
|
||||||
|
@ -3,11 +3,11 @@ using System.Collections.Generic;
|
|||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Switch_Toolbox;
|
using Toolbox;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using FirstPlugin.Forms;
|
using FirstPlugin.Forms;
|
||||||
using Switch_Toolbox.Library.IO;
|
using Toolbox.Library.IO;
|
||||||
|
|
||||||
namespace FirstPlugin
|
namespace FirstPlugin
|
||||||
{
|
{
|
||||||
@ -24,7 +24,7 @@ namespace FirstPlugin
|
|||||||
|
|
||||||
public bool Identify(System.IO.Stream stream)
|
public bool Identify(System.IO.Stream stream)
|
||||||
{
|
{
|
||||||
using (var reader = new Switch_Toolbox.Library.IO.FileReader(stream, true))
|
using (var reader = new Toolbox.Library.IO.FileReader(stream, true))
|
||||||
{
|
{
|
||||||
return reader.CheckSignature(8, "MsgStdBn");
|
return reader.CheckSignature(8, "MsgStdBn");
|
||||||
}
|
}
|
||||||
|
@ -3,9 +3,9 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Switch_Toolbox.Library;
|
using Toolbox.Library;
|
||||||
using LibHac.IO;
|
using LibHac.IO;
|
||||||
using Switch_Toolbox.Library.IO;
|
using Toolbox.Library.IO;
|
||||||
using LibHac;
|
using LibHac;
|
||||||
|
|
||||||
namespace FirstPlugin
|
namespace FirstPlugin
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user