Skip to content

Generated Placeholder Objects Are Stored in Local Client Cache #8

@Seltraeh

Description

@Seltraeh

This issue pertains to the shortcomings of wanting the game to function without the user having to press several prompts at the start of the client/ proxy server load.

I've created a function in BFWebController.cpp (located at: \server\gimuserver\static_web\) that handles all missing files as they are requested by the client essentially "Downloading" them to their correct directory.

The problem: Android APK releases in the future won't clear the cache of these faked files and cached files take president over new packaged files. This means that we'd have to find a graceful way to remove the old cached files without redownloading everything.

My proposed solution currently is creating a placeholders.json, but there is the chance of a desync if not handled properly. The best bet is to explore how assets are loaded at the beginning of the client launch to view how the client stores DLC. At that point, I'd say we patch the libgame.so to alter the functionality of the APK/APPX to detect and replace cached files with their corrected counter parts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    clientIssues related to how the client answers a requestenhancementNew feature or request

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions