Administrators, trusted-editors
1,422
edits
Please create an account or Login! Have fun!
mNo edit summary |
Indyindeed (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
The '''Data Size Glitch''' is an [[Glitch|error]] in [[Microsoft's version of Chip's Challenge]] | The '''Data Size Glitch''' is an [[Glitch|error]] in [[Microsoft's version of Chip's Challenge]] which occurs when the size of a level's data in memory exceeds an internal limit of the program. This glitch causes MSCC to terminate abnormally when the level is accessed in certain ways ''(listed below)'', although in other cases the level can be played as usual. [[Tile World]] does not suffer from this glitch. | ||
==Occurrences== | ==Occurrences== | ||
The glitch is triggered when the level is entered in the following ways: | The glitch is triggered when the level is entered in the following ways: | ||
*Using '''Ctrl+P''' / '''Ctrl+N''' to navigate to that level from the next / previous level | *Using '''Ctrl+P''' / '''Ctrl+N''' to navigate to that level from the next / previous level | ||
*When starting the program with the Current Level as that level. This includes the case when the program is started for the purpose of | *When starting the program with the Current Level as that level. This includes the case when the program is started for the purpose of playtesting a level from a [[level editor]]. | ||
The glitch can be avoid by accessing the level in other ways: | The glitch can be avoid by accessing the level in other ways: | ||
*Completing the previous level | *Completing the previous level | ||
*Jumping to the level using '''Go To...''' | *Jumping to the level using '''Go To...''' | ||
==Calculations== | ==Calculations== | ||
The error occurs when the size of a level's "non-map" data exceeds 544 bytes. Non-map data includes everything other than the data that specifies the tiles constituting the two layers of the map. It can be calculated as follows: | The error occurs when the size of a level's "non-map" data exceeds 544 bytes. Non-map data includes everything other than the data that specifies the tiles constituting the two layers of the map. It can be calculated as follows: | ||
#title size = length of title + 3 | #title size = length of title + 3 | ||
#password size = 7 | #password size = 7 | ||
Line 21: | Line 21: | ||
==Fixes== | ==Fixes== | ||
Unlike the [[Termination Glitch]], there is no utility or patch available to fix the glitch. Hence, the only way to ensure that it does not occur is to modify an offending level so that its data size is brought within limits. Changes that can be done without severely altering the level are: | Unlike the [[Termination Glitch]], there is no utility or patch available to fix the glitch. Hence, the only way to ensure that it does not occur is to modify an offending level so that its data size is brought within limits. Changes that can be done without severely altering the level are: | ||
*Rewrite the [[ | *Rewrite the [[hint]] in a fewer number of characters. Note that in any case, MSCC will not display hints that don't fit into the Hint pane. | ||
*Remove monsters that cannot move from the [[ | *Remove monsters that cannot move from the [[monster list]] by marking them as "stationary". This includes monsters on [[clone machine]]s and unconnected [[trap]]s. | ||
*Use a shorter level name. | *Use a shorter level name. | ||
[[Category:Glitches]] | [[Category:Glitches]] |