|
AnimaEngine
1.0.0
Nintendo DS Pokemon Black, White, Black 2, and White 2 sprite extraction and preview toolchain
|
Functions | |
| int | Narc_Init (NarcArchive *narc, const u8 *data, size_t size) |
| Initializes and validates a NarcArchive from raw binary data. More... | |
| int | Narc_GetMemberRange (const NarcArchive *narc, int member_id, NarcMemberRange *out_range) |
| Resolves the file offset boundaries of an archived member index. More... | |
| int | Narc_ExtractMember (const NarcArchive *narc, int member_id, u8 **out_data, size_t *out_size) |
| Copies/extracts an archived member from NARC into a separate buffer. More... | |
| void | Narc_PrintInfo (const NarcArchive *narc) |
| Debug printer function writing NARC layout stats to console stdout. More... | |
| int Narc_ExtractMember | ( | const NarcArchive * | narc, |
| int | member_id, | ||
| u8 ** | out_data, | ||
| size_t * | out_size | ||
| ) |
Copies/extracts an archived member from NARC into a separate buffer.
| narc | Pointer to initialized archive. |
| member_id | ID offset of target file. |
| out_data | Pointer to the destination buffer pointer, allocated inside this function. |
| out_size | Pointer to store the size of the extracted member file. |
| int Narc_GetMemberRange | ( | const NarcArchive * | narc, |
| int | member_id, | ||
| NarcMemberRange * | out_range | ||
| ) |
Resolves the file offset boundaries of an archived member index.
| narc | Pointer to initialized archive. |
| member_id | ID offset of target file. |
| out_range | Destination container to write boundary coordinates. |
| int Narc_Init | ( | NarcArchive * | narc, |
| const u8 * | data, | ||
| size_t | size | ||
| ) |
Initializes and validates a NarcArchive from raw binary data.
| narc | Destination structure to populate. |
| data | Pointer to raw file data. |
| size | File size in bytes. |
| void Narc_PrintInfo | ( | const NarcArchive * | narc | ) |
Debug printer function writing NARC layout stats to console stdout.
| narc | Pointer to archive. |