TIP: Distributing Mods
freelancer.ini is the KEY in the whole story here. It contains all the references to the INI files and DLLS.
To elaborate:
Suppose you modified some ships and locations where they are sold, in other words, you changed shiparch.ini, goods.ini, market_ships.ini. A person who downloads this, will have to back up his own INIs and the install yours. And when he decides to restore his original setup, he must delete yours and then install his own INIs back. SUCKS. And there are only 3 files, what if you have 10 files, all in different directories.
Now the neat trick.
You can name your modified INIs like this:
mymod1_shiparch.ini
mymod1_goods.ini
mymod1_market_ships.ini
(actually you can name them wahateveryoulike.ini, it doesn't matter)
Next, you open freelancer.ini and for example, for goods.ini you find the line:
goods = equipment\goods.ini
and comment it out. Then add:
goods = equipment\mymod1_goods.ini
This way, a person who downloads this, must only back up his freelancer.ini and install yours. (and restore it when he want to get rid of your mods Your INI/ DLL files will not interfere with original game.)
Am I the only one who sees benifits in this system?
ps: I think you can also add completely new files (not just modified existing ones). I haven't tested it yet.
Edited by - XLancer on 10-03-2003 01:16:50