From 72765f23b858b3ae95a566099c37c5a394fb3d9c Mon Sep 17 00:00:00 2001 From: BlueZTV <56860375+BlueZTV@users.noreply.github.com> Date: Sun, 28 Apr 2024 00:26:37 +0800 Subject: [PATCH 1/8] Create 76.md --- 76.md | 66 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 76.md diff --git a/76.md b/76.md new file mode 100644 index 00000000..2e8b186d --- /dev/null +++ b/76.md @@ -0,0 +1,66 @@ +NIP-76 +====== + +Speedrunning Leaderboard Entry +------------------ + +`draft` `optional` + +This NIP defines event kind `7602` as an entry towards a Game's speedrunning leaderboard, specified via a `d` tag, e.g. a game's Steam App ID. +Each game's leaderboard has optional Categories, Variations, Platform, Level, Region and Versions to create alternate leaderboards for one game. + +```jsonc +{ + "kind": 7602, + "d", "", //E.g. Among Us' Steam App ID is 945360 + "tags": [ + ["c", "", ], //E.g. A%G (Any% Glitchless), AlAc (All Achievements) + ["v", "", ], //E.g. for Celeste AnyP (Any%), ARB (All Red berries), TE (True Ending) etc. + ["p", ""], //E.g. N64, EMU + ["reg", "<3 Letter ISO Country Code>"], //E.g. JPN, AUS + ["lvl", ""], //E.g. FG, W1L1, F3OS + ["rlt", "", ""], //Real Life Time, subtract Start from Stop to get actual time + ["igt", "", ""] //In Game Time + ], + "proof": "", + "created_at": "", + "pubkey": "", + "sig": "" +} +``` +Tags can be entered multiple times if required such as a game having multiple varieties under one category, e.g. Pizza Tower Full Game Any% has Playable Character and Glitches? varieties. + +An example of a potential Super Mario 64 120 Star N64 run submission. +```jsonc +{ + "kind": 7602, + "d", "SM64", + "tags": [ + ["c", "120S", "120 Star"], + ["p", "N64"], + ["reg", "JPN"], + ["rlt", "1587370820", "1587376601"], + ], + "proof": "https://www.twitch.tv/videos/2034126985", + "created_at": "1714228879", + "pubkey": "1a6ea253df444f434417bdcaf9d4aef75f00921965e1afd836da0ae9cd1a0e074cb3490bb4cc26ead75af", + "sig": "076b3405407f26b87ff9333fa336c1c6fbdfc27f2f" +} +``` + +## Reporting a submission + +[NIP-56](56.md) reports should be used to report runs. + +```jsonc +{ + "kind": 1984, + "tags": [ + ["e", , "doubt"], + ["p", ] + ], + "content": "", + ... +} +``` +Clients can decide whether or not to display a run based on the number of reports. From a62433bd95fa300152e20bab9fcfd12bf2ca8b38 Mon Sep 17 00:00:00 2001 From: BlueZTV <56860375+BlueZTV@users.noreply.github.com> Date: Sun, 28 Apr 2024 00:41:59 +0800 Subject: [PATCH 2/8] Update 76.md --- 76.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/76.md b/76.md index 2e8b186d..905cb14d 100644 --- a/76.md +++ b/76.md @@ -12,7 +12,7 @@ Each game's leaderboard has optional Categories, Variations, Platform, Level, Re ```jsonc { "kind": 7602, - "d", "", //E.g. Among Us' Steam App ID is 945360 + "d", "", //E.g. Among Us' Steam App ID is 945360 "tags": [ ["c", "", ], //E.g. A%G (Any% Glitchless), AlAc (All Achievements) ["v", "", ], //E.g. for Celeste AnyP (Any%), ARB (All Red berries), TE (True Ending) etc. From 559efd5c75a1b6fc23b86328ce83c59f79506b21 Mon Sep 17 00:00:00 2001 From: BlueZTV <56860375+BlueZTV@users.noreply.github.com> Date: Sun, 28 Apr 2024 00:50:34 +0800 Subject: [PATCH 3/8] Update 76.md --- 76.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/76.md b/76.md index 905cb14d..fa5a7ff0 100644 --- a/76.md +++ b/76.md @@ -6,8 +6,8 @@ Speedrunning Leaderboard Entry `draft` `optional` -This NIP defines event kind `7602` as an entry towards a Game's speedrunning leaderboard, specified via a `d` tag, e.g. a game's Steam App ID. -Each game's leaderboard has optional Categories, Variations, Platform, Level, Region and Versions to create alternate leaderboards for one game. +This NIP defines event kind `7602` as a submission to a game's speedrunning leaderboard, specified via a unique `d` tag, e.g. a game's Steam App ID. +Each game's leaderboard has optional Categories, Variations, Platform, Level, Region and Versions tags to allow for the creation of alternate sub-leaderboards under one game. ```jsonc { @@ -19,6 +19,7 @@ Each game's leaderboard has optional Categories, Variations, Platform, Level, Re ["p", ""], //E.g. N64, EMU ["reg", "<3 Letter ISO Country Code>"], //E.g. JPN, AUS ["lvl", ""], //E.g. FG, W1L1, F3OS + ["ver", ""], //Version the submission is ran on e.g. 1.4.0.0 ["rlt", "", ""], //Real Life Time, subtract Start from Stop to get actual time ["igt", "", ""] //In Game Time ], From 04b5fd99edc8064c61f2e135c0c92fdc95c97dc1 Mon Sep 17 00:00:00 2001 From: BlueZTV <56860375+BlueZTV@users.noreply.github.com> Date: Sun, 28 Apr 2024 01:11:19 +0800 Subject: [PATCH 4/8] Update 76.md --- 76.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/76.md b/76.md index fa5a7ff0..1aeddffa 100644 --- a/76.md +++ b/76.md @@ -7,7 +7,7 @@ Speedrunning Leaderboard Entry `draft` `optional` This NIP defines event kind `7602` as a submission to a game's speedrunning leaderboard, specified via a unique `d` tag, e.g. a game's Steam App ID. -Each game's leaderboard has optional Categories, Variations, Platform, Level, Region and Versions tags to allow for the creation of alternate sub-leaderboards under one game. +Each game's leaderboard has optional Categories, Variations, Platform, Level, Region and Version tags to allow for the creation of alternate sub-leaderboards under one game. ```jsonc { @@ -16,12 +16,12 @@ Each game's leaderboard has optional Categories, Variations, Platform, Level, Re "tags": [ ["c", "", ], //E.g. A%G (Any% Glitchless), AlAc (All Achievements) ["v", "", ], //E.g. for Celeste AnyP (Any%), ARB (All Red berries), TE (True Ending) etc. - ["p", ""], //E.g. N64, EMU + ["plt", ""], //E.g. N64, EMU ["reg", "<3 Letter ISO Country Code>"], //E.g. JPN, AUS ["lvl", ""], //E.g. FG, W1L1, F3OS ["ver", ""], //Version the submission is ran on e.g. 1.4.0.0 ["rlt", "", ""], //Real Life Time, subtract Start from Stop to get actual time - ["igt", "", ""] //In Game Time + ["igt", "", ""] //In-Game Time ], "proof": "", "created_at": "", @@ -29,7 +29,7 @@ Each game's leaderboard has optional Categories, Variations, Platform, Level, Re "sig": "" } ``` -Tags can be entered multiple times if required such as a game having multiple varieties under one category, e.g. Pizza Tower Full Game Any% has Playable Character and Glitches? varieties. +Tags can be entered multiple times if required, such as a game having multiple varieties under one category. E.g. Pizza Tower Full Game Any% has Playable Character and Glitches? varieties. An example of a potential Super Mario 64 120 Star N64 run submission. ```jsonc @@ -38,7 +38,7 @@ An example of a potential Super Mario 64 120 Star N64 run submission. "d", "SM64", "tags": [ ["c", "120S", "120 Star"], - ["p", "N64"], + ["plt", "N64"], ["reg", "JPN"], ["rlt", "1587370820", "1587376601"], ], From 03a9246b990b2fae7d5d8e8bf174194516688990 Mon Sep 17 00:00:00 2001 From: BlueZTV <56860375+BlueZTV@users.noreply.github.com> Date: Sun, 28 Apr 2024 18:33:20 +0800 Subject: [PATCH 5/8] Moved proof to tags --- 76.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/76.md b/76.md index 1aeddffa..aa57d096 100644 --- a/76.md +++ b/76.md @@ -21,9 +21,9 @@ Each game's leaderboard has optional Categories, Variations, Platform, Level, Re ["lvl", ""], //E.g. FG, W1L1, F3OS ["ver", ""], //Version the submission is ran on e.g. 1.4.0.0 ["rlt", "", ""], //Real Life Time, subtract Start from Stop to get actual time - ["igt", "", ""] //In-Game Time + ["igt", "", ""], //In-Game Time + ["proof": ""] ], - "proof": "", "created_at": "", "pubkey": "", "sig": "" @@ -41,8 +41,8 @@ An example of a potential Super Mario 64 120 Star N64 run submission. ["plt", "N64"], ["reg", "JPN"], ["rlt", "1587370820", "1587376601"], + ["proof": "https://www.twitch.tv/videos/2034126985"] ], - "proof": "https://www.twitch.tv/videos/2034126985", "created_at": "1714228879", "pubkey": "1a6ea253df444f434417bdcaf9d4aef75f00921965e1afd836da0ae9cd1a0e074cb3490bb4cc26ead75af", "sig": "076b3405407f26b87ff9333fa336c1c6fbdfc27f2f" From 6093a08901887c0ec3177bcd52a2e6a274b4e51b Mon Sep 17 00:00:00 2001 From: BlueZTV <56860375+BlueZTV@users.noreply.github.com> Date: Sun, 28 Apr 2024 19:06:29 +0800 Subject: [PATCH 6/8] Moved d to tags --- 76.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/76.md b/76.md index aa57d096..6be172eb 100644 --- a/76.md +++ b/76.md @@ -12,8 +12,8 @@ Each game's leaderboard has optional Categories, Variations, Platform, Level, Re ```jsonc { "kind": 7602, - "d", "", //E.g. Among Us' Steam App ID is 945360 "tags": [ + ["d", ""], //E.g. Among Us' Steam App ID is 945360 ["c", "", ], //E.g. A%G (Any% Glitchless), AlAc (All Achievements) ["v", "", ], //E.g. for Celeste AnyP (Any%), ARB (All Red berries), TE (True Ending) etc. ["plt", ""], //E.g. N64, EMU @@ -35,8 +35,8 @@ An example of a potential Super Mario 64 120 Star N64 run submission. ```jsonc { "kind": 7602, - "d", "SM64", "tags": [ + ["d", "SM64"], ["c", "120S", "120 Star"], ["plt", "N64"], ["reg", "JPN"], From 81ed1f0bc32f37279dfb5c435c5583ad998322ea Mon Sep 17 00:00:00 2001 From: BlueZTV <56860375+BlueZTV@users.noreply.github.com> Date: Fri, 3 May 2024 13:40:42 +0800 Subject: [PATCH 7/8] Added Run Description Wanted it to feel a bit more like a forum, fixed minor placement inconsistency. --- 76.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/76.md b/76.md index 6be172eb..db277c7e 100644 --- a/76.md +++ b/76.md @@ -22,8 +22,9 @@ Each game's leaderboard has optional Categories, Variations, Platform, Level, Re ["ver", ""], //Version the submission is ran on e.g. 1.4.0.0 ["rlt", "", ""], //Real Life Time, subtract Start from Stop to get actual time ["igt", "", ""], //In-Game Time - ["proof": ""] + ["proof": ""] //e.g. Twitch Vod, replay file ], + "content": "", //User written comment about run if desired "created_at": "", "pubkey": "", "sig": "" @@ -43,6 +44,7 @@ An example of a potential Super Mario 64 120 Star N64 run submission. ["rlt", "1587370820", "1587376601"], ["proof": "https://www.twitch.tv/videos/2034126985"] ], + "content": "WR run", "created_at": "1714228879", "pubkey": "1a6ea253df444f434417bdcaf9d4aef75f00921965e1afd836da0ae9cd1a0e074cb3490bb4cc26ead75af", "sig": "076b3405407f26b87ff9333fa336c1c6fbdfc27f2f" From 03852ba0ccc9f64ccd77fd7370586a97e92ed811 Mon Sep 17 00:00:00 2001 From: BlueZTV <56860375+BlueZTV@users.noreply.github.com> Date: Mon, 20 May 2024 20:49:56 +0800 Subject: [PATCH 8/8] Changed tags, fixed syntax mistake and removed items. --- 76.md | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/76.md b/76.md index db277c7e..4912675f 100644 --- a/76.md +++ b/76.md @@ -6,14 +6,14 @@ Speedrunning Leaderboard Entry `draft` `optional` -This NIP defines event kind `7602` as a submission to a game's speedrunning leaderboard, specified via a unique `d` tag, e.g. a game's Steam App ID. +This NIP defines event kind `7602` as a submission to a game's speedrunning leaderboard, specified via a unique `g` tag. Each game's leaderboard has optional Categories, Variations, Platform, Level, Region and Version tags to allow for the creation of alternate sub-leaderboards under one game. ```jsonc { "kind": 7602, "tags": [ - ["d", ""], //E.g. Among Us' Steam App ID is 945360 + ["g", ""], ["c", "", ], //E.g. A%G (Any% Glitchless), AlAc (All Achievements) ["v", "", ], //E.g. for Celeste AnyP (Any%), ARB (All Red berries), TE (True Ending) etc. ["plt", ""], //E.g. N64, EMU @@ -22,12 +22,9 @@ Each game's leaderboard has optional Categories, Variations, Platform, Level, Re ["ver", ""], //Version the submission is ran on e.g. 1.4.0.0 ["rlt", "", ""], //Real Life Time, subtract Start from Stop to get actual time ["igt", "", ""], //In-Game Time - ["proof": ""] //e.g. Twitch Vod, replay file + ["proof", ""] //e.g. Twitch Vod, replay file ], - "content": "", //User written comment about run if desired - "created_at": "", - "pubkey": "", - "sig": "" + "content": "" //User written comment about run if desired } ``` Tags can be entered multiple times if required, such as a game having multiple varieties under one category. E.g. Pizza Tower Full Game Any% has Playable Character and Glitches? varieties. @@ -37,12 +34,12 @@ An example of a potential Super Mario 64 120 Star N64 run submission. { "kind": 7602, "tags": [ - ["d", "SM64"], + ["g", "SM64"], ["c", "120S", "120 Star"], ["plt", "N64"], ["reg", "JPN"], ["rlt", "1587370820", "1587376601"], - ["proof": "https://www.twitch.tv/videos/2034126985"] + ["proof", "https://www.twitch.tv/videos/2034126985"] ], "content": "WR run", "created_at": "1714228879",