Skip to content

Fix and rework the DELTARUNE shader removal script - #2443

Draft
VladiStep wants to merge 3 commits into
UnderminersTeam:masterfrom
VladiStep:deltaruneShaderScriptFix
Draft

VladiStep wants to merge 3 commits into
UnderminersTeam:masterfrom
VladiStep:deltaruneShaderScriptFix

Conversation

@VladiStep

@VladiStep VladiStep commented Jul 24, 2026

Copy link
Copy Markdown
Member

Description

The current "DeltaruneClearShaderData.csx" script is both broken and outdated:

  1. UndertaleModLib doesn't have the ImportASMString() method anymore.
  2. The script supports only Chapter 2.

So, I want to both fix and rework it, so it works with all chapters.

The changes:

  1. Fixed the ImportASMString() error by replacing it with CodeImportGroup methods.
  2. Added a proper game version detection (got that from "Debug.csx").
  3. Improved the script messages.
  4. The recreated empty shaders now have a proper Type.

Fixes #2441

Caveats

None

@github-actions

github-actions Bot commented Jul 24, 2026

Copy link
Copy Markdown

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.

The script "DeltaruneClearShaderData.csx" is not updated (doesn't work)

1 participant