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

New entry : ONElua !

Discuss the GekiHEN competition here. Feel free to ask questions, discuss released homebrews, etc...
Tuxbot123
Posts: 3
Joined: Wed Jan 28, 2015 3:30 pm
Location: France
Contact:

New entry : ONElua !

Post 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
Advertising
spike_132000
Posts: 105
Joined: Thu Feb 17, 2011 10:20 am
Location: Nottingham, UK
Contact:

Re: New entry : ONElua !

Post 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)))
Advertising
spike_132000
Posts: 105
Joined: Thu Feb 17, 2011 10:20 am
Location: Nottingham, UK
Contact:

Re: New entry : ONElua !

Post 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")
gdljjrod
Posts: 228
Joined: Mon Apr 25, 2011 3:15 pm

Re: New entry : ONElua !

Post 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
Davis9278
Posts: 41
Joined: Tue Jul 15, 2014 11:34 pm
Location: Mexico :D
Contact:

You read the documentation?

Post 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
Please refer to me as DevDavisNunez,
I am looking for some way to change my nick on wololo!
Davis9278
Posts: 41
Joined: Tue Jul 15, 2014 11:34 pm
Location: Mexico :D
Contact:

You read the documentation?

Post 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! :)
Please refer to me as DevDavisNunez,
I am looking for some way to change my nick on wololo!
Camxpspx123
Banned
Posts: 261
Joined: Sun Jul 15, 2012 6:23 pm

Re: New entry : ONElua !

Post by Camxpspx123 »

OneLua was famous for 3D facilities on psp but as I can see there is no 3D so, for now, not interesting.
spike_132000
Posts: 105
Joined: Thu Feb 17, 2011 10:20 am
Location: Nottingham, UK
Contact:

Re: New entry : ONElua !

Post by spike_132000 »

Definately needs the sound modules adding. Please add :)
onaryc
Posts: 3
Joined: Wed Oct 19, 2016 1:11 pm

Re: New entry : ONElua !

Post 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)
Davis9278
Posts: 41
Joined: Tue Jul 15, 2014 11:34 pm
Location: Mexico :D
Contact:

Re: New entry : ONElua !

Post by Davis9278 »

spike_132000 wrote:Definately needs the sound modules adding. Please add :)
We are working on the module !, come soon!
Please refer to me as DevDavisNunez,
I am looking for some way to change my nick on wololo!
Locked

Return to “GekiHEN Competition”