Homebrew [Release] Lua Player Plus 3DS (lpp-3ds) - LUA interpreter for 3DS

730

Professional Shitposter
Member
Joined
Apr 2, 2015
Messages
485
Trophies
0
XP
628
Country
Argentina
Umm... how do I build it? I get the following errors:
Code:
C:\Users\730\Desktop\lpp-3ds\libctru>cd ..

C:\Users\730\Desktop\lpp-3ds>make
shader.vsh
#@python /aemstro_as.py /c/Users/730/Desktop/lpp-3ds/data/shader.vsh ../shader.vsh.shbin Use this if you have only Python 3.1
make[1]: C:\Python31\Python.exe: Command not found
make[1]: *** [shader.vsh.o] Error 127
make: *** [build] Error 2

C:\Users\730\Desktop\lpp-3ds>arm-none-eabi-strip lpp-3ds.elf
'arm-none-eabi-strip' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\730\Desktop\lpp-3ds>makerom2 -f cci -o lpp-3ds.3ds -rsf gw_workaround.rsf -target d -exefslogo -elf lpp-3ds.elf -icon icon.bin -banner banner.bin
[NCCH ERROR] Failed to open elf file 'lpp-3ds.elf'
[NCCH ERROR] NCCH Build Process Failed
[RESULT] Failed to build outfile

C:\Users\730\Desktop\lpp-3ds>makerom -f cia -o lpp-3ds.cia -elf lpp-3ds.elf -rsf cia_workaround.rsf -icon icon.bin -banner banner.bin -exefslogo -target t
[NCCH ERROR] Failed to open elf file 'lpp-3ds.elf'
[NCCH ERROR] NCCH Build Process Failed
[RESULT] Failed to build outfile

Besides from Python 3.1, should I install anything else?
 

Rinnegatamante

Well-Known Member
OP
Member
Joined
Nov 24, 2014
Messages
3,162
Trophies
2
Age
29
Location
Bologna
Website
rinnegatamante.it
XP
4,857
Country
Italy
Umm... how do I build it? I get the following errors:
Code:
C:\Users\730\Desktop\lpp-3ds\libctru>cd ..

C:\Users\730\Desktop\lpp-3ds>make
shader.vsh
#@python /aemstro_as.py /c/Users/730/Desktop/lpp-3ds/data/shader.vsh ../shader.vsh.shbin Use this if you have only Python 3.1
make[1]: C:\Python31\Python.exe: Command not found
make[1]: *** [shader.vsh.o] Error 127
make: *** [build] Error 2

C:\Users\730\Desktop\lpp-3ds>arm-none-eabi-strip lpp-3ds.elf
'arm-none-eabi-strip' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\730\Desktop\lpp-3ds>makerom2 -f cci -o lpp-3ds.3ds -rsf gw_workaround.rsf -target d -exefslogo -elf lpp-3ds.elf -icon icon.bin -banner banner.bin
[NCCH ERROR] Failed to open elf file 'lpp-3ds.elf'
[NCCH ERROR] NCCH Build Process Failed
[RESULT] Failed to build outfile

C:\Users\730\Desktop\lpp-3ds>makerom -f cia -o lpp-3ds.cia -elf lpp-3ds.elf -rsf cia_workaround.rsf -icon icon.bin -banner banner.bin -exefslogo -target t
[NCCH ERROR] Failed to open elf file 'lpp-3ds.elf'
[NCCH ERROR] NCCH Build Process Failed
[RESULT] Failed to build outfile

Besides from Python 3.1, should I install anything else?

You need devkitpro also.
 

730

Professional Shitposter
Member
Joined
Apr 2, 2015
Messages
485
Trophies
0
XP
628
Country
Argentina
You need devkitpro also.
It's already installed :unsure: Should I set a PATH variable?

--------------------- MERGED ---------------------------

void System.addNotification(string title, string text) - Add a news to official Nintendo News applet.
Sample usage: System.addNotification("Congrats!","You installed lpp-3ds successfully!")

What exactly does this do?
Pretty sure it "pushes" a news to the green news thingie in the home menu.
 
  • Like
Reactions: Rinnegatamante

Rinnegatamante

Well-Known Member
OP
Member
Joined
Nov 24, 2014
Messages
3,162
Trophies
2
Age
29
Location
Bologna
Website
rinnegatamante.it
XP
4,857
Country
Italy
It's already installed :unsure: Should I set a PATH variable?

--------------------- MERGED ---------------------------


Pretty sure it "pushes" a news to the green news thingie in the home menu.

DevkitPro installer should set it automatically. Check if you have arm-none-eabi-strip.exe file in your devkitpro binaries folder.
 

Jwiz33

Banned
Joined
Jun 5, 2014
Messages
2,654
Trophies
0
Location
in the illuminati headquar—I have said too much!
Website
iwillcleanyourbasement.webstarts.com
XP
1,492
Country
United States
It's already installed :unsure: Should I set a PATH variable?

--------------------- MERGED ---------------------------


Pretty sure it "pushes" a news to the green news thingie in the home menu.
That's cool, I didn't think that was possible. 3dbrew states that notifications are stored in news.db on NAND. :o
 

730

Professional Shitposter
Member
Joined
Apr 2, 2015
Messages
485
Trophies
0
XP
628
Country
Argentina
DevkitPro installer should set it automatically. Check if you have arm-none-eabi-strip.exe file in your devkitpro binaries folder.
I set some paths and now it works, though I have some questions:
Is that Python thing necessary? I don't want to have 3 versions of Python lying around :/
And how do I build a 3dsx? Should I do that on my own with makerom and the .elf?
 

Rinnegatamante

Well-Known Member
OP
Member
Joined
Nov 24, 2014
Messages
3,162
Trophies
2
Age
29
Location
Bologna
Website
rinnegatamante.it
XP
4,857
Country
Italy
I set some paths and now it works, though I have some questions:
Is that Python thing necessary? I don't want to have 3 versions of Python lying around :/
And how do I build a 3dsx? Should I do that on my own with makerom and the .elf?

makerom is needed only for 3DS/CIA files.
Python is necessary but you can use whatever version you want of Python3.
 

730

Professional Shitposter
Member
Joined
Apr 2, 2015
Messages
485
Trophies
0
XP
628
Country
Argentina
makerom is needed only for 3DS/CIA files.
Python is necessary but you can use whatever version you want of Python3.
Because it didn't build a 3dsx at all...
So should I edit the Makefile so it executes my version of Python 3 (3.4)?
 

dfsa3fdvc1

Well-Known Member
Member
Joined
Jan 3, 2015
Messages
226
Trophies
0
XP
214
Country
Albania

keanutah

Well-Known Member
Member
Joined
Sep 18, 2015
Messages
173
Trophies
0
Age
34
XP
192
Country
United States
Sorry I'm a complete noob. How do I use this on a Mac?

Here's a little quick start guide

1. Download Citra (3DS Emulator)
2. You might have to set up citra's folders a bit. In the same directory as the citra and citra-qt files, you'll need to create the folder path /user/sdmc if it doesn't exist.
3. In the sdmc folder place lpp-3ds.3dsx and an index.lua file. You can copy one of the samples from the lpp folder you download, and rename it to be index.
4. Open citra-qt, and in the file menu navigation to lpp-3ds.3dsx and run it.
5. Boom! Citra is running your lua script.
6. Learn LUA and edit index.lua and make your program!
 
  • Like
Reactions: Aidan25

Aidan25

Well-Known Member
Newcomer
Joined
Oct 2, 2015
Messages
59
Trophies
0
Location
Down Under
XP
83
Country
Here's a little quick start guide

1. Download Citra (3DS Emulator)
2. You might have to set up citra's folders a bit. In the same directory as the citra and citra-qt files, you'll need to create the folder path /user/sdmc if it doesn't exist.
3. In the sdmc folder place lpp-3ds.3dsx and an index.lua file. You can copy one of the samples from the lpp folder you download, and rename it to be index.
4. Open citra-qt, and in the file menu navigation to lpp-3ds.3dsx and run it.
5. Boom! Citra is running your lua script.
6. Learn LUA and edit index.lua and make your program!
Legend. I greatly appreciate this. Thank you!
 

730

Professional Shitposter
Member
Joined
Apr 2, 2015
Messages
485
Trophies
0
XP
628
Country
Argentina

730

Professional Shitposter
Member
Joined
Apr 2, 2015
Messages
485
Trophies
0
XP
628
Country
Argentina
you should install aemstro and set environment variable AEMSTRO
How do I use the screen enabling/disabling functions? I've tried Controls/Screen.enable/disableScreen()/(TOP_SCREEN) and they don't work (error: attempt to call a nil value (field 'disableScreen')).
 
Last edited by 730,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    SylverReZ @ SylverReZ: https://www.youtube.com/watch?v=IsG-jJcrlr0