Editing Smash Stack

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
Warning You aren't logged in. While it's not a requirement to create an account, doing so makes it a lot easier to keep track of your edits and a lot harder to confuse you with someone else. If you edit without being logged in, your IP address will be recorded in the page's edit history.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
{{ArticleIcons|ssbb=y}}
{{ArticleIcons|ssbb=y}}
[[File:SmashStackLogo.png|thumb|The Smash Stack's logo on WiiBrew.]]
'''Smash Stack''' is the name for the exploit that allows one to use ''[[Super Smash Bros. Brawl]]''{{'}}s [[Stage Builder]] to modify otherwise-protected system memory, allowing the usage of [[hack]]s without specialized hardware.
'''Smash Stack''' is the name for an exploit that allows the use of ''[[Super Smash Bros. Brawl]]''{{'}}s [[Stage Builder]] to modify otherwise-protected system memory, allowing the usage of [[hack]]s without specialized hardware. In the hacking community of ''Brawl'', the Smash Stack's primary use is to run [[mod]]s or [[file replacement]] hacks for the game, such as ''[[Project M]]''; this exploit, however, has considerable usage beyond ''Brawl'' hacking, and it can be used to permanently install mods to the Wii, such as [http://wiibrew.org/wiki/The_Homebrew_Channel The Homebrew Channel], or modify the firmware of the Wii itself, such as in the case of [http://wiibrew.org/wiki/BootMii BootMii].


Discovered in 2009, the Smash Stack notably works with [[List_of_regional_version_differences_(SSBB)|all versions]] of ''Brawl'', as well as on all Wii firmwares.
The name of the exploit implies its function. By getting the [[Wii]] to load a custom stage file that's bigger than the block of memory reserved to hold it, due to the code not checking to see whether the stage file is too large, a [[wikipedia:stack smash|stack smash]] occurs. Due to the way the exploit works, the subject stage file must be the only custom stage on both the SD card and on the Wii itself (including the default ones and any daily downloads), or the game will likely freeze as it tries to load the stages. Once the game is quit or the console is turned off, all traces of the hack disappear, though the method can be used to install things such as the Homebrew Channel.


==Operation==
Unlike most other Wii hacks involving stack smashes, which tend to involve editing save file data to accomplish a similar effect, the Smash Stack is entirely self-contained within ''Brawl'' as it is running. As a result it is not possible for Nintendo to inform Wiis what such a file looks like and delete it if detected, due to the process occuring outside the console's control. This renders the hack particularily resilient compared to the Twilight Hack (involving ''The Legend of Zelda: Twilight Princess''), which was the other major avenue of hacking Wiis via in-game exploits before it was eventually defeated permanently, and is strong enough that even a [[Wii U]] running in Wii mode is vulnerable to it (though this doesn't allow hacking of the Wii U itself, only the Wii part). As a result of its unpatchability, simplicity, and presence in a popular game, the Smash Stack is one of the most common ways of hacking or modding a Wii, and the method is supported by all major ''Brawl'' mods for players who do not wish to make any permanent changes to their console.
The Smash Stack works by exploiting an oversight in ''Brawl's'' programming. The file used for the exploit is disguised as a custom stage file, which is then read by ''Brawl'' when the Stage Builder is opened. By default, a certain amount of memory is reserved to load the file; ''Brawl's'' coding, however, does not actually check to ensure the file is smaller than this amount of memory, and as a result, the exploit file, designed to be larger than this block of memory, causes a {{s|wikipedia|stack smash}} when it is actually read. The console is then forced to restart as a result of this stack smash, but as it does so, it will read boot files from the SD card instead of the console itself. These boot files, in turn, then run modified code that can be used to run a variety of different applications after the reboot. Once the loaded hack is quit or the console is turned off, all traces of the hack's use vanish from the console, barring any modifications to the console performed by the hack itself.


Due to the way the exploit works, the exploit file must be the only custom stage on both the SD card and on the Wii itself, including the [[sample stages]] and any stages from the [[Smash Service]], or the game will likely freeze as it tries to load the stages. Furthermore, as the file is disguised as a custom stage file, it will still be read by the game while selecting a regular stage for versus battles; as the exploit is not intended to be run via this route, the game will instead [[game crash|freeze]] when it attempts to load the data. As such, hacks that run on top of ''Brawl'' via the Smash Stack require extra coding to prevent the game from reading custom stages.
==Video==
<youtube>e34rKsHYU84</youtube>


Unlike most other Wii hacks involving stack smashes, which tend to involve editing save file data to accomplish a similar effect, the Smash Stack is entirely self-contained within ''Brawl'' as it is running. As a result, it is not possible for Nintendo to inform Wiis what such a file looks like and delete it if detected, due to the process occurring outside the console's control. This renders the hack particularly resilient compared to the previous [http://www.wiibrew.org/wiki/Twilight_Hack Twilight Hack] (involving ''{{S|zeldawiki|The Legend of Zelda: Twilight Princess}}''), a former major avenue of hacking Wiis via in-game exploits before it was eventually defeated via a system update. The Smash Stack can even be run on a [[Wii U]] running in Wii mode, though this does not allow hacking of the Wii U itself.
==External links==
[http://wiibrew.org/wiki/Smash_Stack Smash Stack on WiiBrew]


As a result of its unpatchability, simplicity, and presence in a popular game, the Smash Stack is one of the most common ways of hacking or modding a Wii, and the method is supported by all major ''Brawl'' mods for players who do not wish to make any permanent changes to their console. It can even be argued that the exploit is one of the biggest reasons that the hacking and modding community, for both ''Brawl'' and other Wii games such as ''{{S|mariowiki|Mario Kart Wii}}'', reached a level of popularity and sophistication that was previously unheard of for consoles.
==External links==
*[http://wiibrew.org/wiki/Smash_Stack Smash Stack on WiiBrew]
*[https://www.youtube.com/watch?v=e34rKsHYU84 A video tutorial on the Smash Stack]
[[Category:Hacking]]
[[Category:Hacking]]

Please note that all contributions to SmashWiki are considered to be released under the Attribution-ShareAlike 3.0 Unported license (see SmashWiki:Copyrights for details). Your changes will be visible immediately. Please enter a summary of your changes above.

Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Templates used on this page: