Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Opening a game built with GameMaker runtime 2022.5.0.8 fails in two(?) ways (2022.5 unsupported?) #945

Closed
Dobby233Liu opened this issue May 28, 2022 · 3 comments · Fixed by #1043
Labels
bug Something isn't working

Comments

@Dobby233Liu
Copy link
Contributor

Dobby233Liu commented May 28, 2022

Describe the bug

When you build a game with GM runtime version 2022.5.0.8, and attempt to open the built data file with UMT, the loading usually fails. Unusually, different things may happen depending on the game:
If the game has no sprites, the game loads without error, and if the game has only one (empty) sprite, I get this error:
image

An error occured while trying to load:
BZip2 input stream bad block header
at 00000D08 while reading object UndertaleModLib.Models.UndertaleEmbeddedTexture+TexData in chuck TXTR

If the game has at least one object (or when a kind-of complex game is loaded), I get this error:
error with apmrrpg

An error occured while trying to load:
Invalid value for resource ID (UndertaleChuckSPRT): -100
at 0002C0C0 while reading object UndertaleModLib.UndertaleResourceById[[UndertaleModLib.Models.UndertaleSprite, <scary assembly info>]],[[UndertaleModLib.Models.UndertaleChuckSPRT, <scary assembly info>]]
at 0002C0C0 while reading object UndertaleModLib.Models.UndertaleGameObject
while reading item 1 of 13 in a list of UndertaleModLib.Models.UndertaleGameObject in chuck OBJT

I have a feeling that those are different bugs, but I'm not sure if I should split this into two issues.

Reproducing steps

  1. Open a 2022.5 game, or one of the .win files attached below
  2. See error

Setup Details

  1. UndertaleModTool version: v:89c7ace (master)
  2. Operating system: Windows 11 build 22000.675
  3. GameMaker game: I will attach .win files below (remove the .txt suffix), I also have a complex test case that I posted in #tool-development of Underminers server
@Dobby233Liu Dobby233Liu added the bug Something isn't working label May 28, 2022
@Dobby233Liu Dobby233Liu changed the title Opening a game built with GameMaker runtime 2022.5.0.8 may fail (2022.5 unsupported?) Opening a game built with GameMaker runtime 2022.5.0.8 fails in different ways (2022.5 unsupported?) May 28, 2022
@Dobby233Liu Dobby233Liu changed the title Opening a game built with GameMaker runtime 2022.5.0.8 fails in different ways (2022.5 unsupported?) Opening a game built with GameMaker runtime 2022.5.0.8 fails in two(?) ways (2022.5 unsupported?) May 28, 2022
@torridgristle
Copy link

Uncertain which version of Game Maker is used, but happens with Pocket Crystal League v1.4.0.1 as well, I get the error:

An error occured while trying to load:
Invalid value for resource ID (UndertaleChunkSPRT): -100
at 0008C04C while reading object UndertaleModLib.UndertaleResourceById`2[[UndertaleModLib.Models.UndertaleSprite, UndertaleModLib, Version=0.4.0.4, Culture=neutral, PublicKeyToken=null],[UndertaleModLib.UndertaleChunkSPRT, UndertaleModLib, Version=0.4.0.4, Culture=neutral, PublicKeyToken=null]]
at 0008C04C while reading object UndertaleModLib.Models.UndertaleGameObject
while reading item 1 of 16 in a list of UndertaleModLib.Models.UndertaleGameObject in chunk OBJT

@Miepee
Copy link
Contributor

Miepee commented Jun 16, 2022

Affects Rabbit Knight as well https://m36games.itch.io/rabbit-knight

@ghost
Copy link

ghost commented Jul 1, 2022

Also affects a private WYS beta

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants