Discuss the GekiHEN competition here. Feel free to ask questions, discuss released homebrews, etc...
#413511 by Tuxbot123
Sun Sep 25, 2016 10:04 am
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
#413857 by spike_132000
Sun Oct 02, 2016 2:31 pm
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
#413910 by gdljjrod
Mon Oct 03, 2016 7:43 pm
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
#413911 by Davis9278
Mon Oct 03, 2016 7:50 pm
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
#413913 by Davis9278
Mon Oct 03, 2016 7:53 pm
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! :)
#414427 by onaryc
Wed Oct 19, 2016 1:16 pm
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)
#414762 by Davis9278
Tue Nov 01, 2016 6:39 pm
spike_132000 wrote:Definately needs the sound modules adding. Please add :)

We are working on the module !, come soon!

Who is online

Users browsing this forum: No registered users and 1 guest