gck-map-extract-objects/anm.py

17 lines
315 B
Python
Raw Normal View History

2021-02-24 15:10:32 +01:00
from lib.skn_anm import *
2021-02-23 19:04:32 +01:00
2021-02-24 15:10:32 +01:00
def read_skn(filepath) -> AnmAnim:
with open(filepath, "rb") as fp:
r = AnmFile.parse(fp, AnmAnim)
return r
2021-02-23 19:04:32 +01:00
def main():
2021-02-24 15:10:32 +01:00
anm = read_skn("/home/tasty/Projects/gck-map-extract-objects/anm_skn/Mc_salute.anm")
pprint(anm)
2021-02-23 19:04:32 +01:00
if __name__ == "__main__":
main()