Main Menu

Glitches

References/Resources

Affiliates

Technical

Search Wiki

Toolbox

Difference between revisions of "Void"
 Page | Discussion | View source | History

From Glitch City Laboratories

Jump to: navigation, search
[checked revision][checked revision]
(Added reference to the forum post (so that both the doc and the kit are visible).)
(Fact check: Saving and resetting and wrong warping in fact have different mechanics. Also added methods for accessing the void.)
Line 6: Line 6:
 
Once in the desired map ID, the player can either directly exploit its map scripts (for example in the [[Retire glitch]]), or save and reset to load the correct MatrixLayout for that map ID. All outdoor maps in Sinnoh share the same MatrixLayout, but the indoor maps all have their own MatrixLayouts. In an indoor MatrixLayout, the player can easily walk towards the "physical" indoor map, and for some maps, the player may be able to bypass the walls surrounding the walkable area from the outside. This is used, for example, to set up the [[Union Room wrong-warping glitch]].
 
Once in the desired map ID, the player can either directly exploit its map scripts (for example in the [[Retire glitch]]), or save and reset to load the correct MatrixLayout for that map ID. All outdoor maps in Sinnoh share the same MatrixLayout, but the indoor maps all have their own MatrixLayouts. In an indoor MatrixLayout, the player can easily walk towards the "physical" indoor map, and for some maps, the player may be able to bypass the walls surrounding the walkable area from the outside. This is used, for example, to set up the [[Union Room wrong-warping glitch]].
  
Another important aspect of the void is the player's coordinates in the MatrixLayout, which are internally represented by two 32-bit integers, but when saving the game, or storing a location to warp back later, the coordinates are saved as unsigned 16-bit integers. Normally those are the same, because valid coordinates are always inside the 0 ~ 65535 range. However, when exploring the void, the player can go to coordinates out of this range, and cause a "coordinate warp". For example, saving at (-2, -3) will cause the player to end up at (65534, 65533). This is commonly exploited by saving in a Fake Sinnoh (when the map ID corresponds to an outdoor map) to end up at the real place.
+
Another important aspect of the void is the player's coordinates in the MatrixLayout, which are internally represented by two 32-bit integers, but when saving the game, or storing a location to warp back later, the coordinates are saved as 16-bit integers, signed in the former case and unsigned in the latter case. Normally those are all the same, because valid coordinates are always inside the 0 ~ 32767 range. However, when exploring the void, the player can go to coordinates out of this range, and cause a "coordinate warp". For example:
 +
* By using the Explorer Kit at (-2, -3), the player can later take a wrong warp to (65534, 65533).
 +
* By saving the game at (65534, 65533) and resetting, the player can go back to (-2, -3).
 +
This is commonly exploited by saving in a Fake Sinnoh (when the map ID corresponds to an outdoor map) to end up at the real place.
  
 
The void should not be confused with the abyss, which is a pitch black region created by [[tweaking]]. Although abysses are commonly used as an entry point into the void, they are not themselves out of bounds (and their glitchy properties only come from sections of the map not being properly loaded).
 
The void should not be confused with the abyss, which is a pitch black region created by [[tweaking]]. Although abysses are commonly used as an entry point into the void, they are not themselves out of bounds (and their glitchy properties only come from sections of the map not being properly loaded).
  
 +
==Accessing the void==
 +
In the English versions of {{DP}} and the latest Japanese versions, the only known way to initially access the void is [[tweaking]]. Usually tweaking is used to put the player on the wrong side of a door. By going through a door in the wrong direction, the player ends up in the void of the indoor map. From there, the player can get to different voids (i.e. different MatrixLayouts) by saving and resetting at suitable positions.
 +
 +
After accessing the void, the player can set up the [[Union Room wrong-warping glitch]], which allows easier access to the void later.
 +
 +
In the v1.0 release of the Japanese versions, the void can also be accessed with the [[Elite Four door glitch]] or the [[broken escalator glitch]].
 +
<!--
 +
==MatrixLayout==
 +
 +
==Black Screens of Death==
 +
 +
==Collision in the void==
 +
 +
==Fake Sinnoh==
 +
-->
 
==References==
 
==References==
 
* [https://forums.glitchcity.info/index.php?topic=8499.0 RETIRE's complete guide to voiding]
 
* [https://forums.glitchcity.info/index.php?topic=8499.0 RETIRE's complete guide to voiding]

Revision as of 07:29, 28 September 2019

This article is about the out of bounds region in Generation IV specifically. For "void" regions in Generation V and Generation VI, see the corresponding sections of out of bounds.

The void is the name of the out of bounds region in Generation IV games, named as such for its pitch black appearance, and general ease of navigation in Pokémon Diamond and Pearl. The most important technical property of the void is that the map ID (which is a 2-byte integer that determines which city, town, route, or building the game thinks the player is in) is read from an invalid area of the MatrixLayout, potentially out of bounds for the RAM buffer. Notably, they may come from RAM regions, such as the Mapdata, that is changed by the act of entering a new map ID itself. By strategically rewriting those RAM regions, efficient voidroutes are found that allows the player to travel to any desired map ID. Travelling through voidroutes is known as void exploration, or voiding for short.

Once in the desired map ID, the player can either directly exploit its map scripts (for example in the Retire glitch), or save and reset to load the correct MatrixLayout for that map ID. All outdoor maps in Sinnoh share the same MatrixLayout, but the indoor maps all have their own MatrixLayouts. In an indoor MatrixLayout, the player can easily walk towards the "physical" indoor map, and for some maps, the player may be able to bypass the walls surrounding the walkable area from the outside. This is used, for example, to set up the Union Room wrong-warping glitch.

Another important aspect of the void is the player's coordinates in the MatrixLayout, which are internally represented by two 32-bit integers, but when saving the game, or storing a location to warp back later, the coordinates are saved as 16-bit integers, signed in the former case and unsigned in the latter case. Normally those are all the same, because valid coordinates are always inside the 0 ~ 32767 range. However, when exploring the void, the player can go to coordinates out of this range, and cause a "coordinate warp". For example:

  • By using the Explorer Kit at (-2, -3), the player can later take a wrong warp to (65534, 65533).
  • By saving the game at (65534, 65533) and resetting, the player can go back to (-2, -3).

This is commonly exploited by saving in a Fake Sinnoh (when the map ID corresponds to an outdoor map) to end up at the real place.

The void should not be confused with the abyss, which is a pitch black region created by tweaking. Although abysses are commonly used as an entry point into the void, they are not themselves out of bounds (and their glitchy properties only come from sections of the map not being properly loaded).

Accessing the void

In the English versions of Pokémon Diamond and Pearl and the latest Japanese versions, the only known way to initially access the void is tweaking. Usually tweaking is used to put the player on the wrong side of a door. By going through a door in the wrong direction, the player ends up in the void of the indoor map. From there, the player can get to different voids (i.e. different MatrixLayouts) by saving and resetting at suitable positions.

After accessing the void, the player can set up the Union Room wrong-warping glitch, which allows easier access to the void later.

In the v1.0 release of the Japanese versions, the void can also be accessed with the Elite Four door glitch or the broken escalator glitch.

References

This article or section is a stub. You can help Glitch City Laboratories wiki by expanding it. RB 234 fs crop.png