|
AnimaEngine
1.0.0
Nintendo DS Pokemon Black, White, Black 2, and White 2 sprite extraction and preview toolchain
|
Command line tool executable entry point for AnimaEngine asset exports. More...
#include "anima_backend.h"#include "common.h"#include "pokemon_catalog.h"#include <ctype.h>#include <stdio.h>#include <stdlib.h>#include <string.h>Functions | |
| static void | PrintHelp (const char *program) |
| Prints command-line argument help usage overview. More... | |
| static int | ParseNonNegativeInt (const char *text, int *out_value) |
| Parses text input into a non-negative integer. More... | |
| static int | ParsePositiveInt (const char *text, int *out_value) |
| Parses text input into a positive integer. More... | |
| static void | SanitizeOutputName (const char *name, char *out, size_t out_size) |
| Sanitizes output directory name strings to ensure alphanumeric and underscore format. More... | |
| static void | BuildCanonicalOutputDir (int species, const char *out_root, char *out_dir, size_t out_dir_size) |
| Constructs the canonical species folder path matching output parameters. More... | |
| int | main (int argc, char **argv) |
Command line tool executable entry point for AnimaEngine asset exports.
|
static |
Constructs the canonical species folder path matching output parameters.
| species | Dex ID of species. |
| out_root | Parent root path. |
| out_dir | Output folder buffer. |
| out_dir_size | Output folder buffer size. |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
|
static |
Parses text input into a non-negative integer.
| text | Source text. |
| out_value | Destination integer pointer. |
|
static |
Parses text input into a positive integer.
| text | Source text. |
| out_value | Destination integer pointer. |
|
static |
Prints command-line argument help usage overview.
| program | Name of the active program executable. |
|
static |
Sanitizes output directory name strings to ensure alphanumeric and underscore format.
| name | Source string. |
| out | Output buffer. |
| out_size | Size of output buffer. |