/manta-config-engine

:skull: This was a Dota 2 configuration builder. It used to compile JSON to autoexec. Valve killed it.

Primary LanguageJavaScript

Manta Config Engine

Join the chat at https://gitter.im/dodekeract/manta-config-engine MIT License Code Climate NPM Downloads NPM Dependencies Code Documentation

Dota 2 configuration builder. Compiles JSON to autoexec. There also is a web-app to easily create presets and build your own autoexec. The app is hosted on my server, so you don't have to set it up to use it.

Table Of Contents

Documentation

The documentation files for this project can be found here.

CLI Installation

  • Install node.js
  • Run npm install -g dota2-manta-config-engine.
  • Execute manta-config-engine path-to-preset, where path-to-preset is a relative path.

Beware that the CLI will assume that your Dota 2 is installed in the default Steam location. Use --path to specify a different one.

Library Installation

  • Install node.js
  • Run npm install -g dota2-manta-config-engine
  • Require manta in your code var manta = require('dota2-manta-config-engine')

CLI options

  • --path=customPath set a custom output path

Library usage

manta.compile(preset, callback)

  • Expects a valid preset, see presets/default.json.
  • Calls callback with err and data. Data is an object containing the .cfg filenames and their compiled data.

manta.data

manta.data.positions

An object with all camera positions manta currently uses

manta.data.phrases

An object containing all current chatwheel phrases

manta.data.emoticons

An object containing most emoticons

manta.data.heroes

An object containing all current heroes

manta.parser

manta.parser.Layout

internally used class to parse layouts

manta.parser.Setting

internally used class to parse settings

manta.parser.Chatwheel

internally used class to parse chatwheels

manta.parser.Dependency

internally used class to resolve dependencies

Contribute Your Presets

  • Fork this project.
  • Create your own preset file.
  • Create a pull request.

Contribute Engine Changes

  • Fork this project.
  • Implement new features.
  • Create a pull request.

Special Thanks

License

MIT

Changelog

Changelog