Difference between revisions of "Plugin Loading Order"

From SC4D Encyclopaedia
Jump to navigation Jump to search
sc4e>JoeST
m (New page: The game loads plugins in a particular way ==Locations== It can load plugins from two different places: ===Install Location=== This is where all the main program files are held, inclu...)
sc4e>JoeST
m (added a bit)
Line 1: Line 1:
 
The game loads [[plugins]] in a particular way
 
The game loads [[plugins]] in a particular way
  
==Locations==
+
==Install Location==
It can load plugins from two different places:
 
===Install Location===
 
 
This is where all the main program files are held, including the EXE and the simcity_*.dat files
 
This is where all the main program files are held, including the EXE and the simcity_*.dat files
  
 
The default location is <pre>C:\Program Files\Maxis\SimCity 4\</pre> and can be symbolised as <pre>%InstallDir%\</pre>
 
The default location is <pre>C:\Program Files\Maxis\SimCity 4\</pre> and can be symbolised as <pre>%InstallDir%\</pre>
===Documents Location===
+
==Documents Location==
 
This is where the users information is held. it is usually found in <pre>My Documents\SimCity 4\</pre> but can be moved using the [[Tutorial:Shortcut_Parameters|-userdir]] shortcut parameter and will be symbolised throughout as <pre>%LocalDir%</pre>
 
This is where the users information is held. it is usually found in <pre>My Documents\SimCity 4\</pre> but can be moved using the [[Tutorial:Shortcut_Parameters|-userdir]] shortcut parameter and will be symbolised throughout as <pre>%LocalDir%</pre>
  
 
==Order==
 
==Order==
 
In any single directory it will load loose files first, then subdirectories, and then .dat files.
 
In any single directory it will load loose files first, then subdirectories, and then .dat files.
 +
The order algorithm is just an alphabetic sort.
  
 
First it loads the files in %InstallDir%\
 
First it loads the files in %InstallDir%\

Revision as of 05:06, 13 January 2009

The game loads plugins in a particular way

Install Location

This is where all the main program files are held, including the EXE and the simcity_*.dat files

The default location is

C:\Program Files\Maxis\SimCity 4\

and can be symbolised as

%InstallDir%\

Documents Location

This is where the users information is held. it is usually found in

My Documents\SimCity 4\

but can be moved using the -userdir shortcut parameter and will be symbolised throughout as

%LocalDir%

Order

In any single directory it will load loose files first, then subdirectories, and then .dat files. The order algorithm is just an alphabetic sort.

First it loads the files in %InstallDir%\

Then it loads %InstallDir%\Plugins\

Then %LocalDir%\Plugins\

(but what about maps and the other folders)