![]() |
| Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact |
| ||||||
This is a discussion on [RELEASE]LuaPlayerHM Drivers within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; Thx to Dark_Alex, Sakya for the help with the source for the prx's. LuaPlayerHM users. This is for the next ...
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 |
![]() ![]() Developer
|
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.
__________________
Heres to the Wyvern, Heres to getting Wyvern, Heres to staying Wyvern, And if you can't get Wyvern....... You should become a kingsman! http://arnold.hyperphp.com/ arnold, Light_AleX and my releases D² |
|
|
|
|
|
#2 |
![]() ![]() Developer
|
unhook
RestoreExitGame();
__________________
Heres to the Wyvern, Heres to getting Wyvern, Heres to staying Wyvern, And if you can't get Wyvern....... You should become a kingsman! http://arnold.hyperphp.com/ arnold, Light_AleX and my releases D² |
|
|
|
|
|
#3 |
![]() |
Is there any chance there will be such function:
Call.C() *Code in C* Uncall.C() (Hmm I suck at explaining, but the basic idea is that we will be able to use C or C++ codes in our Lua application, this will make Lua a leet programming language - It's the easiest one of course, but now it will also have all the functions that C and C++ got!) |
|
|
|
|
|
#6 | |
![]() ![]() Developer
|
Quote:
Maybe someone with good coding skills could port that to MIPS, add some standard library functions, or use the code to make a proper JIT for Lua. Either way, both ActionScript or Lua would be a serious development platform for the PSP... Until then, Lua is nothing more than a configuration file parser or a RAD tool at best.
__________________
http://openpandora.org/ |
|
|
|
|
![]() |
| Tags |
| drivers , releaseluaplayerhm |
| Thread Tools | |
|
|