Skip to content

Custom build tool for Darkest Hour written in Rust

License

Notifications You must be signed in to change notification settings

DarklightGames/uccp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

example event parameter

uccp

uccp is a custom build tool for Darkest Hour: Europe '44-'45 written in Rust.

It seeks to improve upon the bare-bones build tools offered by the Unreal Engine 2.x build tool ucc by automating common build tasks.

Though uccp was designed with a particular mod in mind, it can also be used with any mod for Unreal Engine 2.x.

In contrast to ucc, uccp will automatically:

  • Detect changes in your mod's code files and mark those packages (and downstream packages) for compilation.
  • Run dumpint on successfully compiled packages (optional).
  • Move compiled packages and localization files to the specified mod's System folder.
  • Warn about ambiguous asset files (e.g., having identically named files in both the ./Animations folder and the ./<ModName>/Animations folder)

This tool also integrates the UnrealScriptPlus library. This means that it will scan any changed files for syntax errors and emit warnings about potential problems before the ucc process gets to it. This results in saved time since UnrealScriptPlus can detect syntax errors virtually instantly while it can take ucc a number of seconds or even minutes to detect a syntax error.

Usage

USAGE:
    uccp.exe [FLAGS] [OPTIONS] <mod>

FLAGS:
    -c, --clean         Compile all packages
    -d, --debug         Compile debug packages (for use with UDebugger)
    -i, --dumpint       Dump localization files
    -h, --help          Prints help information
        --no-cascade    Ignore package dependencies
        --no-ucc        Do not run UCC
        --no-usp        Do not run UnrealScriptPlus
    -q, --quiet         Minimal output during UCC compile
    -V, --version       Prints version information

OPTIONS:
        --directory <dir>    Root directory (default: ".")

ARGS:
    <mod>    Mod folder name

For example, if you wanted to run a build of the mod MyMod in the root directory C:/Root/Directory, you would invoke the following:

uccp.exe --directory C:/Root/Directory MyMod 

About

Custom build tool for Darkest Hour written in Rust

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages