# DragonBonesTools **Repository Path**: dming_tech/DragonBonesTools ## Basic Information - **Project Name**: DragonBonesTools - **Description**: fork from https://github.com/DragonBones/Tools.git - **Primary Language**: TypeScript - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-11-09 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # DragonBones tools [中文 README](./README-zh_CN.md) ## JSON format * [V 5.5](./doc/dragonbones_json_format_5.5.md) ## Installation * Install [Node.JS](https://nodejs.org/). * 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`