Editing Game ext plugin
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 14: | Line 14: | ||
5: 4 Parameter: char *, int, char *, int- calls interface 2 | 5: 4 Parameter: char *, int, char *, int- calls interface 2 | ||
6: 1 Parameter: uint8 [0x5B0] | 6: 1 Parameter: uint8 [0x5B0] | ||
7: 3 Parameter: | 7: 3 Parameter: int,int,uint8* - ps2bootparam.dat / factory_process_comp_1x | ||
8: 0 Parameter: returns uint8 | 8: 0 Parameter: returns uint8 | ||
9: 4 Parameter: ignored, char* message, uint8[0x270],{0: Type,+4: 0x10: char * unk - Install "/dev_bdvd/PS3_GAME/PKGDIR/PKG../INSTALL.PKG" ? | 9: 4 Parameter: ignored, char* message, uint8[0x270],{0: Type,+4: 0x10: char * unk - Install "/dev_bdvd/PS3_GAME/PKGDIR/PKG../INSTALL.PKG" ? | ||
Line 89: | Line 89: | ||
====Function 34==== | ====Function 34==== | ||
<source lang=" | <source lang="c"> | ||
char * pkg_path; | char * pkg_path; | ||
void installPKG_thread() | void installPKG_thread() | ||
{ | { | ||
if(game_ext_interface == 0) | if(game_ext_interface == 0) | ||
game_ext_interface = (game_ext_plugin_interface *)plugin_GetInterface(View_Find("game_ext_plugin"),1); | game_ext_interface = (game_ext_plugin_interface *)plugin_GetInterface(View_Find("game_ext_plugin"),1); | ||
game_ext_interface->DoUnk0(); | game_ext_interface->DoUnk0(); | ||
game_ext_interface->DoUnk34(pkg_path); | game_ext_interface->DoUnk34(pkg_path); | ||
} | } | ||
Line 103: | Line 103: | ||
{ | { | ||
pkg_path = path; | pkg_path = path; | ||
if(xmm0_interface == 0) | if(xmm0_interface == 0) | ||
xmm0_interface = (xmb_plugin_xmm0 *)plugin_GetInterface(View_Find("xmb_plugin"),'XMM0'); | xmm0_interface = (xmb_plugin_xmm0 *)plugin_GetInterface(View_Find("xmb_plugin"),'XMM0'); | ||
xmm0_interface->LoadPlugin3( | xmm0_interface->LoadPlugin3(game_ext_plugin,installPKG_thread,0); | ||
} | } | ||
... | ... | ||
installPKG("/dev_usb006/test.pkg"); | installPKG("/dev_usb006/test.pkg"); | ||
</source> | </source> | ||
=Other info= | =Other info= |