Skip to content

Instantly share code, notes, and snippets.

View TheUnlocked's full-sized avatar

Trevor Paley TheUnlocked

  • Oracle
  • Bay Area
View GitHub Profile
@TheUnlocked
TheUnlocked / GameMakerSpriteExtractor.py
Last active May 31, 2024 05:47
Extract textures from GameMaker Studio games (including YYC-compiled)
import re
# Requires python 3
# YYC-compiled GameMaker Studio games don't work with most GameMaker Studio asset extractors.
# However, GameMaker Studio just stores textures as raw PNGs, no matter the compilation type.
# This script works by searching for all PNG images in the data file.
# This could be the data.win, .data, or gamename.exe files.
pngs = []
@TheUnlocked
TheUnlocked / discordminesweeper.js
Created September 13, 2019 03:33
Spoiler-based Mine Sweeper in Discord
const numberIcons = [
":zero:",
":one:",
":two:",
":three:",
":four:",
":five:",
":six:",
":seven:",
":eight:",