|
AnimaEngine
1.0.0
Nintendo DS Pokemon Black, White, Black 2, and White 2 sprite extraction and preview toolchain
|
Nintendo DS ROM header structure and format validation. More...
#include "common.h"Go to the source code of this file.
Data Structures | |
| struct | NdsHeader |
| Representation of subset of core metadata field descriptors inside an NDS ROM header block. More... | |
Typedefs | |
| typedef struct NdsHeader | NdsHeader |
| Representation of subset of core metadata field descriptors inside an NDS ROM header block. More... | |
Functions | |
| int | NdsHeader_Parse (const u8 *rom, size_t rom_size, NdsHeader *out_header) |
| Parses essential header entries from a raw ROM buffer. More... | |
| void | NdsHeader_Print (const NdsHeader *header, size_t rom_size) |
| Debug prints ROM header values to stdout. More... | |
| int | NdsHeader_IsValidGame (const NdsHeader *header) |
| Validates if the ROM matches known Gen 5 Pokemon game serial codes. More... | |
| int | NdsHeader_IsSequel (const NdsHeader *header) |
| Checks if the target ROM is Black 2 or White 2. More... | |
Nintendo DS ROM header structure and format validation.
Representation of subset of core metadata field descriptors inside an NDS ROM header block.
| int NdsHeader_IsSequel | ( | const NdsHeader * | header | ) |
Checks if the target ROM is Black 2 or White 2.
| header | Pointer to parsed header. |
| int NdsHeader_IsValidGame | ( | const NdsHeader * | header | ) |
Validates if the ROM matches known Gen 5 Pokemon game serial codes.
| header | Pointer to parsed header. |
Parses essential header entries from a raw ROM buffer.
| rom | Pointer to binary ROM data. |
| rom_size | ROM buffer size. |
| out_header | Destination structure. |
| void NdsHeader_Print | ( | const NdsHeader * | header, |
| size_t | rom_size | ||
| ) |
Debug prints ROM header values to stdout.
| header | Pointer to header structure. |
| rom_size | ROM size in bytes. |