Skip to content

Latest commit

 

History

History
51 lines (34 loc) · 1.55 KB

README.md

File metadata and controls

51 lines (34 loc) · 1.55 KB

pngs2cel

Installation

git clone https://github.com/mewspring/pngs2cel
cd pngs2cel
go build

Usage

Single PNG image to CEL

# Convert a single PNG image into a corresponding CEL image.
./pngs2cel -o panel8.cel -pal_path /path/to/town.pal panel8.png

Multiple PNG images to CEL

# Convert multiple PNG images into a corresponding CEL image.
./pngs2cel -o health_orb.cel -pal_path /path/to/town.pal health_0001.png health_0002.png health_0003.png

Custom health and mana orb graphics

NOTE: The custom health and mana orb graphics are made by Nikolai Popov.

Multiple PNG images to CL2

# Convert multiple PNG images into a corresponding CL2 image.
./pngs2cel -cl2 -o portal2.cl2 -pal_path /path/to/town.pal portal_*.png

Custom town portal graphics

Multiple PNG images for multiple direction to CL2 archive

# Convert multiple PNG images into a corresponding CL2 image.
./pngs2cel -cl2_archive -o wyvern_breathe.cl2 -pal_path /path/to/town.pal wyvern_breathe_{1,2,3,4,5,6,7,8}

Custom Wyvern (fire spell) animation graphics

NOTE: The Wyvern graphics is part of Flare.

Run wyvern/all.sh to generate the corresponding CL2 archive.