Skip to content

Rename shader options file when updating shaders #5483

@Artezon

Description

@Artezon

Please confirm the following.

  • I checked the existing issues for duplicate feature requests
  • I have checked that this feature request is not on our roadmap

What parts of Modrinth is your feature request related too?

Modrinth App

Is your suggested feature related to a problem? Please describe.

When updating shaderpack using the Modrinth App, its corresponding options file is not automatically renamed to match the new shader version. Currently manual rename needed or settings will reset.

For example, files before update:

  • ComplementaryReimagined_r5.6.1.zip
  • ComplementaryReimagined_r5.6.1.zip.txt

Files after update:

  • ComplementaryReimagined_r5.7.1.zip
  • ComplementaryReimagined_r5.6.1.zip.txt (no longer matches the shader)

Describe the solution you'd like

Rename shader options file to <new_shader_file>.txt when shader is updated:

  • ComplementaryReimagined_r5.7.1.zip
  • ComplementaryReimagined_r5.7.1.zip.txt (automatically renamed)

Describe alternatives you've considered

Rename the file manually or customize the shaders again - less optimal and less user-friendly.

Additional context

Also, as per issue #4898, shader options should be hidden from the list in the app.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions