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
14 extern "C" {
15 #endif
16 
19  SCE_PKG_TYPE_VITA = 0x0001,
20  SCE_PKG_TYPE_PSP = 0x0001,
21  SCE_PKG_TYPE_PSM = 0x0003,
23 
26  char titleid[12];
27  char path[128];
30 
33  char path[0x80];
34  char titleid[0xC];
36  uint32_t attribute;
37  char reserved[0x1C];
40 
48 
55 
64 
73 
82 
91 int scePromoterUtilityPromotePkg(const char *path, int sync);
92 
101 int scePromoterUtilityPromotePkgWithRif(const char *path, int sync);
102 
111 
120 
128 int scePromoterUtilityCheckExist(const char *titleid, int *res);
129 
130 #ifdef __cplusplus
131 }
132 #endif
133 
134 #endif /* _PSP2_PROMOTERUTIL_H_ */
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.
VITASDK_BUILD_ASSERT_EQ(0x8C, ScePromoterUtilityLAUpdate)
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