Advertising (This ad goes away for registered users. You can Login or Register)

Lua Player Plus VITA (lpp-vita) - Lua interpreter for PSVITA

Submit here your entries for the Revitalize Competition. Deadline is September 30th.
Rules can be found here: http://wololo.net/revitalize/
User avatar
Rinnegatamante
VIP
Posts: 757
Joined: Sat Mar 26, 2011 10:02 am
Contact:

Lua Player Plus VITA (lpp-vita) - Lua interpreter for PSVITA

Post by Rinnegatamante » Mon Sep 07, 2015 5:24 pm

Introduction:
After Rejuvenate release i was waiting for new USB cable for PSVITA just to start porting my LUA interpreter to PSVITA and i think i reached a good point to release it for Revitalize competition.

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.
- FTP server for fast scripts debug.
- Controls and touch support.
- Alpha blending support.
- Native support to BMP, PNG and JPG images.
- Native support to TTF fonts.
- Built-in script selector menu for multi-homebrews loading.
- I/O functions support.
- Arithmetical functions support (mathlib).
- Minor functions support (Like battery ones).

In the RAR file you'll find the velf file to be sent through VitaDefiler, lpp folder you have to put in cache0:/ where are located all the scripts lpp can run, image.jpg file needed for image sample and a little documentation to all functions available in the interpreter. (Viewable also here: http://rinnegatamante.it/lpp-vita_doc.html )

Credits:
- All vita-toolchain and Rejuvenate devs to make this possible.
- xerpi for vita2dlib and ftpVita srcs and for his awesome help on Skype :P .

Download: http://rinnegatamante.it/lpp-vita_Revitalize_02.rar
FCREATE velf patched download: http://rinnegatamante.it/lpp-vita.velf
GitHub Repository: https://github.com/Rinnegatamante/lpp-vita
Advertising
Last edited by Rinnegatamante on Wed Sep 23, 2015 9:22 pm, edited 2 times in total.
If you want, visit my website: http://rinnegatamante.it :D

User avatar
Poller77
Posts: 99
Joined: Wed Jul 10, 2013 5:32 pm

Re: Lua Player Plus VITA (lpp-vita) - Lua interpreter for PS

Post by Poller77 » Mon Sep 07, 2015 11:25 pm

Essentially what does this mean for the ps vita?
Advertising

User avatar
qwikrazor87
Guru
Posts: 2868
Joined: Sat Apr 21, 2012 1:23 pm
Location: The North Pole

Re: Lua Player Plus VITA (lpp-vita) - Lua interpreter for PS

Post by qwikrazor87 » Mon Sep 07, 2015 11:37 pm

Pretty cool. :)
Is cache0: the only file system that we can use?
PSP 2001 - TA-085 - 6.61 PRO-C2
PS Vita 3G - PCH-1101 - 3.65 HENkaku Ensō
Maxwest Nitro 4 phone - Android 5.1
Laptop - Toshiba Satellite L305D-S5974 - Ubuntu 16.04 LTS

User avatar
Rinnegatamante
VIP
Posts: 757
Joined: Sat Mar 26, 2011 10:02 am
Contact:

Re: Lua Player Plus VITA (lpp-vita) - Lua interpreter for PS

Post by Rinnegatamante » Mon Sep 07, 2015 11:45 pm

qwikrazor87 wrote:Pretty cool. :)
Is cache0: the only file system that we can use?
Yeah, i have to test all vita-toolchain funcs and study more about PSVITA filesystems but i planned to add as more feature (like other filesystems support) as i can like i'm doing also with lpp-3ds for the 3DS scene.
Poller77 wrote:Essentially what does this mean for the ps vita?
LUA is a pretty easy-to-use language so it could bring more developers to the scene.
Also all lpp-3ds homebrews are easily portable to lpp-vita (I'm planning for example to port 3DSudoku [Don't know if it's spam to post GBAt*mp links so if you want to see what i'm talking about you can search it on Google] to PSVITA when i finish to add TTF fonts support to lpp-vita).
If you want, visit my website: http://rinnegatamante.it :D

User avatar
qwikrazor87
Guru
Posts: 2868
Joined: Sat Apr 21, 2012 1:23 pm
Location: The North Pole

Re: Lua Player Plus VITA (lpp-vita) - Lua interpreter for PS

Post by qwikrazor87 » Mon Sep 07, 2015 11:52 pm

