Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Micro Lua DS: Difference between revisions

From GameBrew
No edit summary
No edit summary
Line 13: Line 13:
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.  
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.  


== 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 ;)


== Installation ==
== Installation ==
Copy the <lua> folder to the _<root>_ (and
Copy the <lua> folder to the _<root>_ (and
this is really important, you have to put the <lua> folder to the
this is really important, you have to put the <lua> folder to the
Line 24: Line 34:
* 'microlua.nds': probably the one you will choose; this one
* 'microlua.nds': probably the one you will choose; this one
works on about all the linkers.
works on about all the linkers.
* 'microlua.sc.nds': choose this one if you have a Supercard.
* 'microlua.sc.nds': choose this one if you have a Supercard.
* 'microlua.ds.gba': choose this one if you have a SLOT2 linker.
* 'microlua.ds.gba': choose this one if you have a SLOT2 linker.


Line 35: Line 43:


== User guide ==
== User guide ==
When you find a good uLua script, you will have probably either a single file (little script)
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.
or a directory. Just copy what you get in the <scripts> folder.
Line 46: Line 53:
on a folder which contains a file named 'index.lua', this file
on a folder which contains a file named 'index.lua', this file
will be launched.
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 ==
== Links ==
* [http://www.microlua.xooit.fr The main MicroLua's site] (actually this is a forum). The active community will help you progress and share your scripts.
* [http://www.microlua.xooit.fr The main MicroLua's site] (actually this is a forum). The active community will help you progress and share your scripts.
* [http://code.google.com/p/microlua/ MicroLua's project hosting on Google servers]. If you want to have the real last MicroLua release, go check it!  
* [http://code.google.com/p/microlua/ MicroLua's project hosting on Google servers]. If you want to have the real last MicroLua release, go check it!  
* [http://www.lua.org The official Lua website]. You can find here all the informations relative to the language; this will probably be useful to you if you intend to make some homebrews with uLua unless you already know by heart the language.
* [http://www.lua.org The official Lua website]. You can find here all the informations relative to the language; this will probably be useful to you if you intend to make some homebrews with uLua unless you already know by heart the language.
==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==
==Changelog==
   
  '''MICROLUA 4.5.2'''
'''MICROLUA 4.5.2'''
* Improve the example about Nifi.
* Improve the example about Nifi.
* Fix text bug in Canvas displaying weird characters.
* Fix text bug in Canvas displaying weird characters.


'''MICROLUA 4.5 '''
'''MICROLUA 4.5 '''
Line 96: Line 68:
* When an image can't be loaded, the function will now make a specific BSoD.
* 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.
* Canvas.setAttr() and Canvas.getAttr() now have a correct behavior regarding to ATTR_VISIBLE case.
==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.


[[Category:Homebrew applications]]
[[Category:Homebrew applications]]

Revision as of 17:36, 20 July 2012

Macro Lua DS
File:Macroluads.png
General
Author(s)GC-Linux Team
TypeUtility
Version4.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.

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 ;)

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.

Links

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.

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.

Advertising: