Skip to content

Instantly share code, notes, and snippets.

Avatar
🤔
Rabble rabble tech blabble

Zumi ZoomTen

🤔
Rabble rabble tech blabble
View GitHub Profile
@ZoomTen
ZoomTen / ASMDOC.md
Last active Sep 11, 2021
ASMDOC (lol)
View ASMDOC.md

ASMDOC

(a.k.a Hell on Earth, I'm Sure)

Essentially, this is just a Javadoc-esque thing loosely applied to assembly language (primarily geared towards RGBDS ASM)

The opening and closing tags are just a line containing only ;;--, everything inside the ASMDOC must begin wih ;; .

@ZoomTen
ZoomTen / tk84.PKGBUILD
Created Sep 9, 2021
pkgbuild for tk 8.4
View tk84.PKGBUILD
pkgname=tk84
pkgver=8.4.20
_pkgver=8.4.20
pkgrel=1
pkgdesc="A windowing toolkit for use with tcl"
arch=('x86_64')
url="http://tcl.sourceforge.net/"
license=('custom')
depends=('tcl84' 'libxss' 'libxft')
options=('staticlibs')
@ZoomTen
ZoomTen / gs1997_script_edits.md
Last active May 16, 2021
Notes on Pokemon G/S 1997 script editing
View gs1997_script_edits.md

Notes on pokegold-spaceworld script editing

Mapping

Easily opened with the latest version of [Polished Map][1] (4.5.4 as of writing).

object_event data is a little misleading -- movement constant has wrong context (e.g. SLOW_STEP_LEFT is inaccurate)

Hex ID Movement
View build_Wine.sh
#!/bin/bash
CFLAGS="${CFLAGS/-fno-plt/}"
LDFLAGS="${LDFLAGS/,-z,now/}"
mkdir -p usr/lib
mkdir -p usr/lib64
mkdir -p build64
mkdir -p build32
@ZoomTen
ZoomTen / sw97_covr.txt
Created Jan 25, 2021
ZoomTen:progress coverage for pokegold-spaceworld
View sw97_covr.txt
ROMX $00 767 bytes to go 95.32% Continue from: 0x3e32
ROMX $01 coverage complete
ROMX $02 coverage complete
ROMX $03 coverage complete
ROMX $04 1053 bytes to go 93.57% Continue from: 0x17be3
ROMX $05 14596 bytes to go 10.91% Continue from: 0x18c94
ROMX $06 256 bytes to go 98.44% Continue from: 0x1ff00
ROMX $07 coverage complete
ROMX $08 coverage complete
ROMX $09 16384 bytes to go 0.00% Continue from: 0x24000
@ZoomTen
ZoomTen / Node Tricks (Olive 0.2.x).md
Last active Jul 25, 2021
Sick Node Tricks - or, how to reproduce common effects using the node editor.
View Node Tricks (Olive 0.2.x).md

General Tips and Tricks

  • Think of clip nodes as containers!
    • You can plug in an arbitrary composite node and make them "instances" of said node

Common Node Configurations

Drop shadow (TinglesMagicWords)

A simple drop shadow effect, assuming you have a solid color and transparent clip such as text.

View activity-json.py
#!/usr/bin/python
import os
import json
import re
from argparse import ArgumentParser
from datetime import datetime
ACTIVITY_FILE = 'activity.json'
View Olive 0.2 Compilation (draft).md

Olive 0.2 Build Guide

Requirements

You need these dev libraries:

  • Qt >= 5.6,
  • OpenColorIO,
  • OpenImageIO >= 1.6,
  • OpenEXR,
  • OpenGL,
  • FFmpeg (>= 3.0) && (!= 4.3)
@ZoomTen
ZoomTen / opencv_pose_func.py
Created Aug 20, 2020
realtime pose stuff in blender with opencv
View opencv_pose_func.py
# based upon https://github.com/jkirsons/FacialMotionCapture_v2/blob/master/OpenCVAnimOperator.py
# with elements taken from https://github.com/legolas123/cv-tricks.com/blob/master/OpenCV/Pose_Estimation/run_pose.py
# in blender, run this script second
import bpy
import sys
import time
import numpy
@ZoomTen
ZoomTen / activity.py
Last active Jun 3, 2021
Activity logger that I run every night before I go to bed
View activity.py
#!/usr/bin/python
from appdirs import AppDirs
from argparse import ArgumentParser
from configparser import ConfigParser
from datetime import datetime, date
from textwrap import TextWrapper as tw
import os
import sys
import sqlite3