Converts GameParams to JSON
GameParams2Json.py arguments:
- --path: GameParams.data file path
- --filter: Filter the data. (Optional)
- --pts: Extracts the entities to
pts
directory. Omitting this argument will extract the entities tolive
directory instead.
It will create entities folder which has all the entities separated by types (with their respective folders.)
mo2json.py arguments:
- --filter: The filter. A csv file. Each line is the used keys. (Required)
- --localizations: WoWS localizations path. (C:\Games\World_of_Warships\bin\XXXXXXX\res\texts) (Required)
- --missing: Outputs the not found indexes to a text file. (Optional)
- --serial: Run the converter serially.
Command:
python mo2json.py --filter TranslationNames.csv --localizations "C:\Games\World_of_Warships\bin\4747907\res\texts" --missing
For GameParams2Json, nothing. Everything it needs is already in Python's buitins.
For localization, please install lxml
and polib
. Just do pip install -r requirements.txt
.