UnderminersTeam / UndertaleModTool

The most complete tool for modding, decompiling and unpacking Undertale (and other GameMaker games!)
GNU General Public License v3.0
1.19k stars 233 forks source link

Compatibility upgrade of scripts involving textures #1890

Closed colinator27 closed 1 day ago

colinator27 commented 3 months ago

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.

github-actions[bot] commented 3 months ago

Download the artifacts for this pull request here:

GUI:

CLI: