=> STANDARD => MOD Distribution
For the mod creator:
Step 1) Create this subdirectory: FREELANCER\DATA\MODS\
Step 2) Create a subdirectory for the mod you are installing (for mine, I use THRESH). Example: FREELANCER\DATA\MODS\THRESH\
Step 3) Create these subdirectories inside \FREELANCER\DATA\MODS\THRESH\ =>
AUDIO\
AUDIO\MUSIC\
CHARACTERS\
EQUIPMENT\
MISSIONS\
RANDOMMISSIONS\
SHIPS\
SOLAR\
UNIVERSE\
(you might want a few others, but those are the main ones for now)
Step 4) Any .ini files you edit should be stored in the above listed directories, NOT in the main directory structure.
Step 5) Open FREELANCER\EXE\freelancer.ini
Go down to approximately line 202, just before you see this:
<pre><font size=1 face=Courier><font size=1 face=Courier><font size=1 face=Courier><font size=1 face=Courier>
[Error
;EMAURER these four should remain as set.
</font> </font> </font> </font></pre>
This is where you add the references to *YOUR* .ini files. For example, in mine I have this:
;;; @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
;;; @@@@ BEGIN ALL NEW DATA RELEVANT TO THRESH FREELANCER MOD @@@@
;;; @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
sounds = mods\thresh\audio\thresh_music.ini
equipment = mods\thresh\equipment\thresh_light_equip.ini
equipment = mods\thresh\equipment\thresh_select_equip.ini
equipment = mods\thresh\equipment\thresh_misc_equip.ini
equipment = mods\thresh\equipment\thresh_engine_equip.ini
equipment = mods\thresh\equipment\thresh_ST_equip.ini
equipment = mods\thresh\equipment\thresh_weapon_equip.ini
equipment = mods\thresh\equipment\thresh_prop_equip.ini
ships = mods\thresh\ships\thresh_shiparch.ini
ships = mods\thresh\ships\thresh_rtc_shiparch.ini
goods = mods\thresh\equipment\thresh_goods.ini
goods = mods\thresh\equipment\thresh_engine_good.ini
goods = mods\thresh\equipment\thresh_misc_good.ini
goods = mods\thresh\equipment\thresh_st_good.ini
goods = mods\thresh\equipment\thresh_weapon_good.ini
loadouts = mods\thresh\ships\thresh_loadouts.ini
loadouts = mods\thresh\ships\thresh_loadouts_special.ini
loadouts = mods\thresh\ships\thresh_loadouts_utility.ini
markets = mods\thresh\equipment\thresh_market_misc.ini
markets = mods\thresh\equipment\thresh_market_ships.ini
markets = mods\thresh\equipment\thresh_market_commodities.ini
NewCharDB = mods\thresh\characters\thresh_NewCharacter.ini
WeaponModDB = mods\thresh\equipment\thresh_WeaponModDB.ini
;;; @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
;;; @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
;;; @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
The very COOL part of this is that anything you did in your .ini files will overwrite anything in the "stock" .ini files.
For example, if you create custom data for the Anubis in shiparch.ini (or in the case of my mod mods\thresh\ships\thresh_shiparch.ini), all you have to include in that file are the NEW entries for the Anubis. This means you can "pick and choose" pieces of various mods if they only include the CHANGED data in their .ini files.
This system is great for the mod creator because you are never touching the core files. You are always editing files in a separate subdirectory structure which reduces the chances of a screw up. It is also very organized since all the files you have changed are in their own subdir structure.
==============================
As great as this is for the mod creator, it is even better for the mod PLAYER.
If a mod creator uses this method, all he or she has to do to distribute their mod to someone else is:
1) Send them a copy of the mod's freelancer.ini file
2) Send them a zip of the mod's ini files (the zip should include the MODS\YOURMODNAME\Etc\ directory structure.
Then the user simply does the following:
1) Backup their original freelancer.ini file
2) Copy over the new one
3) Unzip the .zip file into FREELANCER\DATA
That's it!
They can have MULTIPLE mods "installed" at one time since they all go under FREELANCER\DATA\MODS\.
To switch between mods, all they have to do is change the freelancer.ini file. I am sure a script could easily be written to automate that process as well.
==============================
Anyway, tell me what you think. I have tested all of this and it WORKS.
It is also very easy to work with. It has made my modding life a lot easier and a lot more organized.
Edited by - ThresholdRPG on 11-03-2003 04:34:50