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

Some serialization cleanup, optimization, fixes #1864

Closed colinator27 closed 3 months ago

colinator27 commented 3 months ago

Description

Caveats

Has potential to break some instruction parsing if I typo'd somewhere, but I did test it on multiple games (including Undertale 1.00, a bytecode 14 game), and it seems to work fine. If it does break, it'll be pretty obvious, as re-saving a data.win file will show differences in the code.

Notes

Probably too risky to merge into stable, although in the event that we make a minor release, we may want to backport the EmSize typo fix, as that is pretty diabolical. It affects the Deltarune Chapter 1 & 2 demo, version 1.15 (which I tested this PR on).

github-actions[bot] commented 3 months ago

Download the artifacts for this pull request here:

GUI:

CLI:

BenjaminUrquhart commented 3 months ago

The EmSize typo prevents the Xbox version of Undertale from saving 1 to 1. Might be worth its own small PR.

Miepee commented 3 months ago

the emsize fix should be removed from here now