TNG Mod Manager

From Genwiki

Jump to: navigation, search

Overview

This TNG Mod Manager is intended to provide a more integrated way to install/remove and manage Modifications to the TNG software package that have been coded to work with this manager. Once installed, it may be connected into the TNG Administrative page for easy access. The Mod Manager consists of a single script that is copied to the TNG admin folder. A sub folder in the TNG admin folder must also be created and is used to contain the Mod configuration files and associated Mod support files.

The Mod Manager distribution has been moved to the main TNG Wiki site. Please follow the reference for more detail and the download.


  • Rev 2.0b May 26 2009 - Correction included for the $$manage_mods_v1.3.cfg file. It was giving an improper error message and would not install
  • Rev 2.0a May 18 2009 - Update to the gendex form mod to include English only.
  • Rev 2.0 May 18 2009 - Upgrades for stability and compatibility and several new keywords
  • Rev 1.0 Apr 26 2009 - Initial public release
  • Rev 0.2 Apr 15 2009 - Continued Testing with small user group, added a parameter editing directive allowing easier customization of mod variables
  • Rev 0.1 Mar 28 2009 - Beta Release to small user group (contact me if you wish to assist with this testing)
  • Rev 0.0 Mar 21 2009 - Pre-Release Testing
  • Rev A.0 Mar 20 2009 - Dev Testing


Operation

The Mod Manager examines the mod_folder and reads each "cfg" file that it finds. The "cfg" files are directive files that describe the mod, the files and locations to be modified, and the code that is used in the modification.

The Mod Manager checks the following:

  • ensures the user is logged in
  • examines each code location and change
    • ensures the location can be found
    • ensures the target location is unique
    • identifies whether the target location has already been installed
  • identifies new files to be created
    • if the new file already exists, it examines the version level
  • if the mod is not yet installed and the target locations can be identified, then the option to install is presented
  • if the mod is completely installed, the option to remove the Mod is presented and the option to edit parameters if any exist
  • if the mod is partially installed, the option to clean the Mod is presented. A Clean operation will attempt to remove any inserted code, restore and replaced code, and remove any created file.


Additional Directives

  •  %fileoptional:% - used after a %target:% keyword to indicate that if the file does not exist, no error should be generated. This is useful when describing parameters in a file that will be created during the mod
  •  %parameter - see cfg files for examples or contact the author
  •  %desc - see cfg files for examples or contact the author
Personal tools