Micro Lua DS

From GameBrew
Revision as of 03:58, 22 May 2012 by HydeWing (talk | contribs) (Created page with "{{Infobox homebrew | title = Macro Lua DS | image = File:Macroluads.png | type = Utility | version = version 4.5.2 | licence = Mostly GPL | author ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Macro Lua DS
File:Macroluads.png
General
Author(s)GC-Linux Team
TypeUtility
Versionversion 4.5.2
LicenceMostly GPL
Links
[Media:MicroLuav452ds.zip Download]
Website
Source
Advertisements

<htmlet>adsense</htmlet>


Micro Lua DS v.40 is homebrew developer Cid2Mizard's latest update for his DS application. Armed with several more new features, improvements, and of course, the usual bugfixes, this update should make it all the more useful for all you DS brew enthusiasts.


Installation

Copy the <lua> folder to the _<root>_ (and this is really important, you have to put the <lua> folder to the <root> – the </> folder, the one which contains all the others); and then, copy the right binary file wherever you wish on your card:

  • 'microlua.nds': probably the one you will choose; this one

works on about all the linkers.

  • 'microlua.sc.nds': choose this one if you have a Supercard.
  • 'microlua.ds.gba': choose this one if you have a SLOT2 linker.

If you have troubles while launching uLua, like "Unable to load libs.lua", check that the <lua> folder is at the right place, that is to say in the <root> (and that the 'libs.lua' file is in this directory)


User guide

When you find a good uLua script, you will have probably either a single file (little script) or a directory. Just copy what you get in the <scripts> folder.

Then, boot your Nintendo DS, launch MicroLua. You can see on the bottom screen a file list: this is the content of your <scripts> folder. You can freely naviguate through your card using the D-pad Up and Down; use Right to open a folder, and eventually you can use the A button to launch a script. Note that if you use A on a folder which contains a file named 'index.lua', this file will be launched.


Features

  • Fast drawing: as MicroLua is based on Brunni's library, the uLibrary, MicroLua provides fast 2D drawing using the 3D GPU.But that also means there will probably not be any 3D drawing with MicroLua. If you are not happy with that, just delete this package and go to see PALib.

This also includes alpha transparency, and PNG/GIF transparency (as MicroLua can load PNG, JPEG and GIF image formats).

  • Full sprites and maps systems: with automated animations, and dynamic maps (you can change the map constitution through your program).
  • Wifi: Microlua provides full access to the Wifi connection of the Nintendo DS.
  • Nifi: MicroLua allows you to make your console communicate with other ones on Adhoc.
  • Sound system: based on the Mixmod library, uLua can play MOD and WAV sounds based on a soundbank system.
  • Fat access: full access to the content of your card; uLua also implements a built-in library to manage INI config files.
  • Rumble and motion: if you have the required hardware, you can use uLua to make your NDS shake and detect its movements ;)


Links


Credits and other background informations

All the thanks will first go to Risike, the true owner of the project, the Creator, our God (let's stop here), as the project originally comes from him. He released the first version of MicroLua in 2008, and maintained it until 2009 (v3.0). At this point, he stated that he didn't want to continue this project and released it open source.

One last thing about uLua: some people confuse MicroLua with Lua. Lua is a language, basically used on computers either stand-alone or as a plugin engine. uLua is meant to be an adaptation of Lua for the Nintendo DS. So please, MicroLua is NOT a language; LUA is the language.

Changelog

MICROLUA 4.5.2

  • Improve the example about Nifi.
  • Fix text bug in Canvas displaying weird characters.

MICROLUA 4.5

  • MicroLua now has Nifi connection! You can make several consoles communicate with each other locally.
  • When an image can't be loaded, the function will now make a specific BSoD.
  • Canvas.setAttr() and Canvas.getAttr() now have a correct behavior regarding to ATTR_VISIBLE case.

Advertising: