19 #ifndef __DC_VMU_PKG_H
20 #define __DC_VMU_PKG_H
22 #include <sys/cdefs.h>
78 #define VMUPKG_EC_NONE 0
79 #define VMUPKG_EC_16BIT 1
80 #define VMUPKG_EC_256COL 2
81 #define VMUPKG_EC_16COL 3
char app_id[16]
Null-padded application ID.
Definition: vmu_pkg.h:58
const uint8 * data
Payload data.
Definition: vmu_pkg.h:46
int icon_cnt
Number of icons.
Definition: vmu_pkg.h:39
char desc_short[16]
Space-padded short description.
Definition: vmu_pkg.h:56
char desc_long[36]
Long file description.
Definition: vmu_pkg.h:37
uint32 data_len
Payload size.
Definition: vmu_pkg.h:63
char desc_short[20]
Short file description.
Definition: vmu_pkg.h:36
uint16 crc
CRC of the file.
Definition: vmu_pkg.h:62
int icon_anim_speed
Icon animation speed.
Definition: vmu_pkg.h:40
char desc_long[32]
Space-padded long description.
Definition: vmu_pkg.h:57
uint16 eyecatch_type
Eyecatch type.
Definition: vmu_pkg.h:61
int data_len
Number of data (payload) bytes.
Definition: vmu_pkg.h:42
unsigned short uint16
16-bit unsigned integer
Definition: types.h:29
struct vmu_pkg vmu_pkg_t
VMU Package type.
const uint8 * eyecatch_data
Eyecatch data.
Definition: vmu_pkg.h:45
unsigned long uint32
32-bit unsigned integer
Definition: types.h:28
char app_id[20]
Application ID.
Definition: vmu_pkg.h:38
int vmu_pkg_parse(uint8 *data, vmu_pkg_t *pkg)
Parse an array of uint8s into a vmu_pkg_t.
const uint8 * icon_data
512*n bytes of icon data
Definition: vmu_pkg.h:44
unsigned char uint8
8-bit unsigned integer
Definition: types.h:30
uint8 reserved[20]
Reserved (all zero)
Definition: vmu_pkg.h:64
VMU Package type.
Definition: vmu_pkg.h:35
int eyecatch_type
"Eyecatch" type
Definition: vmu_pkg.h:41
uint16 icon_pal[16]
Icon palette (ARGB4444)
Definition: vmu_pkg.h:43
Final VMU package type.
Definition: vmu_pkg.h:55
uint16 icon_pal[16]
Icon palette (ARGB4444)
Definition: vmu_pkg.h:65
uint16 icon_cnt
Number of icons.
Definition: vmu_pkg.h:59
int vmu_pkg_build(vmu_pkg_t *src, uint8 **dst, int *dst_size)
Convert a vmu_pkg_t into an array of uint8s.
struct vmu_hdr vmu_hdr_t
Final VMU package type.
uint16 icon_anim_speed
Icon animation speed.
Definition: vmu_pkg.h:60