Skip to content

Instantly share code, notes, and snippets.

View HENDRIX-ZT2's full-sized avatar
💭
🐑

HENDRIX-ZT2

💭
🐑
View GitHub Profile
@HENDRIX-ZT2
HENDRIX-ZT2 / ztd_gathering.py
Created September 6, 2019 10:06
Entity gathering from Zoo Tycoon 1: finds all ZTD files, stores their content and unzips requested entities from it.
import os
import zipfile
import time
def is_ztd(str):
if any([x in str for x in zt_excludes]):
return
return str.lower().endswith(".ztd")
# the ZT root folder