UndertaleModTool icon indicating copy to clipboard operation
UndertaleModTool copied to clipboard

Compatibility upgrade of scripts involving textures

Open colinator27 opened this issue 1 year ago • 1 comments

Description

This is a follow-up to https://github.com/UnderminersTeam/UndertaleModTool/pull/1870, upgrading existing built-in texture scripts to work with the changes made in that PR.

Some scripts had small syntax cleanup, as I went through them to make changes for textures.

A small amount of library and tool code was adjusted for the purpose of these script updates.

Caveats

Not every script was thoroughly tested (though a bunch were). Most scripts were at least tested to compile and start running. I may have also missed some scripts, but I did multiple searches through the code to figure out which scripts needed updating. This should still be better than nothing, however.

Multiple scripts still use Windows-only code, but the goal of this PR is only compatibility. Those scripts can get refactored in the future, and have been marked with TODO comments.

Notes

Followed all instances of TextureWorker and TextureBlob in scripts. Reviewed alongside the script changes made in https://github.com/UnderminersTeam/UndertaleModTool/pull/1538.

colinator27 avatar Aug 26 '24 20:08 colinator27