2021-02-23 19:22:02 +01:00
|
|
|
from lib.skn_anm import *
|
2021-02-09 16:09:13 +01:00
|
|
|
|
|
|
|
|
2021-02-23 19:22:02 +01:00
|
|
|
def read_skn(filepath):
|
|
|
|
with open(filepath, "rb") as fp:
|
|
|
|
r = AnmFile.parse(fp, AnmSkin)
|
|
|
|
print(r)
|
2021-02-09 16:09:13 +01:00
|
|
|
|
|
|
|
|
|
|
|
def main():
|
2021-02-23 19:22:02 +01:00
|
|
|
f = ["/home/tasty/Projects/gck-map-extract-objects/anm_skn/mc_l0.skn",
|
|
|
|
"/home/tasty/Projects/gck-map-extract-objects/anm_skn/rp_l0.skn",
|
|
|
|
"/home/tasty/Projects/gck-map-extract-objects/anm_skn/kb_l0.skn"]
|
|
|
|
for p in f:
|
|
|
|
read_skn(p)
|
2021-02-09 16:09:13 +01:00
|
|
|
|
|
|
|
|
|
|
|
if __name__ == "__main__":
|
|
|
|
main()
|