822096128 errors reported on compile, yet runs fine in Bug Reports
|
|
| BYOND Version: | 440 |
| Operating System: | Windows XP Home |
| Web Browser: | |
|
| Status: |
Resolved (443)
This issue has been resolved.
|
|
|
I imported a very large gif file into a .dmi for use as an opening movie in Vengeance 56. The gif itself is about 10MB in size. Anyway, when I set the dmi as the icon for a given object, DM reports 822096128 errors. If I set the icon var to something else (i.e. no existing references to the dmi movie), no errors are reported. Despite the errors, I'm able to run the game, and it seems to run just fine.
If necessary, I could make a demo later.
edit: I forgot to mention that it cut the movie off at 98 frames (out of about 350 total). It has dimensions of 320X256.
|
After importing a lengthy GIF into a DMI file, when that DMI is used in the code, the first time the DMI is consequently compiled into the resources it will report a large number of errors (49 or 3211313 errors in my test) without actually listing any, but will otherwise compile as expected. If you simply compile it again (as it happens only the first time) the errors will disappear.
It seems to based solely on the number of frames in the gif (and thus the number of frames in the .dmi). In my tests, I found these conditions:
Less than 267 Frames: 0 Errors
Exactly 267 Frames: 49 Errors
More than 267 Frames: 3211313 Errors
These appeared to occur consistently regardless of changes in GIF dimensions, bit depth, or file size.
However, results varied slightly when I tried including the DMI in different projects. The number of errors specific to each frame count remained the same, but sometimes compiling a second time would result in DM crashing.
What I am experiencing seems related to Gakumerasara's bug. Neither are really a high-priority (especially since DMIs are only supposed to be 99 frames, which might be the only bug worth fixing in this report)
Here is a test environment I set up:
Long Gif Bug.zip
And here is the GIF I started with:
Swimming Lessons