UnderminersTeam / UndertaleModTool

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

GM 2024.2 misintrepeting fonts as "asset type 6" #1822

Open spaghetto207 opened 2 months ago

spaghetto207 commented 2 months ago

Describe the bug

it appears utmt is misinterpreting fonts as "asset type 6", which doesnt exist in the RefType Enum.

this is the supposed error. image

i temporarilly included asset type 6, and saw that a font broke it. image

Reproducing steps

open any gml script that includes a font asset id

Setup Details

compiled from source, using https://github.com/UnderminersTeam/UndertaleModTool/commit/1bf549ff34a2a719b65859cab525bd1e311e59f8 using Windows 10, unfortunately i cannot link to the game. i am supposing it is the latest runtime, sorry for the inconvienence

spaghetto207 commented 2 months ago

sorry for the shitty issue, i never really made a issue before so i tried my best to include all that i can.

colinator27 commented 2 months ago

Known issue, fixed on my new decompiler fork already

spaghetto207 commented 2 months ago

alright cool

colinator27 commented 2 months ago

Going to re-open this until it's actually fixed in main UndertaleModTool, though

spaghetto207 commented 2 months ago

fair enough