Skip to content

Conversation

@BioTomateDE
Copy link
Contributor

Description

Refactored code of UndertaleModTool/Scripts/Resource Importers/ImportSingleSound.csx.
The semantics should remain the same, except for one (potential) bugfix regarding #2286.

Caveats

I can't get the stupid WPF app to work with Wine so I couldn't test my changes (sorry).
please test before merging

Notes

if LangVersion is upgraded to 11, I can use """ for multiline strings (cleaner probably)

@github-actions
Copy link

github-actions bot commented Dec 20, 2025

@colinator27
Copy link
Member

I'm not sure the bugfix regarding #2286 actually fixes what it's trying to... It does get rid of old embedded audio, though, which is maybe something desirable? Maybe not? There were just some other changes merged for ImportSounds.csx itself (still see no reason why they would affect #2286 though), which probably should get updated similarly if this script gets updated, behavior-wise.

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.

2 participants