Skip to main content

Tools for Unreal Engine

Project description

Current PyPi Version Supported Python Versions codecov docs tests style

uetools implements a set of tools to make it easier to work with Unreal Engine projects and automate common tasks.

Get Started

pip install uetools

# Saves common paths
uecli init --engine C:/opt/UnrealEngine/Engine --projects C:/opt/Projects
uecli engine-add --version src --engine C:/opt/UnrealEngine/Engine
uecli engine-add --version 5.1 --engine C:/EpicGames/UE_5.1/Engine
uecli engine-add --version 5.0 --engine C:/EpicGames/UE_5.0/Engine

# Install the plugin VoxelPlugin to the RTSGame project
uecli install RTSGame https://github.com/Phyronnaz/VoxelPlugin

# Rebuild the RTSGame project
uecli build RTSGame

# Open the project (located in C:/opt/Projects/RTSGame)
uecli open RTSGame
uecli --engine-version 5.1 open RTSGame
uecli --engine-version 5.0 open RTSGame

# Cook the project
uecli cook RTSGame

# Start a server
uecli server RTSGame --dedicated --port 8123

# start a client
uecli client RTSGame --address 127.0.0.1 --port  8123

# Turn a blueprint Project into a C++ project
uecli cpp RTSGame

Make your own command

You can extend uetoosl for your organization by creating plugins. A template is provided to help you get started.

Help Example

$ uecli ml --help
usage:

description:
   Launch a game setup for machine learning

positional arguments:
   str                       Name of the the project to open
   str                       Name of the map to open

optional arguments:
   -h, --help                show this help message and exit
   --dry                     Print the command it will execute without running it (default: False)

Arguments ['ml']:
   Launch a game setup for machine learning

      Attributes
      ----------
      project: str
         Name of the the target to build (UnrealPak, RTSGame, RTSGameEditor, etc...)

      Examples
      --------

      .. code-block:: console

         uecli ml RTSGame

         # Launch your agent script that will connect and make the agents play the game

   --resx int                resolution width (default: 320)
   --resy int                resolution height (default: 240)
   --fps int                 Max FPS (default: 20)
   --windowed bool           Window mode (default: True)
   --usefixedtimestep bool   Block until the ML agent replies with an action (default: True)
   --game bool               (default: True)
   --unattended bool         Close when the game finishes (default: True)
   --onethread bool          Run on a single thread (default: False)
   --reducethreadusage bool  (default: False)
   --nosound bool            Disable sound (default: False)
   --nullrhi bool            Disable rendering (default: False)
   --deterministic bool      Set seeds ? (default: False)
   --debug bool              (default: False)
   --mladapterport int       RPC server listen port (default: 8123)

Features

  • Windows & Linux

  • Open projects

  • Build

  • Run automated tests

  • Cook

  • Generate localization files for internationalization

  • Run the editor

  • multi version support

It also implements common recipes such as

  • Install project plugins from a repository

  • Disable plugins

  • Add dedicated server targets

  • Automatically configure project settings for Python

  • Works on both Linux & Windows seamlessly

  • Add Doxygen to your project

Rational

Unreal engine has 222 comandlets, 83 commands and more than 1237 command line parameters hidden inside its code, very few are documented.

uetools identifies the useful arguments and bundle them inside a command line utility, forming groups/set of arguments with a singular purpose.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

uetools-0.2.8.tar.gz (106.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

uetools-0.2.8-py3-none-any.whl (68.6 kB view details)

Uploaded Python 3

File details

Details for the file uetools-0.2.8.tar.gz.

File metadata

  • Download URL: uetools-0.2.8.tar.gz
  • Upload date:
  • Size: 106.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.16

File hashes

Hashes for uetools-0.2.8.tar.gz
Algorithm Hash digest
SHA256 3557ce980ceca761eff457df772df199dd68a842a57a8b4daf9297867914c8bf
MD5 d173a3421d25baaf6903ed7af63c6cc4
BLAKE2b-256 fad5d105f0f6d8656565dbbb78039f8094612b57681f9e25327f1366b6bbb629

See more details on using hashes here.

File details

Details for the file uetools-0.2.8-py3-none-any.whl.

File metadata

  • Download URL: uetools-0.2.8-py3-none-any.whl
  • Upload date:
  • Size: 68.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.16

File hashes

Hashes for uetools-0.2.8-py3-none-any.whl
Algorithm Hash digest
SHA256 4ecf92fa8abb503e9af58845cd2f84d14290d8d54f42d1c2c144331d6a30e2b6
MD5 91fb625bc3a3802aeb9c40d6f84ed4d7
BLAKE2b-256 29864e02ff80ad70d66aa387c77680838541aa54732d8645df763c7d90b97170

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page