Skip to content

Instantly share code, notes, and snippets.

@tomshen
tomshen / sf-mono.sh
Created December 18, 2017 22:40
Use SF Mono in apps besides Terminal/XCode
cp -R /Applications/Utilities/Terminal.app/Contents/Resources/Fonts/. /Library/Fonts/
@tomshen
tomshen / sm64plus-steam-deck.md
Last active February 4, 2024 04:12
Instructions for compiling Super Mario 64 Plus on the Steam Deck
  1. Follow the instructions at https://github.com/MorsGames/sm64plus/wiki/Manual-Building-Guide, but at the dependency step, run the following before building:
sudo steamos-readonly disable
sudo pacman-key --init
sudo pacman-key --populate archlinux
sudo pacman -S sdl2 glew glibc linux-api-headers libusb libglvnd
  1. Add the sm64.us.f3dex2e file in build/us_pc as a non-Steam game.
  2. Pass in the gfx folder path as the second argument in the "Target" setting in Steam properties for the game.