Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 612 Bytes

README.md

File metadata and controls

28 lines (21 loc) · 612 Bytes

aoe2-savegame-parser

A WIP tool for:

  • parsing AOE2 savegame (.gaz) files
  • extracting AI scripts from savegame files
  • compiling AOE2 AI scripts
  • replacing AI scripts in savegame files with other AI scripts

See following files for examples:

  • test_compile_ai.py
  • test_savegame.py
  • test_extract_ai.py

Instructions:

  • install python 3 (e.g. see https://www.python.org/downloads/)

  • install dependencies

    • pip3 install pandas
    • pip3 install regex
    • pip3 install openpyxl
    • pip3 install zlib
  • If using vscode just press F5 to run current file (you will need the python extension)