From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Format:Bethesda archive (BSA and BA2)" |
|---|
| claim | "A GNRL BA2 file record is 36 bytes; DX10 records carry texture dimensions and up to 4 chunk records of 24 bytes." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:Bethesda archive (BSA and BA2)" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "BA2_GNRL_FILE" |
|---|
| size | 36 |
|---|
| fields | | name | "name_hash" |
|---|
| type | "u32" |
|---|
| offset | 0 |
|---|
|
| name | "extension" |
|---|
| type | "char[4]" |
|---|
| offset | 4 |
|---|
|
| name | "dir_hash" |
|---|
| type | "u32" |
|---|
| offset | 8 |
|---|
|
| name | "mod_index" |
|---|
| type | "u8" |
|---|
| offset | 12 |
|---|
|
| name | "chunk_count" |
|---|
| type | "u8" |
|---|
| offset | 13 |
|---|
|
| name | "chunk_header_size" |
|---|
| type | "u16" |
|---|
| offset | 14 |
|---|
|
| name | "data_offset" |
|---|
| type | "u64" |
|---|
| offset | 16 |
|---|
|
| name | "packed_size" |
|---|
| type | "u32" |
|---|
| offset | 24 |
|---|
|
| name | "unpacked_size" |
|---|
| type | "u32" |
|---|
| offset | 28 |
|---|
|
| name | "filler" |
|---|
| type | "u32" |
|---|
| offset | 32 |
|---|
|
|
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "read loop of the file records; filler read as BAADF00D, CHUNK_HEADER_SIZE_GNRL = 16 at line 539" |
|---|
| repo | "https://github.com/TES5Edit/TES5Edit" |
|---|
| commit | "9fb016884bec138ea6c7b872cec831537d464c3e" |
|---|
| path | "Core/wbBSArchive.pas" |
|---|
| lines | "1450-1500" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "BA2 GNRL file record" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T11:24:47.362Z" |
|---|
| verifications | |
|---|