Skip to content

WoWs-Builder-Team/FilteredGameParams2Json

Repository files navigation

GameParams2Json

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 to live directory instead.

It will create entities folder which has all the entities separated by types (with their respective folders.)

Localization

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

DEPENDENCIES:

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.

About

Extracts entities in a WoWS's GameParams.data file.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages