Git Product home page Git Product logo

unreal-plugin-pkg's Introduction

Unreal Plugin Packager

A simple CLI tool to batch build and package Unreal plugins across multiple versions of Unreal.

Installation

npm install unreal-plugin-pkg
yarn global add unreal-plugin-pkg

Usage

Usage: unreal-plugin-pkg [options] [uplugin]

Options:
  --unrealDirs <paths...>     List of directories to search for Unreal installations in
  --versions <versions...>    List of Unreal versions to build your plugin for
  --out <outDir>              Directory to compile the packages into. One folder will be created inside per version.
  --platforms <platforms...>  Platforms to build for. Will be pruned to those supported by the current OS.
  --keepIntermediate          Don't cleaning the Intermediate folders after builds
  --cleanBinaries             Delete Binaries folders after builds
  --nozip                     Don't zip packages once they've been built
  -h, --help                  display help for command

Example

To build a plugin in the current directory for Windows and Android using Unreal versions 4.24, 4.25, and 4.26, run:

unreal-plugin-pkg --versions 4.24 4.25 4.26 --platforms Win64 Android --out out/

All packages will be placed in the output folder out/

Configuration File

If you're repeatedly using the same arguments, consider creating a unreal-package.json file.

Example:

{
    "UnrealEnginePaths": ["C:\\Program Files\\Epic Games", "E:\\Unreal Installs"],
    "VersionsToInstall": ["4.26", "5"],
    "PluginPath": ".",
    "OutputPath": "out/",
    "Platforms": ["Win64", "Android"],
    "CleanBinaryFiles": true,
    "CleanIntermediateFiles": true,
    "ZipPackages": false
}

Unreal Installation Directories

By default, this program will search for Unreal installs at C:\Program Files\Epic Games for Windows and Users/Shared/Epic Games on Mac.

You can override this by changing the --unrealDirs command-line options or UnrealEnginePaths in unreal-package.json. Both accept an array of arguments that can either be the exact directory of an Unreal installation (eg. `C:\Program Files\Epic Games\UE_4.26) OR a path that contains subfolders which are Unreal installations.

Version Numbers

When specifying versions to install, you can be as specific or general as you'd like. The program will select the newest version that matches the given version.

So specifying 4 would use the newest version of Unreal 4 installed. Specifying 4.26 will use the latest 4.26 installed. 4.26.1 will require that an installed version of Unreal matches 4.26.1 exactly.

Plugin Path

The plugin path can be either a .uplugin file or a folder which contains a .uplugin file.

Zipping

By default, this program will zip each packaged folder into a zip archive of the same name. If you don't want this, use --nozip.

Binary and Intermediate Files

By default, this program deletes the Intermediate folder in each package before zipping it. If you don't want that, use --keepIntermediate.

If you want to also delete the Binaries folder, use --cleanBinaries.

unreal-plugin-pkg's People

Contributors

brwarner avatar peter-sabath avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.