Read love2d conf.lua files
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
rockspecs
spec
.gitignore
LICENSE.md
README.md
SANDBOX.md
circle.yml
config.ld
loadconf-scm-1.rockspec
loadconf.lua
rebuild_docs.sh
test-scm-1.rockspec

README.md

Loadconf

Loadconf helps you read the configurations of LÖVE games, for use in external tooling. Since each LÖVE config is an executable Lua file, we can't meaningfully handle every possible config, but our approach is Good Enough(tm) most of the time.

Loadconf is a Luarocks library. This means you can install it using

# luarocks install loadconf

or depend on it in your own Luarocks modules. If you'd rather bundle it directly in your app, you can try

$ wget https://raw.githubusercontent.com/Alloyed/loadconf/master/loadconf.lua

Docs

If you'd like to write loadconf-friendly config files, there are a few rules you should follow.

If you'd like to use loadconf yourself, check out the API docs.

Loadconf uses LDoc for docs generation and Busted for unit tests. You can get both from luarocks.