Ok guys! Here is the result of my creature script. It works by asking the user to select a reference DF build (I downloaded a fresh 42.05) and a graphic set (I ran it on the Afro, Mayday, Phoebus, and Spacefox taken from the Fricy's repository). It works like this:
- Open each creature object file from the reference DF build.
- Find the creature tags inside that file.
- Look in all .txt files of the graphic set for the corresponding match.
- Open the corresponding png and extract the tile.
- Add it to a png file with the same name as the DF reference txt file. Different creatures are placed in different columns. Different textures and/or professions are placed in different rows. Each combination is unique and identical regardless of the set.
Here are the outputs for the aforementioned sets for the creature_domestic.txt file:
Afro:
Mayday:
Phoebus:
Spacefox:
Each column corresponds to an animal, the rows are:
- DEFAULT
- CHILD
- STANDARD
- ANIMATED
- GHOST
- TRAINED_HUNTER
- TRAINED_WAR
Note that some animals are missing in some of the sets (so those tiles are left blank), but now there is a uniquely defined tile for all sets.
What I'm proposing (based on CLA's idea) is that we create a standard set of text files pointing to standard tiles that are exactly the same regardless of the graphics set. Then, using a more sophisticated version of my script, we populate the png files for each set. The advantage is that it becomes very easy to mix and match sets and we can very easily update the whole thing if DF adds or removes creatures. The other nice thing is that by doing this with a script, the artists can do their own thing in whichever order they want, and then we can just run some code and create standardized versions of the sets.
Anyway, forgive me for the wall of text. Let me know what you guys think so that I know whether to move forward.
If you want to compare the different sets at your own leisure you can download them here:
https://dl.dropboxusercontent.com/u/408446/DF/Graphics%20Standardization.zip