Python Scripts that convert Picture into Bin file and vice-versa for DS 256-Colors Sprite Editing.
- Use Tinker to extract NCGR and NCLR. The NCGR header has to show 04 00 00 00 like below:
- 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
- If you don't have PIL, open the command prompt and install it with PIP
- Open one of the scripts in command prompt for PIL lib to work
- Choose a palette (image). It have to have a total of 256 pixels
- Choose a sprite sheet (image). Its dimensions should both be a divisible of 8
- You can choose to generate Nitro files or bin files
- Two bin/Nitro files will be created, ready to replace data in DS Files
- Choose a palette (bin file). Its lenght has to be 512. If many, choose the right one that help with edit
- If there are duplicates colors, you can choose to generate another palette image with only used colors
- Choose a sprite sheet (bin file). Its lenght has to be a divisble of 64 (one tile)
- Choose the number of tiles for the width
- Two (or three) images files will be created, ready to be edited in drawing tools