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

Rinnegatamante

Well-Known Member
OP
Member
Joined
Nov 24, 2014
Messages
3,162
Trophies
2
Age
29
Location
Bologna
Website
rinnegatamante.it
XP
4,857
Country
Italy
banner.png
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,

metroid maniac

An idiot with an opinion
Member
Joined
May 16, 2009
Messages
2,088
Trophies
2
XP
2,666
Country
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.
 

memomo

( ͡° ͜ʖ ͡°)
Member
Joined
Nov 30, 2013
Messages
1,079
Trophies
0
Age
31
XP
750
Country
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,
  • Like
Reactions: xfxmrl

Axorve

Well-Known Member
Member
Joined
Jul 15, 2016
Messages
121
Trophies
0
Age
29
XP
146
Country
France
With this, we can homebrew for ps vita ? Or ps vita don't need interpreter for start other lua homebrew ?
 

Bishibazu

Member
Newcomer
Joined
Jul 31, 2016
Messages
10
Trophies
0
Age
24
Location
Puglia
XP
101
Country
Italy
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?
 

Rinnegatamante

Well-Known Member
OP
Member
Joined
Nov 24, 2014
Messages
3,162
Trophies
2
Age
29
Location
Bologna
Website
rinnegatamante.it
XP
4,857
Country
Italy
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?

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.
 

Bishibazu

Member
Newcomer
Joined
Jul 31, 2016
Messages
10
Trophies
0
Age
24
Location
Puglia
XP
101
Country
Italy
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 ;))

Insert homebrew name: CPU Test
Insert homebrew title ID (4 characters): cput

C:\Users\Bishibazuuì\Desktop\Programmi\PS Vita\LUA Player\lpp-builder>vita-mksfo
ex -s TITLE_ID=cput000001 "CPU Test" param.sfo

C:\Users\Bishibazuuì\Desktop\Programmi\PS Vita\LUA Player\lpp-builder>cp -f para
m.sfo build/sce_sys/param.sfo
"cp" non è riconosciuto come comando interno o esterno,
un programma eseguibile o un file batch.

C:\Users\Bishibazuuì\Desktop\Programmi\PS Vita\LUA Player\lpp-builder>7z a -tzip
"CPU Test.vpk" -r .\build\* .\build\eboot.bin

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21



ERROR:
Can't load module 7z.dll

C:\Users\Bishibazuuì\Desktop\Programmi\PS Vita\LUA Player\lpp-builder>rm -f buil
d/index.lua build/sce_sys/param.sfo param.sfo
"rm" non è riconosciuto come comando interno o esterno,
un programma eseguibile o un file batch.
 

Rinnegatamante

Well-Known Member
OP
Member
Joined
Nov 24, 2014
Messages
3,162
Trophies
2
Age
29
Location
Bologna
Website
rinnegatamante.it
XP
4,857
Country
Italy
Ok,
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 ;))

Insert homebrew name: CPU Test
Insert homebrew title ID (4 characters): cput

C:\Users\Bishibazuuì\Desktop\Programmi\PS Vita\LUA Player\lpp-builder>vita-mksfo
ex -s TITLE_ID=cput000001 "CPU Test" param.sfo

C:\Users\Bishibazuuì\Desktop\Programmi\PS Vita\LUA Player\lpp-builder>cp -f para
m.sfo build/sce_sys/param.sfo
"cp" non è riconosciuto come comando interno o esterno,
un programma eseguibile o un file batch.

C:\Users\Bishibazuuì\Desktop\Programmi\PS Vita\LUA Player\lpp-builder>7z a -tzip
"CPU Test.vpk" -r .\build\* .\build\eboot.bin

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21



ERROR:
Can't load module 7z.dll

C:\Users\Bishibazuuì\Desktop\Programmi\PS Vita\LUA Player\lpp-builder>rm -f buil
d/index.lua build/sce_sys/param.sfo param.sfo
"rm" non è riconosciuto come comando interno o esterno,
un programma eseguibile o un file batch.

I've updated the release package, please re-download it and let me know if it fixed the problem.
 

Jackall4BDN

Haunter of Daydreams and Nightmares
Member
Joined
Nov 8, 2013
Messages
780
Trophies
0
Age
30
Location
Within your Mind
XP
704
Country
Gambia, The
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
 

Sancus

New Member
Newbie
Joined
Aug 4, 2016
Messages
1
Trophies
0
Age
31
XP
52
Country
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,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • AncientBoi @ AncientBoi:
    ooowwww a new way for me to beat NFS 510 :D @SylverReZ
    +1
  • SylverReZ @ SylverReZ:
    @AncientBoi, Yeah, believe you can do PSP games as well. But a Pi5 is much powerful in comparison.
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    Not sure about other models of Pi4 but the Pi 4 B with 8GBs OCed to 2Ghz handles PSP really great except like 1 game I found and it is playable it just looks bad lol Motor Storm Arctic something or other.
  • Psionic Roshambo @ Psionic Roshambo:
    Other games I can have turned up to like 2X and all kinds of enhancements, Motorstorm hmmm nope 1X and no enhancements lol
  • Veho @ Veho:
    Waiting for Anbernic's rg[whatever]SP price announcement, gimme.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I will admit that one does seem more interesting than the usual Ambernic ones, and I already liked those.
  • Veho @ Veho:
    I dread the price point.
    +1
  • Veho @ Veho:
    This looks like one of their premium models, so... $150 :glare:
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    To me that seems reasonable.
  • Psionic Roshambo @ Psionic Roshambo:
    I mean since basically all the games are errmmm free lol
  • Veho @ Veho:
    I mean yeah sure but the specs are the same as a $50 model, it's just those pesky "quality of life" things driving up the price, like an actually working speaker, or buttons that don't melt, and stuff like that.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I think all in my Pi 4 was well north of 200 bucks 150ish for the Pi 4 the case the fancy cooler, then like 70 for the 500GB MicroSD then like 70 for the Xbox controller. But honestly it's a nice set up I really enjoy and to me was worth every penny. (even bought more controllers for 2 or 4 player games.) hmmm have never played any 2 player games yet :(
  • Veho @ Veho:
    Yeah that's what I hate about the RPi, it's supposedly $30 or something but it takes an additional $200 of accessories to actually turn it into a working something.
  • Psionic Roshambo @ Psionic Roshambo:
    yes that's the expensive part lol
  • Veho @ Veho:
    I mean sure it's flexible and stuff but so is uremum but it's fiddly.
  • Psionic Roshambo @ Psionic Roshambo:
    Yeah a lot of it I consider a hobby, using Batocera I am constantly adjusting the collection adding and removing stuff, scraping the artwork. Haven't even started on some music for the theme... Also way down the road I am considering attempting to do a WiiFlow knock off lol
  • Veho @ Veho:
    I want everything served on a plate plz ktnx, "work" is too much work for me.
  • Veho @ Veho:
    Hmm, with that in mind, maybe a complete out-the-box solution with all the games collected, pacthed and optimized for me would be worth $150 :unsure:
  • Psionic Roshambo @ Psionic Roshambo:
    Yeah it's all choice and that's a good thing :)
  • Bunjolio @ Bunjolio:
    animal crossing new leaf 11pm music
  • Bunjolio @ Bunjolio:
    avatars-kKKZnC8XiW7HEUw0-KdJMsw-t1080x1080.jpg
    wokey d pronouns
  • SylverReZ @ SylverReZ:
    What its like to do online shopping in 1998: https://www.youtube.com/watch?v=vwag5XE8oJo
    SylverReZ @ SylverReZ: What its like to do online shopping in 1998: https://www.youtube.com/watch?v=vwag5XE8oJo