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
Ok now it's works, just the the square button part not, but never mind! I replaced the 7z.exe and dll to a 32 bit version and now I'm able to build on my netbook too! :D
 

gnmmarechal

Well-Known Member
Member
GBAtemp Patron
Joined
Jul 13, 2014
Messages
6,039
Trophies
2
Age
25
Location
https://gs2012.xyz
Website
gs2012.xyz
XP
5,991
Country
Portugal
Very useful, thanks. I still don't fully understand how the graphics stuff works though, and I'm not sure for example how you'd get text input.
You'd have to code it yourself.
 

dfsa3fdvc1

Well-Known Member
Member
Joined
Jan 3, 2015
Messages
226
Trophies
0
XP
214
Country
Albania
So there seems to be an issue with loading certain PNG images

I'm attaching 2 images, fumi01.png and kouji01.png
image = Graphics.loadImage("ux0:/data/fumi01.png") WORKS
image = Graphics.loadImage("ux0:/data/kouji01.png") CRASHES immediately on a system level "An error has occurred in the following application... Save Core File Succeeded"

I tried very hard to make sure this isn't a problem on my end. I believe you'll be able to replicate this
 

Attachments

  • fumi01.png
    fumi01.png
    36 KB · Views: 259
  • kouji01.png
    kouji01.png
    29.9 KB · Views: 242

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
So there seems to be an issue with loading certain PNG images

I'm attaching 2 images, fumi01.png and kouji01.png
image = Graphics.loadImage("ux0:/data/fumi01.png") WORKS
image = Graphics.loadImage("ux0:/data/kouji01.png") CRASHES immediately on a system level "An error has occurred in the following application... Save Core File Succeeded"

I tried very hard to make sure this isn't a problem on my end. I believe you'll be able to replicate this

I'll have to experiment a bit to understand if the problem is in vita2d or in a mod i made for vita2d. When i'll found the problem, i'll let you know.
 
  • Like
Reactions: dfsa3fdvc1

SYNYST3R1

Active Member
Newcomer
Joined
Feb 10, 2013
Messages
27
Trophies
1
Age
33
XP
250
Country
United States
So there seems to be an issue with loading certain PNG images

I'm attaching 2 images, fumi01.png and kouji01.png
image = Graphics.loadImage("ux0:/data/fumi01.png") WORKS
image = Graphics.loadImage("ux0:/data/kouji01.png") CRASHES immediately on a system level "An error has occurred in the following application... Save Core File Succeeded"

I tried very hard to make sure this isn't a problem on my end. I believe you'll be able to replicate this

Make your image resolution a power of 2 and try
 

dfsa3fdvc1

Well-Known Member
Member
Joined
Jan 3, 2015
Messages
226
Trophies
0
XP
214
Country
Albania
http://wololo.net/2016/08/10/setup-vita-sdk-windows/
I tried out this Windows Vita SDK and am having trouble compiling LPP.
I've been able to compile every other piece of homebrew except LPP.
Here's the error message.
error.png

As it says, it's apparently missing mpg123.h and I couldn't find that file in any of the folders. I'm a noob and have no idea what I'm doing. Tried looking here https://github.com/EasyRPG/Player/tree/master/src but no luck.

Wouldn't mind waiting for lpp-vita_R5 but I'm experiencing some strange audio issues. There's an audio fix in the latest commit that I'd like to try as it may fix the problems I've had.. And if the latest commit doesn't fix it I'd gladly report the issue I'm finding.

Is there anything you can do to help us dumb non programming experts compile LPP?
 
Last edited by dfsa3fdvc1,

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
http://wololo.net/2016/08/10/setup-vita-sdk-windows/
I tried out this Windows Vita SDK and am having trouble compiling LPP.
I've been able to compile every other piece of homebrew except LPP.
Here's the error message.
View attachment 58718

As it says, it's apparently missing mpg123.h and I couldn't find that file in any of the folders. I'm a noob and have no idea what I'm doing. Tried looking here https://github.com/EasyRPG/Player/tree/master/src but no luck.

Wouldn't mind waiting for lpp-vita_R5 but I'm experiencing some strange audio issues. There's an audio fix in the latest commit that I'd like to try as it may fix the problems I've had.. And if the latest commit doesn't fix it I'd gladly report the issue I'm finding.

Is there anything you can do to help us dumb non programming experts compile LPP?

You must download and install the easyrpg toolchain for PSVITA since audio_decoder (and relative audio libs) are used from easyrpg. Since it has not been compiled officially, you can download an unofficial build here: http://rinnegatamante.it/easyrpg-vita-toolchain(2).tar.gz
 

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
New stable release of lpp-vita that now reaches R5!

A lot of bugfixes (especially in Sound module), a lot of new features (Sony IME OSK support, Socket module implementation, multi-controllers support (PSTV), etc...) and new samples!

Official changelog:
Code:
New functions:

- Controls.rumble() - Changes rumble state of a certain dualshock (PSTV only)
- Screen.getPixel() - Gets the color of a pixel on the screen
- Screen.waitVblankStart() - Performs a screen vertical synchronization (vSync)
- System.getTime() - Gets current system time
- System.getDate() - Gets current system date
- System.getLanguage() - Gets system language
- System.getUsername() - Gets PSN username
- System.extractZIP() - Extracts a ZIP archive
- System.extractFromZIP() - Extract a file from a ZIP archive
- Socket.init() - Inits sockets system
- Socket.term() - Terminates sockets system
- Socket.createServerSocket() - Creates a server socket
- Socket.send() - Sends a message on a socket
- Socket.receive() - Receives a message on a socket
- Socket.accept() - Accepts connections on a socket
- Socket.close() - Closes a socket
- Socket.connect() - Connects to a server using a socket
- Keyboard.show() - Initializes OSK keyboard
- Keyboard.getState() - Gets current state of the OSK keyboard
- Keyboard.getInput() - Gets input of the OSK keyboard
- Keyboard.clear() - Terminates OSK keyboard

Syntax changes:

- Now all Graphics drawing images functions accept an extra optional argument to perform a texture tint.
- Changed arguments order of Graphics drawing images to respec lpp-3ds.
- Now Controls.read(), Controls.readLeftAnalog() and Controls.readRightAnalog() accept an extra argument that tells what controller to use (PSTV only)

New feature and improvements:

- Now lpp-vita will be able to use safe eboots for your homebrews.
- Increased available RAM size to 192 MB.
- Now multiple instances of the same sound can be put in reproduction without any issues.
- Now VSync is disabled by default and usable with Screen.waitVblankStart().

Bugfixes:

- Now Sound.pause() and Sound.resume() are working as intended.
- Now Sound.play() won't cause desync issues with PCM WAV tracks.
- Fixed LOOP and NO_LOOP globals. Now they're working as intended.
- Fixed a flaw in io.read() implementation. Now it works as intended.

Samples:

- Corrected syntax of Sound sample.
- Added Keyboard sample.
- Added File Downloader sample.

Download: http://rinnegatamante.it
 

gnmmarechal

Well-Known Member
Member
GBAtemp Patron
Joined
Jul 13, 2014
Messages
6,039
Trophies
2
Age
25
Location
https://gs2012.xyz
Website
gs2012.xyz
XP
5,991
Country
Portugal
New stable release of lpp-vita that now reaches R5!

A lot of bugfixes (especially in Sound module), a lot of new features (Sony IME OSK support, Socket module implementation, multi-controllers support (PSTV), etc...) and new samples!

Official changelog:
Code:
New functions:

- Controls.rumble() - Changes rumble state of a certain dualshock (PSTV only)
- Screen.getPixel() - Gets the color of a pixel on the screen
- Screen.waitVblankStart() - Performs a screen vertical synchronization (vSync)
- System.getTime() - Gets current system time
- System.getDate() - Gets current system date
- System.getLanguage() - Gets system language
- System.getUsername() - Gets PSN username
- System.extractZIP() - Extracts a ZIP archive
- System.extractFromZIP() - Extract a file from a ZIP archive
- Socket.init() - Inits sockets system
- Socket.term() - Terminates sockets system
- Socket.createServerSocket() - Creates a server socket
- Socket.send() - Sends a message on a socket
- Socket.receive() - Receives a message on a socket
- Socket.accept() - Accepts connections on a socket
- Socket.close() - Closes a socket
- Socket.connect() - Connects to a server using a socket
- Keyboard.show() - Initializes OSK keyboard
- Keyboard.getState() - Gets current state of the OSK keyboard
- Keyboard.getInput() - Gets input of the OSK keyboard
- Keyboard.clear() - Terminates OSK keyboard

Syntax changes:

- Now all Graphics drawing images functions accept an extra optional argument to perform a texture tint.
- Changed arguments order of Graphics drawing images to respec lpp-3ds.
- Now Controls.read(), Controls.readLeftAnalog() and Controls.readRightAnalog() accept an extra argument that tells what controller to use (PSTV only)

New feature and improvements:

- Now lpp-vita will be able to use safe eboots for your homebrews.
- Increased available RAM size to 192 MB.
- Now multiple instances of the same sound can be put in reproduction without any issues.
- Now VSync is disabled by default and usable with Screen.waitVblankStart().

Bugfixes:

- Now Sound.pause() and Sound.resume() are working as intended.
- Now Sound.play() won't cause desync issues with PCM WAV tracks.
- Fixed LOOP and NO_LOOP globals. Now they're working as intended.
- Fixed a flaw in io.read() implementation. Now it works as intended.

Samples:

- Corrected syntax of Sound sample.
- Added Keyboard sample.
- Added File Downloader sample.

Download: http://rinnegatamante.it
Cool stuff, I'll add this to my LPP Builder GUI. I should include at least one release of LPP, and R5 seems cool.

Sent from my Motorola DynaTAC 8000x using Tapatalk
 

VladX

New Member
Newbie
Joined
Aug 21, 2023
Messages
2
Trophies
0
Age
39
XP
15
Country
Mexico
Hi, I'm new to ipp 3ds, I already achieved the typical hello world with Homebrew, my questions are
1. how to change the cover of the app
2. is it possible to go from .3dsx to CIA?
 

gnmmarechal

Well-Known Member
Member
GBAtemp Patron
Joined
Jul 13, 2014
Messages
6,039
Trophies
2
Age
25
Location
https://gs2012.xyz
Website
gs2012.xyz
XP
5,991
Country
Portugal
Hi, I'm new to ipp 3ds, I already achieved the typical hello world with Homebrew, my questions are
1. how to change the cover of the app
2. is it possible to go from .3dsx to CIA?
I believe you have the wrong thread - this is the PS Vita port of the interpreter.

With that said, here's an example of an application made with LPP-3DS that is compiled into both a 3DSX and a CIA.
https://github.com/astronautlevel2/StarUpdater

(My fork has a Makefile if that's more your jam)
https://github.com/gnmmarechal/StarUpdater-UN
1692656739723.png

These are some of the things you'd change, some don't really matter to you, but yeah, take a look around.
 
  • Like
Reactions: VladX

VladX

New Member
Newbie
Joined
Aug 21, 2023
Messages
2
Trophies
0
Age
39
XP
15
Country
Mexico
I can now create my .cia in lua !!! with icons but since I modify the .smdh when creating the program it stays "StarUpdater" I use marcrobledo smdh-creator I put it in the bin folder but the data is not modified... I'm something doing wrong thanks for your help
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    S @ salazarcosplay: is gta v or call of duty still up?