Skip to content

Instantly share code, notes, and snippets.

@anthonybaldwin
anthonybaldwin / Engine.ini
Last active July 13, 2025 01:24
Dune Awakening HDR and more (CORSAIR XENEON 27QHD240)
; %localappdata%\DuneSandbox\Saved\Config\WindowsClient
[SystemSettings]
; ─── HDR Output & Display Gamut ───────────────────────────────────────────
r.AllowHDR=1 ; Enables HDR rendering support in the engine
r.HDR.EnableHDROutput=1 ; Sends HDR output to compatible display (triggers HDR10 mode)
; Option list for the two settings below can be found here:
; https://dev.epicgames.com/documentation/en-us/unreal-engine/high-dynamic-range-display-output-in-unreal-engine#:~:text=r.HDR.Display,%3A%20ACEScg%2C%20D60
r.HDR.Display.OutputDevice=5 ; Uses ST.2084 (PQ) tone curve — for proper HDR10 tone mapping
@anthonybaldwin
anthonybaldwin / autovsr.lua
Last active July 12, 2025 05:04 — forked from natyusha/autovsr.lua
AutoVSR + RTX HDR for MPV
local mp = require 'mp'
-- Configuration
local autovsr_enabled = true -- Default to VSR enabled
local autohdr_enabled = true -- Default to RTX HDR (SDR to HDR) enabled
-- Function to apply VSR and RTX HDR
local function apply_filters()
-- Get video and display properties
local video_width = mp.get_property_number("width")
@anthonybaldwin
anthonybaldwin / Enable-Disable-Marvel-Rivals-UAC-Prompt.md
Last active February 1, 2025 15:56
Enable/Disable Marvel Rivals UAC Prompt

Enable/Disable UAC Prompt for Marvel Rivals

Yeah, no. I'd rather play Overwatch.

image

Caution

Everything appears to work fine, and the anti-cheat system at least starts. However, I am not responsible for any bans or suspensions that may occur. Proceed at your own risk.

[!TIP]

@anthonybaldwin
anthonybaldwin / pacman-yay.sh
Last active January 3, 2025 19:40
yay/pacman on Steam Deck
#!/bin/bash
# By Ratel (https://github.com/cd-ratel/Steam-deck-Pentest)
#
# This script unlocks the typical Arch Linux environment (pacman/yay).
# Enjoy!
if [ $EUID -eq 0 ]; then
echo "The script cannot be run as root. Exiting..."
exit 1
fi
@anthonybaldwin
anthonybaldwin / mii.bak
Last active September 4, 2024 13:25
Mii Studio
080068030c030430020c0301060406020c000b090700001203010a0a016b6904000214031304170d04000a040109
@anthonybaldwin
anthonybaldwin / Disable Office Keys.ahk
Created May 28, 2023 03:29
AHK v2 Script to Disable Office/Hyper Key Shortcuts on Windows 11
; Original: https://web.archive.org/web/20230528022520/https://www.howtogeek.com/445318/how-to-remap-the-office-key-on-your-keyboard/
; Converted using: https://github.com/mmikeww/AHK-v2-script-converter
; Registry fix:
; Add: REG ADD HKCU\Software\Classes\ms-officeapp\Shell\Open\Command /t REG_SZ /d rundll32
; Remove: REG DELETE HKCU\Software\Classes\ms-officeapp\Shell
; To use:
; - Run the registry ADD fix above via Administrator PowerShell
; - Run this script on StartUp (C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp) by:
@anthonybaldwin
anthonybaldwin / ifttt.js
Last active October 28, 2024 02:12
IFTTT Filter for Discord Twitter Webhook
const t12To24 = (time: string): string => { // time=12:30PM
time = time.replace(/[AP]/, " $&"); // time=12:30 PM
let [t, p] = time.split(" "); // t=12:30, p=PM
let [h, m] = t.split(":"); // h=12, m=30
if (h === "12") h = "00"; // h=00
if (p === "PM") h = (parseInt(h, 10) + 12).toString(); // h=12
return `${h}:${m}`; // 12:30
};
@anthonybaldwin
anthonybaldwin / update.sh
Created November 12, 2019 02:02
Download most recent Chromedriver and update version file
#!/usr/bin/env bash
# Version
CHROMEDRIVER_VERSION=`curl -sS chromedriver.storage.googleapis.com/LATEST_RELEASE`
# Remove existing
rm chromedriver
rm chromedriver-mac
rm chromedriver.exe
@anthonybaldwin
anthonybaldwin / WIP: Browser Based Text Animations for OBS Studio
Last active July 22, 2019 09:05
Browser Based Text Animations for OBS Studio, Using animate.css and Streamlabs Labels (README @ bottom of Gist)
Shitty README.md:
Inspiration: https://www.reddit.com/r/Twitch/comments/6uqhh9/how_to_use_css_to_format_imported_text/
This started because OBS cannot convert "read from file" text to uppercase/lowercase.
"Issue" is fixed in SLOBS, so is possible...maybe next time I'll dive into OBS and see if a bug, or what.
I have cool animations now, so it was worth it anyway. ;)
I didn't write server.py (found somewhere on StackOverflow researching CORS issue),
or most of ticker.js (this came with original post FTMP).
@anthonybaldwin
anthonybaldwin / follower.html
Created July 22, 2019 08:40
WIP: Follower animations using animate.css and Streamlabs Labels
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-type" content="text/html;charset=UTF-8">
<script type="text/javascript" src="http://localhost:8888/ticker.js"></script>
<link rel="stylesheet" type="text/css" href="http://localhost:8888/animate.css">