Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 562 Bytes

README.md

File metadata and controls

23 lines (14 loc) · 562 Bytes

genie-scx

Genie Engine SCX (scenario) file reader for Node.js and the browser

NPM

Usage Example

var genieScx = require('genie-scx')
genieScx.load(fs.readFileSync('/path/to/scenario.scx'), (err, data) => {
})

API

genieScx.load(buffer: Buffer, cb)

Parse an SCX file. cb is a Node-style callback (err, data). data is an object with lots of data. Use console.log or devtools to figure out the shape.

License

MIT