Open TrashBandatcoot opened 1 year ago
Is an older version of the demo available? The current Steam download uses YYC, which produces no code UTMT can work with at all.
Mirrored them here if you want to check it out: https://archive.org/download/antonblastdemo/Kickstarter%20Demo/
Hmm. I downloaded v1.1.6 from your link, and went and compiled the tool from around the time it supposedly worked (June 2022), but all the same scripts still fail to decompile-- 9 with stack empty, 1 with reentered block with different number of variables. Is it specific to a different version, or were there additional decompiler errors that have since been resolved?
I'm not saying I intend to close this issue, but resolving the last ten is going to be trickier without decompilation from any version.
Seems like one of the stack empty problems is the use of static variables, which invoke the isstaticok.e
instruction that UTMT currently ignores, meaning the stack is missing the variable to indicate whether static is, in fact, ok. Three of the scripts still don't decompile, and recompiling the other seven with proper static implementation hasn't been implemented in the compiler.
Describe the bug
Some Antonblast scripts fail to decompile properly. An earlier build of UndertaleModTool (v94ea048) decompiled them just fine, but some builds later, either one of four error codes appear.
Reproducing steps
Setup Details