Skip to content

Instantly share code, notes, and snippets.

@catalyst518
catalyst518 / teamportals.js
Created October 30, 2021 05:02
Generate team portals from portal.png
const basePath = "D:\\Documents\\TagPro\\textures";
const fs = require("fs");
const path = require("path");
const PNG = require("pngjs").PNG;
for (const name of fs.readdirSync(basePath)) {
const texturePath = path.join(basePath, name, "portal.png");
if (!fs.existsSync(texturePath)) {
// ==UserScript==
// @name Speedrun Settings
// @author Catalyst
// @match *://*.koalabeast.com/groups/*
// @description Enables toggling of speedrun game settings
// @grant GM_getValue
// @grant GM_setValue
// @grant GM_deleteValue
// @updateURL https://gist.github.com/catalyst518/7553c2f531ab944ac641a1d753ad66f9/raw/Speedrun-Settings.user.js
// @downloadURL https://gist.github.com/catalyst518/7553c2f531ab944ac641a1d753ad66f9/raw/Speedrun-Settings.user.js
// ==UserScript==
// @name TPM Override
// @author Catalyst
// @match *://*.tpm.gg/Match*
// @description Saves time for TPM mods
// @updateURL https://gist.github.com/catalyst518/03224de621e9acb5c4429474c89c81f9/raw/TPM-Override.user.js
// @downloadURL https://gist.github.com/catalyst518/03224de621e9acb5c4429474c89c81f9/raw/TPM-Override.user.js
// @version 1.0
// ==/UserScript==
// ==UserScript==
// @name Tagpro Transparent Canvas and Random Background and Header
// @author NewCompte, Catalyst
// @match *://*.koalabeast.com/game*
// @include https://tagpro.koalabeast.com/*
// @grant GM_addStyle
// ==/UserScript==
var url_list=["https://i.imgur.com/RP4nVwp.png","https://i.imgur.com/ChBdTUc.jpg","https://i.imgur.com/BA3URLX.jpg","https://i.imgur.com/BtuOoZJ.jpeg","https://i.imgur.com/NSxMWfP.jpeg"];
var url=url_list[Math.floor(Math.random()*url_list.length)];
// ==UserScript==
// @name Tagpro Transparent Canvas and Background and Header
// @author NewCompte, Catalyst
// @match *://*.koalabeast.com/game*
// @include https://tagpro.koalabeast.com/*
// @grant GM_addStyle
// ==/UserScript==
var url="https://i.imgur.com/RP4nVwp.png";
{
"AABO": ["cxBt10Z", "cxBt10Z", 1, 1, 1, 1],
"BABO": ["cxBt10Z", "cxBt10Z", 1, 1, 1, 1],
"ABOP": ["ihyvi3U", "SGVoLVx", 1, 1, 1, 1],
"BBOP": ["ihyvi3U", "SGVoLVx", 1, 1, 1, 1],
"ABOY": ["mRSQZam", "mRSQZam", 1, 1, 1, 1],
"BBOY": ["mRSQZam", "mRSQZam", 1, 1, 1, 1],
"ABPD": ["mff809V", "mff809V", 1, 1, 1, 1],
"BBPD": ["mff809V", "mff809V", 1, 1, 1, 1],
"ACCH": ["oQUblH9", "HPow1Xg", 0, 0, 1, 1],
// ==UserScript==
// @name TPM
// @author Catalyst
// @match *://*.tpm.gg
// @description Saves a click for TPM
// @updateURL https://gist.github.com/catalyst518/eff40f011a581d1fff980de0691370ac/raw/TPM.user.js
// @downloadURL https://gist.github.com/catalyst518/eff40f011a581d1fff980de0691370ac/raw/TPM.user.js
// @version 2.1
// ==/UserScript==
@catalyst518
catalyst518 / TagPro-Hold-Timer.user.js
Last active March 12, 2021 03:48
TagPro Hold Timer
// ==UserScript==
// @name TagPro Hold Timer
// @version 1.2
// @description Print the time of the most recent hold in neutral flag
// @author Catalyst
// @include http://*.koalabeast.com:*
// @include http://*.jukejuice.com:*
// @include http://*.newcompte.fr:*
// @include https://*.koalabeast.com/game
// @include https://*.koalabeast.com/game?*
@catalyst518
catalyst518 / BracketAppearances.svg
Last active October 3, 2020 20:36
TPMasters on TPL
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
// ==UserScript==
// @name XLTP Settings
// @author Catalyst
// @match *://*.koalabeast.com/groups/*
// @description Enables toggling of XLTP match settings
// @grant GM_getValue
// @grant GM_setValue
// @grant GM_deleteValue
// @updateURL https://gist.github.com/catalyst518/55ea6890e01b0ab97dfd578ca2f4e305/raw/XLTP-Settings.user.js
// @downloadURL https://gist.github.com/catalyst518/55ea6890e01b0ab97dfd578ca2f4e305/raw/XLTP-Settings.user.js