Skip to content

GoosiferIO/ztalib

Repository files navigation

ztalib

This is an image parsing library for Zoo Tycoon 1 animation graphics.

For complete documentation: https://ztalib.goosifer.io

Install

The easiest way to start using ztalib is to use the Python bindings, which are available on PyPI as pyzta:

pip install pyzta

Then, in your Python code, you can import the library as so:

from pyzta import ZtaF
zta = ZtaF()
animation = zta.load("path/to/animation")
buffer = zta.getFrameBuffer()

See the example project to see it in action, or check out the API reference for more details on how to use the library.

Compile from source

If you want to use the library in a C++ project, or if you want to contribute to the development of ztalib, you can compile it from source. First, make sure you have CMake installed on your system. For further instructions, see the compile guide.

Acknowledgements

Thank you to Jeff Bostoen for his documentation on the ZT1 file formats: https://github.com/jbostoen/ZTStudio/wiki/ZT1-Graphics-Explained

About

Parsing library for Zoo Tycoon 1 animation graphics and palette files

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages