1
0
Fork 0
mirror of https://github.com/ctruLua/ctruLua.git synced 2025-10-27 08:29:31 +00:00
ctrµLua: Lua homebrewing for 3DS
Find a file
Firew0lf eae356ce80 Added the :save() method to textures, Added support for some image formats
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.
2016-03-26 16:49:23 +01:00
data Added ctr.gfx.text and the Bitsream Vera font 2015-08-19 14:32:53 +02:00
doc Added a way to build the documentation as .sublime-completions files (make build-doc-st) 2016-02-29 19:42:52 +01:00
libs Added the :save() method to textures, Added support for some image formats 2016-03-26 16:49:23 +01:00
sdcard/3ds/ctruLua Updated audio example 2016-03-23 19:53:46 +01:00
source Added the :save() method to textures, Added support for some image formats 2016-03-26 16:49:23 +01:00
.gitignore Added a way to build the documentation as .sublime-completions files (make build-doc-st) 2016-02-29 19:42:52 +01:00
icon.png Added a super-awesome lemon-based icon 2015-08-18 01:38:15 +02:00
LICENSE Create LICENSE 2015-08-18 13:30:11 +02:00
Makefile Added the :save() method to textures, Added support for some image formats 2016-03-26 16:49:23 +01:00
README.md Update README.md links 2016-03-09 13:30:15 +01:00

ctrµLua

Everything is in the Wiki.

Warning: the 'u' in the repo's name is a 'µ', not a 'u'.

Builds build status

  • 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-all to build all the dependencies.
  • If you only made changes to ctrµLua, run make to 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).

Based on ctrulib by smealum: https://github.com/smealum/ctrulib