Skip to content

Instantly share code, notes, and snippets.

@tesnos6921
tesnos6921 / archiver.sh
Created June 4, 2019 22:26
py2, requires requests. put both files in the same directory, follow cookie instructions from https://github.com/patrickyeon/youtube-history, and run archiver.sh
while true; do
echo "Getting History..."
python2 ./ythistory.py -j cookiefile --since since.txt > videolist.txt
echo "Downloading Videos..."
while read line; do
youtube-dl --write-all-thumbnails --all-subs --write-description --write-annotations --write-info-json -o "%(uploader)s/%(title)s/%(id)s.%(ext)s" $line
done < videolist.txt
@tesnos6921
tesnos6921 / info.md
Last active January 5, 2019 16:58
patchnso.py + sample patches for SMO 1.2.0

patchnso.py: a simple script to patch the .text sections of nso files and reassemble them

Python 2.7, requires lz4 module to be installed

Usage Instructions:

  1. Using hactool, extract the exefs of your game
  2. Within the exefsdir, there should be "main" and "main.npdm" and possibly a few others
  3. "main" is the game's main nso, you can load it into IDA and create your own patches or go out and find some
  4. When you have your patches put them all in a file in this format: (all values should be in hex) location:codepatch Example:
@tesnos6921
tesnos6921 / kezplez.py
Last active August 26, 2018 09:17
Python 2.7. Requires lz4. Place in a folder with hactool, BOOT0.bin, and BCPKG2-1-Normal-Main.bin and let the magic happen.
import hashlib, binascii
import sys, subprocess, os
# NXO64 Stuff here
#
#
#--------------------------------------------------
# Copyright 2017 Reswitched Team
#
# Permission to use, copy, modify, and/or distribute this software for any purpose with or
@tesnos6921
tesnos6921 / Testing.md
Last active January 19, 2018 19:39
Testing guide for tangerine

Thank you for volunteering to test tangerine!

The goal of these tests are to find any small bugs or issues I haven't found yet so tangerine can have a smooth release.

Downloading

To get started, download the latest build here, and extract the files from it.

Testing