vitasdk
Documentation of the vitasdk
promoterutil.h
Go to the documentation of this file.
1
7#ifndef _PSP2_PROMOTERUTIL_H_
8#define _PSP2_PROMOTERUTIL_H_
9
10#include <vitasdk/build_utils.h>
11#include <psp2/types.h>
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
23
30
40
48
55
64
73
82
91int scePromoterUtilityPromotePkg(const char *path, int sync);
92
101int scePromoterUtilityPromotePkgWithRif(const char *path, int sync);
102
111
120
128int scePromoterUtilityCheckExist(const char *titleid, int *res);
129
130#ifdef __cplusplus
131}
132#endif
133
134#endif /* _PSP2_PROMOTERUTIL_H_ */
#define VITASDK_BUILD_ASSERT_EQ(__size__, __name__)
Definition build_utils.h:13
char titleid[0xC]
Title id of the process where the event occurred.
Definition debug.h:4
int scePromoterUtilityGetState(int *state)
Returns the state of an operation.
int scePromoterUtilityUpdateLiveArea(ScePromoterUtilityLAUpdate *args)
Update the LiveArea resources of an app.
char titleid[0xC]
Game titleid.
Definition promoterutil.h:34
ScePromoterUtilityPackageType type
Package type.
Definition promoterutil.h:35
int scePromoterUtilityGetResult(int *res)
Returns the result of a finished operation.
int scePromoterUtilityPromotePkgWithRif(const char *path, int sync)
Install a package from a directory and generate a rif.
int scePromoterUtilityPromoteImport(ScePromoterUtilityImportParams *params)
Install Content Manager import contents and create bubbles without checking license files.
int scePromoterUtilityCheckExist(const char *titleid, int *res)
Check if titleid exists.
int scePromoterUtilityInit(void)
Init the promoter utility.
int scePromoterUtilityPromotePkg(const char *path, int sync)
Install a package from a directory, and add an icon on the LiveArea.
char titleid[12]
Target app.
Definition promoterutil.h:26
char path[128]
Directory of extracted LA update data.
Definition promoterutil.h:27
ScePromoterUtilityPackageType
Avalible types for ScePromoterUtilityImportParams.
Definition promoterutil.h:18
char reserved[0x1C]
Definition promoterutil.h:37
int scePromoterUtilityDeletePkg(const char *titleid)
Delete a package from the LiveArea.
int scePromoterUtilityExit(void)
Deinit the promoter utility.
char path[0x80]
Install path (ux0:/temp/game on PSM/PSV, ux0:/pspemu/temp/game on PSP)
Definition promoterutil.h:33
uint32_t attribute
Additional Attributes (Appears to be 0x1 on PSM content but 0x00 on Vita contents)
Definition promoterutil.h:36
@ SCE_PKG_TYPE_PSP
PSP Games.
Definition promoterutil.h:20
@ SCE_PKG_TYPE_PSM
PlayStation Mobile.
Definition promoterutil.h:21
@ SCE_PKG_TYPE_VITA
PSVita Apps.
Definition promoterutil.h:19
Parameters for scePromoterUtilityPromoteImport()
Definition promoterutil.h:32
Parameters for scePromoterUtilityUpdateLiveArea()
Definition promoterutil.h:25