Skip to content

[Build logic, feature req] Automate rename, assetclean and/or re-extract when asset names change? #2647

Open

Description

@sirocyl

When there's a change in the source that makes asset file locations outdated, a build can fail if one simply pulls down the new source and runs a "dirty" make. Typically the responsibility for keeping source changes from fouling builds lands upon the build system.

Maybe there's a way to trigger a full assetclean, or even to just move/rename/re-extract files from baserom to their new locations, when changes are made in the assets directory in the repo?

Consider it a low-priority request, the status quo doesn't exactly break anything; this is just a convenience matter.

Activity

  1. Dragorn421 commented on Jun 26, 2025

    @Dragorn421
    Collaborator

    When there are assets/xml/ changes we do expect users to re-run either make setup VERSION=VERSION or ./tools/extract_assets.sh VERSION

    There is typically no need to run make assetclean

  2. sirocyl commented on Jun 26, 2025

    @sirocyl
    Author

    Ah, okay. It at least worked for me, if a little brute-forced. Either way, it might be possible to automate some of this in the future I'd imagine

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions