mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-22 20:43:09 +00:00
SPC file path fixes
This commit is contained in:
parent
8d2b2c0d4d
commit
3e40842844
2 changed files with 8 additions and 8 deletions
Binary file not shown.
|
@ -101,7 +101,7 @@ namespace FirstPlugin
|
|||
animFile.Read(reader);
|
||||
chunk.ChunkData = animFile;
|
||||
break;
|
||||
/* case ChunkSkeletonData:
|
||||
case ChunkSkeletonData:
|
||||
SkeletonFile skelFile = new SkeletonFile();
|
||||
skelFile.Read(reader);
|
||||
chunk.ChunkData = skelFile;
|
||||
|
@ -115,7 +115,7 @@ namespace FirstPlugin
|
|||
MaterialFile matFile = new MaterialFile();
|
||||
matFile.Read(reader);
|
||||
chunk.ChunkData = matFile;
|
||||
break;*/
|
||||
break;
|
||||
}
|
||||
|
||||
chunk.FileName = chunk.FileName.RemoveIllegaleFolderNameCharacters();
|
||||
|
@ -251,9 +251,9 @@ namespace FirstPlugin
|
|||
long pos = reader.Position;
|
||||
|
||||
uint unk3 = reader.ReadUInt32();
|
||||
uint unk4 = reader.ReadUInt32(); //Set to 1
|
||||
uint SectionSize = reader.ReadUInt32(); //At the end, the file name
|
||||
uint Padding = reader.ReadUInt32();
|
||||
uint unk4 = reader.ReadUInt32(); //Set to 1
|
||||
uint unk5 = reader.ReadUInt32();
|
||||
uint NextSectionOffset = reader.ReadUInt32();
|
||||
|
||||
reader.Seek(pos, System.IO.SeekOrigin.Begin);
|
||||
|
@ -279,9 +279,9 @@ namespace FirstPlugin
|
|||
long pos = reader.Position;
|
||||
|
||||
uint unk3 = reader.ReadUInt32();
|
||||
uint unk4 = reader.ReadUInt32(); //Set to 1
|
||||
uint SectionSize = reader.ReadUInt32(); //At the end, the file name
|
||||
uint Padding = reader.ReadUInt32();
|
||||
uint unk4 = reader.ReadUInt32(); //Set to 1
|
||||
uint unk5 = reader.ReadUInt32();
|
||||
|
||||
reader.Seek(pos, System.IO.SeekOrigin.Begin);
|
||||
//Material FILE
|
||||
|
@ -301,9 +301,9 @@ namespace FirstPlugin
|
|||
long pos = reader.Position;
|
||||
|
||||
uint unk3 = reader.ReadUInt32();
|
||||
uint unk4 = reader.ReadUInt32(); //Set to 1
|
||||
uint SectionSize = reader.ReadUInt32(); //At the end, the file name
|
||||
uint Padding = reader.ReadUInt32();
|
||||
uint unk4 = reader.ReadUInt32(); //Set to 1
|
||||
uint unk5 = reader.ReadUInt32();
|
||||
|
||||
reader.Seek(pos, System.IO.SeekOrigin.Begin);
|
||||
//SKEL FILE
|
||||
|
|
Loading…
Reference in a new issue