Add support for LBP3 quests

This commit is contained in:
jvyden 2022-08-17 16:29:28 -04:00
parent 4c3c152322
commit a70a934f99
No known key found for this signature in database
GPG key ID: 18BCF2BE0262B278
2 changed files with 3 additions and 0 deletions

View file

@ -40,6 +40,7 @@ public static class FileHelper
LbpFileType.Script => false,
LbpFileType.Level => true,
LbpFileType.Voice => true,
LbpFileType.Quest => true,
LbpFileType.Plan => true,
LbpFileType.Jpeg => true,
LbpFileType.Png => true,
@ -121,6 +122,7 @@ public static class FileHelper
"VOPb" => LbpFileType.Voice,
"LVLb" => LbpFileType.Level,
"PLNb" => LbpFileType.Plan,
"QSTb" => LbpFileType.Quest,
_ => readAlternateHeader(reader),
};
}

View file

@ -13,5 +13,6 @@ public enum LbpFileType
Painting, // PTG, paintings
Jpeg, // JFIF / FIF, used in sticker switches,
Png, // used in LBP Vita
Quest, // A LBP3 quest, used in the organizertron
Unknown,
}