General Design NotesEdit
There are a number of BSA files used in Daggerfall that all have the same basic structure, though containing different data. These include:
- Arch3d.bsa: 3d objects
- Blocks.bsa: Block information (tells how objects are combined into larger block structures)
- Maps.bsa: Overall town/dungeon maps (tells how blocks are combined to make a single location)
- Dagger.snd: Sound data (is a BSA even though the extension is different)
Exported FunctionsEdit
There are no general BSA exported functions in the library.
Error CodesEdit
The following table lists the general BSA error codes:
Error Code | Value | Description |
---|---|---|
DFERR_BSABADDIRTYPE | -601 | Invalid directory type found in the BSA file. |
DFERR_BSANOTFOUND | -602 | A BSA entry was not found. |
DFERR_BSAREADONLY | -603 | BSA files must be opened for reading. Writing BSA files is not currently supported. |
DFERR_BSANUMFILES | -604 | Invalid number of files in the given BSA. |