Some more pak and model fixes
This commit is contained in:
parent
db49432909
commit
b6789443ce
@ -38,7 +38,8 @@ namespace DKCTF
|
||||
/// Determines which variant of the file to parse. Switch reads strings and materials differently.
|
||||
/// </summary>
|
||||
bool IsSwitch => this.FileHeader.FormType == "SMDL" && this.FileHeader.VersionA >= 0x3A ||
|
||||
this.FileHeader.FormType == "CMDL" && this.FileHeader.VersionA >= 0x35;
|
||||
this.FileHeader.FormType == "CMDL" && this.FileHeader.VersionA >= 0x35 ||
|
||||
this.FileHeader.FormType == "WMDL" && this.FileHeader.VersionA >= 0x36;
|
||||
|
||||
/// <summary>
|
||||
/// The meta data header for parsing gpu buffers and decompressing.
|
||||
|
@ -98,6 +98,7 @@ namespace DKCTF
|
||||
|
||||
foreach (var c in CharFiles)
|
||||
{
|
||||
if (SkeletonFiles.ContainsKey(c.Value.SkeletonFileID.ToString()))
|
||||
SkeletonFiles[c.Value.SkeletonFileID.ToString()].FileName = $"Characters/{c.Value.Name}/Models/{c.Value.SkeletonFileID}.skel";
|
||||
|
||||
foreach (var m in c.Value.Models)
|
||||
|
Loading…
x
Reference in New Issue
Block a user