|
AnimaEngine
1.0.0
Nintendo DS Pokemon Black, White, Black 2, and White 2 sprite extraction and preview toolchain
|
Nintendo DS File Name Table (FNT) directory structure and path finder. More...
#include "common.h"Go to the source code of this file.
Macros | |
| #define | NDS_FNT_ROOT_DIR_ID 0xF000 |
Functions | |
| int | NdsFnt_FindFileId (const u8 *fnt, size_t fnt_size, const char *path, int *out_file_id) |
| Scans the FNT structures to resolve the file ID matching a virtual filesystem path. More... | |
Nintendo DS File Name Table (FNT) directory structure and path finder.
| #define NDS_FNT_ROOT_DIR_ID 0xF000 |
Base directory identifier index representing the filesystem root (/).
| int NdsFnt_FindFileId | ( | const u8 * | fnt, |
| size_t | fnt_size, | ||
| const char * | path, | ||
| int * | out_file_id | ||
| ) |
Scans the FNT structures to resolve the file ID matching a virtual filesystem path.
| fnt | Pointer to raw binary File Name Table buffer. |
| fnt_size | Size of FNT buffer in bytes. |
| path | Virtual filesystem path string (e.g. "/a/0/0/4"). |
| out_file_id | Destination pointer to store the matching file ID. |