pngs2cel

command module
v0.0.0-...-1cd08bf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 3, 2023 License: Unlicense Imports: 14 Imported by: 0

README

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.

Documentation

Overview

The pngs2cel tool converts PNG images to a single CEL image.

Directories

Path Synopsis
wyvern

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL