diff --git a/worthless/game/game.py b/worthless/game/game.py index 119da2f..f24efcb 100644 --- a/worthless/game/game.py +++ b/worthless/game/game.py @@ -598,7 +598,16 @@ class Game: ignore_mismatch=True, ): """ - This function is an alias to worthless.game.get_voicepack_archive_type + Verifies a game file + + Args: + file: The file to verify + pkg_version: The pkg_version file to read MD5 from, if not specified it'll use + the file from the current game installation + ignore_mismatch: Do not raise exception if a file has mismatch MD5, instead + return as a (file, expected md5, actual md5) tuple + Returns: + None if all files are good, (file, expected md5, actual md5) if the file has mismatch md5 """ if pkg_version is None: pkg_version = self._game_dir.joinpath("pkg_version")