mirror of
https://github.com/ctruLua/ctruLua.git
synced 2025-10-27 08:29:31 +00:00
ctrµLua: Lua homebrewing for 3DS
The new image formats are loaded with stb_image, and the textures are saved with stb_image_write. https://github.com/nothings/stb You can now load GIFs (not animated), PSD, TGA, HDR, PIC and PNM. The texture loading still uses sfil for JPEG, PNG, and BMP. You can force the use of stbi by loading with the "type" argument in texture.load() set to 242 (or anything 5<x<250, but 242 is a good value). The :save() formats are PNG and BMP only. |
||
|---|---|---|
| data | ||
| doc | ||
| libs | ||
| sdcard/3ds/ctruLua | ||
| source | ||
| .gitignore | ||
| icon.png | ||
| LICENSE | ||
| Makefile | ||
| README.md | ||
ctrµLua
Everything is in the Wiki.
Warning: the 'u' in the repo's name is a 'µ', not a 'u'.
Builds 
- Most recent working build: here (warning: only tested with Citra, sometimes on real hardware).
- See http://ci.reuh.tk/ctrulua for all the builds.
Build instructions
- Setup your environment as shown here : http://3dbrew.org/wiki/Setting_up_Development_Environment
- Clone this repository and run the command
make build-allto build all the dependencies. - If you only made changes to ctrµLua, run
maketo rebuild ctµLua without rebuilding all the dependencies.
May not work under Windows.
Lua API Documentation
- An online version of the documentation can be found here : http://reuh.tk/ctrulua
- To build the documentation, run
make build-doc(requires LDoc).