1
0
mirror of https://github.com/blawar/ooot.git synced 2024-07-02 09:03:36 +00:00

Changed ordering of commands ran in setup.py to fix error message

This commit is contained in:
Bryan Kirk 2022-02-11 01:34:52 -05:00
parent 386145545e
commit 06a08e44ea

View File

@ -48,13 +48,13 @@ def build():
subprocess.check_call([sys.executable, str('fixbaserom.py')])
subprocess.check_call([sys.executable, str('extract_baserom.py')])
subprocess.check_call([sys.executable, str('extract_assets.py')])
subprocess.check_call([sys.executable, str('tools/extract_z64_variables.py')])
subprocess.check_call([sys.executable, str('tools/convert_assets.py')])
Path.mkdir(Path('build/assets/text'), parents=True, exist_ok = True)
subprocess.check_call([sys.executable, str('tools/msgenc.py'), str('assets/text/charmap.txt'), str('assets/text/message_data.h'), str('build/assets/text/message_data.enc.h')])
subprocess.check_call([sys.executable, str('tools/msgenc.py'), str('assets/text/charmap.txt'), str('assets/text/message_data_staff.h'), str('build/assets/text/message_data_staff.enc.h')])
subprocess.check_call([sys.executable, str('tools/extract_missing_assets.py')])
subprocess.check_call([sys.executable, str('tools/create_luts.py')])
subprocess.check_call([sys.executable, str('tools/extract_z64_variables.py')])
print("Finished asset extraction and parsing")
@ -75,3 +75,4 @@ def main():
if __name__ == "__main__":
main()