Thx to Dark_Alex, Sakya for the help with the source for the prx's.
LuaPlayerHM users.
This is for the next release of the player. It will be included in the release zip. But you can install it if you want now.
This is realy a release for the developers so that they can use the prx's in there own code. It is designed to be in the flash1
for ease of acsess to all games.
Copy the folder LPHMDinstall to under the 4.xx or 3.xx kernal folder. Run it and it will install.
For Developers
The Following drivers will give you the following functions.
*****rdriver.prx
Ability to use all ISO loaders
pspSdkLoadStartModule("fl ash1:/LPHMDRIVER/rdriver.prx", PSP_MEMORY_PARTITION_KERN EL);
struct SceKernelLoadExecVSHParam param;
SEConfig config;
int apitype = 0x120;
char *program = "disc0:/PSP_GAME/SYSDIR/EBOOT.BIN";
char *mode = "game";
SetUmdFile(isopath);
sctrlSEGetConfigEx(&confi g, sizeof(config));
if (config.umdmode == MODE_MARCH33)
{
SetConfFile(1);
}
else if (config.umdmode == MODE_NP9660)
{
SetConfFile(2);
}
else
{
SetConfFile(0);
}
memset(¶m, 0, sizeof(param));
param.size = sizeof(param);
param.args = strlen(program)+1;
param.argp = program;
param.key = mode;
sctrlKernelLoadExecVSHWit hApitype(apitype, program, ¶m);
******hook.prx and load.pbp
Ability to hook exit call back of games / umd / iso.
change the hook.txt to somthing else, but it must be in the seplugins folder with the load.pbp
SceUID modid;
int status;
char args[128];
strcpy(args,path);
int len;
modid = sceKernelLoadModule("flas h1:/LPHMDRIVER/hook.prx", 0, NULL);
if(modid >= 0)
{
len = strlen(path) + 1;
modid = sceKernelStartModule(modi d, len, (void *) args, &status, NULL);
SceUID fd = sceIoOpen("ms0:/seplugins/hook.txt", PSP_O_WRONLY | PSP_O_CREAT | PSP_O_TRUNC, 0777);
sceIoWrite(fd, path, size);
sceIoClose(fd);
hooklib = 1;
}
*******syslib.prx
Ability to use the following
int imposeGetVolume();
int imposeSetVolume(int volume);
int imposeGetMute();
int imposeSetMute(int value);
int getBrightness();
void setBrightness(int brightness);
int imposeSetBrightness(int value);
int imposeGetBrightness();
int displayEnable(void);
int displayDisable(void);
int getBrightness();
void setBrightness(int brightness);
int imposeSetHomePopup(int value);
Thx to sakya for the prx src and Dark_Alex
http://homemister.axspace.com/LPHMDinstall.zip
Homemister.


LinkBack URL
About LinkBacks

Reply With Quote


