PDA

View Full Version : LuaPlayerHM 6



wraggster
April 17th, 2008, 21:15
News/release from Homemister:


That is right. The next LuaPlayer HM has been released.

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() screenrint(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

Download and Give Feedback Via Comments