Torque/DirectoryStructure

From TDN

All files in the root game directory are structured initially for easy use. You can always change this setup via the scripts. The following diagram may help visualize what's happening better.

-Root Folder (eg. 'Example' in the sdk)
|-Torque.exe (The compiled code for the game, the executable that reads all the scripts)
|-Main.cs (The very first script that's used. Its primary function is to select the game mod, eg. 'demo' for the demo of Torque)
|-Console.log (A very important text document that can help you when your scripts go awry)
|-Common (A folder that provides the basic needs for all the game mods)
| |-Main.cs (The first script that is run from this folder, usually executes all the other scripts in the folder)
|
|-<YourGameFolderNameHere> (The folder for your mod of TGE.)
| |-Main.cs (The first script that is run from this folder, usually executes all the other scripts in the folder)
| |-Client (Folder that has scripts that handle the client-side of your game, such as the GUIs, and communication with the game server.)
| |-Data (Folder that contains the main data the game runs off of, such as in-game graphics, models, interiors, and other content.)
| |-Server (Scripts that run the server that the game is played on. If it is singleplayer, the server will be the users own client.)
|
|-Creator (A folder that contains the editors and scripts for them)

There are other folders and files contained within the structure, but most are easily understandable by the filename.