Git Product home page Git Product logo

paint-hex-convertor-ds-256's Introduction

Paint Hex Convertor DS 256-Colors BANNER

Paint-Hex Convertor DS-256 colors

Python Scripts that convert Picture into Bin file and vice-versa for DS 256-Colors Sprite Editing.

Ressource

DS

  • Use Tinker to extract NCGR and NCLR. The NCGR header has to show 04 00 00 00 like below: NCGR Header 4 Depth Showing
  • If there is a compressed data (LZ10/lZ11), decompress it and extract the new one. Be sure to check the hex file if there is the NCGR or NCLR tag

Setup

  1. If you don't have PIL, open the command prompt and install it with PIP
  2. Open one of the scripts in command prompt for PIL lib to work

For Paint-to-hex Script

  1. Choose a palette (image). It have to have a total of 256 pixels
  2. Choose a sprite sheet (image). Its dimensions should both be a divisible of 8
  3. You can choose to generate Nitro files or bin files
  4. Two bin/Nitro files will be created, ready to replace data in DS Files

For Hex-to-paint Script

  1. Choose a palette (bin file). Its lenght has to be 512. If many, choose the right one that help with edit
  2. If there are duplicates colors, you can choose to generate another palette image with only used colors
  3. Choose a sprite sheet (bin file). Its lenght has to be a divisble of 64 (one tile)
  4. Choose the number of tiles for the width
  5. Two (or three) images files will be created, ready to be edited in drawing tools

Similar tools

paint-hex-convertor-ds-256's People

Contributors

zigaudrey avatar

Watchers

 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.