PDA

View Full Version : Lua for Wii



wraggster
June 21st, 2008, 20:32
Feesh (http://wiibrew.org/wiki/Development_Applications/Lua_for_Wii)has released Lua for the Nintendo Wii:


Lua is a small and powerful scripting language that is perfect for use in projects that require changes in logic without the hassle of recompiling the program's source code. Lua can be told to load a file and execute functions from that file to create a dynamic program flow. Being extensible, Lua allows the programmer to define new functions for use in the script files they create.

The source code comes with a functioning example. To use the example, you need to copy the 'test.lua' to the root of your SD card, then run the lua.elf, either from Wiiload, the HBC menu, or (possibly- not tested yet) any other homebrew bootloader.

Reasons To Use Lua
To poke at a few popular uses of Lua; Lua was used in World of Warcraft for the GUI, in Farcry for the console system and all of the programmed user materials in Gmod(the famous retail HL2 sandbox mod) are made with it. It's been used in a bunch of open source game engines because it is simple to use and pretty versatile.

Bugs
FAT system needs to be initialised by the user before calling any file loading functions (such as luaL_dofile(...)).

Download and give feedback via comments

kingslime80
June 21st, 2008, 21:18
1 more step towards WoWii! (WoW Wii)
:)

Psyberjock
July 14th, 2008, 23:46
There's no .elf in that archive.

registered
September 22nd, 2008, 00:48
How do I extract a tar.tar??