Homebrew [W.i.P] Lua Player Plus - First Lua Interpreter for 3DS

  • Thread starter Thread starter Rinnegatamante
  • Start date Start date
  • Views Views 29,750
  • Replies Replies 90
  • Likes Likes 33
On this month, lpp-3ds has seen a lot of new features starting from FTP server functionallity to ADPCM codec support.

Today, i also added a neat feature for scripts debugging which speedups the code correction:
now on error screen, you can find the possibility to activate an FTP server to correct your code on the fly:
ftp_lpp.jpg
 
Is there a way to call the debug menu with a function (the one that appears when there is a lua error)? So I can edit the lua and then softreboot the app without having to go through ctrbootmenu all over again?
 
Is there a way to call the debug menu with a function (the one that appears when there is a lua error)? So I can edit the lua and then softreboot the app without having to go through ctrbootmenu all over again?

You can just pop a casual error with error function:

Code:
if Controls.check(Controls.read(),KEY_START) then error("random error") end
 
How do i make / on the keyboard?

Unfortunately, you can't, startKeyboard is thought to be used only as a very minimalistic keyboard.
I can suggest you to use other keyboards like the Danzeff ones. I already ported it to 3DS, you can check code in CHMM2 repository: https://github.com/Rinnegatamante/CHMM2/blob/master/source/index.lua#L63-L163

Anyway, this is the full charset of startKeyboard:
Code:
char* keychar1[4] = {"1234567890()","QWERTYUIOP[]","ASDFGHJKL+- ","ZXCVBNM,. "}; // Last 3 are Maiusc/Del/Enter 
char* keychar2[4] = {"1234567890!$","qwertyuiop{}","asdfghjkl@=_","zxcvbnm;% "}; // Last 3 are Maiusc/Del/Enter
 
Unfortunately, you can't, startKeyboard is thought to be used only as a very minimalistic keyboard.
I can suggest you to use other keyboards like the Danzeff ones. I already ported it to 3DS, you can check code in CHMM2 repository: https://github.com/Rinnegatamante/CHMM2/blob/master/source/index.lua#L63-L163

Anyway, this is the full charset of startKeyboard:
Code:
char* keychar1[4] = {"1234567890()","QWERTYUIOP[]","ASDFGHJKL+- ","ZXCVBNM,. "}; // Last 3 are Maiusc/Del/Enter
char* keychar2[4] = {"1234567890!$","qwertyuiop{}","asdfghjkl@=_","zxcvbnm;% "}; // Last 3 are Maiusc/Del/Enter
EDIT: Scratch that MEGA Uses / too :wacko:. I know how to compile a source but where is the keyboard in the source (Ive been looking around for a bit)
 
Last edited by Luglige,

Site & Scene News

Popular threads in this forum