mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-10 07:04:36 +00:00
Fix build
This commit is contained in:
parent
b8be2d31f8
commit
973afc97ef
2 changed files with 15 additions and 14 deletions
|
@ -445,7 +445,7 @@ namespace FirstPlugin.LuigisMansion3
|
||||||
reader.Position = 0;
|
reader.Position = 0;
|
||||||
|
|
||||||
var meshSize = reader.BaseStream.Length / model.Meshes.Count;
|
var meshSize = reader.BaseStream.Length / model.Meshes.Count;
|
||||||
|
Console.WriteLine($"meshSize {meshSize}");
|
||||||
for (int i = 0; i < model.Meshes.Count; i++)
|
for (int i = 0; i < model.Meshes.Count; i++)
|
||||||
{
|
{
|
||||||
reader.SeekBegin(i * meshSize);
|
reader.SeekBegin(i * meshSize);
|
||||||
|
@ -454,7 +454,6 @@ namespace FirstPlugin.LuigisMansion3
|
||||||
uint HashIDCheck = reader.ReadUInt32();
|
uint HashIDCheck = reader.ReadUInt32();
|
||||||
if (Hashes.Contains(HashIDCheck))
|
if (Hashes.Contains(HashIDCheck))
|
||||||
{
|
{
|
||||||
Console.WriteLine("HashCheck " + HashIDCheck);
|
|
||||||
model.Meshes[i].Material = new LM3_Material();
|
model.Meshes[i].Material = new LM3_Material();
|
||||||
var texUnit = 1;
|
var texUnit = 1;
|
||||||
model.Meshes[i].Material.TextureMaps.Add(new STGenericMatTexture()
|
model.Meshes[i].Material.TextureMaps.Add(new STGenericMatTexture()
|
||||||
|
|
|
@ -213,14 +213,15 @@
|
||||||
<Compile Include="FileFormats\Archives\DARC.cs" />
|
<Compile Include="FileFormats\Archives\DARC.cs" />
|
||||||
<Compile Include="FileFormats\Archives\DAT_Bayonetta.cs" />
|
<Compile Include="FileFormats\Archives\DAT_Bayonetta.cs" />
|
||||||
<Compile Include="FileFormats\Archives\GFA.cs" />
|
<Compile Include="FileFormats\Archives\GFA.cs" />
|
||||||
<Compile Include="FileFormats\Archives\LM2\LM2_Material.cs" />
|
<Compile Include="FileFormats\NLG\LM2\LM2_Material.cs" />
|
||||||
<Compile Include="FileFormats\Archives\LM3\LM3_ChunkTable.cs" />
|
<Compile Include="FileFormats\NLG\LM3\LM3_ChunkTable.cs" />
|
||||||
<Compile Include="FileFormats\Archives\LM3\LM3_DICT.cs" />
|
<Compile Include="FileFormats\NLG\LM3\LM3_DICT.cs" />
|
||||||
<Compile Include="FileFormats\Archives\LM3\LM3_Enums.cs" />
|
<Compile Include="FileFormats\NLG\LM3\LM3_Enums.cs" />
|
||||||
<Compile Include="FileFormats\Archives\LM3\LM3_Material.cs" />
|
<Compile Include="FileFormats\NLG\LM3\LM3_Material.cs" />
|
||||||
<Compile Include="FileFormats\Archives\LM3\LM3_Model.cs" />
|
<Compile Include="FileFormats\NLG\LM3\LM3_Model.cs" />
|
||||||
<Compile Include="FileFormats\Archives\LM3\TexturePOWE.cs" />
|
<Compile Include="FileFormats\NLG\LM3\TexturePOWE.cs" />
|
||||||
<Compile Include="FileFormats\Archives\PKZ.cs" />
|
<Compile Include="FileFormats\Archives\PKZ.cs" />
|
||||||
|
<Compile Include="FileFormats\NLG\PunchOutWii\PO_DICT.cs" />
|
||||||
<Compile Include="FileFormats\Archives\VIBS.cs" />
|
<Compile Include="FileFormats\Archives\VIBS.cs" />
|
||||||
<Compile Include="FileFormats\Audio\Archives\AudioCommon.cs" />
|
<Compile Include="FileFormats\Audio\Archives\AudioCommon.cs" />
|
||||||
<Compile Include="FileFormats\Collision\KclMonoscript.cs" />
|
<Compile Include="FileFormats\Collision\KclMonoscript.cs" />
|
||||||
|
@ -243,11 +244,11 @@
|
||||||
<Compile Include="FileFormats\HyruleWarriors\G1T\G1TFile.cs" />
|
<Compile Include="FileFormats\HyruleWarriors\G1T\G1TFile.cs" />
|
||||||
<Compile Include="FileFormats\HyruleWarriors\HWBinGzResource.cs" />
|
<Compile Include="FileFormats\HyruleWarriors\HWBinGzResource.cs" />
|
||||||
<Compile Include="FileFormats\CrashBandicoot\IGA_PAK.cs" />
|
<Compile Include="FileFormats\CrashBandicoot\IGA_PAK.cs" />
|
||||||
<Compile Include="FileFormats\Archives\LM2\LM2_ChunkTable.cs" />
|
<Compile Include="FileFormats\NLG\LM2\LM2_ChunkTable.cs" />
|
||||||
<Compile Include="FileFormats\Archives\LM2\LM2_DICT.cs" />
|
<Compile Include="FileFormats\NLG\LM2\LM2_DICT.cs" />
|
||||||
<Compile Include="FileFormats\Archives\LM2\LM2_Enums.cs" />
|
<Compile Include="FileFormats\NLG\LM2\LM2_Enums.cs" />
|
||||||
<Compile Include="FileFormats\Archives\LM2\LM2_Model.cs" />
|
<Compile Include="FileFormats\NLG\LM2\LM2_Model.cs" />
|
||||||
<Compile Include="FileFormats\Archives\LM2\TexturePOWE.cs" />
|
<Compile Include="FileFormats\NLG\LM2\TexturePOWE.cs" />
|
||||||
<Compile Include="FileFormats\Archives\LZARC.cs" />
|
<Compile Include="FileFormats\Archives\LZARC.cs" />
|
||||||
<Compile Include="FileFormats\Archives\ME01.cs" />
|
<Compile Include="FileFormats\Archives\ME01.cs" />
|
||||||
<Compile Include="FileFormats\Archives\MKGPDX_PAC.cs" />
|
<Compile Include="FileFormats\Archives\MKGPDX_PAC.cs" />
|
||||||
|
@ -1872,6 +1873,7 @@
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Folder Include="FileFormats\EvemtFlow\" />
|
<Folder Include="FileFormats\EvemtFlow\" />
|
||||||
|
<Folder Include="FileFormats\NLG\MarioStrikers\" />
|
||||||
<Folder Include="GUI\Byaml\MuuntEditor\Renderables\" />
|
<Folder Include="GUI\Byaml\MuuntEditor\Renderables\" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|
Loading…
Reference in a new issue