An open API service indexing awesome lists of open source software.

https://github.com/butr/bannerlord.localizationparser

Outputs all hardcoded localization strings in a Mount & Blade II: Bannerlord directory.
https://github.com/butr/bannerlord.localizationparser

bannerlord localization-tool mount-and-blade-bannerlord tool

Last synced: 9 days ago
JSON representation

Outputs all hardcoded localization strings in a Mount & Blade II: Bannerlord directory.

Awesome Lists containing this project

README

        

# Bannerlord.LocalizationParser

## Using as a dotnet Tool
### Installation
1. Install the latest [.NET 6.0 Runtime](https://dotnet.microsoft.com/download/dotnet/6.0/runtime).
2. Run `dotnet tool install --global Bannerlord.LocalizationParser` to install the tool.

### Usage
To run, use `bllocparser --game-folder "H:\\SteamLibrary\\steamapps\\common\\Mount & Blade II Bannerlord" --output LocalizationStrings.csv`.
You can also just run the executable without arguments to run it in interactive mode!

## Using as a Standalone Executable
### Installation
1. Download the latest [release](https://github.com/BUTR/Bannerlord.LocalizationParser/releases/latest).
2. If a non `self-contained` executable is downloaded, install the latest [.NET 6.0 Runtime](https://dotnet.microsoft.com/download/dotnet/6.0/runtime).
3. Extract the file somewhere.

### Usage
To run, use `Bannerlord.LocalizationParser.exe --game-folder "H:\\SteamLibrary\\steamapps\\common\\Mount & Blade II Bannerlord" --output LocalizationStrings.csv`.
You can also just run the executable without arguments to run it in interactive mode!

## Output
It will output a .csv file with the following format:
|Assembly |Text |
|-----------------------------|-----------------------------------------------------------------------------------------------------------------------------------|
|TaleWorlds.CampaignSystem.dll|{=TauRjAud}{NAME} of the {FACTION} |
|TaleWorlds.CampaignSystem.dll|{=vvCwVo7i}{DAMAGE} {DAMAGE_TYPE} |
|TaleWorlds.CampaignSystem.dll|{=0M6ApEr2}Surely you know that {FIRST_NAME} is {RELATIONSHIP} as well as my liege, and will always be able to count on my loyalty.|

## Examples
The tool has two run modes - you either pass to the too a path to a valid installation of M&B2: Bannerlord, where it extracts every vanilla game string, or you pass a path to a directory that contains some .dll's, all of them will be parsed.