1
Fork 0
mirror of https://github.com/redstrate/Physis.git synced 2025-04-20 19:57:45 +00:00

Note that there only seems to be version 1 SqPacks

This commit is contained in:
Joshua Goins 2025-03-06 16:27:30 -05:00
parent c9230530a1
commit 0d1f61f020

View file

@ -17,7 +17,7 @@ use binrw::BinRead;
enum SqPackFileType {
/// Dat files.
Data = 0x1,
// Index/Index2 files.
/// Index/Index2 files.
Index = 0x2,
}
@ -27,6 +27,7 @@ pub struct SqPackHeader {
platform_id: Platform,
#[brw(pad_before = 3)]
size: u32,
// Have only seen version 1
version: u32,
file_type: SqPackFileType,
}