Skip to main content

Module game_data

Module game_data 

Source
Expand description

Utilities for loading game resources from a WoWS installation directory. Utilities for loading game resources from a World of Warships installation directory.

Provides version-matched resource loading: given a replay’s version, finds and loads the corresponding game build rather than blindly using the latest installed build.

Structs§

GameResources
Loaded game resources from a WoWS installation.

Functions§

build_game_vfs
Build a VFS from a World of Warships installation directory.
find_matching_build
Find the build directory in the game directory that matches the replay’s version.
list_available_builds
List all available build numbers in the game directory’s bin/ folder, sorted ascending.
load_game_resources
Load game resources (entity specs, VFS) from a game directory, using the build number that matches the replay version.
translations_path
Returns the path to the English translations file for the given build.