Existing, contributed tilesets can be found on the Freeciv download page.
For guidance on adding Rulesets and Tilesets for Freeciv, see:
See also the README.rulesets and README.graphics
files in the distribution for further information.
Freeciv has a hardcoded limit to the number of nations. This is the reason contributed nations are no longer added to the distribtion. They are collected in the contributed nations FTP directory instead.
To add a nation of your own, you should look at the following files:
./data/default/nations.ruleset
| includes files from ./data/nation |
./data/engels/flags.spec
| spec for following... |
./data/engels/flags.xpm
| flags for engels tileset |
./data/misc/shields.spec
| spec for following... |
./data/misc/shields.xpm
| flags for *_sheilds tilesets |
./data/trident/flags.spec
| spec for following... |
./data/trident/flags.xpm
| flags for trident tileset |
./data/nation/Makefile.am
| specifies files in ./data/nation |
./data/nation/american.ruleset
| ruleset for nation (here, American) |
./po/POTFILES.in
| specifies files in ./data/nation |
.png files instead.
Some clients (Windows, Amiga) have always used them.
The name of your ruleset file should be the same as the name of your nation,
though all lower-case and with .ruleset appended.
It's best to submit flags/shields in their own files, rather than with all the existing flags/shields. Something like:
new_trident_flags.xpm new_engels_flags.xpm new_shields.xpmEach should use the correct palette (GIMP palettes for all Freeciv .xpm files are at http://www.freeciv.org/graphics/utils/palettes.tar.gz ). Given these, the new flags can be pasted into the existing files rather easily.
The rest of the changes can be submitted by a diff (using
"diff -ruN").
Even though the *.spec files may need to be changed, please
include them in the diff -- this should be easier for you,
and it provides a convenient place for me to grab the sprite name.
