Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapt converter to nyan #970

Closed
heinezen opened this issue Feb 1, 2018 · 3 comments
Closed

Adapt converter to nyan #970

heinezen opened this issue Feb 1, 2018 · 3 comments
Labels
area: assets Involved with assets (images, sounds, ...) area: nyan Involves our data description language/database nice new thing ☺ A new feature that was not there before

Comments

@heinezen
Copy link
Member

heinezen commented Feb 1, 2018

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 (Sprite definition format #965)
  6. Create .nyan files for data
  7. Create header file with general info

Optional:

@heinezen heinezen added area: assets Involved with assets (images, sounds, ...) area: nyan Involves our data description language/database labels Feb 1, 2018
@TheJJ TheJJ added the nice new thing ☺ A new feature that was not there before label Feb 1, 2018
@heinezen
Copy link
Member Author

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
Copy link
Member Author

Work has started to replace the old architecture:

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

@heinezen
Copy link
Member Author

heinezen commented Sep 8, 2020

Solved! #1151

@heinezen heinezen closed this as completed Sep 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: assets Involved with assets (images, sounds, ...) area: nyan Involves our data description language/database nice new thing ☺ A new feature that was not there before
Projects
None yet
Development

No branches or pull requests

2 participants