23 char path[FS_MAX_PATH];
60 NX_INLINE u32 plsrBFSARFileCount(
const PLSR_BFSAR* bfsar) {
Sound archive internal file location.
Definition: bfsar_file.h:27
Sound archive external file location.
Definition: bfsar_file.h:22
Sound archive file.
Definition: bfsar.h:34
Unknown.
Definition: bfsar_file.h:11
u32 count
Table entry/block count.
Definition: archive.h:41
PLSR_RC plsrBFSARFileGet(const PLSR_BFSAR *bfsar, u32 index, PLSR_BFSARFileInfo *out)
Fetch file information from the specified index in the file table.
PLSR_RC plsrBFSARFileInfoNormalize(const PLSR_BFSAR *bfsar, PLSR_BFSARFileInfo *soundFileInfo)
Make sound file information less archive dependent (eg: external path become absolute) ...
Sound archive file information.
Definition: bfsar_file.h:41
bool fromGroup
true if file was found in a group, as opposed to directly stored in the FILE section ...
Definition: bfsar_file.h:47
u32 groupIndex
Group index the file was found in (populated if fromGroup is set to true)
Definition: bfsar_file.h:48
PLSR_ArchiveTableInfo info
Cached table information.
Definition: archive.h:47
PLSR_RC plsrBFSARFileScan(const PLSR_BFSAR *bfsar, u32 index, PLSR_BFSARFileInfo *out)
Similar to plsrBFSARFileGet(), but also scans groups for the requested index in case file is internal...
Sub-file is embedded in the sound archive.
Definition: bfsar_file.h:15
Sub-file is external to the archive and referenced by path.
Definition: bfsar_file.h:18
u32 PLSR_RC
Result code returned by Pulsar functions.
Definition: types.h:73
bool valid
Can be false in case offset and/or size are not pointing to a file.
Definition: bfsar_file.h:33
PLSR_BFSARFileInfoType
Sound archive file type.
Definition: bfsar_file.h:10