As LuaDEV, OneLua is based on OSLib, so there are many similar functions (with slightly different syntax).
In this version there are enough modules to make decent homebrews.
Autors: gdljjrod and Rober Galarga.
ONElua Web Doc http://onelua.x10.mx/





UPDATE: ONEluav3
https://twitter.com/gdljjrod/status/614144012090523648
[Changelog]
V2R1
Added new module SIO.
Add the new Debugger
os.debug() To enable debug mode.
Added new Callback onDebug() that serve to replace our screen error
Added onelua_rdriver.prx for game.launch() function that returns you to ONElua.
(Requires onelua_rdriver.prx in seplugins to PSPGo should go in ef0:/seplugins).
New functions (batt):
batt.tonormal()
batt.topandora()
batt.toautoboot()
batt.backupbat()
batt.restorebat()
New functions (files):
files.scan()
files.extractfile()
New function (3D):
amg.rendertrans() for models with transparencies.
Fixed some bus with reflections.
New functions (hw):
hw.ofwinitial()
hw.fuseid()
hw.fusecfg()
hw.kirk()
hw.spock()
hw.nandseed()
hw.placa changed by hw.board()
hw.getmodel() now detects PSVITA model.
New functions (screen):
screen.toimage()
screen.buffertoimage()
New functions (math):
math.bitnot()
math.bitand()
math.bitor()
New functions (os):
os.password()
Update os.getcfw now detects TNV/ARK
os.reset() changed by os.restart()
Modified image.save() and screen.shot() only accept PNG format.
Changed the function osk.init() Now put two modes: Normal Keyboard and Numeric Keyboard.
[spoiler]This version includes a 3D demo by Mills (Downloads are in our web)
ONElua v2 Bundle Demo:
https://dl.dropboxusercontent.com/u/487 ... Bundle.rar
[Changelog]
++ Added the all-new 3D Module (special thanks to Andresmargar for AMGLib and his invaluable help... YOU ROCK MAN!).
++ Added a new error screen, now you can edit the error line directly in your PSP (no PC needed). This is still in development and tests, so some errors will not be fixable in this way.
++ Now you can access correctly to both ms0 and ef0 on PSP Go.
++ Fixed MOD sounds loading (.mod, .it, .s3m and .xm).
++ Fixed os.message(), now it returns your choice correctly.
++ files.list(),files.listfiles() and files.listdirs() were optimized.
++ Utils module renamed to game.
++ sound.getid3() got a new field: "cover", which contains the album art if available.
++ Added three new functions: image.pixel(), screen.brightness() and os.delay() (please refer the docs to get further details).
++ Now files.size() also works on directories.
-- Disabled AT3 files loading.[/spoiler]
OneLua features basic functions, as sound load (mp3), images, ini files, functions to copy & paste and many more (feel free to explore the docs).
However, there are a bug: there aren't functions to delete sounds, images, timers and other objects, so to free them you'll need to use the basic way:
Code: Select all
var = nilFeatures:
-Most math module functions now uses the VFPU, so the trigonometric calculations will be VERY fast.
-Color masking while loading images. This allow, for example, remove a solid-color background in your images.
-Dedicated HW module, which contains plenty of new functions, as PSP model detection, battery mode detection (normal, pandora or autoboot... only works for unbrickeable consoles), motherboard type and model detection...
-Detects correctly the free space in both ms0 and ef0 (for PSP Go).
-Detects the CFW that you're running.
-UMD functions: info and dump directly.
-Files: copy, rename, delete, fast-move (using the Total_Noob sample), unzip & unrar (with or without password).
-Unified and easy-to-use buttons reading, using constants (see the docs for an example).
-WiFi configs backup & restore.
-callbacks and constants in several functions, to ease your life
FOR PSP GO USERS
-If you want to read both ms0 and ef0 devices, your HB should be placed in ms0. <--Fixed v2.
-The function files.move doesn't work properly between devices (ms0 to ef0 and vice versa), only performs a copy. Other functions work fine.
We'll appreciate if you report us all the bugs you encounter. Any other feedback is welcomed, too.







