Sorry for the bad new, but I only get a black screen. It isn't work in the ds.
I change the code to this:
SCREEN_BOTTOM = 0
BGBotText = Screen.LoadTextBG()
Screen.Initialize( SCREEN_BOTTOM, BGBotText )
filename = "test.txt"
print( "WRITE TEST LUA", 0, 0 )
DSLua.WaitForAnyKey()
fout = io.open( filename, "wt" )
if not fout then
print( "CRAP! FAILED!", 0, 0 )
DSLua.WaitForAnyKey()
else
print( "YAAAAY! OPEN!", 2, 2 )
print( "Press a key to continue" , 4, 4 )
DSLua.WaitForAnyKey()
fout:write( "HIII!" )
end
And I can check that it stuck in the io.open call.
Also. I found a bug. If a select gbfs then I turn on the FAT option, The CF folder is empy. Waruwaru, can you check it?
Zhen