
Can this not be used as boot.3dsx?
Hi Rinne and company!
Can I make an Layout to use it for Main Menu?
For example this:
![]()

Well, you know how the homebrew launcher is a .3dsx put at the root of the sd card and is called boot.3dsx?
Could I make a homebrew with this, and have it be the boot.3dsx instead of the homebrew launcher?

Thanks. Then I would do:You can use the getPixel function to get the color (It can assume an image or a screen).
if getpixel = 255,255,254 then
-- do something

Ohhhh. Oh. Ohhhh. Well, thanks!Just use touchscreen feature. ( https://github.com/Rinnegatamante/Sunshell/blob/master/LUA/sun_index.lua#L197-L203 )

Maybe it's a stupid question but... can be used the SDL2 Lua binding with the Lua Player?
filebrowser_arc_dir = System.listDirectory(System.currentDirectory())

I used the listDirectory function like so:Code:filebrowser_arc_dir = System.listDirectory(System.currentDirectory())
But attempting to print filebrowser_arc_dir[1] throws an error saying that it's a table when it was expecting a string. Does listDirectory create tables inside tables?
Yes, you should do something like filebrowser_arc_dir[1].name to get the name
testmap = io.open("/test.lua", FREAD)
consle = Console.new(TOP_SCREEN)
text = io.read(testmap,0,1139)
io.close(testmap)
while true do
Screen.refresh()
Screen.clear(TOP_SCREEN)
Console.append(consle, text)
Console.show(consle)
Screen.flip()
Screen.waitVblankStart()
Console.clear(consle)
pad = Controls.read()
if (Controls.check(pad,KEY_A)) then
System.exit()
end
end

Hi, I'm new to lua and I am trying to open a file that was created using tiled. Here is my index.lua:
It gives me no errors, and it works fine in Citra, but when I try it on my O3DS w/ ninjhax, it just shows a black screen. Do you know what I am doing wrong?Code:testmap = io.open("/test.lua", FREAD) consle = Console.new(TOP_SCREEN) text = io.read(testmap,0,1139) io.close(testmap) while true do Screen.refresh() Screen.clear(TOP_SCREEN) Console.append(consle, text) Console.show(consle) Screen.flip() Screen.waitVblankStart() Console.clear(consle) pad = Controls.read() if (Controls.check(pad,KEY_A)) then System.exit() end end
I placed index.lua & test.lua in the folder where the .3dsx is.Where you placed your scripts?
you should changeI placed index.lua & test.lua in the folder where the .3dsx is.
testmap = io.open("/test.lua", FREAD)
testmap = io.open(System.currentDirectory().."/test.lua", FREAD)


