Cloning: Difference between revisions

1,745 bytes added ,  21 November 2021
m
→‎Delayed grab: removed the timecode in the science of cloning source
(→‎Properties of clones: Bob-omb buddy clones are actually normal bobomb buddies)
m (→‎Delayed grab: removed the timecode in the science of cloning source)
 
(13 intermediate revisions by 8 users not shown)
Line 1: Line 1:
[[File:Mario holding a coin clone.png|thumb|242x242px|Mario holding a Coin Clone]]
[[File:Mario holding a coin clone.png|thumb|242x242px|Mario holding a Coin Clone]]
'''Cloning''' refers to a number of glitches that allow Mario to hold [[object]]s that were not intended to be held. Typically, this happens when Mario continues to hold an [[object slot]] after the object in it has unloaded. When a new object loads into this slot, Mario will hold a reference to this new object. The name "cloning" comes from one of its main applications, which is to duplicate objects such as [[coin]]s or [[Goomba]]s. This name is a misnomer, as the duplication behavior is a property of those specific objects, and not the technique itself.  
'''Cloning''' refers to a number of glitches that allow Mario to hold [[object]]s that were not intended to be held. Typically, this happens when Mario continues to hold an [[object slot]] after the object in it has unloaded. When a new object loads into this slot, Mario will hold a reference to this new object. The name "cloning" comes from one of its main applications, which is to duplicate objects such as [[coin]]s or [[Goomba|goombas]]. This name is a misnomer, as the duplication behavior is a property of those specific objects, and not the technique itself.  


[[File:Holding Objects.png|frame|right|How holding objects works]]
[[File:Holding Objects.png|frame|right|How holding objects works]]
Line 10: Line 10:
For example, if Mario begins to pick up a [[Bob-omb]] just before it explodes and unloads, Mario will hold the object slot that the Bob-omb originally occupied.
For example, if Mario begins to pick up a [[Bob-omb]] just before it explodes and unloads, Mario will hold the object slot that the Bob-omb originally occupied.


