Skip to content

Instantly share code, notes, and snippets.

@imniko
imniko / change-dpi-scale-v2.ahk
Created February 2, 2023 14:22
Sample AHK script to change windows display scaling using https://github.com/imniko/SetDPI, compatible with AHK version 2.x
#Requires AutoHotkey v2.0
current_scale := 100 ; scale value you are currently in
next_scale := 125 ; scale value you want to switch to next
is_scaled := 0
; Ctrl + Win + F1 toggles main monitor between 2 scale values
^#F1::
{
global is_scaled
global next_scale
@imniko
imniko / change-dpi-scale.ahk
Last active August 18, 2023 22:04
Sample AHK script to change windows display scaling using https://github.com/imniko/SetDPI , compatible with AHK version 1.x
#persistent
current_scale := 100 ; scale value you are currently in
next_scale := 125 ; scale value you want to switch to next
is_scaled := 0
return
; Ctrl + Win + F1 toggles main monitor between 2 scale values
^#F1::
@imniko
imniko / borderlands3.js
Last active November 22, 2023 11:13 — forked from axxag/borderlands3.js
Borderlands3-Epic-NucleusCoop. This is a forked version of the original to make the script compatible with latest Epic version.
Game.DirSymlinkExclusions = [
"OakGame\\Binaries\\Win64",
];
Game.FileSymlinkExclusions = [
"steam_api64.dll",
"steam_appid.txt",
"xinput1_3.dll"
];
Game.GameName = "Borderlands 3";
Game.HandlerInterval = 100;
@imniko
imniko / CASwDepth
Created July 20, 2020 07:40
CAS implemntation with depth fade and depth edge masking. This is only a demonstration, not optimized.
// LICENSE
// =======
// Copyright (c) 2017-2019 Advanced Micro Devices, Inc. All rights reserved.
// -------
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation
// files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy,
// modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the
// Software is furnished to do so, subject to the following conditions:
// -------
// The above copyright notice and this permission notice shall be included in all copies or substantial portions of the