Game plugin: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
m (massive update :-)
Line 68: Line 68:
  59: 4 Parameter: int dialogtype, 0, void * ptr_handler, 0
  59: 4 Parameter: int dialogtype, 0, void * ptr_handler, 0
  60: SetEjectMode, 1 Parameter: int mode
  60: SetEjectMode, 1 Parameter: int mode
  61: 7 Parameter: char * DirName, char * , Type, Options, MemoryContainer, ExecData, UserData
  61: gameExec, 7 Parameter: char * DirName (Type=1,else ""), char * DirName (Type!=1,else ""),int Type,int Options,sys_memory_container_t MemoryContainer, ExecData, UserData
  62: getList, 7 Parameter: int * ListBufNum, sys_addr_t * memory_allocate_from_container, int * ListNum, int * GetListNum, MemoryContainerId
  62: getList, 7 Parameter: int * ListBufNum, sys_addr_t * memory_allocate_from_container, int * ListNum, int * GetListNum, MemoryContainerId
  63: GetBootInfo, 3 Parameter: int * Type, char * DirName[0x20], int * ExecData
  63: GetBootInfo, 3 Parameter: int * Type, char * DirName[0x20], int * ExecData
  64: SetExecData, 1 Parameter: int * ExecData
  64: SetExecDataParam, 1 Parameter: int * ExecData
  65: 3 Parameter: int *, int *, char *
  65: setExitInfo, 5 Parameter: int * status, int * Type, char * DirName, uint8_t * ExecData, uint8_t * UserData
  66: GetHddGamePath, 1 Parameter: char * HddGamePath/homePath ("/dev_hdd0/game/NPEA00013/USRDIR")
  66: HomePath, 1 Parameter: char * HddGamePath/homePath ("/dev_hdd0/game/NPEA00013/USRDIR")
  67: DeleteGame, 2 Parameter: char * DirName, MemoryContainerId
  67: DeleteGame, 2 Parameter: char * DirName, sys_memory_container_t MemoryContainerId
  68: 2 Parameter: char * gamelauncher_path, char * gamepath
  68: OptionPath, 2 Parameter: char * CommonPath, char * PersonalPath
  69: GetImportPath, 1 Parameter: char * ImportPath
  69: ExportPath, 1 Parameter: char * ImportPath (GetImportPath)
  70: GetExportPath, 1 Parameter: char * ExportPath
  70: ImportPath, 1 Parameter: char * ExportPath (GetExportPath)
  71:
  71: Open, 4 Parameter: int Type, char * DirName, int (-1), int * SizeInfo[3] { 0, 0, 0 }
  72:
  72: BootCheck, 5 Parameter: int * Type, int * Attribute, int (-1), int * SizeInfo[3] { 0, 0, 0}, char * DirName
  73:
  73: PatchCheck, 2 Parameter: int (-1), int * SizeInfo[3] {0, 0, 0}
  74:
  74: Create, 4 Parameter: uint8_t setData[0xD4], char * ContentInfoPath, char * GameDataPath, int Mode
  75:
  75: getInt, 3 Parameter: int DataId, int * DataInt, int Mode
  76:
  76: getStr, 4 Parameter: int DataId, char * DataStr, int max_len(0x80), int Mode
  77:
  77: setInt, 3 Parameter: int DataId, int DataInt, int Mode
  78:
  78: setStr, 3 Parameter: int DataId, char * DataStr, int Mode
  79: 2 Parameter: char * user_path, char * path
  79: Close, 2 Parameter: char * ContentInfoPath, char * GameDataPath
  80:
  80: dialog, 3 Parameter: int Type, int NeedSize, char * DirName
  81:
  81: getSizeKB, 1 Parameter: int * DataInt
  82:
  82: tInstall, 4 Parameter: char * UsrDirPath, char * FileName, int Options, int (0)
  83: Create tmp file, 1 Parameter: int p3t_theme_size - ("/dev_hdd0/tmp/game/theme.tmp")
  83: mtInstall (Create tmp file), 1 Parameter: int FileSize - ("/dev_hdd0/tmp/game/theme.tmp")
  84: Write tmp file, 2 Parameter: int p3t_theme_size, void * buf
  84: Write tmp file, 2 Parameter: int p3t_theme_size, void * buf
  85: Close tmp file, 2 Parameter: int delete_or_install_theme, int flags - renames/deletes tmp file
  85: Close tmp file, 2 Parameter: int Status (=0 continue install, else=close), int Options - renames/deletes tmp file
  86: 1 Parameter: char * path ("/dev_hdd0/game" + "/C01"
  86: getUpPath, 1 Parameter: char * Path ("/dev_hdd0/game" + "/C01")
  87: 1 Parameter: char * HTMLDIR - creates HTMLDIR
  87: getWConPath, 1 Parameter: char * Path (HTMLDIR - creates HTMLDIR)
  88: 1 Parameter: char * dirname [0x20] - create + delete
  88: delGameData, 1 Parameter: char * DirName [0x20]
  89:
  89: getDevIdList, 2 Parameter: int * DevIdListNum, uint8_t DevIdList[0x800]
  90:
  90: getDevInfo, 2 Parameter: uint64_t DevId, uint8_t DevInfo[0x70]
  91:
  91: getUsbDevInfo, 2 Parameter: uint64_t DevId, uint8_t DevInfo[0x86]
  92:
  92: storageMode, 0 Parameter: return int storageMode
  93: 1 Parameter: int page_hider ( 0 = page close "page_hider" widget, 1 = create "page_hider" widget)
  93: notifyCtrl, 1 Parameter: int CtrlInt( 0 = page close "page_hider" widget, 1 = create "page_hider" widget)
  94: 0 Parameter: cellFsUnlink ("/dev_hdd0/data/disp_change.dat")
  94: allreadyDisp, 0 Parameter: (cellFsUnlink "/dev_hdd0/data/disp_change.dat")
  95:
  95: pspLoad, uint8_t PspSaveParam[0xA4], sys_memory_container_t MemoryContainer
  96:
  96: pspSave, uint8_t PspSaveParam[0xA4], sys_memory_container_t MemoryContainer
  97: vmcAssign, 4 Parameter: int VmcPort (0/1), char * vmcFileName, void *callback, 0
  97: vmcAssign, 4 Parameter: int VmcPort (0/1), char * vmcFileName, void *callback, 0
  98: ps1End, 1 Parameter: int Ps1EndMode (0-4)  
  98: ps1End, 1 Parameter: int Ps1EndMode (0-4)  

Revision as of 22:26, 5 April 2014

1 Identifier:

  • 1

1 Interface

contains 105 subs:

0: 0 Parameter: - set Widget "page_game_main" and activate
1:
2: 1 Parameter: uint8_t [0x230]
3: 1 Parameter: int
4: 2 Parameter: int (used for func 3), uint8_t [0x1A0]
5:
6:
7: 0 Parameter: - set Widget "page_game_main", pageactivate and paf_55944323 /paf_FA17FC05.
8: 1 Parameter: out:uint8_t [0x114] - (+4 = TitleID)
9: 1 Parameter: out:char* - returns (running?) TitleID
10: 1 Parameter: out:uint8_t [8]
11:
12:
13:
14: 0 Parameter: - pad vibration related
15: GetExecAppType, 2 Parameter: int * apptype, int (=0)
16:
17:
18:
19:
20: 1 Parameter: out: uint8_t [0x5B8]
21:
22: 4 Parameter: int targetType, char * targetId, uint8 value , int userdata - commerce2ExecuteStoreBrowse
23: 1 Parameter: in: uint8_t [0xA4]
24:
25: 2 Parameter: char * url, void* usrdata
26: 1 Parameter: int taskId
27: 1 Parameter: in: char * string [0x800]
28:
29:
30: 1 Parameter: int *
31: 1 Parameter: int * game_plugin_view
32: Get MANUAL DirName, 1 Parameter: char [0x80] 
33: 0 Parameter: - is music gameBgmPlayback allowed check
34: 1 Parameter: char * [0x20]
35: 1 Parameter: char * DirName[0x20] - tmp game lock
36: 2 Parameter: int * , char *
37: 0 Parameter: 
38: 1 Parameter: uint64_t data - event port send data1=0x100, data2=0x14, data3=input
39: 1 Parameter: char * titleid
40: 3 Parameter: char * titleid, int* , 
41:
42: 4 Parameter: char * titleid, , , 
43: 0 Parameter:
44:
45: 2 Parameter: int value (-1), int value (NoCalcFlag) - initGameData, returns Memory Container
46: EndGameData, 0 Parameter: 
47: getGameDataStat, 3 Parameter: char * DirName, char * CategoryType, sys_addr_t *alloc_addr [1]
48: updateGameData, 4 Parameter: char * DirName, char * CategoryType, void * callback, uint8_t[0xBA4] (SysParam)
49:
50: 3 Parameter: int InvalidMsg, void * callback, int
51: 0 Parameter: FindWidget("page_game_main") - returns Widget View
52: cacheInit, 2 Parameter: void * callback, uint8_t SysCacheParam[0x444]
53: cacheClear, 0 Parameter:
54: GetBootInfo, 1 Parameter: uint8_t bootinfo[0x20]
55: GetTitleId,1 Parameter: char * titleId [0x0A]
56: 2 Parameter: int * data (=0) , int value (0,1) - (kbGetSize)
57: SetSysVersion, 1 Parameter: char * SysVersion 
58: GetDiscInfo, 1 Parameter: uint8_t [0x20] ("Hybrid Flags" area from PS3_DISC.SFB ?)
59: 4 Parameter: int dialogtype, 0, void * ptr_handler, 0
60: SetEjectMode, 1 Parameter: int mode
61: gameExec, 7 Parameter: char * DirName (Type=1,else ""), char * DirName (Type!=1,else ""),int Type,int Options,sys_memory_container_t MemoryContainer, ExecData, UserData
62: getList, 7 Parameter: int * ListBufNum, sys_addr_t * memory_allocate_from_container, int * ListNum, int * GetListNum, MemoryContainerId
63: GetBootInfo, 3 Parameter: int * Type, char * DirName[0x20], int * ExecData
64: SetExecDataParam, 1 Parameter: int * ExecData
65: setExitInfo, 5 Parameter: int * status, int * Type, char * DirName, uint8_t * ExecData, uint8_t * UserData
66: HomePath, 1 Parameter: char * HddGamePath/homePath ("/dev_hdd0/game/NPEA00013/USRDIR")
67: DeleteGame, 2 Parameter: char * DirName, sys_memory_container_t MemoryContainerId
68: OptionPath, 2 Parameter: char * CommonPath, char * PersonalPath
69: ExportPath, 1 Parameter: char * ImportPath (GetImportPath)
70: ImportPath, 1 Parameter: char * ExportPath (GetExportPath)
71: Open, 4 Parameter: int Type, char * DirName, int (-1), int * SizeInfo[3] { 0, 0, 0 }
72: BootCheck, 5 Parameter: int * Type, int * Attribute, int (-1), int * SizeInfo[3] { 0, 0, 0}, char * DirName
73: PatchCheck, 2 Parameter: int (-1), int * SizeInfo[3] {0, 0, 0}
74: Create, 4 Parameter: uint8_t setData[0xD4], char * ContentInfoPath, char * GameDataPath, int Mode
75: getInt, 3 Parameter: int DataId, int * DataInt, int Mode
76: getStr, 4 Parameter: int DataId, char * DataStr, int max_len(0x80), int Mode
77: setInt, 3 Parameter: int DataId, int DataInt, int Mode
78: setStr, 3 Parameter: int DataId, char * DataStr, int Mode
79: Close, 2 Parameter: char * ContentInfoPath, char * GameDataPath
80: dialog, 3 Parameter: int Type, int NeedSize, char * DirName
81: getSizeKB, 1 Parameter: int * DataInt
82: tInstall, 4 Parameter: char * UsrDirPath, char * FileName, int Options, int (0)
83: mtInstall (Create tmp file), 1 Parameter: int FileSize - ("/dev_hdd0/tmp/game/theme.tmp")
84: Write tmp file, 2 Parameter: int p3t_theme_size, void * buf
85: Close tmp file, 2 Parameter: int Status (=0 continue install, else=close), int Options - renames/deletes tmp file
86: getUpPath, 1 Parameter: char * Path ("/dev_hdd0/game" + "/C01")
87: getWConPath, 1 Parameter: char * Path (HTMLDIR - creates HTMLDIR)
88: delGameData, 1 Parameter: char * DirName [0x20]
89: getDevIdList, 2 Parameter: int * DevIdListNum, uint8_t DevIdList[0x800]
90: getDevInfo, 2 Parameter: uint64_t DevId, uint8_t DevInfo[0x70]
91: getUsbDevInfo, 2 Parameter: uint64_t DevId, uint8_t DevInfo[0x86]
92: storageMode, 0 Parameter: return int storageMode
93: notifyCtrl, 1 Parameter: int CtrlInt( 0 = page close "page_hider" widget, 1 = create "page_hider" widget)
94: allreadyDisp, 0 Parameter: (cellFsUnlink "/dev_hdd0/data/disp_change.dat")
95: pspLoad, uint8_t PspSaveParam[0xA4], sys_memory_container_t MemoryContainer
96: pspSave, uint8_t PspSaveParam[0xA4], sys_memory_container_t MemoryContainer
97: vmcAssign, 4 Parameter: int VmcPort (0/1), char * vmcFileName, void *callback, 0
98: ps1End, 1 Parameter: int Ps1EndMode (0-4) 
99: SetPadRumble, 1 Parameter: int * mode - for pad id = 0
100:
101:
102:
103: 1 Parameter: char * dirname - delete game with memory container -1
104: 1 Parameter: char * pkg?_filepath