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

Vektast

Member
Newcomer
Joined
Apr 1, 2016
Messages
22
Trophies
0
Age
31
XP
79
Country
Hungary
Hi!
I'm totally new in this vpk/Henkaku scene... If i have a lua file for example one of the samples how can i run it on vita?
 

Vektast

Member
Newcomer
Joined
Apr 1, 2016
Messages
22
Trophies
0
Age
31
XP
79
Country
Hungary
Hi

Could somebody help me to rebuild the lua player?

When I write make and press Enter in the folder of lpp I get this error.

tomi@ubuntu:~/Downloads/lpp-vita-master$ make
arm-vita-eabi-gcc -Wl,-q -Wall -O3 -c -o source/include/lua/lapi.o source/include/lua/lapi.c
make: arm-vita-eabi-gcc: Command not found
make: *** [source/include/lua/lapi.o] Error 127

I added this command:
echo 'PATH="/usr/local/vitasdk/bin:$PATH"' >> ~/.profile
but it is not help... :(
 

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
Hi!
I'm totally new in this vpk/Henkaku scene... If i have a lua file for example one of the samples how can i run it on vita?
Hi

Could somebody help me to rebuild the lua player?

When I write make and press Enter in the folder of lpp I get this error.

tomi@ubuntu:~/Downloads/lpp-vita-master$ make
arm-vita-eabi-gcc -Wl,-q -Wall -O3 -c -o source/include/lua/lapi.o source/include/lua/lapi.c
make: arm-vita-eabi-gcc: Command not found
make: *** [source/include/lua/lapi.o] Error 127

I added this command:
echo 'PATH="/usr/local/vitasdk/bin:$PATH"' >> ~/.profile
but it is not help... :(

You don't need to compile the source. If you downloaded the R3 package, there's an lpp-builder folder and a README explaining how to build your vpk homebrews starting from a lua file.
 

Vektast

Member
Newcomer
Joined
Apr 1, 2016
Messages
22
Trophies
0
Age
31
XP
79
Country
Hungary
You don't need to compile the source. If you downloaded the R3 package, there's an lpp-builder folder and a README explaining how to build your vpk homebrews starting from a lua file.

Thank you very much! :D
Finally I build the hello world lua and yes it works in my vita but I can't delete the bubble because I get a C2-17770-2 error :/
 

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
A new update is available for Lua Player Plus Vita bringing it to official r4!
Finally Sound Module has been re-wrote to work on PSVITA with support to MP3, OGG, WAV, MIDI audiofiles.
There are also other minor bugfixes and adds, heres' the official changelog:

Code:
New functions:

- System.launchEboot() - Launches an eboot.bin file from app0 filesystem
- Sound.init() - Inits audio device
- Sound.term() - Terminates audio device
- Sound.openWav() - Opens a wav audio file
- Sound.openOgg() - Opens an ogg audio file
- Sound.openMidi() - Opens a midi audio file
- Sound.openMp3() - Opens an mp3 audio file
- Sound.play() - Starts playback for a loaded audio file
- Sound.isPlaying() - Checks if an audio playback is playing
- Sound.pause() - Pauses an audio playback
- Sound.resume() - Resumes an audio playback
- Sound.close() - Closes an audio file alreasdy opened

Syntax changes:

- Now Graphics.debugPrint() takes an optional 5th argument to change the scale of the text.

New feature and improvements:

- Now debug FTP server works as intended.
- Replaced debug font with the default Vita font.

Bugfixes:

- Now Network.initFTP() works as intended.
- Now Graphics module correctly handle floats as screen coordinates for drawing positions.
- Now Font module correctly handle floats as screen coordinates for drawing positions.
- Now System.exit() won't crash the system anymore when called.
- Fixxed lpp-builder. Now it correctly set app titleId.

Samples:

- Added Sound module sample.
- Added Font module sample.

Download: http://rinnegatamante.it
 
  • Like
Reactions: ifrit05

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
The related folders are deleted, and reboot the vita.. nothing. After that rebuilt the database and still there those bubbles! lol :/

That's pretty strange since i never had problems with any bubble. If you don't have any important data on your MS, you should consider a Factory Reset at this point. Probably the bugged bubbles are the one created with the first version of lpp-builder which set wrong APP IDs
 

dfsa3fdvc1

Well-Known Member
Member
Joined
Jan 3, 2015
Messages
226
Trophies
0
XP
214
Country
Albania
Works great. Dumb question though. LPP has FTP built-in. How do I use this? I ran the Hello World example fine but IDK how to enable FTP for fast debugging.
 

ifrit05

Well-Known Member
Newcomer
Joined
Aug 11, 2014
Messages
85
Trophies
0
Age
33
XP
340
Country
United States
Works great. Dumb question though. LPP has FTP built-in. How do I use this? I ran the Hello World example fine but IDK how to enable FTP for fast debugging.
I think you have to manually call and setup Network.initFTP() in your code to do so.
 

Vektast

Member
Newcomer
Joined
Apr 1, 2016
Messages
22
Trophies
0
Age
31
XP
79
Country
Hungary
That's pretty strange since i never had problems with any bubble. If you don't have any important data on your MS, you should consider a Factory Reset at this point. Probably the bugged bubbles are the one created with the first version of lpp-builder which set wrong APP IDs

This is the vpk file which I can't delete even if I format the whole memory card. Just a full system restore what helped. It's builded with R4 lpp.
LINK:
http://www88.zippyshare.com/d/1VPau5PX/19988/line.rar
 

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

Vektast

Member
Newcomer
Joined
Apr 1, 2016
Messages
22
Trophies
0
Age
31
XP
79
Country
Hungary
Try to use only uppercases when specifying the app title (so LINE, not line) and tell me if it works.

Wow dude, that was the problem! Now I can delete the bubbles. Thanks! :D

Uh, I'd try the sound sample but there is an error.
vEhivKB.jpg
 

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
Last edited by Rinnegatamante,
  • Like
Reactions: ifrit05

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: Keep current Gen consoles stock mod last gen imo