Skip to content

Instantly share code, notes, and snippets.

View scarletcafe's full-sized avatar
🎯
Focusing

Devon R scarletcafe

🎯
Focusing
View GitHub Profile
@scarletcafe
scarletcafe / explanation.md
Created December 26, 2024 01:34
Discord sounds (as of canary build 355878)

There are limited time event sound packs that Discord makes available (and default) during various seasons.

After the time period has finished, the sound packs are no longer selectable and for all intents and purposes unobtainable to end users.

I think this is a shame so I have exerted some small effort to figure out how these packs are looked up so I can archive their contents. Fortunately, at least for the time being, it appears Discord keeps the old sound data on their servers. But it might not always be the case.

Within the client bundle (viewable within the client or archived consistently at Discord-Datamining) there are a number of lookup tables.

Because of the nature of webpack (and due to the size of the file) I can't link you to where they are specifically since they're subject to change, but I can show you what they look like so you can find them yourself in the future.

@scarletcafe
scarletcafe / a.md
Created April 2, 2023 09:10
The Murder of Sonic the Hedgehog swear detection

The Murder of Sonic uses Unity with the Mono backend, which means there's basically nothing stopping you accessing its files.

Hilariously, it also contains the Burst debug folder, although most of its content is correctly missing (probably due to whatever deployment procedure they're using) image

Anyhow, it's thus very easy to find the name screen stuff. The game splits your entry into three categories: valid, inappropriate, and existing character.

The game does not allow you to name yourself any of the following "existing characters":

Nintendo 64 opcodes v0.3 by anarko <[email protected]>
Nintendo 64 opcodes v0.3 by anarko <[email protected]>
Part A: Brief list released on 98-02-19
----------------------------------------------------------------------------
****************************************************************************
** Load and Store Instructions **
****************************************************************************
@scarletcafe
scarletcafe / mirrorlist
Created August 8, 2022 19:30
pacman & systemd state of an (almost) stock Steam Deck
Server = https://steamdeck-packages.steamos.cloud/archlinux-mirror/$repo/os/$arch
@scarletcafe
scarletcafe / turtlereplay.lua
Last active July 14, 2022 19:48
turtlereplay.lua glass/ice
-- custom stuff
modemLocation = "left"
turtleName = "nether 2 blue ice"
useModem = true
-- ice or glass
local tArgs = { ... }
if #tArgs ~= 1 then
print("Please give either 'ice' or 'glass'")
@scarletcafe
scarletcafe / parametric.py
Last active June 5, 2024 10:43
Create a Blender curve object from a 3D parametric function
# -*- coding: utf-8 -*-
"""
MIT License
Copyright (c) 2019 Devon (Gorialis) R
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
@scarletcafe
scarletcafe / image.py
Last active February 26, 2019 00:27
discord.py rewriteで画像処理のコグの実例
# 基本的な依存関係
import discord
from discord.ext import commands
# discord.pyはaiohttpに依存しているため既にインストールされているはずです。
import aiohttp
# PILは「Python Imaging Library」で色んな画像処理ができるライブラリです
# `pip install -U Pillow`でインストールできます
from PIL import Image, ImageDraw
@scarletcafe
scarletcafe / AR.txt
Last active June 25, 2019 01:05
Paper Mario US Wii VC action replay code for camera control using the d-pad
05386034 27bd0020
05385f38 e7a00004
05385fb8 3c023ba3
05386038 00000000
05385f3c e7a20008
05385fbc 44821000
05248098 03400008
05385f40 afa2000c
05385fc0 3c08800a
05386040 275a2180
@scarletcafe
scarletcafe / equality.py
Last active December 9, 2018 17:03
bikeshed+
# -*- coding: utf-8 -*-
"""
equality
~~~~~~~~
Functions for determining the equality of objects
:license: MIT (OSI Approved)
"""
@scarletcafe
scarletcafe / readme.rst
Last active August 6, 2024 03:25
Installing Python & discord.py: A Primer

Windows Installation

First, go to python.org:

https://i.imgur.com/VkCK31Z.png

Hover over Downloads and select the Windows category (do NOT press the instant download button):

https://i.imgur.com/enFmiRi.png