Rinnegatamante wrote:Yeah, i have to test all vita-toolchain funcs and study more about PSVITA filesystems but i planned to add as more feature (like other filesystems support) as i can like i'm doing also with lpp-3ds for the 3DS scene.
Okay, do you have a method to figure out how much space is left on cache0? Is cache0 cleared on each boot (guessing based off of the name)?
PSP 2001 - TA-085 - 6.61 PRO-C2
PS Vita 3G - PCH-1101 - 3.65 HENkaku Ensō
Maxwest Nitro 4 phone - Android 5.1
Laptop - Toshiba Satellite L305D-S5974 - Ubuntu 16.04 LTS

User avatar
SMOKE
Retired Mod
Posts: 3674
Joined: Tue Apr 17, 2012 10:00 pm
Location: USA
Contact:

Re: Lua Player Plus VITA (lpp-vita) - Lua interpreter for PS

Post by SMOKE » Tue Sep 08, 2015 2:05 am

qwikrazor87 wrote:Pretty cool. :)
Is cache0: the only file system that we can use?
cache0 is the only one that both PSMDev apps and Unity apps can use. There's pss0 for PSMDev and unity0 for Unity.
Also, if I remember correctly, both those file systems mount to cache0:/VitaDefilerClient/Documents when running Rejuvenate
qwikrazor87 wrote:Okay, do you have a method to figure out how much space is left on cache0? Is cache0 cleared on each boot (guessing based off of the name)?
You can fill cache0 until memory card if full.
cache0 is not cleared unless you delete the app

wololo
Site Admin
Posts: 3616
Joined: Wed Oct 15, 2008 12:42 am
Location: Japan

Re: Lua Player Plus VITA (lpp-vita) - Lua interpreter for PS

Post by wololo » Tue Sep 08, 2015 3:18 am

Awesome :)
If you need US PSN Codes, this technique is what I recommend.

Looking for guest bloggers and news hunters here at wololo.net, PM me!

User avatar
Rinnegatamante
VIP
Posts: 757
Joined: Sat Mar 26, 2011 10:02 am
Contact:

Re: Lua Player Plus VITA (lpp-vita) - Lua interpreter for PS

Post by Rinnegatamante » Tue Sep 08, 2015 9:55 am

qwikrazor87 wrote:
Rinnegatamante wrote:Yeah, i have to test all vita-toolchain funcs and study more about PSVITA filesystems but i planned to add as more feature (like other filesystems support) as i can like i'm doing also with lpp-3ds for the 3DS scene.
Okay, do you have a method to figure out how much space is left on cache0? Is cache0 cleared on each boot (guessing based off of the name)?
cache0 is not cleared so LUA scripts and data used by them can stay without any problem here.
If you want, visit my website: http://rinnegatamante.it :D

gibbman
Posts: 39
Joined: Mon Nov 12, 2012 4:12 pm

Re: Lua Player Plus VITA (lpp-vita) - Lua interpreter for PS

Post by gibbman » Wed Sep 09, 2015 7:22 am

Wow!! I think it's time to create something for Ps Vita (grande zio!! Ci sta, bordello!)

User avatar
Rinnegatamante
VIP
Posts: 757
Joined: Sat Mar 26, 2011 10:02 am
Contact:

Re: Lua Player Plus VITA (lpp-vita) - Lua interpreter for PS

Post by Rinnegatamante » Wed Sep 09, 2015 4:54 pm

Updated first post with the new Release (R2).

Changelog:
- Added System.powerTick(): Prevents PSVITA going standby mode.
- Added System.loadElf(): Load .VELF homebrews from cache0.
- Improved speed for Screen.clear() function.
- Added Controls.readLeftAnalog(): Returns X,Y values for left analog.
- Added Controls.readRightAnalog(): Returns X,Y values for right analog.
- Added Screen.getFramerate(): Returns current FPS.
- Added Timer module (Timer.new(), Timer.isPlaying(), Timer.getTime(), Timer.destroy(), Timer.pause(), Timer.resume(), Timer.reset()).
- Added Timer sample.
- Added support to PNG images.
- Added Font module for TTF fonts support (Font.load(), Font.unload(), Font.setPixelSizes(), Font.print()).
If you want, visit my website: http://rinnegatamante.it :D

Post Reply

Return to “Revitalize Competition”