DragonBones Tools
Switch branches/tags
Nothing to show
Clone or download
akdcl Merge pull request #11 from selimanac/master
Update dragonBonesFormat.ts
Latest commit 6c92463 Nov 25, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
doc Update QA-zh_CN.md Jul 21, 2018
out/resource Merge branch 'master' of https://github.com/DragonBones/Tools into dev Oct 11, 2018
src Update dragonBonesFormat.ts Nov 11, 2018
.gitignore fixed binary action bug Feb 6, 2018
.npmignore fixed binary action bug Feb 6, 2018
LICENSE Initial commit Aug 16, 2017
README-zh_CN.md update doc Jun 30, 2018
README.md update doc Jun 30, 2018
package.json fixed export tex name bug Jun 30, 2018
tsconfig.json fixed export tex name bug Jun 30, 2018
tslint.json first commit Aug 16, 2017
typings.json first commit Aug 16, 2017

README.md

DragonBones tools

中文 README

JSON format

Installation

  • Install Node.JS.
  • Install a browser that supports html5.
  • Execute the following command from the command line:
  • $ npm install dragonbones-tools --global

Help

  • use 2db convert other format files to DragonBones json format files.

    $ 2db --help

  • use db2 convert DragonBones json format files to other format files.

    $ db2 --help

How to use

  • Convert Spine json format files to DragonBones json format files in current path.

    $ 2db -t spine

  • Convert Live2d json format files to DragonBones json format files in current path.

    $ 2db -t live2d

  • Convert old DragonBones json format files to new DragonBones json format files in current path.

    $ db2 -t new

  • Convert DragonBones json format files to Spine json format files in current path.

    $ db2 -t spine

  • Convert DragonBones json format files (file path contains "hero" key word) to DragonBones binary format files in current path.

    $ db2 -t binary -f hero

  • Convert DragonBones json format files to DragonBones binary format files from input path to output path and delete raw files.

    $ db2 -t binary -i d:/input -o d:/output -d

Notice

  • Make sure backup your raw resources before convert.

How to build

  • $ npm install
  • $ npm install typescript --global
  • $ tsc
  • $ npm link