WidderPhipps / anno-designer

Automatically exported from code.google.com/p/anno-designer
0 stars 0 forks source link

JSON v0.4 #20

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
feel free to go check the new model for v0.4 for building presets data if it 
would be ok for you - 
https://github.com/odegroot/Anno-2070-data-extraction/blob/master/src/json/list_
of_buildings_model_v0.4.json

> objects instead of using keys with "."
> multilingual localisation object instead of just "Eng" key

Original issue reported on code.google.com by Peter.Hozak on 16 Feb 2012 at 10:19

GoogleCodeExporter commented 9 years ago

Original comment by Peter.Hozak on 16 Feb 2012 at 10:20

GoogleCodeExporter commented 9 years ago
looks good to me :)
including all localizations is nice, that way the anno-designer could be fully 
localizable.

Original comment by jc.bern...@gmail.com on 16 Feb 2012 at 6:41

GoogleCodeExporter commented 9 years ago
i'll release v0.4 just after the new patch (Monday 26.3.)...

Original comment by Peter.Hozak on 23 Mar 2012 at 5:48

GoogleCodeExporter commented 9 years ago
ok,, eng5.rda and other localisation files does not contain icons.txt, i have 
to figure out how to merge eng4.rda and eng5.rda...

please let me know if this is still a live project if it would be worth the 
effort :) thanks

Original comment by Peter.Hozak on 27 Mar 2012 at 9:12

GoogleCodeExporter commented 9 years ago
If you come up with updates I will definitely find the time to update this 
project :)
The download counter keeps me surprised ;)

Original comment by jc.bern...@gmail.com on 27 Mar 2012 at 9:20

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
https://raw.github.com/odegroot/Anno-2070-data-extraction/master/src/json/list_o
f_buildings_v0.4.json]

> model: 
https://github.com/odegroot/Anno-2070-data-extraction/blob/master/src/json/list_
of_buildings_model_v0.4.json
> script: 
https://github.com/odegroot/Anno-2070-data-extraction/blob/master/src/python3/li
st_of_buildings.py

multilingual support, game version 1.04 (Patch 5, 26.3.2012), hierarchical 
structure (["Production"]["Product"]["Localisation"]["eng"] instead of 
["Production.Product.Eng"]), ...

Original comment by Peter.Hozak on 28 Mar 2012 at 12:58

GoogleCodeExporter commented 9 years ago
great, I'll come up with an update as soon as I can

Original comment by jc.bern...@gmail.com on 28 Mar 2012 at 12:59

GoogleCodeExporter commented 9 years ago
Hey,

I'm finally working on an update and came across something strange in the 
presets v0.4: did you deliberately remove the "IconWikiaFile" entry for *most* 
buildings?

I used a mapping from the IconFileName to the IconWikiaFile entries, because 
they are way more readable than the actual file names. So I really would like 
them to back in there :)

The other changes look good so far, but I didnt spent too much time on this so 
far. I'll come back to that later.

Greetings

Original comment by jc.bern...@gmail.com on 21 Jul 2012 at 1:37

GoogleCodeExporter commented 9 years ago
probably last time i added them manually or something went wrong.. i can have a 
look at it after middle august

Original comment by Peter.Hozak on 21 Jul 2012 at 12:24

GoogleCodeExporter commented 9 years ago
oh, i forgot about this issue for a while,, i checked 
http://anno2070.wikia.com/wiki/Icon_Naming_Convention and i must say i'm 
confused and i don't really remember much about the mapping in previous 
versions, just that v0.4 used real file names from wikia at the time of 
generating the json - and lot's of the mapping was missing :(

i stopped playing anno 2070, so i'm not really into updating the mapping, but 
if this issue is still alive, i can do it - preferably after wikia uploads the 
icons from the deep ocean addon and the rda files will be updated without 
having to buy the addon :))

Original comment by Peter.Hozak on 3 Oct 2012 at 2:20

GoogleCodeExporter commented 9 years ago
I created a new program to extract the game data used by the designer in C#. It 
is heavily based on your python script and therefore wasn't that much work.

Some features are missing, but these were'nt currently used by the designer 
anyway, like unlock requirements and building costs. These can be added rather 
easy in the future, as you have already done the real work of 
reverse-engineering and locating where the information is stored within the 
game files.

This tool now generates two separate files, one for the building presets and 
another one which maps the icon filenames to a matching localization. Using 
these names is not perfect, but pretty good. The problem is, that some icons 
are used multiple times with different meanings. The mapping now simply chooses 
the first meaning it finds.. :)

Original comment by jc.bern...@gmail.com on 5 Apr 2013 at 8:10