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:
parent
c9230530a1
commit
0d1f61f020
1 changed files with 2 additions and 1 deletions
|
@ -17,7 +17,7 @@ use binrw::BinRead;
|
||||||
enum SqPackFileType {
|
enum SqPackFileType {
|
||||||
/// Dat files.
|
/// Dat files.
|
||||||
Data = 0x1,
|
Data = 0x1,
|
||||||
// Index/Index2 files.
|
/// Index/Index2 files.
|
||||||
Index = 0x2,
|
Index = 0x2,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -27,6 +27,7 @@ pub struct SqPackHeader {
|
||||||
platform_id: Platform,
|
platform_id: Platform,
|
||||||
#[brw(pad_before = 3)]
|
#[brw(pad_before = 3)]
|
||||||
size: u32,
|
size: u32,
|
||||||
|
// Have only seen version 1
|
||||||
version: u32,
|
version: u32,
|
||||||
file_type: SqPackFileType,
|
file_type: SqPackFileType,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue