Skip to content

Instantly share code, notes, and snippets.

View alexparlett's full-sized avatar
🏠
Working from home

Alexander Parlett alexparlett

🏠
Working from home
View GitHub Profile
@alexparlett
alexparlett / diff.py
Created December 8, 2018 11:35
X4 - XML Diff Tool
import argparse
import os
from lxml import etree, objectify
from dictdiffer import diff
from dictdiffer.utils import dot_lookup
from copy import deepcopy
unique_attrib = [
'id',
@alexparlett
alexparlett / unpack.py
Last active December 19, 2023 18:28
X4 - Cat Unpacker
.\unpack.py "E:\SteamLibrary\steamapps\common\X4 Foundations" "." -f "^.*(xml|xsd|html|js|css)$"