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/
Rinnegatamante
VIP
Posts: 912
Joined: Sat Mar 26, 2011 10:02 am
Contact:

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

Post by Rinnegatamante »

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
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 »

Essentially what does this mean for the ps vita?
Advertising
qwikrazor87
Guru
Posts: 2874
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 »

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ō
Alcatel phone - Android 8.1.0
Laptop - Toshiba Satellite L305D-S5974 - Ubuntu 16.04 LTS
Rinnegatamante
VIP
Posts: 912
Joined: Sat Mar 26, 2011 10:02 am
Contact:

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

Post by Rinnegatamante »

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
qwikrazor87
Guru
Posts: 2874
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 »

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ō
Alcatel phone - Android 8.1.0
Laptop - Toshiba Satellite L305D-S5974 - Ubuntu 16.04 LTS
SMOKE
Retired Mod
Posts: 3673
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 »

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: 3621
Joined: Wed Oct 15, 2008 12:42 am
Location: Japan

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

Post by wololo »

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!
Rinnegatamante
VIP
Posts: 912
Joined: Sat Mar 26, 2011 10:02 am
Contact:

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

Post by Rinnegatamante »

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: 38
Joined: Mon Nov 12, 2012 4:12 pm

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

Post by gibbman »

Wow!! I think it's time to create something for Ps Vita (grande zio!! Ci sta, bordello!)
Rinnegatamante
VIP
Posts: 912
Joined: Sat Mar 26, 2011 10:02 am
Contact:

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

Post by Rinnegatamante »

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
Locked

Return to “Revitalize Competition”