[RELEASE] Lua Player Plus Vita (lpp-vita) - Lua interpreter for PSVITA

Discussion in 'PS Vita - Hacking & Homebrew' started by Rinnegatamante, Aug 1, 2016.

  1. Rinnegatamante
    OP

    Rinnegatamante GBAtemp Psycho!

    Member
    3,127
    3,270
    Nov 24, 2014
    Italy
    Bologna
    [​IMG]
    Description:
    Lua Player Plus is a multiplatform LUA interpreter currently available on PSP (lpp-c++ / lpp-plugin), 3DS (lpp-3ds) and PSVITA (lpp-vita).
    At current stage, it's good to make 2D games and apps but final goal is to provide a complete set of tools to make any kind of projects and make them easily portable towards consoles (lpp-3ds and lpp-vita for example both use a similar code syntax).

    Features:
    - GPU rendering support.
    - Sound system support with native support to MP3, OGG, MIDI, WAV audiofiles.
    - FTP server for fast scripts debug.
    - Controls and touch/retrotouch support.
    - Alpha blending support.
    - Native support to BMP, PNG and JPG images.
    - Native support to TTF fonts.
    - Possibility to build standalone homebrews in vpk format.
    - I/O functions support.
    - Arithmetical functions support (mathlib).
    - Minor functions support (Like battery ones).

    In the RAR file you'll find the interpreter documentation, some programming samples and a builder (currently only for Windows) able to generate a vpk package from your code.

    Credits:
    - vitasdk and HENkaku devs to make this possible.
    - @xerpi for vita2dlib and ftpVita srcs and for his awesome help on Skype :P .
    - @gnmmarechal for testing the interpreter.
    - @Misledz for the lpp-vita logo.
    - EasyRPG Team for the audio decoder used in Sound module.

    Download: http://rinnegatamante.it
    GitHub Repository: https://github.com/Rinnegatamante/lpp-vita
     
    Last edited by Rinnegatamante, Aug 6, 2016


  2. metroid maniac

    metroid maniac An idiot with an opinion

    Member
    1,800
    718
    May 16, 2009
    Fantastic work! I have very little experience programming but I'm excited to see if I can make a couple time-saving scripts with this.
     
  3. memomo

    memomo ( ͡° ͜ʖ ͡°)

    Member
    1,072
    548
    Nov 30, 2013
    awesome work, I'm really happy to see you here
    I really enjoy your amazing homebrews for 3DS and I hope to see some excited homebrews for the vita
    maybe a theme manager :wub:
     
    Last edited by memomo, Aug 3, 2016
    xfxmrl likes this.
  4. naughtyotsel

    naughtyotsel GBAtemp Regular

    Member
    126
    14
    Jul 17, 2016
    so does this work for henkaku?
     
  5. Rinnegatamante
    OP

    Rinnegatamante GBAtemp Psycho!

    Member
    3,127
    3,270
    Nov 24, 2014
    Italy
    Bologna
    Yes, lpp-builder will produce standalone vpk homebrews compatible with HENkaku.
     
  6. naughtyotsel

    naughtyotsel GBAtemp Regular

    Member
    126
    14
    Jul 17, 2016
    i tried it but it didnt produce a vpk file
     
  7. Rinnegatamante
    OP

    Rinnegatamante GBAtemp Psycho!

    Member
    3,127
    3,270
    Nov 24, 2014
    Italy
    Bologna
    Have you followed the Readme? Is your system a 64 Bit one?
     
  8. naughtyotsel

    naughtyotsel GBAtemp Regular

    Member
    126
    14
    Jul 17, 2016
    no i have a 32 bit one, so i cant use it?
     
  9. Rinnegatamante
    OP

    Rinnegatamante GBAtemp Psycho!

    Member
    3,127
    3,270
    Nov 24, 2014
    Italy
    Bologna
    Quite sure vitasdk tools are built for 64 bit machines. Launch build.bat from a cmd instance and see what error do you get. (And from what executable)
     
  10. Axorve

    Axorve GBAtemp Regular

    Member
    121
    5
    Jul 15, 2016
    France
    With this, we can homebrew for ps vita ? Or ps vita don't need interpreter for start other lua homebrew ?
     
  11. Rinnegatamante
    OP

    Rinnegatamante GBAtemp Psycho!

    Member
    3,127
    3,270
    Nov 24, 2014
    Italy
    Bologna
    lpp-vita can be used to build Lua homebrews. I don't know what do you mean by "can homebrew" but anyway, vitasdk officially supports only C/C++.
     
  12. Axorve

    Axorve GBAtemp Regular

    Member
    121
    5
    Jul 15, 2016
    France
    Sorry, because on psp we can homebrew with LUA, and i know only C# and lua x)
     
  13. Bishibazu

    Bishibazu Member

    Newcomer
    10
    3
    Jul 31, 2016
    Italy
    Puglia
    I've done everything according to the readme file but when I execute build.exe (and after I insert the app name and title id) it suddenly closes and generates only a param.sfo file... isn't it supposed to generate a .vpk?
     
  14. Rinnegatamante
    OP

    Rinnegatamante GBAtemp Psycho!

    Member
    3,127
    3,270
    Nov 24, 2014
    Italy
    Bologna
    Little correction: it's build.bat not exe. Anyway, try to execute the batch script using a cmd instance and report me what you get as output. Probably some executable failed.
     
  15. Bishibazu

    Bishibazu Member

    Newcomer
    10
    3
    Jul 31, 2016
    Italy
    Puglia
    Seems I'm missing something...
    And yeah, sorry for the little mistake. I was looking at vita-mksfoex.exe..

    (I don't need to translate this, I suppose ;))

    Warning: Spoilers inside!
     
  16. Rinnegatamante
    OP

    Rinnegatamante GBAtemp Psycho!

    Member
    3,127
    3,270
    Nov 24, 2014
    Italy
    Bologna
    Ok,
    I've updated the release package, please re-download it and let me know if it fixed the problem.
     
  17. Bishibazu

    Bishibazu Member

    Newcomer
    10
    3
    Jul 31, 2016
    Italy
    Puglia
    Yep, it works now! Thank you!

    Now I just have to look for errors in my .lua file :D

    EDIT 2:

    Nevermind, rebuilt the database and the app is gone now.
     
    Last edited by Bishibazu, Aug 2, 2016
  18. Jackall4BDN

    Jackall4BDN Haunter of Daydreams and Nightmares

    Member
    767
    358
    Nov 8, 2013
    Gambia, The
    Within your Mind
    is there any relation or chance that we could see a port of Löve-Engine based on this at some point?
    I am suddenly aching for some Not Tetris or Mari0
     
  19. Sancus

    Sancus Newbie

    Newcomer
    1
    0
    Aug 4, 2016
    Canada
    When I compile to a vpk will the files in build be included?
    example:
    If I have arial.ttf next to index.lua
    could I use
    my_font = Font.load("arial.ttf")

    Edit:

    I have just found out that it is available in
    app0:/NAMEOFTHEFILE
     
    Last edited by Sancus, Aug 4, 2016
  20. Rinnegatamante
    OP

    Rinnegatamante GBAtemp Psycho!

    Member
    3,127
    3,270
    Nov 24, 2014
    Italy
    Bologna
    I'm not a Love fan so no, i'm not going to work on a port of such framework.