The installer code will check the various files for an existing entry based on the name (tag in the case of trains). If it doesn't find an existing entry it will attempt to create one. If there is one there it will leave it as-is.gforce wrote: ps atani: i've got my own new industries, goods, traincars etc
by installing a new map (like this one), will this overwrite my files?
Currently uninstall does not remove any entries from the XML files. I have thought about how to go about "cleaning" the entries but the problem is when you have two maps installed that both try to add a new entry, the first one will work and second will skip that. If you uninstall the first one it would revert to the original files (without the new entry) and then the second map will CTD. I had tossed around the idea of creating a mini "registry" of sorts for the custom content so that it could be tracked on a per-map basis for what each one would "install" and then do an automatic cleanup of the XMLs and FPKs during uninstall for entries which are no longer referenced by maps, I havent gotten that far on this idea so far though..gforce wrote: if so, the best solution is that you take a backup of all the (global) files at install and replace those when doing an uninstall! + don't forget also that there are more places where 'global' files can be stored, but for sure, an unistall should make your system "exactly!!!" the same as before!!!
Agreed, the custom maps and installers are still a work in progress. I am open to all feedback on any of the installers or the scripts themselves if people have them...gforce wrote: i would still be much happier if also the normal files just in a zip or folder were included, because as you see it isn't workly perfect... I hope you will understand...
Mike