Allow streaming chunk filetype in mod filter (#745)

This commit is contained in:
uh wot 2023-04-18 22:59:25 +02:00 committed by GitHub
commit 48c3384e0c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 0 deletions

View file

@ -30,6 +30,7 @@ public static partial class FileHelper
return file.FileType switch
{
LbpFileType.MotionRecording => true,
LbpFileType.StreamingChunk => true,
LbpFileType.FileArchive => false,
LbpFileType.CrossLevel => true,
LbpFileType.Painting => true,

View file

@ -50,6 +50,7 @@ public partial class FileHelper
"ADSb" => LbpFileType.Adventure,
"PLNb" => LbpFileType.Plan,
"QSTb" => LbpFileType.Quest,
"CHKb" => LbpFileType.StreamingChunk,
_ => readAlternateHeader(reader),
};
}

View file

@ -15,5 +15,6 @@ public enum LbpFileType
Jpeg, // JFIF / FIF, used in sticker switches,
Png, // used in LBP Vita
Quest, // A LBP3 quest, used in the organizertron
StreamingChunk, // used in LBP3 dynamic thermo levels
Unknown,
}