Skip to content

Instantly share code, notes, and snippets.

@vsTerminus
vsTerminus / MegaShifter.ino
Created May 18, 2021 06:53
Replacement Arduino program for TechAffliction Mega Shifter
// Ground digital pins 2 and 3 to press joystick buttons 0 and 1
//
// Based on the "Simple example application that shows how to
// read four Arduino digital pins and map them to the USB Joystick library"
// by Matthew Heironimus
// 2015-11-20
//
// Modified to replace a broken "Mega Shifter" 18-speed shift knob controller
// by vsTerminus
// 2021-05-18
@vsTerminus
vsTerminus / MIDI_to_vJoy.py
Created March 27, 2022 04:11
MIDI to vJoy in FreePIE
import time
def update():
global midiKeysPressed
global buttonChange
global axisIncrement
diagnostics.watch(midi[0].data.channel);
diagnostics.watch(midi[0].data.status);
diagnostics.watch(midi[0].data.buffer[0]);
diagnostics.watch(midi[0].data.buffer[1]);
@vsTerminus
vsTerminus / voiceattack.md
Last active August 4, 2025 02:14
VoiceAttack on Linux

Voice Attack on Linux

2025-06-23 - VoiceAttack 2.x

VoiceAttack 2 is a .NET 8 application, so you need the dotnetdesktop8 runtime when you create the prefix.

WINEPREFIX=/home/yourname/Games/DCS/Prefixes/voiceattack WINEDLLOVERRIDES=mscoree=d winetricks -q dotnetdesktop8
@vsTerminus
vsTerminus / 01-Toggle Darktide Mesh Streamer.md
Last active April 9, 2025 03:51
Toggle Mods and Mesh Streamer for Darktide on Linux

Darktide Mesh Streamer Disabler and Mod Enabler for Linux

Note: This script is useful for people who run modded Darktide on Linux. If you aren't using mods then you can delete lines 7 and 8 from toggle_darktide_mods.sh so you just toggle the mesh streamer off.


Explanation

Darktide on Linux runs great - for the most part. Sometimes you will notice that the game has gotten stuck with low level of detail meshes loaded.