Skip to content

Instantly share code, notes, and snippets.

@misode
misode / upgrade_26_3.py
Last active November 13, 2026 10:52
Upgrade script for updating data packs from 26.2 to 26.3 - IMPORTANT: Take a backup or use git, because this upgrades files in-place! DONT run the script multiple times!
import copy
import json
import glob
import os
import sys
from typing import Any, Callable
def main():
if len(sys.argv) < 2: