1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-08-28 09:51:28 +00:00
oot/tools/assets/descriptor/__main__.py
2025-02-10 22:30:22 +01:00

29 lines
613 B
Python

from pprint import pprint as vanilla_pprint
try:
from rich.pretty import pprint
except ImportError:
pprint = vanilla_pprint
from tools import version_config
from . import base
def main():
vc = version_config.load_version_config("gc-eu-mq-dbg")
pools = base.get_resources_desc(vc)
try:
for pool in pools:
if any(coll.out_path.name == "gameplay_keep" for coll in pool.collections):
vanilla_pprint(pool)
else:
pprint(pool)
input("Press enter for next pool")
except KeyboardInterrupt:
print()
main()