wut  1.0.0-beta9
Wii U Toolchain
Data Structures | Typedefs | Enumerations | Functions

Data Structures

struct  MCPDevice
 
struct  MCPDeviceList
 
struct  MCPInstallInfo
 
struct  MCPInstallProgress
 
struct  MCPInstallTitleInfo
 
struct  MCPSysProdSettings
 
struct  MCPTitleListType
 

Typedefs

typedef int32_t MCPError
 
typedef struct MCPDevice MCPDevice
 
typedef struct MCPDeviceList MCPDeviceList
 
typedef struct MCPInstallInfo MCPInstallInfo
 
typedef struct MCPInstallProgress MCPInstallProgress
 
typedef struct MCPInstallTitleInfo MCPInstallTitleInfo
 
typedef struct MCPSysProdSettings MCPSysProdSettings
 
typedef struct MCPTitleListType MCPTitleListType
 
typedef enum MCPAppType MCPAppType
 
typedef enum MCPInstallTarget MCPInstallTarget
 
typedef enum MCPRegion MCPRegion
 

Enumerations

enum  MCPAppType { MCP_APP_TYPE_UNKNOWN_0x0800000E = 0x0800000E }
 
enum  MCPInstallTarget {
  MCP_INSTALL_TARGET_MLC = 0,
  MCP_INSTALL_TARGET_USB = 1
}
 
enum  MCPRegion {
  MCP_REGION_JAPAN = 0x01,
  MCP_REGION_USA = 0x02,
  MCP_REGION_EUROPE = 0x04,
  MCP_REGION_CHINA = 0x10,
  MCP_REGION_KOREA = 0x20,
  MCP_REGION_TAIWAN = 0x40
}
 

Functions

MCPError MCP_Open ()
 
MCPError MCP_Close (int handle)
 
MCPError MCP_DeviceList (int handle, int *numDevices, MCPDeviceList *outDevices, uint32_t outBufferSize)
 
MCPError MCP_FullDeviceList (int handle, int *numDevices, MCPDeviceList *outDevices, uint32_t outBufferSize)
 
MCPError MCP_GetOwnTitleInfo (int32_t handle, MCPTitleListType *titleInfo)
 
MCPError MCP_GetSysProdSettings (int32_t handle, MCPSysProdSettings *settings)
 
MCPError MCP_GetTitleId (int32_t handle, uint64_t *outTitleId)
 
MCPError MCP_GetTitleInfo (int32_t handle, uint64_t titleId, MCPTitleListType *titleInfo)
 
MCPError MCP_InstallSetTargetDevice (int handle, MCPInstallTarget device)
 
MCPError MCP_InstallGetTargetDevice (int handle, MCPInstallTarget *deviceOut)
 
MCPError MCP_InstallSetTargetUsb (int handle, int usb)
 
MCPError MCP_InstallGetInfo (int handle, char *path, MCPInstallInfo *out)
 
MCPError MCP_InstallTitleAsync (int handle, char *path, MCPInstallTitleInfo *out)
 
MCPError MCP_InstallGetProgress (int handle, MCPInstallProgress *installProgressOut)
 
MCPError MCP_InstallTitleAbort (int handle)
 
MCPError MCP_TitleCount (int32_t handle)
 
MCPError MCP_TitleList (int32_t handle, uint32_t *outTitleCount, MCPTitleListType *titleList, uint32_t titleListSizeBytes)
 
MCPError MCP_TitleListByAppType (int32_t handle, MCPAppType appType, uint32_t *outTitleCount, MCPTitleListType *titleList, uint32_t titleListSizeBytes)
 
MCPError MCP_TitleListByUniqueId (int32_t handle, uint32_t uniqueId, uint32_t *outTitleCount, MCPTitleListType *titleList, uint32_t titleListSizeBytes)
 
MCPError MCP_TitleListByUniqueIdAndIndexedDeviceAndAppType (int32_t handle, uint32_t uniqueId, const char *indexedDevice, uint8_t unk0x60, MCPAppType appType, uint32_t *outTitleCount, MCPTitleListType *titleList, uint32_t titleListSizeBytes)
 
MCPError MCP_UninstallTitleAsync (int handle, char *path, MCPInstallTitleInfo *out)
 

Detailed Description


Data Structure Documentation

◆ MCPDevice

struct MCPDevice

Definition at line 45 of file mcp.h.

Data Fields
char name[0x31B]

◆ MCPDeviceList

struct MCPDeviceList

Definition at line 51 of file mcp.h.

Data Fields
MCPDevice devices[32]

◆ MCPInstallInfo

struct MCPInstallInfo

Definition at line 57 of file mcp.h.

◆ MCPInstallProgress

struct MCPInstallProgress

Definition at line 63 of file mcp.h.

Data Fields
uint32_t inProgress
uint64_t tid
uint64_t sizeTotal
uint64_t sizeProgress
uint32_t contentsTotal
uint32_t contentsProgress

◆ MCPInstallTitleInfo

struct MCPInstallTitleInfo

Definition at line 80 of file mcp.h.

◆ MCPSysProdSettings

struct MCPSysProdSettings

Definition at line 86 of file mcp.h.

Data Fields
MCPRegion product_area
uint16_t eeprom_version
MCPRegion game_region
char ntsc_pal[5]
char wifi_5ghz_country_code[4] 5ghz_country_code in xml
uint8_t wifi_5ghz_country_code_revision 5ghz_country_code_revision in xml
char code_id[8]
char serial_id[12]
char model_number[16]
uint32_t version

◆ MCPTitleListType

struct MCPTitleListType

Definition at line 119 of file mcp.h.

Data Fields
uint64_t titleId
char path[56]
MCPAppType appType
uint8_t device
char indexedDevice[10]
uint8_t unk0x60

Typedef Documentation

◆ MCPError

typedef int32_t MCPError

Definition at line 14 of file mcp.h.

◆ MCPDevice

typedef struct MCPDevice MCPDevice

Definition at line 16 of file mcp.h.

◆ MCPDeviceList

typedef struct MCPDeviceList MCPDeviceList

Definition at line 17 of file mcp.h.

◆ MCPInstallInfo

Definition at line 18 of file mcp.h.

◆ MCPInstallProgress

Definition at line 19 of file mcp.h.

◆ MCPInstallTitleInfo

Definition at line 20 of file mcp.h.

◆ MCPSysProdSettings

Definition at line 21 of file mcp.h.

◆ MCPTitleListType

Definition at line 22 of file mcp.h.

◆ MCPAppType

typedef enum MCPAppType MCPAppType

◆ MCPInstallTarget

◆ MCPRegion

typedef enum MCPRegion MCPRegion

Enumeration Type Documentation

◆ MCPAppType

enum MCPAppType
Enumerator
MCP_APP_TYPE_UNKNOWN_0x0800000E 

Definition at line 24 of file mcp.h.

◆ MCPInstallTarget

Enumerator
MCP_INSTALL_TARGET_MLC 
MCP_INSTALL_TARGET_USB 

Definition at line 29 of file mcp.h.

◆ MCPRegion

enum MCPRegion
Enumerator
MCP_REGION_JAPAN 
MCP_REGION_USA 
MCP_REGION_EUROPE 
MCP_REGION_CHINA 
MCP_REGION_KOREA 
MCP_REGION_TAIWAN 

Definition at line 35 of file mcp.h.

Function Documentation

◆ MCP_Open()

MCPError MCP_Open ( )

◆ MCP_Close()

MCPError MCP_Close ( int  handle)

◆ MCP_DeviceList()

MCPError MCP_DeviceList ( int  handle,
int *  numDevices,
MCPDeviceList outDevices,
uint32_t  outBufferSize 
)

◆ MCP_FullDeviceList()

MCPError MCP_FullDeviceList ( int  handle,
int *  numDevices,
MCPDeviceList outDevices,
uint32_t  outBufferSize 
)

◆ MCP_GetOwnTitleInfo()

MCPError MCP_GetOwnTitleInfo ( int32_t  handle,
MCPTitleListType titleInfo 
)

◆ MCP_GetSysProdSettings()

MCPError MCP_GetSysProdSettings ( int32_t  handle,
MCPSysProdSettings settings 
)

◆ MCP_GetTitleId()

MCPError MCP_GetTitleId ( int32_t  handle,
uint64_t *  outTitleId 
)

◆ MCP_GetTitleInfo()

MCPError MCP_GetTitleInfo ( int32_t  handle,
uint64_t  titleId,
MCPTitleListType titleInfo 
)

◆ MCP_InstallSetTargetDevice()

MCPError MCP_InstallSetTargetDevice ( int  handle,
MCPInstallTarget  device 
)

◆ MCP_InstallGetTargetDevice()

MCPError MCP_InstallGetTargetDevice ( int  handle,
MCPInstallTarget deviceOut 
)

◆ MCP_InstallSetTargetUsb()

MCPError MCP_InstallSetTargetUsb ( int  handle,
int  usb 
)

◆ MCP_InstallGetInfo()

MCPError MCP_InstallGetInfo ( int  handle,
char *  path,
MCPInstallInfo out 
)

◆ MCP_InstallTitleAsync()

MCPError MCP_InstallTitleAsync ( int  handle,
char *  path,
MCPInstallTitleInfo out 
)

◆ MCP_InstallGetProgress()

MCPError MCP_InstallGetProgress ( int  handle,
MCPInstallProgress installProgressOut 
)

◆ MCP_InstallTitleAbort()

MCPError MCP_InstallTitleAbort ( int  handle)

◆ MCP_TitleCount()

MCPError MCP_TitleCount ( int32_t  handle)

◆ MCP_TitleList()

MCPError MCP_TitleList ( int32_t  handle,
uint32_t *  outTitleCount,
MCPTitleListType titleList,
uint32_t  titleListSizeBytes 
)

◆ MCP_TitleListByAppType()

MCPError MCP_TitleListByAppType ( int32_t  handle,
MCPAppType  appType,
uint32_t *  outTitleCount,
MCPTitleListType titleList,
uint32_t  titleListSizeBytes 
)

◆ MCP_TitleListByUniqueId()

MCPError MCP_TitleListByUniqueId ( int32_t  handle,
uint32_t  uniqueId,
uint32_t *  outTitleCount,
MCPTitleListType titleList,
uint32_t  titleListSizeBytes 
)

◆ MCP_TitleListByUniqueIdAndIndexedDeviceAndAppType()

MCPError MCP_TitleListByUniqueIdAndIndexedDeviceAndAppType ( int32_t  handle,
uint32_t  uniqueId,
const char *  indexedDevice,
uint8_t  unk0x60,
MCPAppType  appType,
uint32_t *  outTitleCount,
MCPTitleListType titleList,
uint32_t  titleListSizeBytes 
)

◆ MCP_UninstallTitleAsync()

MCPError MCP_UninstallTitleAsync ( int  handle,
char *  path,
MCPInstallTitleInfo out 
)