This can be performed using the following objects:
This can be performed using the following objects:<ref>[https://www.youtube.com/watch?v=9xE2otZ-9os "SM64 - The Science of Cloning" by pannenkoek2012]</ref>
*[[Bob-omb]]
{| class="wikitable"
*[[Cork Box]]
! Object
*[[Chuckya]]
! Circumstances
*[[Crazy Box]]<ref>https://www.youtube.com/watch?v=BEiRksVS3aw</ref>
! Before coins despawn
! After coins despawn
|-
| rowspan="3" | Bob-omb
              | No fuse
              | VS2
              | VS3
              |-
              | Early fuse
              | VS4/VS5
              | VS5/VS6
              |-
              | Full fuse
              | VS2
              | VS3
|-
              | [[Chuckya]]
              | All
              | VS21
|-
| rowspan="3" | [[Cork Box]]
              | Breaking
              | VS42
              | VS45
              |-
              | Disappearing within no-spawn radius
              | VS1
              |-
              | Disappearing outside no-spawn radius
              | VS2
|-
              | [[Crazy Box]]<ref>[https://www.youtube.com/watch?v=BEiRksVS3aw "SM64 - Fake Crazy Box" by pannenkoek2012]</ref>
              | All
              | VS21
|}


=== Loading zones ===
=== Loading zones ===
[[Loading zone]]s cause all objects to unload, and new objects to spawn in their place. If Mario is holding an object while passing through a loading zone, he will continue to hold the object slot, even though the object has unloaded.
[[Loading zone]]s cause all objects to unload, and new objects to spawn in their place. If Mario is holding an object while passing through a loading zone, he will continue to hold the object slot, even though the object has unloaded.


This can be performed in [[Wet-Dry World]] by carrying a [[chuckya]] or [[heave ho]] through the loading zone, and in [[Dire, Dire Docks]] using the [[water shell holding]] glitch.
This can be performed in [[Wet-Dry World]] by carrying a [[chuckya]] or [[Heave-Ho]] through the loading zone, and in [[Dire, Dire Docks]] using the [[water shell holding]] glitch.


== Properties of clones ==
== Properties of clones ==
Line 51: Line 85:
*[[Blue Coin|Blue coin]]s by reaching a loading zone before the [[Blue Coin Switch]] runs out
*[[Blue Coin|Blue coin]]s by reaching a loading zone before the [[Blue Coin Switch]] runs out
<!--Finish this list-->
<!--Finish this list-->
Because cloned objects never unload, they gradually fill up the available [[object slots]] and continue to be rendered on screen. This can cause lag, [[game corruption]], and eventually a [[game freeze]] when the object slots run out.
Because cloned objects never unload, they gradually fill up the available [[object slot]]s and continue to be rendered on screen. This can cause lag, [[game corruption]], and eventually a [[Crash|game freeze]] when the object slots run out.
 
=== Infinite shell ===
=== Infinite shell ===
When Mario rides on a [[Koopa Shell]] or [[Shiny Shell]], although the latter is impossible to clone, the shell object stays spawned until he runs into a [[wall]] or presses Z, which causes the shell to break. At this point, Mario sets a flag on the shell, and when the shell next updates, it unloads itself. Because a cloned shell does not update, it does not unload, allowing Mario to repeatedly ride and break a shell after cloning it.  
When Mario rides on a [[Koopa Shell]] or [[Shiny Shell]], although the latter is impossible to clone, the shell object stays spawned until he runs into a [[wall]] or presses Z, which causes the shell to break. At this point, Mario sets a flag on the shell, and when the shell next updates, it unloads itself. Because a cloned shell does not update, it does not unload, allowing Mario to repeatedly ride and break a shell after cloning it.  
=== Remote star collection ===
=== Remote star collection ===
Stars that spawn during the course of gameplay can be cloned. For example, this can be done with red coin stars, 100 coin stars, and stars contained in item boxes. Even if a star is spawned at the start of a level, it can still be cloned if that level contains a [[loading zone]], such as [[Board Bowser's Sub]] and [[Collect the Caps]] in [[Dire, Dire Docks]].
Stars that spawn during the course of gameplay can be cloned. For example, this can be done with red coin stars, 100 coin stars, and stars contained in item boxes. Even if a star is spawned at the start of a level, it can still be cloned if that level contains a [[loading zone]], such as [[Board Bowser's Sub]] and [[Collect the Caps...|Collect the Caps]] in [[Dire, Dire Docks]].
 
==Manipulating clones==
==Manipulating clones==
These are commonly used methods to get Mario to hold the correct [[object slot]] to clone a desired [[object]].
These are commonly used methods to get Mario to hold the correct [[object slot]] to clone a desired [[object]].
Line 66: Line 102:
*Load 5 coins: VS4=coin#4
*Load 5 coins: VS4=coin#4
===Top coin of a ring (AKA coin#3)===
===Top coin of a ring (AKA coin#3)===
*Open a [[cap block]]: (no effect)
*Open a [[Cap Block]]: (no effect)
*Grab fake cork box outside radius: box=VS2
*Grab fake cork box outside radius: box=VS2
*Unload [[Wing Cap]]: VS2=VS3
*Unload [[Wing Cap]]: VS2=VS3
*Load 8 coins: VS3=coin#3
*Load 8 coins: VS3=coin#3
(Used to collect [[secret]]s coinless)
(Used to collect [[secret]]s coinless)
===Bob-omb===
===Bob-omb===
*Explode a Bob-omb: (no effect)
*Explode a Bob-omb: (no effect)
Line 98: Line 135:
*Unload 2 coins: coin#2=VS1
*Unload 2 coins: coin#2=VS1
*Open [[Cap Block#Metal Cap|Metal Cap block]]: VS1=Metal Cap
*Open [[Cap Block#Metal Cap|Metal Cap block]]: VS1=Metal Cap
==Premature Cloning==
A '''premature clone''' is a cloned object that has some of its properties not fully loaded yet. This occurs on the first frame a nearby spawner spawns objects that can be cloned, and on that frame, the object would temporarily be placed at the origin of the course (0, 0, 0) while many of the properties are missing.
A clone of such an object mimics many of the same traits. Therefore, a premature clone would, if released, be placed at the origin of the course while missing some effects. For example, a coin released prematurely will not be collected while the object is released, unlike the standard steps of cloning a coin. Using this technique, Pannenkoek2012 could complete some stages without collecting any coins where it may seem inevitable, notably in [[Mario Wings to the Sky]].
==See also==
==See also==
*[[Premature clone|Premature Clone]]
*[[Premature clone|Premature Clone]]
Line 106: Line 149:
== References ==
== References ==
<references />
<references />
{{Glitches}}
17

edits