Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jcmoyer/moonstorm
Lua bindings for StormLib
https://github.com/jcmoyer/moonstorm
Last synced: about 1 month ago
JSON representation
Lua bindings for StormLib
- Host: GitHub
- URL: https://github.com/jcmoyer/moonstorm
- Owner: jcmoyer
- License: apache-2.0
- Created: 2014-04-10T03:06:14.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-04-07T23:34:48.000Z (over 9 years ago)
- Last Synced: 2023-03-22T10:46:57.835Z (almost 2 years ago)
- Language: C
- Homepage:
- Size: 227 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# moonstorm
## Overview
[Lua **5.3**](http://www.lua.org/versions.html#5.3) bindings for [StormLib](https://github.com/stormlib/StormLib), a library for reading and writing MPQ files. Currently under development and by no means stable. You have been warned!Lua 5.3 is required for 64-bit integer support and bitwise operators.
## Example
````lua
-- load moonstorm module
local moonstorm = require('moonstorm')-- open a Warcraft III map and print its script to stdout
local map = moonstorm.open('mymap.w3x')
local f = map:openfile('war3map.j')
print(f:read())-- cleanup
f:close()
map:close()
````## Documentation
Coming soon!## License
[Apache License](http://www.apache.org/licenses/LICENSE-2.0.html)