- Install arm-none-eabi-gcc (if you're on Windows, you can use msys2 and install
mingw-w64-arm-none-eabi-gcc
package; on Linux/macOS use your distro's package, e.g for Debian it isgcc-arm-none-eabi
, on macOS Homebrew it'sgcc-arm-embedded
; this guide won't work on macOS ≥10.15 because elf2mod is a 32-bit app). - Fetch Brew MP SDK 7.12.5 installer and platform SDK installer for the BREW version you'd like to target. Installers won't run on windows 10, so don't install them yet.
- Extract Brew MP SDK 7.12.5 installer with 7-Zip.
- Inside it, extract another installer called BREWMPTools.exe the same way.
- Extract platform SDK to some other directory.
- Fork https://github.com/github/dmca
- Download latest youtube-dl source code from https://yt-dl.org/latest
- Extract
tar -xvf youtube-dl-2020.09.20.tar.gz
- Push code to your fork as the GitHub CEO
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os.path | |
import re | |
import sys | |
# LZ-ish decompression scheme borrowed from picolove: | |
# https://github.com/gamax92/picolove/blob/master/cart.lua | |
compression_map = b"\n 0123456789abcdefghijklmnopqrstuvwxyz!#%(){}[]<>+=/*:;.,~_" | |
def decompress(code): | |
lua = bytearray() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;SMBDIS.ASM - A COMPREHENSIVE SUPER MARIO BROS. DISASSEMBLY | |
;by doppelganger (doppelheathen@gmail.com) | |
;This file is provided for your own use as-is. It will require the character rom data | |
;and an iNES file header to get it to work. | |
;There are so many people I have to thank for this, that taking all the credit for | |
;myself would be an unforgivable act of arrogance. Without their help this would | |
;probably not be possible. So I thank all the peeps in the nesdev scene whose insight into | |
;the 6502 and the NES helped me learn how it works (you guys know who you are, there's no |