Skip to content

Instantly share code, notes, and snippets.

@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.

@vsTerminus
vsTerminus / voiceattack.md
Created February 9, 2025 21:56
VoiceAttack on Linux

Voice Attack on Linux

2025-02-09

I personally use VoiceAttack with DCS (Digital Combat Simulator) to manage radio menus and UI hotkeys that are difficult to find or navigate while in VR.

This guide explains the setup and usage of VoiceAttack with the intent to use it with DCS, but the process should be mostly identical for other games such as Elite: Dangerous or whatever else you might like to use it with.

Note: Even though I am using Valve's Proton (because it's the only thing that can talk to SteamVR currently), my copy of DCS is standalone and I run it via Lutris, not Steam. For steam games things are a bit more complicated.

Prefix location

@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 / 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