my gists, merged and mirrored (expect --force pushes)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Connor Olding 94ef6784e7
mention response
2 years ago
360_wasd move files 5 years ago
arithmetic_coding move files 5 years ago
batch_encoding move files 5 years ago
batch_font_render move files 5 years ago
coin_or_build move files 4 years ago
danbooru_atomizer move files 5 years ago
danbooru_scrape move files 5 years ago
debug_saves move files 4 years ago
desmos move files 5 years ago
dictionary_attack move files 5 years ago
dnm move files 4 years ago
ds1 move files 4 years ago
dwarf_font move files 5 years ago
filter_tutorial move files 5 years ago
image_deduplication move files 5 years ago
kill_reboot move files 5 years ago
love_plotting move files 5 years ago
lsca move files 4 years ago
lsf move files 5 years ago
mario_tennis move files 5 years ago
mips_disassembler move files 5 years ago
music_sync move files 5 years ago
n64_models move files 5 years ago
polyphase_halfband move files 5 years ago
print_tables move files 5 years ago
rng64 move files 4 years ago
speedrun_comparison move files 5 years ago
starcraft_cdkey move files 5 years ago
starcraft_maps move files 5 years ago
string_tensions move files 5 years ago
thps1 move files 5 years ago
tiny_crc32 move files 5 years ago
trackmogrify move files 5 years ago
twitch_following move files 5 years ago
warcraft_hash move files 5 years ago
warcraft_hashes move files 5 years ago mention response 2 years ago
phasmo.ahk 3 years ago
response.txt 10 years ago


all files are Unlicensed, unless otherwise noted:

This is free and unencumbered software released into the public domain.
For more information, please refer to <>

the Python scripts here only work with Python 3.


an ancient AutoHotKey script i wrote to convert the left control stick of a 360 controller to WASD inputs on a keyboard. i used it to play an equally ancient version of The Binding of Isaac, among a couple other games.

it should still work fine even today, but you can press F10 to kill it if it starts acting up.


a GPL-licensed arithmetic coding compressor and decompressor for binary strings. originally by David MacKay, this has been cleaned up (passes pycodestyle) and ported to Python 3.


another old script. this time it's a Windows batch file for re-encoding videos to be suitable for online distribution. i don't really use this anymore, but it looks like i once used it for N64 videos recorded with Bizhawk.

it contains some advanced compand nonsense from before acompressor was a thing.


a zsh script to render fonts — all the otf & ttf's in a directory — to png's, with some good ol' Lorem Ipsum. it uses pango and fontconfig, so i've only tested it on *nix.

i recently repurposed this script to render characters to bitmaps for use as textures in games, but i haven't uploaded that version yet.


a shell script that builds Bonmin and its many, many dependencies on other coin_or projects.


a Python script that scrapes atom feeds on danbooru (nsfw) and merges them into one mega-feed.


another danbooru scraper, this time for batch-downloading all the images for a given search query. requires zsh and xml2.

i don't think this version works anymore, so i'll have to update it with my local changes sometime.


for Majora's Mask: these gameshark cheats will override the default save file with the debug save file. create a new file on the file select screen and it should create a debug save. note: this is probably the same as using map select.


stuff i've plotted in desmos. just click the link; it's another markdown file.


i went looking for a dead-simple tool to construct random, fixed-length strings from a list of shorter strings, but i realized in the time i'd find something i liked, i could just write my own in Python. so that's exactly what i did!

beware, this is highly unoptimized, favoring simplicity over speed.


stuff related to Doubutsu no Mori, the original Japan-only release of Animal Crossing for the N64.

right now, this just contains a patch to make the game boot directly into the NES emulator for experimenting with.

since this game is built on the Zelda 64 engine (go figure), you can extract files and reconstruct ROMs by using the script, found elsewhere in my mm repo.


stuff related to Dark Souls 1. contains scripts to extract raw dialog and weapon/armor/npc/etc data.

you can extract the necessary files from the game's archives using this tool: PC or PS3


the 8x12 bitmap font included with Dwarf Fortress, alongside a love2d Lua script for loading it with all the appropriate character mappings.

the code is Unlicensed, and i believe the font itself is public domain.


a single Python file that walks you through designing and plotting an IIR filter. requires numpy, scipy, and matplotlib.


a Python script to find duplicate images given a hamming distance threshold. it employs dhash to do the heavy lifting. requires pillow and dhash.

it doesn't recurse into ./_duplicate/ so you can dump things there if you wish.


does nasty stuff to Windows 10 to prevent updates from automatically triggering reboots.

the C# portion is based on NSudo. the batch script exploits a UAC bypass found by Tyranid.


moved to its own repo


a brief cellular automata experiment. inspired by Loren Schmidt.


plotting equations with love2d. it probably doesn't work on the latest version.

it's nothing special, and i only included it here for archival sake. i have a newer version locally, but it needs to be cleaned up before it can be committed.


an awful bash script i started writing just for fun, left here for archival sake. heaven forbid you actually enjoy this program, please instead consider using ls-- or the like.


this C program validates, brute-forces, and generates codes for the defunct Ring Tournament mode in Mario Tennis (N64), once used to hold competitions in magazines and the like.


an old disassembler for MIPS III binaries by spinout. the license is ambiguous.

i've since tweaked and cleaned the code. a little. not a lot.


a Python script for syncing and re-encoding audio files for use on music players that support ogg vorbis. if you actually want to use this for some reason, be aware that you will need to know how to write Python to get it to work the way you want. and also, it's really slow, and even runs out of memory if too many files need updating (thanks mutagenx).


a hastily-written Python script for outlining the F3DEX model format used in some N64 games.


an AutoHotKey script for quickly adding and removing equipment to games.


a C port (from C++) of the polyphase halfband filter coefficient generator by Laurent de Soras.

the original is licensed under the WTFPL, so i'm re-licensing this under Unlicense, because i can.

don't read into the code too much, it's not meant to be understood (sadly).


provides the pt Lua module for recursively dumping table contents into a semi-human-readable format. since the resulting format cannot be deserialized, this is primarily intended for debugging purposes, and i'd like to think it excels at that.


some old, brief notes on biquads.


some notes on the random number generator that Ocarina of Time and Majora's Mask use. don't get your hopes up about the manipulation stuff.


an avisynth script for creating speedrun comparison videos like this.


a C program to validate Starcraft 1 CD-keys. the original Starcraft is free now, so this program doesn't serve much purpose other than to demonstrate how not to write a CD-key validation routine — you can brute-force any key by hand just by tweaking the final digit!


a Python script for reading and re-writing Starcraft 1 maps, i.e. deprotection, or what-have-you.


Python scripts for determining optimal guitar string tensions for a given tuning, and similar tasks, backed by a database of manufacturers' strings. the data here is probably obsolete by now.


a C program for exploring the "TYR" glitch in Tony Hawk's Pro Skater 1 (N64).


a very small C program for computing CRC-32s. this is a rewrite of the code by Karl Malbrain. the license is ambiguous?

i've written a similar routine in MIPS assembly.


just a list of strings recognized by Distance's trackmogrify feature. this was extracted directly from the game's memory, and was last updated for version 1.0.


a C program for the unique hashing function found in Warcraft III.


a list of hashes and the source strings found in the game that use the aforementioned hash function.

you're lookin' at it!