module documentation
Read and write soundset files.
Note that the index in the SSF always has a special meaning (soundset.2da), and cannot be reordered.
Class |
|
A single entry in a SSF file including the resref and strref. |
Function | read |
Read a SSF file and return a list of entries. |
Function | write |
Writes a list of entries to a binary file in the SSF V1.0 format. |
Read a SSF file and return a list of entries.
Parameters | |
file:BinaryIO | A binary file object containing the SSF file. |
max | The maximum number of entries to read. |
Returns | |
list[ | A list of tuples containing the resref and strref of each entry. |
Raises | |
ValueError | If the file does not contain valid SSF data. |