Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env python3
# Touhou Community Reliant Automatic Patcher
# Scripts
#
# ----
#
"""Locates hardcoded strings in a PE file according to a stringdefs.js file and
an optional blacklist. Dumps their relative positions in stringlocs format, as
well as lists of both newly found and garbage strings in the following format:
@nmlgc
nmlgc / tcc_tlink_error.md
Last active July 9, 2024 04:51
Borland/Turbo C++ Error: Unable to execute command 'tlink.exe'
@nmlgc
nmlgc / PKGBUILD
Last active January 7, 2025 14:01
Shuusou Gyoku Linux port Arch Linux PKGBUILD preview
# Maintainer: Nmlgc <[email protected]>
# I'm not happy with the font situation:
#
# • Preferably you'd want to install MS Gothic because that's what the original
# game used. But it's nonfree and you'd either have to copy it from a real
# Windows system or use one of the various semi-automated AUR packages that
# download the font from somewhere:
#
# https://aur.archlinux.org/packages?O=0&SeB=nd&K=ttf+win+japanese&outdated=&SB=p&SO=d&PP=250&submit=Go