dota2-manta-config-engine
v1.9.1
Published
Dota 2 configuration builder. Compiles JSON to autoexec.
Downloads
35
Maintainers
Readme
Manta Config Engine
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
- Table Of Contents
- Documentation
- CLI Installation
- Library Installation
- CLI options
- Library usage
- Contribute Your Presets
- Contribute Engine Changes
- Special Thanks
- License
- Changelog
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
, wherepath-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
witherr
anddata
. 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.