Skip to content

Instantly share code, notes, and snippets.

Tyler "-z-" Mulligan z

Block or report user

Report or block z

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@z
z / screenshot-all-maps.sh
Last active Sep 20, 2018
Xonotic, screenshot all maps
View screenshot-all-maps.sh
#!/usr/bin/env bash
# Use Xvfb to open a xonotic client and take 9 screenshots
# z@xnz.me
export DISPLAY=:1.0
# Customize
DIMENSIONS=1920x1080
XONOTIC_DIR=~/.xonotic/
XONOTIC_GAME=data_dl
@z
z / gource.sh
Created Jan 31, 2018
a gource wrapper for Xonotic's repository structure written in bash
View gource.sh
#!/usr/bin/env bash
# name: gource.sh
# version: 0.2.0
# A convenience wrapper for visualizing Xonotic's git commits via gource.
# Copyright 2018 Tyler "-z-" Mulligan (z@xnz.me), MIT License
# Requires gource: https://github.com/acaudwell/Gource and GNU's sed
# [!] This script expects to live in xonotic's misc/tools directory
set -e
@z
z / io_export_md3.py
Created Feb 27, 2017
Mirror of the latest md3 export script that works with blender 2.78b
View io_export_md3.py
#Updates for Blender 2.6X by Derek McPherson
# Credits: https://forums.duke4.net/topic/5358-blender-27-md3-export-script/
bl_info = {
"name": "MD3 (+shaders)",
"author": "Derek McPherson, Xembie, PhaethonH, Bob Holcomb, Damien McGinnes, Robert (Tr3B) Beckebans",
"version": (1,6),# March the twenty first, twenty twelve.
"blender": (2, 6, 2),
"api": 36991,
"location": "File > Export > Quake Model 3 (.md3)",
@z
z / encode-demos.sh
Last active Feb 26, 2017
encode-demos.sh for Xonotic headlessly in parallel
View encode-demos.sh
#!/bin/bash
# name: encode-demos.sh
# version: 0.6.2
# author: Tyler "-z-" Mulligan <z@xnz.me>
# license: GPL & MIT
# date: 26-02-2017
# description: headless encoding of demo files to HD video concurrently with Xfvb and parallel
#
# The encoding is done with a full Xonotic client inside Xfvb.
# parallel is acting as a job queue.
You can’t perform that action at this time.