Mercurial > touhou
comparison anmviewer @ 241:dd2bd7283bec
Add support for multiple-file anms to anmviewer, add feature to force acceptance of translations
author | Thibaut Girka <thib@sitedethib.com> |
---|---|
date | Sun, 01 Jan 2012 23:52:53 +0100 |
parents | cbe9dbd80dfb |
children | 402e96a0baeb |
comparison
equal
deleted
inserted
replaced
240:02de1563fa18 | 241:dd2bd7283bec |
---|---|
28 def main(path, data, name, script, sprites): | 28 def main(path, data, name, script, sprites): |
29 resource_loader = Loader() | 29 resource_loader = Loader() |
30 resource_loader.scan_archives(os.path.join(path, name) for name in data) | 30 resource_loader.scan_archives(os.path.join(path, name) for name in data) |
31 | 31 |
32 # Get out animation | 32 # Get out animation |
33 anm_wrapper = resource_loader.get_anm_wrapper((name,)) | 33 anm_wrapper = resource_loader.get_anm_wrapper(name.split(',')) |
34 anm = ANMRenderer(resource_loader, anm_wrapper, script, sprites) | 34 anm = ANMRenderer(resource_loader, anm_wrapper, script, sprites) |
35 anm.start() | 35 anm.start() |
36 | 36 |
37 | 37 |
38 parser = argparse.ArgumentParser(description='Viewer of ANM files, archives containing animations used in Touhou games.') | 38 parser = argparse.ArgumentParser(description='Viewer of ANM files, archives containing animations used in Touhou games.') |