VMU Packaging functionality. More...
|VMU Package type. More...|
|Final VMU package type. More...|
|No eyecatch. |
|16-bit ARGB4444 |
|256-color palette |
|16-color palette |
|typedef struct vmu_pkg||vmu_pkg_t|
|VMU Package type. |
|typedef struct vmu_hdr||vmu_hdr_t|
|Final VMU package type. |
|int||vmu_pkg_build (vmu_pkg_t *src, uint8 **dst, int *dst_size)|
|Convert a vmu_pkg_t into an array of uint8s. |
|int||vmu_pkg_parse (uint8 *data, vmu_pkg_t *pkg)|
|Parse an array of uint8s into a vmu_pkg_t. |
VMU Packaging functionality.
This file provides declarations for managing the headers that must be attached to VMU files for the BIOS to pay attention to them. This does not handle reading/writing files directly.
Final VMU package type.
This structure will be written into the file itself, not vmu_pkg_t.
VMU Package type.
Anyone wanting to package a VMU file should create one of these somewhere; eventually it will be turned into a flat file that you can save using fs_vmu.
Convert a vmu_pkg_t into an array of uint8s.
This function converts a vmu_pkg_t structure into an array of uint8's which may be written to a VMU file via fs_vmu, or whatever.
|src||The vmu_pkg_t to convert.|
|dst||The buffer (will be allocated for you).|
|dst_size||The size of the output.|
Parse an array of uint8s into a vmu_pkg_t.
This function does the opposite of vmu_pkg_build and is used to parse VMU files read in.
|data||The buffer to parse.|
|pkg||Where to store the vmu_pkg_t.|
|-1||On invalid CRC in the data.|