|
AnimaEngine
1.0.0
Nintendo DS Pokemon Black, White, Black 2, and White 2 sprite extraction and preview toolchain
|
Auto-detection routines matching magic signatures to Nintendo Nitro formats. More...
#include "common.h"Go to the source code of this file.
Typedefs | |
| typedef enum NitroFileType | NitroFileType |
| Identifiers for Nintendo Nitro SDK proprietary file formats. More... | |
Enumerations | |
| enum | NitroFileType { NITRO_UNKNOWN , NITRO_NCGR , NITRO_NCLR , NITRO_NCER , NITRO_NANR , NITRO_NMCR , NITRO_NMAR , NITRO_RAW_GFX_OR_SPECIAL , NITRO_EMPTY } |
| Identifiers for Nintendo Nitro SDK proprietary file formats. More... | |
Functions | |
| NitroFileType | NitroGuess_Detect (const u8 *data, size_t size, int block_offset) |
| Auto-detects the Nitro file format of a data stream by inspecting its magic signature. More... | |
| const char * | NitroGuess_Name (NitroFileType type) |
| Returns a human-readable name string for a NitroFileType. More... | |
| const char * | NitroGuess_Extension (NitroFileType type) |
| Returns the standard file extension string for a NitroFileType. More... | |
Auto-detection routines matching magic signatures to Nintendo Nitro formats.
| typedef enum NitroFileType NitroFileType |
Identifiers for Nintendo Nitro SDK proprietary file formats.
| enum NitroFileType |
Identifiers for Nintendo Nitro SDK proprietary file formats.
| NitroFileType NitroGuess_Detect | ( | const u8 * | data, |
| size_t | size, | ||
| int | block_offset | ||
| ) |
Auto-detects the Nitro file format of a data stream by inspecting its magic signature.
| data | Pointer to binary data buffer. |
| size | Data size in bytes. |
| block_offset | Byte index offset to begin inspection (often 0 or 4). |
| const char* NitroGuess_Extension | ( | NitroFileType | type | ) |
Returns the standard file extension string for a NitroFileType.
| type | Nitro format identifier. |
| const char* NitroGuess_Name | ( | NitroFileType | type | ) |
Returns a human-readable name string for a NitroFileType.
| type | Nitro format identifier. |