Difference between revisions of "Replay ID"

From Break The Targets Wiki
Jump to: navigation, search
(Spectating a Replay ID)
(Discord Direct Spectating (Windows))
Line 37: Line 37:
  
 
# Modify carefully '''(keep the double slash \\ !)''' the last line accordingly to the game executable path.
 
# Modify carefully '''(keep the double slash \\ !)''' the last line accordingly to the game executable path.
 +
( For Steam it can be something like '''C:\\SteamLibrary\\steamapps\\common\\Break The Targets\\BreakTheTargets.exe''' )
 
# Save the file
 
# Save the file
 
# Double clic on it, it should add the new entries on windows register.
 
# Double clic on it, it should add the new entries on windows register.

Revision as of 21:59, 22 May 2018

When submitting a new score on a leaderboard, the player obtain a unique replay ID which can be shared to others players.

Example of a replay ID:

REP35ab419f1c8844

Sharing a Replay ID

Spectating a Replay ID

replay.png

Discord Direct Spectating (Windows)

You can have the game to start and spectate a replay just by clicking a special link on Discord (or anywhere else).

btt://replay=REP35ab419f1c8844

However, you need to tell windows to handle these special links but don't worry, the procedure is easy:

  1. Create a new file with the .reg extension (exemple: filename.reg)
  1. add these lines in the new created file using a text editor:
REGEDIT4

[HKEY_CLASSES_ROOT\BTT]
@="URL:BTT Protocol"
"URL Protocol"=""

[HKEY_CLASSES_ROOT\BTT\shell]

[HKEY_CLASSES_ROOT\BTT\shell\open]

[HKEY_CLASSES_ROOT\BTT\shell\open\command]
@="\"C:\\Users\\USERNAME\\Desktop\\BreakTheTargets\\BreakTheTargets.exe\" \"%1\""
  1. Modify carefully (keep the double slash \\ !) the last line accordingly to the game executable path.

( For Steam it can be something like C:\\SteamLibrary\\steamapps\\common\\Break The Targets\\BreakTheTargets.exe )

  1. Save the file
  2. Double clic on it, it should add the new entries on windows register.

To know if the procedure was successfull, you can clic on the following link, it should open the game and spectate this amazing replay!

BTT://replay=REP35ab419f1c8844

This has only been tested on Windows 7