Skip to content

Instantly share code, notes, and snippets.

View ManicJamie's full-sized avatar

Jamie ManicJamie

  • Manchester, UK
  • 05:46 (UTC +01:00)
  • Twitch manicjamie
View GitHub Profile
@ManicJamie
ManicJamie / columns.md
Created January 27, 2024 00:02
Livesplit Columns explanation

(For completeness, a Split is the time between the start of a run and now, a Segment is the time between the previous split and the current split. A Gold is the fastest you have completed a segment).

The Splits layout element displays the name & icon of the split, followed by a series of columns displayed left to right. These columns can hold the following information:

  • Delta, a +/- comparison of your overall time at that split vs a comparison (empty if upcoming)
  • Split time, the time you reached a split. Shows your comparison's split time until you reach that split.
  • Delta or Split Time; upcoming splits show their Split Time until the running segment time is larger than your gold for that segment, at which point it switches to Delta
  • Segment Delta, a +/- comparison of the time taken within the segment vs a given comparison (empty if upcoming)
  • Segment Time, the time taken within a segment (comparison if upcoming)
  • Segment Delta or Segment Time; upcoming splits show their Segment Time until the runn
@ManicJamie
ManicJamie / regional.py
Created December 31, 2023 19:18
Regional.py
from speedruncompy import GetGameLeaderboard2, GetSearch, GetGameData
import json
game_id = "76rqmld8"
# Uncomment this area to get game by name
game_name = input("Enter game name:")
game = GetSearch(query=game_name, includeGames=True).perform()["gameList"][0]
game_id = game["id"]
@ManicJamie
ManicJamie / getTimes.py
Created September 23, 2023 18:35
GetTimes.py 2
from speedruncompy.endpoints import *
from speedruncompy.enums import obsoleteFilter
import csv
from datetime import date
game_id = "76rqmld8"
"""
# Uncomment this area to get game by name
game_name = input("Enter game name:")
@ManicJamie
ManicJamie / getTimes.py
Created August 26, 2023 00:51
SRC getTimes
import srcomapi
from srcomapi.datatypes import *
import csv
api = srcomapi.SpeedrunCom()
game_id = "76rqmld8"
game : Game = api.get_game(game_id)
"""
@ManicJamie
ManicJamie / srclevelsidebar.user.js
Last active July 26, 2023 23:43
srcHideLevelSidebar
// ==UserScript==
// @name Remove level in sidebar for HK
// @namespace Violentmonkey Scripts
// @match https://www.speedrun.com/*
// @grant none
// @version 1.0
// @author -
// @description HK only has 1 level category - remove this name from the sidebar
// ==/UserScript==
@ManicJamie
ManicJamie / srcverifier.user.js
Last active July 19, 2023 12:24
SRC auto-verify button for verifiers
// ==UserScript==
// @name SRC auto-verify for verifiers
// @namespace Violentmonkey Scripts
// @match *://www.speedrun.com/*/runs/*/edit
// @grant none
// @version 1.0
// @author -
// @description Add button to edit page for SRC verifiers for new layout as of 17/07/2023
// ==/UserScript==
@ManicJamie
ManicJamie / srcadjustments.user.js
Last active July 26, 2023 13:06
speedrun.com v3 site adjustments
// ==UserScript==
// @name SRC v3 adjustments
// @namespace Violentmonkey Scripts
// @match *://www.speedrun.com/*
// @grant GM_addStyle
// @version 1.1
// @author ManicJamie
// @description A gentle massage of the proportions of the new SRC layout as of 17/07/2023 to increase density
// @require https://cdn.jsdelivr.net/npm/@violentmonkey/dom@2
// ==/UserScript==