I also thought about an installer for mods/maps/tilesets. But please remember that it should run on all platforms! I would prefer a java program here
.
So every mod can come as its own "package"
A possible package structure could be:
Zipfile containing:
- A directory "glest" with the structure of the mod inside matching its installation path
- Other Files( readme.txt license ...) which are not needed for installation could be plain in the root directory of the zip-file.
example:
zipfile-|
|-glest|
| |-maps|
| |-waterworld.gbm
|
|-readme.txt
|
|-copyright.txt
|
|-...
- To install, the installer simply unpacks all files from the glest dir to the glest installation dir. Before unpacking it has to check wether there are any conflicts( original files would be overwritten ) which should not happen.
- To uninstall it removes all files and all empty directories
I think I will implement this soon.
( Another big advantage is, that you don't need the installer to install a mod, but you can use it! )