edit: what is the counterpart of dlls for psp?
| Friends: Coding 'n Cracking - Nymphaea - PS3 Forum - darkforestgroup - daxhordes.org - Tgames - coldbird - gopsp.it - pspstation.org - prometheus - hgoel.info - MakeSmartTV - ps vita |
Acid_Snake wrote:edit: what is the counterpart of dlls for psp?


wololo wrote:The command we write is usually the path to an eboot (to run a homebrew), but can also be the string "quit" if we want to ask HBL to qui back to the XMB:
To quit:
- Code: Select all
strcpy(ebootPath, "quit");
sceKernelExitGame();
wololo wrote:The one from the menu is hooked by hbl, it never gets to the system, except when people actually want to quit the menu itself.
strcpy(ebootPath, "quit");
//...otherwise launch the menu
while (!exit)
{
int initial_free_ram = sceKernelTotalFreeMemSize();
//Load default config
loadGlobalConfig();
//run menu
run_menu();
wait_for_eboot_end();
cleanup(num_lib);
ramcheck(initial_free_ram);
if (strcmp("quit", g->hb_filename) == 0 || g->exit_callback_called){
exit = 1;
continue;
}
initial_free_ram = sceKernelTotalFreeMemSize();
char filename[512];
strcpy(filename, g->hb_filename);
LOGSTR1("Eboot is: %s\n", (u32)filename);
//re-Load default config
loadGlobalConfig();
LOGSTR0("Config Loaded OK\n");
LOGSTR1("Eboot is: %s\n", (u32)filename);
//run homebrew
run_eboot(filename, 1);
LOGSTR0("Eboot Started OK\n");
wait_for_eboot_end();
cleanup(num_lib);
ramcheck(initial_free_ram);
if (g->exit_callback_called)
exit = 1;
}
sceKernelExitGame();
return 0;
}wth wrote:I also just found this http://forums.ps2dev.org/viewtopic.php? ... eae4389fee : AnonymousTipster's zip/rar unpacker's source code
[...]
Also about unzipToDir,
it changes the current working directory to the output folder you mention, so it could be good to change current directory back to normal after it if you're using relative paths
Return to Vita Half Byte Loader
Users browsing this forum: FEGuy, sharkie545 and 1 guest