Skip to content

Updating

Trackpad edited this page Nov 3, 2022 · 2 revisions

Updating the project


Updating the bot

After pulling, you may need to re-sync the command tree in order for changes to be reflected in Discord. This can be done with the --sync flag:

cd bot
python run.py --sync

Updating resources

  1. Track relies on unpacked game files at each game update. To begin, install the WoWS Unpacker utility available here.

  2. Move scripts/extract.py to the root of your WoWS installation, and run it.

python scripts/extract.py
  1. This will create res_extract/ in the root directory. Move GameParams.data, located in res_extract/content, to resources/. Move texts, located in res_extract/, to resources/ as well. Move ships_silhouettes, located in res_extract/gui, to bot/assets/public/.

  2. Run scripts/ships/generate.py.

python scripts/ships/generate.py
  1. This will generate ships.json in generated/. Compare it the previous version by running scripts/ships/compare.py.
python scripts/ships/compare.py
  1. Update bot/assets/public/guess.toml as appropriate, and then move ships.json to bot/assets/public/.
Clone this wiki locally