Skip to content

Instantly share code, notes, and snippets.

@widberg
widberg / renderdoc-nvapi-ansel.patch
Last active October 12, 2025 02:49
Patch for RenderDoc to fix some errors with NVAPI and AnselSDK. The error can manifest as CreateTexture2D returning DXGI_ERROR_DEVICE_REMOVED due to RenderDoc returning NULL for nvapi interface 0xd451e834 deep in the call stack for Present in an Ansel DLL. (nvapi.dll, nvapi64.dll, AnselSDK32.dll, AnselSDK64.dll)
diff --git a/renderdoc/driver/ihv/nv/nvapi_hooks.cpp b/renderdoc/driver/ihv/nv/nvapi_hooks.cpp
index 0f4e21245..ff046b434 100644
--- a/renderdoc/driver/ihv/nv/nvapi_hooks.cpp
+++ b/renderdoc/driver/ihv/nv/nvapi_hooks.cpp
@@ -610,6 +610,7 @@ private:
WHITELIST_NVAPI(unknown_func, 0xad298d3f);
WHITELIST_NVAPI(unknown_func, 0x33c7358c);
WHITELIST_NVAPI(unknown_func, 0x593e8644);
+ WHITELIST_NVAPI(unknown_func, 0xd451e834);
default: break;
@n1d3v
n1d3v / guide.txt
Last active November 9, 2025 00:58
Revert the new desktop Discord UI (2025)
So, you've probably gotten the new desktop client's UI if you're reading this and wondering how to revert the UI back to the classic look of Discord.
This is pretty easy if followed properly, For context, this new UI is called the "Desktop Visual Refresh" and was experimented with by Discord from May 2024.
Anyway, back to the actual guide.
1. Download Vencord's installer from https://vencord.dev (This is the only official Vencord link!)
2. Open the installer, install Vencord (It should show your Discord install path)
3. Once installed, relaunch your Discord client and go to settings, you should see a "Vencord" category.
4. Go to plugins, search for the plugin called "Experiments" and restart the Discord client.
5. Go back to settings, scroll down in the menu and you should see alot of new options in the category "Developer Only"
@evan-goode
evan-goode / fnaUpdate.sh
Last active October 12, 2022 13:28 — forked from flibitijibibo/fnaUpdate.sh
Use this to update a game's FNA installation!
#!/usr/bin/env bash
# FNA Update Script
# Written by Ethan "flibitijibibo" Lee
#
# Released under public domain.
# No warranty implied; use at your own risk.
#
# Run this script in the game's executable folder.
#
# This script requires the following programs:
@MateusRodCosta
MateusRodCosta / Improved Microphone (Male voices, with Noise Reduction).json
Last active December 5, 2025 20:54
An EasyEffects preset created for input devices (intended for Microphones). Please read the README.md.
{
"input": {
"blocklist": [],
"compressor": {
"attack": 20.0,
"boost-amount": 6.0,
"boost-threshold": -72.0,
"hpf-frequency": 10.0,
"hpf-mode": "off",
"input-gain": 0.0,
@flibitijibibo
flibitijibibo / fnaUpdate.sh
Last active May 26, 2025 00:00
Use this to update a game's FNA installation!
#!/bin/bash
# FNA Update Script
# Written by Ethan "flibitijibibo" Lee
#
# Released under public domain.
# No warranty implied; use at your own risk.
#
# Run this script in the game's executable folder.
#
# This script requires the following programs: