Openage: Adapt converter to nyan

Created on 1 Feb 2018  Â·  3Comments  Â·  Source: SFTtech/openage

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:

  • Sign the modpack after creating it
  • Discard all unused attributes from the .dat files
  • Compare two data sets (e.g. AoC and some AoC mod) and create a modpack from the diff (#958)
assets nice new thing ☺ nyan

All 3 comments

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

Work has started to replace the old architecture:

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

Solved! #1151

Was this page helpful?
0 / 5 - 0 ratings

Related issues

UmbertoCorvaglia picture UmbertoCorvaglia  Â·  6Comments

k3x picture k3x  Â·  7Comments

heinezen picture heinezen  Â·  13Comments

jimbob88 picture jimbob88  Â·  13Comments

ShadowCreator picture ShadowCreator  Â·  3Comments