Game plugin: Difference between revisions
Jump to navigation
Jump to search
m (→1 Interface) |
m (→1 Interface) |
||
Line 9: | Line 9: | ||
0: 0 Parameter: - set Widget "page_game_main" and activate | 0: 0 Parameter: - set Widget "page_game_main" and activate | ||
1: | 1: | ||
2: | 2: 1 Parameter: uint8_t [0x230] | ||
3: 1 Parameter: int | 3: 1 Parameter: int | ||
4: | 4: 2 Parameter: int (used for func 3), uint8_t [0x1A0] | ||
5: | 5: | ||
6: | 6: | ||
7: 0 Parameter: - set Widget "page_game_main", pageactivate and paf_55944323 / | 7: 0 Parameter: - set Widget "page_game_main", pageactivate and paf_55944323 /paf_FA17FC05. | ||
8: 1 Parameter: out:uint8_t [0x114] - (+4 = TitleID) | 8: 1 Parameter: out:uint8_t [0x114] - (+4 = TitleID) | ||
9: 1 Parameter: out:char* - returns (running?) TitleID | 9: 1 Parameter: out:char* - returns (running?) TitleID | ||
10: | 10: 1 Parameter: out:uint8_t [8] | ||
11: | 11: | ||
12: | 12: | ||
13: | 13: | ||
14: | 14: 0 Parameter: - pad vibration related | ||
15: GetExecAppType, 2 Parameter: int * apptype, int (=0) | 15: GetExecAppType, 2 Parameter: int * apptype, int (=0) | ||
16: | 16: | ||
Line 27: | Line 27: | ||
18: | 18: | ||
19: | 19: | ||
20: 1 Parameter: out: uint8_t [0x5B8 | 20: 1 Parameter: out: uint8_t [0x5B8] | ||
21: | 21: | ||
22: | 22: | ||
23: | 23: 1 Parameter: in: uint8_t [0xA4] | ||
24: | 24: | ||
25: | 25: | ||
26: 1 Parameter: int taskId | 26: 1 Parameter: int taskId | ||
27: | 27: 1 Parameter: in: char * string [0x800] | ||
28: | 28: | ||
29: | 29: | ||
30: | 30: 1 Parameter: int * | ||
31: | 31: 1 Parameter: int * | ||
32: | 32: Get MANUAL DirName, 1 Parameter: char [0x80] | ||
33: | 33: 0 Parameter: - is music gameBgmPlayback allowed check | ||
34: | 34: 1 Parameter: char * [0x20] | ||
35: | 35: 1 Parameter: char * DirName[0x20] - tmp game lock | ||
36: | 36: 2 Parameter: int * , char * | ||
37: | 37: 0 Parameter: | ||
38: | 38: 1 Parameter: uint64_t data - event port send data1=0x100, data2=0x14, data3=input | ||
39: 1 Parameter: char * titleid | 39: 1 Parameter: char * titleid | ||
40: 3 Parameter: char * titleid, , | 40: 3 Parameter: char * titleid, int* , | ||
41: | 41: | ||
42: 4 Parameter: char * titleid, , , | 42: 4 Parameter: char * titleid, , , | ||
43: | 43: 0 Parameter: | ||
44: | 44: | ||
45: 2 Parameter: int value (-1), int value - (set NoCalcFlag) | 45: 2 Parameter: int value (-1), int value - (set NoCalcFlag) | ||
Line 58: | Line 58: | ||
49: | 49: | ||
50: | 50: | ||
51: 0 Parameter: | 51: 0 Parameter: FindWidget("page_game_main") - returns Widget View | ||
52: cacheInit/SysCacheParam, 2 Parameter: void * callback, uint8_t[0x444] | 52: cacheInit/SysCacheParam, 2 Parameter: void * callback, uint8_t[0x444] | ||
53: cacheClear, 0 Parameter: | 53: cacheClear, 0 Parameter: | ||
54: GetBootInfo, 1 Parameter: uint8_t [ | 54: GetBootInfo, 1 Parameter: uint8_t * [0x0A] (titleid?) | ||
55: 1 Parameter: char * - outputs (selected?) TitleID | 55: 1 Parameter: char * - outputs[0x0A] (selected?) TitleID | ||
56: 2 Parameter: out: ptr* , int value (0,1) - (set/get? kbGetSize) | 56: 2 Parameter: out: ptr* , int value (0,1) - (set/get? kbGetSize) | ||
57: SetSysVersion, 1 Parameter: | 57: SetSysVersion, 1 Parameter: char * SysVersion | ||
58: GetDiscInfo, 1 Parameter: uint8_t [0x20] | 58: GetDiscInfo, 1 Parameter: uint8_t [0x20] | ||
59: 4 Parameter: int dialogtype, 0, void * ptr_handler, 0 | 59: 4 Parameter: int dialogtype, 0, void * ptr_handler, 0 | ||
60: SetEjectMode | 60: SetEjectMode, 1 Parameter: int mode | ||
61: 7 Parameter: DirName, , Type, Options, MemoryContainer, ExecData, UserData | 61: 7 Parameter: char * DirName, char * , Type, Options, 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: SetExecData, 1 Parameter: int * ExecData | ||
65: | 65: 3 Parameter: int *, int *, char * | ||
66: GetHddGamePath, 1 Parameter: char * HddGamePath/homePath | 66: GetHddGamePath, 1 Parameter: char * HddGamePath/homePath ("/dev_hdd0/game/NPEA00013/USRDIR") | ||
67: DeleteGame, 2 Parameter: char * DirName, MemoryContainerId | 67: DeleteGame, 2 Parameter: char * DirName, MemoryContainerId | ||
68: | 68: 2 Parameter: char * gamelauncher_path, char * gamepath | ||
69: | 69: GetImportPath, 1 Parameter: char * ImportPath | ||
70: | 70: GetExportPath, 1 Parameter: char * ExportPath | ||
71: | 71: | ||
72: | 72: | ||
Line 86: | Line 86: | ||
77: | 77: | ||
78: | 78: | ||
79: | 79: 2 Parameter: char * user_path, char * path | ||
80: | 80: | ||
81: | 81: | ||
82: | 82: | ||
83: | 83: Create tmp file, 1 Parameter: int p3t_theme_size - ("/dev_hdd0/tmp/game/theme.tmp") | ||
84: | 84: Write tmp file, 2 Parameter: int p3t_theme_size, void * buf | ||
85: | 85: Close tmp file, 2 Parameter: int delete_or_install_theme, int flags - renames/deletes tmp file | ||
86: | 86: 1 Parameter: char * path ("/dev_hdd0/game" + "/C01" | ||
87: | 87: 1 Parameter: char * HTMLDIR - creates HTMLDIR | ||
88: | 88: 1 Parameter: char * dirname [0x20] - create + delete | ||
89: | 89: | ||
90: | 90: | ||
91: | 91: | ||
92: | 92: | ||
93: | 93: 1 Parameter: int page_hider ( 0 = page close "page_hider" widget, 1 = create "page_hider" widget) | ||
94: | 94: 0 Parameter: cellFsUnlink ("/dev_hdd0/data/disp_change.dat") | ||
95: | 95: | ||
96: | 96: | ||
97: 4 Parameter: int/ | 97: 4 Parameter: int VmcPort (0/1), char * vmcFileName, void *callback, 0 | ||
98: 1 Parameter: | 98: 1 Parameter: int mode (0-4) - (Ps1EndMode) | ||
99: SetPadRumble, 1 Parameter: int * mode | 99: SetPadRumble, 1 Parameter: int * mode - for pad id = 0 | ||
100: | 100: | ||
101: | 101: | ||
102: | 102: | ||
103: | 103: 1 Parameter: char * dirname - delete game with memory container -1 | ||
104: | 104: 1 Parameter: char * pkg?_filepath | ||
{{Reverse engineering}}<noinclude>[[Category:Main]]</noinclude> | {{Reverse engineering}}<noinclude>[[Category:Main]]</noinclude> |
Revision as of 19:58, 30 March 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: 23: 1 Parameter: in: uint8_t [0xA4] 24: 25: 26: 1 Parameter: int taskId 27: 1 Parameter: in: char * string [0x800] 28: 29: 30: 1 Parameter: int * 31: 1 Parameter: int * 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 - (set NoCalcFlag) 46: EndGameData, 0 Parameter: 47: 3 Parameter: char * DirName, char * CategoryType, sys_addr_t *alloc_addr 48: 4 Parameter: char * DirName, char * CategoryType, void *ptr_handler, uint8_t[0xBA4] (SysParam) 49: 50: 51: 0 Parameter: FindWidget("page_game_main") - returns Widget View 52: cacheInit/SysCacheParam, 2 Parameter: void * callback, uint8_t[0x444] 53: cacheClear, 0 Parameter: 54: GetBootInfo, 1 Parameter: uint8_t * [0x0A] (titleid?) 55: 1 Parameter: char * - outputs[0x0A] (selected?) TitleID 56: 2 Parameter: out: ptr* , int value (0,1) - (set/get? kbGetSize) 57: SetSysVersion, 1 Parameter: char * SysVersion 58: GetDiscInfo, 1 Parameter: uint8_t [0x20] 59: 4 Parameter: int dialogtype, 0, void * ptr_handler, 0 60: SetEjectMode, 1 Parameter: int mode 61: 7 Parameter: char * DirName, char * , Type, Options, 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: SetExecData, 1 Parameter: int * ExecData 65: 3 Parameter: int *, int *, char * 66: GetHddGamePath, 1 Parameter: char * HddGamePath/homePath ("/dev_hdd0/game/NPEA00013/USRDIR") 67: DeleteGame, 2 Parameter: char * DirName, MemoryContainerId 68: 2 Parameter: char * gamelauncher_path, char * gamepath 69: GetImportPath, 1 Parameter: char * ImportPath 70: GetExportPath, 1 Parameter: char * ExportPath 71: 72: 73: 74: 75: 76: 77: 78: 79: 2 Parameter: char * user_path, char * path 80: 81: 82: 83: Create tmp file, 1 Parameter: int p3t_theme_size - ("/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 delete_or_install_theme, int flags - renames/deletes tmp file 86: 1 Parameter: char * path ("/dev_hdd0/game" + "/C01" 87: 1 Parameter: char * HTMLDIR - creates HTMLDIR 88: 1 Parameter: char * dirname [0x20] - create + delete 89: 90: 91: 92: 93: 1 Parameter: int page_hider ( 0 = page close "page_hider" widget, 1 = create "page_hider" widget) 94: 0 Parameter: cellFsUnlink ("/dev_hdd0/data/disp_change.dat") 95: 96: 97: 4 Parameter: int VmcPort (0/1), char * vmcFileName, void *callback, 0 98: 1 Parameter: int mode (0-4) - (Ps1EndMode) 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