Skip to content

Conversation

@imLinguin
Copy link
Member

@imLinguin imLinguin commented May 15, 2025

This is a breaking change that allows games to contain more than one asset per platform - meaning multiple sandboxes aka namespaces.

This involves breaking changes to how metadata.json is stored, as well as additional fields to installed game classes.
Sidecar configs were also separated into per-namespace maps.

Changes to metadata mean older versions of legendary will probably fail to read those files. I can try to make this as much backwards compatible as possible if desired.

Additional remarks:

  • info and install commands support --namespace arguments now
  • info output was slightly changed to incorporate multiple assets per platform
    • latest_version and manifest keys correspond to desired --namespace, by default its first public asset found
    • namespaces key is an array of available namespaces, their details and times when given license was obtained by user
    • platform_versions is now a {platform: [...assets]} object, instead of just versions

imLinguin added 2 commits May 15, 2025 19:02
and more data to json output of platform_versions, also always return namespace data
Copy link
Member

@CommandMC CommandMC left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes to metadata mean older versions of legendary will probably fail to read those files. I can try to make this as much backwards compatible as possible if desired.

I'd say do this, yes

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants