Packaging Dargon Modifications with Dargon
By now, it is assumed that you have decent grasp on using Dargon.
Opening the Dargon Console
Navigate to Tools » Launch Dargon Command-Line Utility in Dargon Manager.
Alternatively, you may open Dargon.exe in the Dargon Directory.
Why Should I use Dargon Package Files?
We use Dargon Package Files because they can store metadata - your modification can now have your name on it, and it can point to your website. In the future, your modification might be uploaded to Dargon's Web-Based Service (Wyvern), and your end-users might be able to automatically update their modifications.
DPFNew
The dpfnew command allows us to create empty Dargon Package File modifications, which can be distributed to our end-users.
dpfnew has the following format: dpfnew [filepath]
The following flags are supported:
- 1. -n [Your Modification's name]
- 2. -a [Your Modification's author]
- 3. -d [Your Modification's description]
- 4. -v [Your Modification's version - Human Friendly Value (ex: Beta Version 1)]
- 5. -V [Your Modification's version number (INTEGER VALUE!)
- 6. -w [Your Modification's website - http://www.mycoolwebsite.com]
DPFInsert
The dpfinsert command allows us to insert a file into a dargon package file.
dpfnew has the following format: dpfinsert [dpfFilePath] [insertedFilePath] [internalDpfName]
DPFInsertDir
The dpfinsertdir command allows us to insert an entire directory into a dargon package file.
dpfinsertdir has the following format: dpfinsertdir [dpfFilePath] [insertedFilePath] [internalDpfName]
The following flags are supported:
- 1. -c - Forces compression of contained files.
Dargon will automatically compress files where optimal.