Angband Forums

Angband Forums (http://angband.oook.cz/forum/index.php)
-   Development (http://angband.oook.cz/forum/forumdisplay.php?f=10)
-   -   Some tileset tools (http://angband.oook.cz/forum/showthread.php?t=4646)

Blue Baron July 7, 2011 05:53

Some tileset tools
 
1 Attachment(s)
Here is the source for three tools, a tile "unpacker" and "packer", and a tool to adjust the foreground color of tilesets where there is transparency. All three are run from the command line.

There is a readme file that provides a basic description of the tools and files used.

The are not any makefiles, so those would have to be made.

The tileset filename used in the "packer" and "unpacker" needs to start with the width and height of the individual tiles. The Gervais tileset, "32x32.png" would work as is, but Nomad's tileset ("8x16.png") would need to be renamed to something like 16x16nmd.png to use the right individual tile size. (then rename it back to use in game.)

No windows specific code is used in the tool, so it should work on any platform you can compile libpng on.

Please let me know if there is anything that doesn't work or if there is anything I can improve.


All times are GMT +1. The time now is 04:11.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.