| Home :: XML Feed :: Files :: Forums :: Bookmark site :: Terms of use :: Privacy policy :: Submit News :: Advertise :: Contact us |
|
Hey Guest!
Not Registered? Join today!
Registration allows you too: Post on our Forums. Take part in games and registered user benefits! Get rid of this ad.... |
|
|
|
#1 |
Developer
|
That is right. The next LuaPlayer HM has been released.
To get it just download it from our download section or one of our mirrors. http://www.psp-ground.net/homemister91/ www.homemister.axspace.co m/LuaPlayerHM6.rar The source is at www.homemister.axspace.co m/LuaPlayerHMSource5release .rar PS. The source is not complete because we do not have permission from the original creators to redistribute there work. We are sorry for the inconvenience. Regards The LuaPlayerHM Team PiCkDaT and Homemister Download the UPDATED FUNCTION LIST at our site http://luaplayerhm.xtreemhost.co m/ I also recommend downloading the LuaPlayerHM 6 Tester. This includes the LuaPlayerHM Updater and many more functions. Enjoy! *******NEW IN LUAPLAYERHM 6*********** System.runeboot() Loads and starts a *.PBP File Eg. System.runeboot("ms0:/Eboot.PBP") System.playerVer() Returns the LuaPlayerHM version Eg. ver = System.playerVer() System.cfwVersion() Displays the CFW Firmware Version Eg 3.90 or 2.50 Doesnot include M33 addon System.loadPrx() Loads a Prx file and starts it. Warning it could cause the player to not function properly or crask the system System.nickName() Returns the psp's nickname Eg. name = System.nickname System.message() Prints a message to the screen with Yes,no,back options. Eg. System.message("Hello",0) has only back option Eg. System.message("Hello",1) has Yes,No and back options. System.buttonPressed() Performs an action from the option selected in the System.message() function Eg. button = System.buttonPressed() If button == "yes" then System.Quit() end System.copyFile() Copys a file from one place to another Eg. System.copyFile("oldfiled ir.lol","newfiledir.lol", 1) Will copy the file from one place to another and delete the oldfiledir.lol. replace 1 with 0 to not delete the oldfiledir.lol System.suspend() Puts the PSp into suspend mode System.shutdown() Shuts down the psp System.startUMD() Load and runs a UMD in the UMD Drive. If no UMD then a message is displayed and tells there is no UMD in the Drive System.startISO() Loads and runs a ISO image from the memory stick. Eg. System.startISO("ms0:/ISO/game.iso") UMD MODE SET TO OE isofs System.startPSX() Loads and Starts a Ps1 game from the playstaton store (PSX) System.startOSK() Displays the On screen Keyboard. Eg outputtxt = System.startOSK() screen rint(1,1,outputtx t,red)System.startGameSave() Saves game data Eg System.startGameSave("Nam e of savegame","Name of game","Details/message",data to save) System.startGameLoad() Loads the save data selected Eg data = System.startGameLoad() System.usbDevFlash0() Sets the USB device to be Flash0 System.usbDevFlash1() Sets the USB device to be Flash1 System.usbDevFlash2() Sets the USB device to be Flash2 System.usbDevFlash3() Sets the USB device to be Flash3 System.usbDevUMD() Sets the USB device to be the UMD Drive. If no disk it will tell you and use the memory stick insted. The UMD will be read as a ISO image System.getModel() Reterns either PHAT or SLIM %%%%%%%%%%%%Wlan Functions%%%%%%%%%%%%%% Wlan.init() Initates the wireless and Netdialog selection screen Wlan.term() Terminates the wireless Wlan.getIP() Returns the IP address %%%%%%%%%%%%Socket Functions%%%%%%%%%%%%%% Socket.connect() Connects to a host and port Eg. Socket.connect("www.googl e.com.au",80) Socket.createServerSocket () makes a socket usable Eg Socket.creatServerSocket( 80) &&&Socket methods&&& Socket.isConnected() Returns a 1 if connected Socket.accept() will accept conections Socket.send() Will send http calls Socket.recv() Will receve data from a send Socket.close() Will close all sockets that is open &&&Socket meta&&& Socket:gc() Socket:tostring() %%%%%%%%%%%%Adhoc Functions%%%%%%%%%%%%%% Adhoc.init() Initates the Adhoc Adhoc.connect() Connects to the adhoc or makes a adhoc connection Adhoc.getState() Returns the state of the connection 1=ok 0=error Adhoc.send() Sends data Eg Adhoc.send("hello") Adhoc.recv() Receives data send from another psp as a string Eg data = Adhoc.recv() Adhoc.term() Terminates the Adhoc Adhoc.getMac() Returns the mac address of the psp. The Adhoc does not need to be Init to use it. %%%%%%%%%%%%UMD Functions%%%%%%%%%%%%%% UMD.init() initiats the UMD drive and checks for a Disk. If no disk it displays a message and does not load the UMD drive. UMD drive is "disk0:" UMD.term() Stops the Umd drive UMD.checkDisk() Checks if there is a disk in the drive. UMD.ripISO() IMPROGRESS WILL BE ON NEXT RELEASE rips the ISO from the UMD Following functions are only for Fw 1.52 and Lower System.sioInit() System.sioRead() System.sioWrite() System.irdaInit() System.irdaRead() System.irdaWrite() Following functions are only for Fw 2.00 and higher System.runeboot() System.startOSK() System.startPSX() System.startISO() System.startUMD() System.startGameSave() System.startGameLoad() All Adhoc All Wlan Warning To us a ISO you need to set the No UMD driver to OE isof. Or else the ISO loading will return an error. *^*&*%^%$^%$^ LUAPLAYER HM FUNCTIONS LIST *^!^#&*^(*&!*#& For more info on the functions of the Luaplayer goto http://wiki.ps2dev.org/psp:lua_player:functions or download the Functions list from our site
__________________
Regards Homemister "Programing is binary, You are either a 1 or a 0, ALIVE or DEAD" For all my work visit http://luaplayerhm.xtreemhost.com/ Last edited by homemister91; 04-16-2008 at 09:36 PM. |
|
|
|
|
#2 |
Patience is a Virtue
|
This is great. But i couldn't find the updated functions list
|
|
|
|
|
#3 |
Elite
|
The main thing the luaplayer is lacking is how it is handling graphics and buttons checks etc. Basically it is using lua the wrong way.
For the luaplayer to be fast, which it could easily do, it needs to register functions into C stacks that are ran through rather than lua code being ran, because running/looping lua code causes massive overhead of reading and parsing data from text. So basically the luaplayer needs to become more of a full engine before it will ever be fast enough. So I have some suggestions. First would be since luaplayer is mainly used for 2D gfx would be to support either JGE or OSLIB as the gfx library (and the other options they support (IMO JGE has more features and some better ones). Then you need to optimise it for that gfx lib (ie create a render stack where lua just inits the stack with all the gfx data before the game starts (ie the loading of the game)) then there needs to be an event manager created. Basically lua registers a function made in lua as an if statement or conditional statement) and C will run checks on this untill it is meet then it will execute that callback function. And these callback functions will just edit values of items in a stack. Really what is needed for lua to work properly is for someone to code a high enough level game engine that it matches how high of a level that lua coding is. Look at Unity game engine for example. What I explained is very very similar to how it is scripted/coded. But unless you want to do that Id suggest at least getting rid of graphics.c as it is one of the worst gfx libs available(speed wise and ram wise with images).
__________________
Code:
____________________ /===/ --------------- \===\ / O | | ∆ \ | O O | A_Noob | || O | | O |_______________| X | \--- (#) () oo PSP oo ()() ---/ \===\--------------------/ |
|
|
|
|
#4 | |
PKA JumpR
|
Quote:
Code:
char version[] = "3.90 M33 ";
u32 se_ver = sctrlSEGetVersion() & 0xF;
if(se_ver){
version[8] = '-';
version[9] = se_ver + '1';
}
|
|
|
|
|
|
#5 |
Developer
|
THx I'll do that.
__________________
Regards Homemister "Programing is binary, You are either a 1 or a 0, ALIVE or DEAD" For all my work visit http://luaplayerhm.xtreemhost.com/ |
|
|
|
|
#6 |
Master
|
New functions are AMAZING
like a noob said more imaging support would be nice
|
|
|
|
|
#7 |
Elite
|
this is alsome
now it like having a c langue but easier and more portible i have to give 99 apluse for this apluse,apluse,apluse,..95 *apluse....,apluse, GREAT WORK
__________________
![]() Creater of: JOKEtopia ROBOT WARRIOR LOCAL ROBOT WARRIOR DC MY Website: http://thecobra.thesmokylounge.com |
|
|
|
|
#8 |
Neophyte
|
I'm updating my basic LUA script to a LUA HM6, had to remove some useless WiFi code I had in there, but I'm getting a "byte size expected" error on my line,
"inData = ySocket:recv()" I don't understand what it wants... |
|
|
|
|
#9 |
Neophyte
|
nice i love it!
|
|
|
|
|
#10 |
Developer
|
WOW !!
Great work guys ![]() Any chance of: -.pmf loading - .gif loading - .flv loading (homemister mentioned this one a few releases ago) Thanks again guys
__________________
Spoiler for PEOPLE WHO HAVE DONATED QJ POINTS TO ME:
|
|
|