1
0
KF2-BuildTools/USAGE.md
2022-02-20 01:25:14 +00:00

1.6 KiB

KF2-BuildTools

title version docs-autoupdate

Usage: ./tools/builder OPTIONS

Build, pack, test and upload your kf2 packages to the Steam Workshop.

Available options:
   -ib, --init-build   generate build.cfg with build parameters
   -it, --init-test    generate test.cfg with test parameters
    -i, --init         the same as "./builder --init-build; ./builder --init-test"
    -c, --compile      build package(s)
    -b, --brew         compress *.upk and place inside *.u
   -bm, --brew-manual  the same (almost) as above, but with patched kfeditor by @notpeelz
    -u, --upload       upload package(s) to the Steam Workshop
    -t, --test         run local single player test with test.cfg parameters
    -q, --quiet        run without output
    -w, --warnings     do not close kf2editor automatically (to be able to read warnings)
   -nc, --no-colors    do not use color output
    -d, --debug        print every executed command (script debug)
    -v, --version      show version
    -h, --help         show this help

Short options can be combined, examples:
  -cbu                 compile, brew, upload
 -cbmt                 compile, brew_manual, run_test
  -wcb                 compile and brew without closing kf2editor
                       etc...