Skip to content

Map transfer does not place the received files on non-Windows builds #3102

Description

@bobtista

Prerequisites

  • I have searched for similar issues and confirmed this is not a duplicate

Game Version

  • Command & Conquer Generals
  • Command & Conquer Generals: Zero Hour

Bug Description

On non-Windows builds a map transfer completes on the host, but the receiver never writes the files and leaves the game on the map check that follows.

Reproduction Steps

  1. Host a network game on a custom (non-official) map.
  2. Join from a non-Windows client that does not have that map.
  3. Observe the transfer complete on the host.
  4. Observe the joining client report it does not have the map, and leave.

Additional Context

The transferred file names are built by splitting and rejoining the map path on the Windows separator, so on other platforms the name put on the wire cannot be normalized back to a map path.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions