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

Rinnegatamante

Well-Known Member
OP
Member
Joined
Nov 24, 2014
Messages
3,161
Trophies
0
Age
26
Location
Bologna
Website
rinnegatamante.it
XP
4,662
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
1,827
Trophies
0
XP
1,057
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
28
XP
719
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
26
XP
106
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
22
Location
Puglia
XP
56
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,161
Trophies
0
Age
26
Location
Bologna
Website
rinnegatamante.it
XP
4,662
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
22
Location
Puglia
XP
56
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,161
Trophies
0
Age
26
Location
Bologna
Website
rinnegatamante.it
XP
4,662
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
779
Trophies
0
Age
28
Location
Within your Mind
XP
656
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
28
XP
22
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,
General chit-chat
Help Users
  • No one is chatting at the moment.
    Psionic Roshambo @ Psionic Roshambo: https://imgur.com/gallery/THrBdLQ