Сообщение от ilnur2883
1)это баг офф прошивки?или так и должно быть?
|
А причём здесь оффпрошивка? Плагины на офф не работают и Sony их там не задумывала.
Не понимаю, что ты хочешь с этими плагинами делать, вернее куда ты собираешься переносить текстовики, без разрешения кастома?
Их функционал прописан в файлах кастомной прошивки.
- recovery.prx отвечает за их включение\выключение в текстовиках vsh.txt, game.txt, pops.txt
- systemctrl.prx отвечает за их загрузку по путям, прописанным в текстовиках.
- А вот в этих файлах кастом-прошивки нужно изменить пути к текстовикам:
- ef0:/seplugins/vsh.txt
- ms0:/seplugins/vsh.txt
- ef0:/seplugins/game.txt
- ms0:/seplugins/game.txt
- ef0:/seplugins/pops.txt
- ms0:/seplugins/pops.txt
Например взять модуль от
systemctrl.prx по пути
procfw\SystemControl\plugins.c
int load_plugins(void)
{
unsigned int key = sceKernelApplicationType();
int apitype;
apitype = sceKernelInitApitype();
if(rebootex_conf.recovery_mode) {
return 0;
}
if(conf.plugvsh && key == PSP_INIT_KEYCONFIG_VSH && is_vsh_plugins_enabled()) {
if(psp_model == PSP_GO) {
load_plugin("ef0:/seplugins/vsh.txt", WAIT_MEMORY_STICK_TIMEOUT);
}
// pspgo has smaller wait time
load_plugin("ms0:/seplugins/vsh.txt", psp_model == PSP_GO ? WAIT_MEMORY_STICK_TIMEOUT / 10 : WAIT_MEMORY_STICK_TIMEOUT);
} //game mode
else if(conf.pluggame && ( key == PSP_INIT_KEYCONFIG_GAME || apitype == 0x123) ) {
if(psp_model == PSP_GO && sctrlKernelBootFrom() == 0x50) {
load_plugin("ef0:/seplugins/game.txt", WAIT_MEMORY_STICK_TIMEOUT);
} else {
load_plugin("ms0:/seplugins/game.txt", WAIT_MEMORY_STICK_TIMEOUT);
}
} //ps1 mode
else if(conf.plugpop && key == PSP_INIT_KEYCONFIG_POPS) {
if(psp_model == PSP_GO && sctrlKernelBootFrom() == 0x50) {
load_plugin("ef0:/seplugins/pops.txt", WAIT_MEMORY_STICK_TIMEOUT);
} else {
load_plugin("ms0:/seplugins/pops.txt", WAIT_MEMORY_STICK_TIMEOUT);
}
}
//return success
return 0;
}
Ну или взять модуль рекавери
procfw\Recovery\plugins.c
static int save_plugins(void)
{
if(g_type == ON_MS0) {
save_plugin("ms0:/seplugins/vsh.txt", &g_vsh_list_head);
save_plugin("ms0:/seplugins/game.txt", &g_game_list_head);
save_plugin("ms0:/seplugins/pops.txt", &g_pops_list_head);
} else if(g_type == ON_EF0) {
save_plugin("ef0:/seplugins/vsh.txt", &g_vsh_list_head);
save_plugin("ef0:/seplugins/game.txt", &g_game_list_head);
save_plugin("ef0:/seplugins/pops.txt", &g_pops_list_head);
}
return 0;
}