You can edit almost every page by Creating an account and confirming your email.

Lua Player

From EverybodyWiki Bios & Wiki


Lua Player
File:Luaplayer.png
File:Fetch.png
Lua Player for PSP
Developer(s)Frank Buß, Joachim Bengtsson, and David Perry
Initial release?
Written inC++
Engine
    Operating systemPlayStation Portable (XMB), PlayStation 3 (XMB), PlayStation Vita (via VHBL)
    Available inEnglish
    TypeProgramming tools
    LicenseOpen source
    WebsiteLuaPlayer.org

    Search Lua Player on Amazon.

    Lua for the PlayStation Portable is interpreted with Lua Player. Lua Player is a homebrew application that can run Lua scripts and display them on the Sony PSP through graphical bindings. The current version is 0.20, however, v0.17DK2 and Lua Player Mod, which are unofficial versions, are still used by users on PSP Firmware version 2.00+. Most versions of the application can be downloaded from the LuaPlayer.org website. Lua Player can only run the source code of Lua scripts, and cannot compile them into standalone software applications.

    Programming

    The programming language for Lua Player is almost identical to that of Lua programming language. Below is an example of a basic hello world program.

    green = Color.new(0, 255, 0)
    while true do
        screen:clear()
        screen:print(200,100, "Hello World!", green)
        screen.flip()
    end
    

    Authors

    Lua Player is an open source project, and was originally maintained by Frank Buß (Shine) and Joachim Bengtsson (Nevyn), before being passed on to David Perry (InsertWittyName).

    Lua Player Version History

    Only the changes in the latest version are shown here.

    • V 0.20
    1. Updated for gcc 4.1 and Lua 5.1.
    2. Sound.load no longer crashes on invalid filenames.
    3. Fixed problems with daylight saving time.
    4. Font:getTextSize fixed.
    5. Blit operation from screen to image now works.
    6. TTF font plotting to images now sets the alpha value to opaque.
    7. New function Image.loadFromMemory for loading images from memory.
    8. Image-to-image blitting now uses full alpha blending.
    9. System.rename(oldName, newName) for renaming files and directories.

    Libraries

    To load a library in Lua Player, one would type dofile("libname.lua"), assuming the library's file name was "libname".

    Some common libraries are:

    • netlib, which allows you to make a game online capable, send emails, and send text messages. This library was written by Youresam.
    • BMPlib, which allows you to load bitmap images into Lua. This was written by Youresam.
    • wavlib, which allows you to easily integrate visual for audio data in a program (made by Youresam).
    • Animation Lib 4, which allows you to easily create animations in Lua. This was written by Grimfate126.

    Lowser

    Lowser is the official PSP-based browser for Lua scripts. It is written in the Lua language itself, but is quite basic. Lowser is what automatically loads when Lua Player is started, but this can be changed.

    • LuaOS created by Youresam is a shell for the PSP designed to replace Lowser. This has now been replaced (by him) with:
    • LuaOS[hell]2 Work on this has stopped, with only the mainframe (LuaX) in a usable state.
    • Ys-OS This shell, created by Yossi-Starz, was not intended to replace Lowser, as it is not currently fully functional and is too "RAM hungry" for everyday use.
    • LuaMainframe created by Alex Glynn (Glynnder) is a modification of the Lowser script, adding features but slightly limiting speed. This has now been replaced (by him) with:
    • interfaceLua A redesigned and optimized version of LuaMainframe. Work on it has stopped.


    See also

    External links


    This article "Lua Player" is from Wikipedia. The list of its authors can be seen in its historical. Articles copied from Draft Namespace on Wikipedia could be seen on the Draft Namespace of Wikipedia and not main one.