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,089
Trophies
2
XP
2,680
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
  • impeeza @ impeeza:
    good night guys
    +1
  • BigOnYa @ BigOnYa:
    Nighty night, wise one, thanks for trying to help.
  • Psionic Roshambo @ Psionic Roshambo:
    To sleep perchance to dream!
  • BigOnYa @ BigOnYa:
    My state has put a heavy tax on vape juice, taxing any juice with nicotine by the weight/oz. So to get around the bs, my local vape store only sells 0 nicotine vape juices, then they also sell straight nicotine in tiny bottles, and you mix it yourself to your 0% juice, lol
    +1
  • BigOnYa @ BigOnYa:
    Damn, is that Wing from South Park?
  • Psionic Roshambo @ Psionic Roshambo:
    BigOnYa hmmm I wonder how long until someone just vapes the straight nicotine lol
  • BigOnYa @ BigOnYa:
    I was gonna say people are not that dumb, but yea you right, some are.
    +1
  • K3Nv2 @ K3Nv2:
    People have put 50mg salt nic in straight subohm coils which is like more powerful hits
    +1
  • BigOnYa @ BigOnYa:
    Hey psi, do they have dress codes down there in FLa, here there are signs on stores that say "No shirt, no service" but curious bout down yonder
  • BigOnYa @ BigOnYa:
    Yea I tried the salts and too strong for me, I prefer the norm juice
  • K3Nv2 @ K3Nv2:
    In Florida they don't serve you if you have clothes on
    +1
  • K3Nv2 @ K3Nv2:
    Fucking raining again
  • BigOnYa @ BigOnYa:
    How can you tell, do you see rain drops on top of other rain drops?
    +1
  • K3Nv2 @ K3Nv2:
    I can tell by whenever your wife done letting out loud ass moans then I get her a ticket back home
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    @BigOnYa, yeah most places demand clothes and shoes, unless it's some really back water place that I am unaware of lol
    +1
  • BigOnYa @ BigOnYa:
    Cool, I got lunch money for tomorrow then.
  • BakerMan @ BakerMan:
    @K3Nv2 call uremum Sloppenheimer the way she givin me this bomb head
    +1
  • K3Nv2 @ K3Nv2:
    I call uremum alzheimer she forgets to leave
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Time to start a vape straight nicotine challenge, Darwin be praised!
    +1
  • K3Nv2 @ K3Nv2:
    Imagine if Hitler had vapes, we promise it's not cyanide it'll help you quit nicotine
    +1
  • BigOnYa @ BigOnYa:
    Please, walk into my patented vape chamber, aka the non smoking area
  • K3Nv2 @ K3Nv2:
    I do wonder how dominate Germany would've been if they just enlisted Jewish people
  • BigOnYa @ BigOnYa:
    They actually enlisted Muslims, seriously, because the Muslims hates Jews, even tho it was not the supreme race. He claimed common hate, is friendship.
  • K3Nv2 @ K3Nv2:
    He could've just made them walking shields kind of a dumb ass move
    K3Nv2 @ K3Nv2: He could've just made them walking shields kind of a dumb ass move