RESTRUCTURING 1

- change formats to have their own folders with mod + include files + anything they want
- change format list to be defined in formats.rs instead of in each format
- move utils to their respective formats
- some minor code changes in some formats
This commit is contained in:
theubusu
2026-02-17 17:28:59 +01:00
parent 9fe39280cd
commit aa2249f024
69 changed files with 1678 additions and 1629 deletions
+15
View File
@@ -0,0 +1,15 @@
use binrw::BinRead;
#[derive(BinRead)]
pub struct Header {
_magic_bytes: [u8; 6],
pub entry_count: u16,
pub file_size: u32,
}
#[derive(BinRead)]
pub struct Entry {
pub entry_type: u16,
pub entry_size: u32,
_unk: u16,
}