Replay

Replays are a feature in Super Smash Bros. Brawl, Super Smash Bros. 4, and Super Smash Bros. Ultimate that allows players to record previously played matches and view them at a later time.
==Overview==
Replays were introduced with Brawl. When a match concludes, players can press the button, or the button on a lone Wii Remote, to save a replay onto either the Wii or an SD card. Replays can only be saved if the match lasted less than 3 minutes, Sudden Death included. The reason for this limit is unknown, as a number of hacks can remove this limit; even with such hacks, however, replays over 10 minutes do not function properly, as replays stop saving inputs beyond the 10 minute mark.
When saved, replays will be named rp_YYMMDD_hhmm.bin, where YY, MM, DD, hh and mm indicate the year, month, day, hours, and minutes, respectively, when the replay was saved. If saved onto an SD card, they will be stored inside app\RSBX\rp, where X is J, E, or P depending on the game's region. The number of replays that can be saved depends on the free space remaining on either the Wii or the SD card.
Replays returned for both versions of Smash 4, with players instead pressing on the third page of the results screen. The time limit for replays was expanded to about ten minutes, allowing for greater freedom in what replays can be saved. The 3DS version has a hard cap for how many replays can be saved of only 64. The Wii U version has a cap of 4,096 due to the naming scheme of the replays; replays use a 3 digit index and are named rd000.bin to rdfff.bin. Replays can no longer be saved if a match is aborted (i.e., on the No Contest screen). On the Wii U version, the option to upload replays to YouTube and Miiverse directly from the console was available. After connecting a YouTube account to the Wii U, the option to automatically upload will appear, and an unlimited amount of replays can be uploaded. This was recommended, as all previously saved replays would no longer be viewable after an update due to technical complications. This feature was disabled on November 8th, 2017 after the shutdown of Miiverse.
Replays returned in Ultimate, with players again pressing on the third page of the results screen. A new feature is that these replays can be converted to videos, which can be altered in the Video Editor into a completely different video. This conversion is recommended, as once again all previously saved replays would no longer be viewable after an update due to technical complications. These videos can then be uploaded to Shared Content and Smash World, as well as the option to transfer the video files to other devices through the Micro SD card the video is saved on. Another new feature is the ability to go through the replay frame by frame. The primary purpose of this feature is to observe moments that either happen on a specific frame or are too quick to notice at normal speed.
==Data==
Contrary to what may be expected, a replay is not saved as a video recording of the match. Instead, each human player's input data, the match's , and the general rules are saved, so when a replay is watched, the game actually regenerates the match from this data. This makes replays much smaller in file size than a video file, and it also allows for pausing and camera movement during the replay. A side effect of this method, however, is that replays in earlier versions of SSB4 and Ultimate may become desynced due to gameplay changes introduced in the latest update. As there is no way for the current model to combat this, all replays saved before the update will simply become unviewable.
Replays do not save the players'/amiibos' names, but this can be changed with some hacksSmash World Forums topic with the code that saves player's names. For online battles, the game saves each player's server number and client number. A player will always see themselves as player 1 on their own screen (client), but that may not be true for the server. In saved replays, each player's color and the numbers above the characters' heads indicate the client numbers (the ones that were seen on the screen of the one who saved the replay), whereas the order in which the character portraits appear on the bottom indicate the server numbers.
While playing with default settings or online in With Anyone mode, the characters' scores will not appear on the screen. However, when battles are saved as replays, the replays will show the score numbers above the characters' icons as if playing with the Score Display setting turned on.
Replays do not save the input data from CPU players; instead, each CPU player simply replays the match from scratch, which due to the AI's actions being influenced by RNG, results in them reacting to everything the exact same way as long as the RNG seed is the same. The discovery of this discredited a rumor that the AI was capable of learning, as if this were possible, any replay involving CPUs would desync without having stored each CPU's "learning state".
Taunt messages are not shown in replays.
The transition to the victory screen and the victory pose shown can be different from what was shown in the original match.
==Sharing replays==
===In Super Smash Bros. Brawl===
Alongside custom stages and snapshots, players could potentially send replay data to other players they had registered as Friends on their Wii. Players were allotted 20 points per day to send Vault data with, with larger items requiring more points.
As replay data could be saved to SD cards, it was also possible to share replays with others by transferring the data onto another console.
====Smash Service====
Prior to June 30, 2009, players could send their Brawl replays to be used for the Smash Service; after June 30, no more replays, custom stages, or screenshots would be accepted, and one month later, on August 1, replay data was no longer being sent. Replays used for Smash Service were all from Stadium mode, especially Home-Run Contest and Target Smash!!, due to their shorter length and file size.
===In Super Smash Bros. 4===
====Share Mode====
In both versions of Super Smash Bros. 4, Share mode allows players to upload replays to the official servers. Shared replays can be made visible to the public or only to users on the player's Friend List. Viewers can also download shared replays to their own console. As with other shared data, replays will be deleted from the server after 30 days.
====YouTube====
In from version 1.1.0 onward, players could choose to upload their replays to YouTube. This could only be done with replays of less than about 3 minutes and 14 seconds in length. The replay would be played back for recording before the upload began; if the player manipulated the camera during playback, the resulting YouTube video would be affected accordingly.
The player could enter a title for their YouTube video, while the description field on the site was automatically populated with the game mode, stage and characters used. The video was uploaded with a resolution of 720p. The current game version number was displayed at the beginning of the video.
The player would also have to make a post with a comment or drawing of their choice. This post would appear in the Replay Viewing Community, with the video embedded.
Beginning in version 1.1.1, players could upload an automatically edited "highlight" version of a replay instead of a full length version, similar to the videos in . The highlight function reduced a replay to a series of short clips totaling between 30 and 60 seconds, regardless of the original length. It generally favored showing KOs from high-knockback moves, and also tended to include Final Smashes even if they do not KO. The first and last few seconds of the match were always included, though the starting countdown was omitted. Using this function on the same replay multiple time could result in different highlights being selected.
As of November 8, 2017, replays and highlight reels can no longer be uploaded to YouTube due to the discontinuation of the Miiverse service.
===In Super Smash Bros. Ultimate===
Starting with update 3.0.0, players can upload their replays and videos to Shared Content. Players can watch and download replays and videos made by others.
====Video rendering====
In Ultimate, replays can also be converted to video files, which are saved to the Nintendo Switch system's SD card under Nintendo/Album/Extra. Nintendo officially recommends converting replays to videos, as they cannot guarantee replays made before the latest update will function properly. These videos can then be uploaded to Shared Content and the Smash World mobile app. Rendered videos can also be transferred to a PC and manually uploaded to a site of the uploader's choice. When converting a replay, the user can choose whether to hide display elements like the damage meters, whether to mute the background music and/or sound effects, and whether to use high or normal video quality. The maximum video/replay duration is likely 15-? minutes. The only time a replay won't be allowed to be saved after a match is when a glitch is used to make irregular movement, causing false movement calculations (such as when the player uses the frame by frame option) or if the match is terminated early.
The format for both of these exports are always MP4s at 1280x738+60FPS (1280x720 display) while using the video codec H264 - MPEG-4 AVC (part 10) (avc1), decoded as Planar 4:2:0 YUV and languages are dependent on game language.
The audio sample rate is 48000Hz while using Stereo audio channels, the codec for audio is always MPEG AAC Audio (mp4a) and languages are dependent on game language. Files are organized in the Extra folder are organized similarly to the Nintendo Switch's Album directory, where the first folder is C6D726972790F87F6521C61FBA400A1DX, a unique ID for the replay exports from the game, second folder is YY (year), the next folder is MM (month) and the final folder is YY (year), having the file named like: YYMMDD-TIMEOFSTART?-C6D726972790F87F6521C61FBA400A1DX with the MP4 extension.
If the SD Card is low on space, the record pause screen will have a message saying "Remaining amount of time allowed for recording MM:SS", where MM is minutes and SS is seconds.
==Issues==
Because replays record inputs rather than a video of the match, it is possible for replay contents to differ from the original match when played back.
If a character or other element is loaded during a match faster than expected (such as because of pausing or online lag), then the replay of that match will "freeze" and finish loading the element before it can continue.
A common error noted in replays mostly experienced in Brawl is that they may "desync" over time; the effects vary, though among the most common are actions occurring that did not previously occur, excessive lag followed by significantly increased playback speed, and the replay abruptly ending. With the , particularly unusual effects can occur, such as him sending out a Pokémon which never loads or leaves the revival platform. Replays of Wi-Fi matches are more likely to desync than local matches due to the frequent lag experienced in games, but local replays can also be subject to the problem. The cause of "desyncs" is unknown, though it is speculated it has to do with save data of replays becoming corrupted by some outside factor. In addition, it is possible for a replay that plays fine to randomly desynchronize when played again, and after some tries, play correctly again. Some Special Smash modifiers can also be responsible for desyncs, as some modifiers like Curry and Speed directly affect the speeds of characters and other actions.
Gameplay mods can also cause desyncs to occur, as many mods modify the characteristics of combatants, thus preventing the saved match from properly running. For similar reasons, Smash 4 warns players after they save their first replay that updates to the game can potentially cause replays from older revisions of the game to no longer function; furthermore, all updates that adjust game balance prevent the playing of older replays and provide an option to mass-delete them. Ultimate followed this example initially, but recent patches have addressed this issue by retaining old patch data, so older replays no longer desync and do not need to be deleted. This change is known to have existed since Update 6.1.0.
When uploading a replay to YouTube, there is a small chance that, at some point during the process of converting the replay into a video, the music will suddenly stop playing for a few seconds. If this happens, the game will erroneously state that the post was cancelled. Additionally, posting the video disables the ability to post screenshots on Miiverse or take screenshots using the Wii U's Image Share feature. In order to post screenshots online again, players have to restart the game.
==Names in other languages==
==Trivia==
*A very rare bug causes saved replays to have idiosyncratic values in its timestamp, such as 781/88/2008 280:-480.
*A rare bug in the 3DS version results in not being listed with a character head icon correctly; it is unclear what causes this, but it may be related to the difference in his default alternate costume between Asian and international versions.
*In , when organizing replays "By Stage", Mario Galaxy replays may be located after Delfino Plaza replays, despite Mario Galaxy being before Delfino Plaza on the stage selection screen.
*Ultimates Video menu has a hidden sorting menu. Aside from being hidden, it is similar to the sorting option menus in other menus in the game (including the Replay Data menu). The likely reason for it being hidden is due to it only having one option: By Date.
==External links==
===Synchronization glitches===
* http://www.youtube.com/watch?v=WmpZ933K6rA
* http://www.youtube.com/watch?v=iLv9d2tRUuo
* http://www.youtube.com/watch?v=HDWGi3PmrsA
* http://www.youtube.com/watch?v=ZO7RsByZtYY
==References==
Category:Modes (SSBB)
Category:Modes (SSB4)
Category:Modes (SSBU)
Category:Features