Skip to content

Install size estimate uses wrong language, shows incorrect depot count and size #1053

@jeremybernstein

Description

@jeremybernstein

The install size estimate on the app screen calls getDownloadableDepots(gameId) which uses PrefManager.containerLanguage (global default). The actual download path in SteamService.downloadApp() uses container.language (per-container setting). When a container is set to a non-default language (e.g. Polish while default is English), the size estimate shows the wrong number of depots and incorrect download/install sizes.

For example, Gothic (app 65540) with a Polish container: the app screen resolves 2 depots (base + English-sized estimate) but the download correctly selects 3 depots (base windows + base content + Polish language depot).

Fix: Look up the container language in the size estimate the same way SteamService.downloadApp() does — ContainerManager.getContainerById("STEAM_$gameId")?.language, falling back to PrefManager.containerLanguage.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions