Command-line tool for modifying localization files
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ReleaseDocs
ReleasePackages
Resources
ZeroLocalizationTool
.gitattributes
.gitignore
LICENSE.md
README.md
ZeroLocalizationTool.sln

README.md

Zero Localization Tool

Release Downloads Issues License

This is a command-line tool for modifying Star Wars Battlefront II (2005) localization files. It was designed for use with automated build CLIs like Jenkins but can obviously be used outside of that as well.

Installation

Download the latest release, extract the archive to any directory, and done!

Please note that .NET Framework 4 is required to run the application.

Usage

Syntax

The syntax for executing commands (except the Help command) is:
ZeroLocalizationTool <localization file path> <command> [arguments]

Furthermore, file paths, key paths, and key values must always be wrapped in quotes.

Correct: ZeroLocalizationTool "C:\BF2_ModTools\data_ABC\Common\Localize\english.cfg" -gv "whatever.scope.key"

Incorrect: ZeroLocalizationTool C:\BF2_ModTools\data_ABC\Common\Localize\english.cfg -sv whatever.scope.key new key value

Commands

Help

To display the command list or the usage for a command, use the help, -h, or --help command.

Usage:

help [command name]

Examples:

ZeroLocalizationTool help
ZeroLocalizationTool help -sv

Set Value

To set a new value for a key, use the -sv or --set-value command. This will automatically save the localization file with the modified key.

Usage:

-sv <key path> <key value>

Example:

ZeroLocalizationTool "C:\BF2_ModTools\data_ABC\Common\Localize\english.cfg" -sv "whatever.scope.key" "new key value"

Get Value

To print the value of a key, use the -gv or --get-value command. This will print the key's value to the console.

Usage:

-gv <key path>

Example:

ZeroLocalizationTool "C:\BF2_ModTools\data_ABC\Common\Localize\english.cfg" -gv "whatever.scope.key"