Page 1 of 2

New entry : ONElua !

Posted: Sun Sep 25, 2016 10:04 am
by Tuxbot123
ONElua, by Team ONElua is a new homebrew submitted to the GekiHEN contest !

Here's the description :
ONElua was originally a lua interpreter for the PSP, which is currently being ported to the PSVita with Henkaku and all the possibilities it offers !

Okay, but what is an interpreter? Basically with this tool (interpreter), you can create your own homebrew and applications, introducing and translating your ideas through the built in ONElua and of course native LUA.

Although there is still much to be done, such as including the sound and SaveData modules are our priorities, but we believe our first version has enough to create homebrews decently ! We are also attentive to your ideas, to all the mistakes that can be find and which will be much help to further refine the interpreter.

Currently it has the following modules:
• Battery
• Buttons
• Color
• Draw
• Files
• Font
• FTP
• Game
• Hardware
• HTTP
• Image
• Ini
• Maps
• OS
• OSK
• Power
• Screen
• Socket
• Splash
• Timer
• Wlan

This first release includes a number of samples that we believe will facilitate the use of its functions, as is customary in our website, you can find the binary and all documentation about built-in functions and usage details.

It incorporates some small but useful samples, launched from a simple menu, and contains a beta file explorer.

Special thanks:
Xerpi - Fixed a bug more chatting with, as well as the help of his library vita2d.
TheFlow - Package installer based on his work.
Team Molecule - For their great work with Henkaku.

In the official web you can Download ONEmaker:
We include a necessary and very useful thing for creating your own VPKs of ONElua and so you can incorporate all the necessary files that are part of your own homebrew tool.

We expect more competitors enter the competition using ONElua ! :)
Link : http://gekihen.customprotocol.com/en/pr ... NElua-Vita

Re: New entry : ONElua !

Posted: Sun Oct 02, 2016 2:31 pm
by spike_132000
Hi, I've hit a wall with your documentation for the front touch screen.

How do I get the X & Y coordinates that where touched exactly?

Thanks.

EDIT: Nevermind, found it in your sample, you should include this in the documentation though.

screen.print(600,10,"Touch: "..string.format("x: %03d - y: %03d - moved: %s",buttons.touchf[1].x,buttons.touchf[1].y,tostring(buttons.touchf[1].moved)))

Re: New entry : ONElua !

Posted: Sun Oct 02, 2016 6:20 pm
by spike_132000
Another issue i've come across. http.getfile does not work. The following code does not create a file.

base_url = "http://themeq.xyz/other-domain/vhbmarket/"
http.getfile(base_url .. "api/featured.lua","app0:/cache/featured.lua")

Re: New entry : ONElua !

Posted: Mon Oct 03, 2016 7:43 pm
by gdljjrod
spike_132000 wrote:Another issue i've come across. http.getfile does not work. The following code does not create a file.

base_url = "http://themeq.xyz/other-domain/vhbmarket/"
http.getfile(base_url .. "api/featured.lua","app0:/cache/featured.lua")
Please..more details...
code :D

You read the documentation?

Posted: Mon Oct 03, 2016 7:50 pm
by Davis9278
spike_132000 wrote:Hi, I've hit a wall with your documentation for the front touch screen.

How do I get the X & Y coordinates that where touched exactly?

Thanks.

EDIT: Nevermind, found it in your sample, you should include this in the documentation though.

screen.print(600,10,"Touch: "..string.format("x: %03d - y: %03d - moved: %s",buttons.touchf[1].x,buttons.touchf[1].y,tostring(buttons.touchf[1].moved)))
In the module buttons, specified as access the index of touch, Analogs and buttons:

http://onelua.x10.mx/vita/docs/en/group ... b107891933

You read the documentation?

Posted: Mon Oct 03, 2016 7:53 pm
by Davis9278
spike_132000 wrote:Another issue i've come across. http.getfile does not work. The following code does not create a file.

base_url = "http://themeq.xyz/other-domain/vhbmarket/"
http.getfile(base_url .. "api/featured.lua","app0:/cache/featured.lua")
http://onelua.x10.mx/vita/docs/en/index ... nstall_sec

"Warning
Whenever you work with scripts is advisable to ensure that they are encoded in UTF-8, otherwise special characters (accents and ñ for example) are not displayed.
Remember that direct routes related to the running application can not be altered, only allow reading, these routes are: app0:/ & ux0:/app/id/."

You only have access to APP0 in read mode, use the path ux0: / to any file creation. (Also comes in the samples).

Any problem, feel free to comment, I'm here to help! :)

Re: New entry : ONElua !

Posted: Mon Oct 17, 2016 10:43 pm
by Camxpspx123
OneLua was famous for 3D facilities on psp but as I can see there is no 3D so, for now, not interesting.

Re: New entry : ONElua !

Posted: Tue Oct 18, 2016 3:56 pm
by spike_132000
Definately needs the sound modules adding. Please add :)

Re: New entry : ONElua !

Posted: Wed Oct 19, 2016 1:16 pm
by onaryc
Hi, wonderful job on your project.

One quick question : is there a mean to get param.sfo information directly from ux0:/app/<app> folder? The only way to get param.sfo information is from a vpk (from what i understand).

edit : also is there a way to go back the application using onelua after launching an application? (i'have seen this kind of behavior with the save manager tool)

Re: New entry : ONElua !

Posted: Tue Nov 01, 2016 6:39 pm
by Davis9278
spike_132000 wrote:Definately needs the sound modules adding. Please add :)
We are working on the module !, come soon!