Quantcast
Download
(18 Kb)
Download
Updated: 11/26/19 10:01 PM
Updated:11/26/19 10:01 PM
Created:02/28/19 11:34 PM
Monthly downloads:55
Total downloads:1,267
Favorites:1
MD5:
eso-manifest
Version: 2.1.3
by: AlbinoPython [More]
eso-manifest
Generates a manifest file for Elder Scrolls Online.
Available:
  • npm - Latest stable
  • git - Sources and deployment
  • esoui - Sources published for visibility.
Install
Code:
npm install -g eso-manifest
Command Line
  1. Save configuration to `example-config.json`
    Code:
    {
        "Title": "Addon Name",
        "APIVersion": "100026",
        "AddOnVersion": 1,
        "Description": "Text description of the addon",
        "Author": "ME!",
        "SavedVariables": "SavedVars1 SavedVars2",
        "DependsOn": "DependencyA DependencyB",
        "OptionalDependsOn": "DependencyC DependencyD",
        "Files": [
            "lang/$(language).lua",
            "addOnFile.lua",
            "file.xml"
        ]
    }
  2. From a terminal run:
    1. Code:
      eso-manifest --manifestFileName=addon.txt --inputJSONFileName=example-config.json
    2. Outputs to `addon.txt`:
      Code:
      # Manifest generated using eso-manifest. https://www.npmjs.com/package/eso-manifest
      ## Title: Addon Name
      ## APIVersion: 100026
      ## AddOnVersion: 1
      ## Author: ME!
      ## Description: Text description of the addon
      ## SavedVariables: SavedVars1 SavedVars2
      ## DependsOn: DependencyA DependencyB
      ## OptionalDependsOn: DependencyC DependencyD
      lang/$(language).lua
      addOnFile.lua
      file.xml
      
      # This Add-on is not created by, affiliated with, or sponsored by, ZeniMax Media Inc. or its affiliates.
      # The Elder Scrolls® and related logos are registered trademarks or trademarks of ZeniMax Media Inc. in the United States
      # and/or other countries. All rights reserved.
Node/JavaScript
Code:
const esoManifest = require('eso-manifest');
const destinationFile = 'manifest.txt';
const manifest = {
    Title: 'Addon Name',
    APIVersion: '100026',
    AddOnVersion: 1, // Optional
    Description: 'Text description of the addon', // Optional
    Author: 'ME!', // Optional
    SavedVariables: 'SavedVars1 SavedVars2', // Optional
    DependsOn: 'DependencyA DependencyB', // Optional
    OptionalDependsOn: 'DependencyC DependencyD', // Optional
    Files: [
        // Ordered list of file dependencies
        'lang/$(language).lua',
        'addOnFile.lua',
        'file.xml'
    ]
};

// Where the magic happens :)
esoManifest.generateManifest(destinationFile, manifest, true);
26 Nevember 2019
  • Cleaned up command line story
  • Automated deployment to npmjs and esoui
  • Readme love
Optional Files (0)


Archived Files (3)
File Name
Version
Size
Uploader
Date
2.1.2
18kB
AlbinoPython
11/26/19 09:31 PM
1.1.4
2kB
AlbinoPython
03/11/19 09:51 PM
1.1.3
2kB
AlbinoPython
02/28/19 11:34 PM


There have been no comments posted to this file.
Be the first to add one.



Category Jump: