Exports for User.
More...
Exports for User.
Using this library in your project
Include the header file in your project:
Link the library to the executable:
◆ ScePromoterUtilityLAUpdate
| struct ScePromoterUtilityLAUpdate |
| Data Fields |
|
char |
titleid[12] |
Target app. |
|
char |
path[128] |
Directory of extracted LA update data. |
◆ ScePromoterUtilityImportParams
| struct ScePromoterUtilityImportParams |
| Data Fields |
|
char |
path[0x80] |
Install path (ux0:/temp/game on PSM/PSV, ux0:/pspemu/temp/game on PSP) |
|
char |
titleid[0xC] |
Game titleid. |
|
ScePromoterUtilityPackageType |
type |
Package type. |
|
uint32_t |
attribute |
Additional Attributes (Appears to be 0x1 on PSM content but 0x00 on Vita contents) |
|
char |
reserved[0x1C] |
|
◆ ScePromoterUtilityPackageType
Avalible types for ScePromoterUtilityImportParams.
| Enumerator |
|---|
| SCE_PKG_TYPE_VITA | PSVita Apps.
|
| SCE_PKG_TYPE_PSP | PSP Games.
|
| SCE_PKG_TYPE_PSM | PlayStation Mobile.
|
◆ VITASDK_BUILD_ASSERT_EQ() [1/2]
◆ VITASDK_BUILD_ASSERT_EQ() [2/2]
◆ scePromoterUtilityInit()
| int scePromoterUtilityInit |
( |
void |
| ) |
|
Init the promoter utility.
- Note
- Needs to be called before using the other functions.
- Returns
- 0 on success.
◆ scePromoterUtilityExit()
| int scePromoterUtilityExit |
( |
void |
| ) |
|
Deinit the promoter utility.
- Returns
- 0 on success.
◆ scePromoterUtilityDeletePkg()
| int scePromoterUtilityDeletePkg |
( |
const char * |
titleid | ) |
|
Delete a package from the LiveArea.
- Parameters
-
- Returns
- 0 on success.
◆ scePromoterUtilityUpdateLiveArea()
Update the LiveArea resources of an app.
- Parameters
-
- Returns
- 0 on success.
◆ scePromoterUtilityPromoteImport()
Install Content Manager import contents and create bubbles without checking license files.
- Parameters
-
| [in] | *params | - see ::ScePromoterUtilImportParams |
- Returns
- 0 on success.
◆ scePromoterUtilityPromotePkg()
| int scePromoterUtilityPromotePkg |
( |
const char * |
path, |
|
|
int |
sync |
|
) |
| |
Install a package from a directory, and add an icon on the LiveArea.
- Parameters
-
| [in] | *path | - the path of the directory where the extracted content of the package is |
| sync | - pass 0 for asynchronous, 1 for synchronous |
- Returns
- 0 on success.
◆ scePromoterUtilityPromotePkgWithRif()
| int scePromoterUtilityPromotePkgWithRif |
( |
const char * |
path, |
|
|
int |
sync |
|
) |
| |
Install a package from a directory and generate a rif.
- Parameters
-
| [in] | *path | - the path of the directory where the extracted content of the package is |
| sync | - pass 0 for asynchronous, 1 for synchronous |
- Returns
- 0 on success.
◆ scePromoterUtilityGetState()
| int scePromoterUtilityGetState |
( |
int * |
state | ) |
|
Returns the state of an operation.
- Parameters
-
| [out] | *state | - the current status, 0 when finished |
- Returns
- < 0 if failed.
◆ scePromoterUtilityGetResult()
| int scePromoterUtilityGetResult |
( |
int * |
res | ) |
|
Returns the result of a finished operation.
- Parameters
-
| [out] | *res | - the result, 0 on success |
- Returns
- < 0 if failed.
◆ scePromoterUtilityCheckExist()
| int scePromoterUtilityCheckExist |
( |
const char * |
titleid, |
|
|
int * |
res |
|
) |
| |
Check if titleid exists.
- Parameters
-
| [out] | *res | - the result, unknown meaning |
- Returns
- 0 if exists, < 0 otherwise.
◆ titleid [1/2]
| char ScePromoterUtilityLAUpdate::titleid[12] |
◆ path [1/2]
| char ScePromoterUtilityLAUpdate::path[128] |
Directory of extracted LA update data.
◆ path [2/2]
| char ScePromoterUtilityImportParams::path[0x80] |
Install path (ux0:/temp/game on PSM/PSV, ux0:/pspemu/temp/game on PSP)
◆ titleid [2/2]
| char ScePromoterUtilityImportParams::titleid[0xC] |
◆ type
◆ attribute
| uint32_t ScePromoterUtilityImportParams::attribute |
Additional Attributes (Appears to be 0x1 on PSM content but 0x00 on Vita contents)
◆ reserved
| char ScePromoterUtilityImportParams::reserved[0x1C] |