Skip to content

Lobby: detect, hash and match installed archives #43

Description

@CubeB

From the ROADMAP: mod management is the stated reason the launcher exists. Before a network game starts, every player should be running the same data.

Needed

  • Detect the installed .hpi, .ufo, .ccx and .gp3 files in the data directory, in the order the VFS loads them (src/rwe/vfs).
  • Hash them. Community packs are large (the V maps .ufo from A zlib chunk with no trailer is read to its declared size #35 is 2.1 GB), so cache hashes by path, size and modification time, and hash in the background.
  • Show each player's set in the lobby, and refuse to start when they differ, naming the file that differs.

Where. launcher/src/ (launcher, game-server, master-server, common), and the engine's rwe_bridge JSON IPC if the engine should report what it actually loaded.

Done when two launchers with different archives cannot start a game together, and the lobby says which archive is the problem.

🤖 Generated with Claude Code

https://claude.ai/code/session_018moxVoyHDBoHqkw8uqS3HX

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestlauncherElectron launcher and lobbymultiplayerLockstep networking

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions