libSaveTableToFile

Disclaimer

I did not write this library. This is just a pointer to what I find to be a very useful library for game development.

About

This library converts tables into text documents and vise versa, thus allowing you to easily save and load data. It uses the Lua syntax for the data files, so it is very easy to edit by hand.

I find this better then directly writing saved files and running "dofile" on them because code cannot be executed, making it so that people can freely share level data files and so on without having to check them for Lua viruses.

License

As of June 5, 2010, the library is licensed under the same license as Lua.

Getting It

The library is accessible here at the Lua Wiki.