SFTtech / openage

Free (as in freedom) open source clone of the Age of Empires II engine 🚀
http://openage.dev
Other
12.73k stars 1.12k forks source link

Adapt converter to nyan #970

Closed heinezen closed 4 years ago

heinezen commented 6 years ago

Subset of #734. The converter needs to generate files that are compliant to the nyan language specification and the openage mod api (#632). Parsing the data of all Genie games is already implemented. The converter could work like this:

  1. Read data and create simple converter objects (for units, buildings, terrain, etc.).
  2. Detect tech tree by analysing available techs. Base units and buildings have to be declared as objects while upgraded units will be converted to patches of base units.
  3. Detect abilities of game entities. Some can be mapped from existing genie abilities, while others need more sophisticated detection.
  4. Insert attributes that are hardcoded in the original games, but should be editable in nyan (e.g. the subformation).
  5. Create .sprite files for animation (#965)
  6. Create .nyan files for data
  7. Create header file with general info

Optional:

heinezen commented 6 years ago

We now have a pad that tells what should be done with each attribute from a DAT file

https://pad.stusta.de/p/openage-convert-schedule

heinezen commented 5 years ago

Work has started to replace the old architecture:

https://pad.stusta.de/p/openage-new-converter

heinezen commented 4 years ago

Solved! #1151