Skip to content

Instantly share code, notes, and snippets.

@Medstar117
Medstar117 / CnC-Proton-Cross-Play-Compatibility-Guide.md
Last active May 4, 2024 02:58
C&C Proton Cross-Play Compatibility Guide

Using the Latest Stable Proton 7.0-4 for Online Play

  • Credit: KWAGGA on Discord (KWAGGA#7048)
  • Adaptation: Medstar on Discord (Medstar#1550)

This guide provides information on how to get the later C&C games to work with a fairly recent version of Proton without encountering desyncs.

Until recently, Linux players were limited to Proton-tkg 5.14.r0.gb71d588d--a 2 year old release that doesn't perform near as well as the 7+ series releases of Proton. The limitation to this version was due to online multiplayer desyncs occurring on newer versions of Proton--the reason being unknown at the time.

The original assumption of the desyncs was due to either the implementation of newer XACT frameworks, FAudio (a better XAudio2 implementation), or a combination of the two. This is now verified to be incorrect.

I note that I've done most of my actual file and audio processing under either macOS or Linux, where I'm much more familiar with the scripting tools. I might not be able to help you as much I'd like.

General advice for trying to make a voice pack

I'd suggest taking a look at my voicepack template or at least Kregano's tutorial that it's based off.

Why? Well, Kregano's tutorial covers using a script (by robojumper) that fixes several problems with the built-in approach to voice 'banks', and my template then tries to help you avoid having to decide what to name bits of code and stuff.

If you do try my template, I suggest calling your project and your mod something like 'SlickSlothGrenadierVoice' or something (without spaces, and the same name for the project and mod) otherwise it ends up even more confusing in places...

Getting CoH2 sound files into XCOM 2

@Sporif
Sporif / nvidia-gpu-sensor.pl
Last active July 21, 2023 06:47 — forked from hacker1024/nvidia-gpu-sensor.pl
KDE KSysGuard NVIDIA GPU temperature/memory/utilization sensor, based on @frantic1048's script, but with units and total memory detection.
#!/usr/bin/perl -w
# act as a KSysGuard sensor
# provides NVIDIA GPU info via `nvidia-smi`
# Usage:
# 1. Save this script, make it executable and move it to a directory in your $PATH
# 2. Save this ksysguard sensor file for Nvidia: https://gist.github.com/Sporif/31f0d8d9efc3315752aa4031f7080d79
# 2. In KSysGuard's menu, open "File > Import Tab From File option"
# 3. Open the sensor file (nvidia.srgd)

A Low Level Format (LLF) means redefining physical disk layout. This is not doable by user on today's HDDs and SSDs. One usually want's to perform LLF to securely erase all data, reallocate bad sectors and/or remove malware.


[ATA Secure Erase][1]

Allows you to erase data on disk even on reallocated sectors. See:

@matthewzring
matthewzring / markdown-text-101.md
Last active June 29, 2024 07:23
A guide to Markdown on Discord.

Markdown Text 101

Want to inject some flavor into your everyday text chat? You're in luck! Discord uses Markdown, a simple plain text formatting system that'll help you make your sentences stand out. Here's how to do it! Just add a few characters before & after your desired text to change your text! I'll show you some examples...

What this guide covers:

@drguildo
drguildo / fallout-new-vegas-mods.md
Last active September 26, 2023 15:49
Fallout: New Vegas mods that I recommend.

This is a conservative list of mods for Fallout: New Vegas which I feel improve what's already there rather than changing it (much).

Important

  • Install xNVSE.
  • Install FNV 4GB Patcher. I used to use FNV4GB but it prevented me from using ReShade. Even if you don't use ReShade this is probably still the better option as it simply patches the New Vegas executable rather than using in-memory patching and an extra executable.
  • Install New Vegas Tick Fix.
  • Install New Vegas Heap Replacer. Replaces the game's heap memory management system with a faster implementation.