Skip to content

Instantly share code, notes, and snippets.

View ZoomTen's full-sized avatar
🤔
Rabble rabble tech blabble

Zumi ZoomTen

🤔
Rabble rabble tech blabble
View GitHub Profile
@ZoomTen
ZoomTen / 00-README.md
Last active April 29, 2023 14:08
Convert GBS to GBSX using a JSON definition.
@ZoomTen
ZoomTen / 00-README.md
Last active April 29, 2023 14:08
improved gbs rip distribution generator script for HCS64
@ZoomTen
ZoomTen / 00-COMPATIBILITY.md
Last active August 8, 2023 00:46
MBC30 Compatibility Reference

MBC30 Compatibility Reference Table

MBC30 is a variant of the common MBC3 mapper that can access twice the memory as the regular variant. MBC30 allows for up to 4mb ROM and 64kb SRAM over MBC3's 2mb ROM and 32kb SRAM. It is only known to be used in the Japanese version of Pokemon Crystal, mainly for Mobile System GB features.

The added space provided by this variant is considered beneficial especially for ROM hacks. For example, Pokemon Coral (2022 demo and up) uses it for sampled cries and other extra content.

Note on hardware compatibility

Everdrives will not work, unless an OS update is released. Until then, you'll need to make/buy an MBC30 flashcart (such as this project, or BennVenn's custom cart), and have reflashing tools.

@ZoomTen
ZoomTen / mkfeed_gitea.py
Created July 25, 2022 16:06
Gitea to RSS scraper
#!/usr/bin/env python3
import html
from datetime import datetime, timedelta, timezone
import re
import json
import sys
import requests
from bs4 import BeautifulSoup
@ZoomTen
ZoomTen / README.md
Created July 9, 2022 07:34
HOWTO: Convert .pcf(.gz) fonts into TTF

Converting PCF fonts to TTF

Let's assume we're converting helvBO24.pcf, a version of Helvetica Bold Oblique for 24px that comes with X11. The output file will be helvBO24_fixed.ttf.

Step 1

Convert the thing to bdf through pcf2bdf

pcf2bdf helvBO24.pcf > helvBO24.bdf
@ZoomTen
ZoomTen / ASMDOC.md
Last active September 11, 2021 14:05
ASMDOC (lol)

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 September 9, 2021 07:16
pkgbuild for tk 8.4
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 07:53
Notes on Pokemon G/S 1997 script editing

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
@ZoomTen
ZoomTen / build_Wine.sh
Last active September 11, 2021 13:47
Build Wine
#!/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 January 25, 2021 11:30
ZoomTen:progress coverage for pokegold-spaceworld
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