Skip to content

Instantly share code, notes, and snippets.

KatieFrogs / scorestorage-convert.js
Created Dec 6, 2021
taiko-web score string decoder and encoder
View scorestorage-convert.js
function scoreDecoder(scoreString){
var difficulty = ["oni", "ura", "hard", "normal", "easy"]
var scoreKeys = ["points", "good", "ok", "bad", "maxCombo", "drumroll"]
var crownValue = ["", "silver", "gold"]
var songAdded = false
var output = {title: null}
if(typeof scoreString === "string" && scoreString){
var diffArray = scoreString.split(";")
for(var i in difficulty){
KatieFrogs /
Last active Oct 18, 2021
Python script that opens files in vgmstream-web
#!/usr/bin/env python3
import os
import sys
import http.server
import urllib
import shutil
import posixpath
from functools import partial
from http import HTTPStatus
KatieFrogs /
Created Jul 29, 2021
.drp file extractor
#!/usr/bin/env python3
import os
import zlib
import struct
def extractFile(inputFile):
if type(inputFile) is str:
file = open(inputFile, "rb")
KatieFrogs /
Last active Jul 29, 2021
.nut texture extractor and encoder, based on Smash Forge code
#!/usr/bin/env python3
import os
import struct
class Dds:
class DdsFormat:
Rgba = 0
Dxt1 = 1
Dxt3 = 2
import os
import sys
import hashlib
import base64
import sqlite3
def md5(md5hash, filename):
with open(filename, "rb") as file:
for chunk in iter(lambda: * 1024), b""):
View songtitle.txt
en !!!Chaos Time!!!
-EDY- エレクトリカルダンシングヨガー
en -EDY- Electrical Dancing Yoga
en 365 Nichi No Kami-Hikouki
KatieFrogs /
Last active Jun 24, 2022
CollabVM Autopaste (beta)

CollabVM Autopaste

Firefox users: Enable this option in about:config

Press the paste button to paste the text or script in your clipboard into the VM.

This scripting language is made out of functions. The functions are all written inside {curly} braces.

The most basic is the {#} function, it should be always at the top of the script, otherwise whatever is in your clipboard gets pasted. You can log stuff between {log} and {logend} functions, like so: