Creating or Modifying a Package

In this article, I will show you how to create or modify a Package Manager package.

1. If you want to create a new package, click Packages Create New Package on the menu bar.


On the other hand, if you want to modify a package, click packages > modify packages on the menu bar.

2. If you clicked Modify a Package, the Open Dialog Box will appears. Select the appropriate package you want to modify.

Please note that if you selected a standalone XML script, it’ll ask you to select the directory where the assets of the package are located. Most of the time, they are in the same directory as the XML itself.

3. The Create New Package or Modify Package window will appear. Fill in (or make changes to) the information about the package (e.g. Name, Version, Author, etc.). Not all fields are required. Only the Namespace and Name field are exceptions to this.

To find out what a certain field is for, click the question mark button at the right hand side of the field.

4. Click the View/Modify link label next to the License label to create/modify the package license. This field is also required by the package manager. (For more information about licenses, please visit the article Package Licenses.)

5. The License Window will appear. The Type Combo Box indicates the type of license the package has which can either be a license on a web page, in a file or just a plain text license embedded within the package script itself.

6. Fill in the Value text box and click the OK button once you are done.

7. We now proceed with selecting/modifying the actual assets of the package itself. There are two ways you can go about this:

First Option: The first option instructs the program to automatically search for assets in a specified directory. This method requires you to organize your assets in a certain way. (For more information about this, please see the Auto Search Feature article.)

For this option, you will need to enable the Auto Search for Assets option of the package and click the Browse Directory button and select the directory where the assets are stored.

Second Option:  For the second option, you will need to manually select the assets you want to go with the package. To do this, click the View/Edit Package Assets button.

And the Package Assets window will appear which allows you to manually manage the contents of the package. (For more info on how to use this tool, please see the Package Assets Window article.) 

8. When selecting a license file, an asset or the directory where the assets are located, you might receive a message saying that you won’t be able to save an XML copy of the package. This is normal and is caused by assets/license file not being in the same hard disk partition.

9.  Once you have filled out everything, you can save your package as either a ZIP or a standalone XML script. (To know what their differences are, please see the Package Manager File Formats article.)

10. Click the Close button once you have saved the package.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.