Coder Social home page Coder Social logo

dc6png's Introduction

dc6png

batch convert diablo 2 dc6 format to png

Install

npm install -g dschu012/dc6png

Usage

dc6png 
Options:
  --version              Show version number                           [boolean]
  -p, --palette          color palette. example: (/global/palette/ACT1/pal.dat)
                                                                      [required]
  -t, --transform        transform file. example: (invgreybrown.dat)
  -c, --transform-color  transform color. (0-20)                        [number]
  -o, --out              output directory (must exist if specified)
  -f, --file             file to process                                 [array]
  -v, --verbose                                                          [count]
  -h, --help             Show help                                     [boolean]

Examples

Directory

dc6png -p ~/diablo/data/global/palette/ACT1/pal.dat \
  -f "~/diablo/data/global/**/*.dc6" \
  -o ./png

Multiple files

dc6png -p ~/diablo/data/global/palette/ACT1/pal.dat  \
  -f ~/diablo/data/global/items/invcap.DC6 \
  -f ~/diablo/data/global/items/invrng.DC6 \
  -vv

Transform color cgrn (shako)

 dc6png -p ~/diablo/data/global/palette/ACT1/pal.dat \
  -t ~/diablo/data/global/items/Palette/invgreybrown.dat \
  -c 12 \
  -f ~/diablo/data/global/items/invcap.DC6 \
  -o . \
  -vv

Credits

Nearly all knowledge from phrozen keep posts and Paul Siramy's dc6 tool https://d2mods.info/forum/viewtopic.php?p=467305#p467305 https://d2mods.info/forum/kb/viewarticle?a=57

dc6png's People

Contributors

dschu012 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.