Plugin Manager - Packager Help - General Help


This help guide will go through the basic sections in the packager. There is more detail about some of the sections in other help pages.


1. Directories


The Directories are found at the top of the dialog. These are used to make it quicker if you have files in certain places.

The first, the Default Script Directory is the directory it will first look when you add any files to the package. If this is set, then the file dialog will automatically default to this when you open it instead of you having to navigate to the same directory each time.

The Default Destination Directory is the directory where you will save or open the SPK files from and will default to this directory. This directory is also used as the $DEFAULTDIR varible in package scripts.



2. Package Settings Tabs


Next, is the settings tabs, these are the various different settings used in the Package file.

More detailed help in each section will be found here



3. Files Section


The files section is where you add all the different files into the package. There are several different file types available. The different types determine where they will be installed to.

The "All Files" selection will list all the file types along with what type they add.

To add files simply click on the "Add Files" button to open the file select dialog.

If you have the "All Files" option selected, you will be first presented with a selection of the type of file you wish to add, if you have selected any other file type, it will default to that type and wont ask.


Select the down arrow to select the file type from the list.

File Dialog

In the files dialog you can select the files you wish to add. You can select more than 1 file at a time to add, simply use CRTL and SHIFT to select multiple files at a time.

You can change the filter of the file types by using the bottom drop down box, "Files of Type:". The options that appear here depend on the file type you have selected.

IE, for Scripts, there are 3 options, one for XML files, one for PCK files, and the 3rd to display both.

Once selecting "Open" the files will be added to the list.

You can also drag and drop files from windows explorer into the file list to be added.

To remove files from the list, simply select the files you wish to remove, then click on the "Delete Selected" button. You can select multiple files at a time to delete. The "Clear All" button will delete all files.


Shared Field:

The first field in the list is for the shared files, this is simply a check box. If it is checked then that file type will be a shared file. This means that it will never be removed when uninstalling the package unless the user specifically removes them thierself. This is mainly used if you are using files that are shared with another package that might not be in SPK format. Theres no need to mark them if you are sharing files between different SPK files, as the program will recognise these automatically.


This is the filename, will either be the file path to where the file is stored, or will display <PACKAGE>/filename. It displays the package filename when you load the package, and means the file is currently stored in memory.


The file size is the size of the file when its uncompressed.

File Type:

The file type will only display when you have the "All Files" option and displays the type of file that it currently is. If you select another file type option, then only that file type is displayed in the list, so theres no need for this field.


The directory field is only used for 2 file types, the Extra Files and the Readmes. To change it, you simply double click in the field for the file you wish to change. The directory is where the Extra file will be installed to, this can be set to anywhere. If its a readme, then it will be the Language ID of what the ReadMe, this allows the installer to default to certain readmes when set to different languages.



4. File Types

There different files are usually installed in different places and have different operations when they are installed. The file type also determins the valid file extensions that can be used.