Skip to content

Instantly share code, notes, and snippets.

View sjain882's full-sized avatar

sjain sjain882

  • United Kingdom
View GitHub Profile
@sjain882
sjain882 / ReShade Addon List.txt
Created April 2, 2025 14:57
ReShade Addon List
https://github.com/crosire/reshade/tree/main/examples/16-swapchain_override
https://github.com/crosire/reshade/tree/main/examples/02-freepie
https://github.com/crosire/reshade/tree/main/examples/11-obs_capture
https://github.com/murchalloo/reshade-addons
https://github.com/FransBouma/ShaderToggler
https://github.com/4lex4nder/ReshadeEffectShaderToggler
https://github.com/FransBouma/IgcsConnector
https://github.com/EndlesslyFlowering/AutoHDR-ReShade
https://github.com/mleise/livesplit_overlay
https://github.com/dwojtasik/PyHook
@sjain882
sjain882 / ReShade Repo List.txt
Last active April 2, 2025 14:51
ReShade Repo List
--single-branch --branch legacy https://github.com/crosire/reshade-shaders
--single-branch --branch slim https://github.com/crosire/reshade-shaders
https://github.com/AlexTuduran/FGFX
https://github.com/AlucardDH/dh-reshade-shaders
https://github.com/AnastasiaGals/Ann-ReShade
https://github.com/BarbatosBachiko/Reshade-Shaders
https://github.com/BlueSkyDefender/AstrayFX
https://github.com/BlueSkyDefender/Depth3D
https://github.com/CeeJayDK/SweetFX
https://github.com/ConstantineRudenko/Shaders/tree/master/reshade/Shaders
@sjain882
sjain882 / ReShade Repo Getter.ps1
Created April 1, 2025 16:34
ReShade Repo Getter Powershell Script - Downloads & merges list of reshade repos - Useful for updating
$shaders = $PSScriptRoot + '\All Shaders\Shaders'
$textures = $PSScriptRoot + '\All Shaders\Textures'
$presets = $PSScriptRoot + '\All Shaders\Presets'
# Rename existing folder
$date = Get-Date -Format 'yyyy-MM-dd_HHmmss'
$newName = "All Shaders @ " + $date
Get-ChildItem -Directory | Where-Object { $_.Name -eq 'All Shaders' } |
@sjain882
sjain882 / index.html
Created May 1, 2024 17:00 — forked from Clybius/index.html
Embed AV1/No File Size Capped Videos in Discord
<head>
<meta property="og:image" content="GifToEmbedURL"> # Change the content to the link of a gif of your choice, which will be shown as the embed.
<meta property="og:type" content="video.other">
<meta property="og:video:url" content="VideoToEmbedURL"> # Change the content to the link of a video of your choice. Will work with videos over 50 MB, and even unsupported codecs such as AV1!
<meta property="og:video:width" content="1920"> # Set this to the video's width and height, not required, but will show the video as intended if the aspect ratio and size is correct.
<meta property="og:video:height" content="1080">
</head>
@sjain882
sjain882 / My largest OMSI maps (in tiles).ps1
Last active October 15, 2022 12:39
Outputs a table listing all of your OMSI maps next to their total number of tiles - largest at the top - to a file with date and time.
# # Outputs a table listing all of your OMSI maps next to their total number of tiles - largest at the top - to a file with date and time.
# Requires PowerShell 5.0 or above (Windows 10)
# Created by https://github.com/sjain882 (sjain / shanie)
# Latest version at https://gist.github.com/sjain882/9e6d0651a54695123c5ecf7898bb9329
# Instructions:
#
# 1. Open PowerShell from your start menu as administrator, paste this command then hit Enter (to be able to run the script): Set-ExecutionPolicy Bypass -Scope Process -Force
#
@sjain882
sjain882 / ETS2 Navi Mods.md
Last active July 26, 2022 19:09
How to combine ETS2/ATS Navigation Mods with other mods

How to combine ETS2/ATS Navigation Mods with other mods

BEFORE STARTING - ensure your game is fully closed, backup your save games and backup any files you modify!

To backup your save-games copy and paste the Documents\Euro Truck Simulator 2\profiles folder to somewhere safe.

This method is a more ideal than this guide since that guide suggests to copy/paste sections which could be affected by a lot of other mods, rather than the navigation colours themselves. In some cases it can cause save-games to completely fail to load (my experience). That's why I wrote this guide.

Tested on Euro Truck Simulator 2 v1.44.x. Should apply to any version and American Truck Simulator too.

@sjain882
sjain882 / form_submenu.txt
Created June 24, 2021 14:17
form_submenu.txt
This file has been truncated, but you can view the full file.
object form_submenu: Tform_submenu
Left = 0
Top = 0
AlphaBlend = True
AlphaBlendValue = 240
BorderStyle = bsNone
Caption = 'form_submenu'
ClientHeight = 362
ClientWidth = 496
Color = clBtnFace
@sjain882
sjain882 / Bot Commands.txt
Last active August 4, 2024 11:01
The Counter-Strike Bot v1.5 - List & explanation of commands
The Counter-Strike Bot v1.5 - List & explanation of commands
============================================================
An online preview of this document is available at https://gist.github.com/sjain882/b1f5465060a9194457559aa783bfc0f8 > click "Raw" - if you've visited it before, refresh to view updates.
Enable "Format > Word Wrap" in Notepad for easier reading.
[ How to use commands ]
1. Press the ` key on your keyboard, to the left of the 1 key (https://i.imgur.com/7pAqBUw.png).
@sjain882
sjain882 / Counter-Strike 1.6 Steam Bots & Bot Menu (Windows & Linux) - Readme.txt
Last active March 27, 2025 17:41
Counter-Strike 1.6 Steam Bots & Bot Menu (Windows & Linux) - Readme
Counter-Strike 1.6 Steam Bots & Bot Menu (Windows & Linux)
==========================================================
An online preview of this document is available at https://gist.github.com/sjain882/d0d83add63a696aeb5394df2fd63f5a9 > click "Raw" - if you've visited it before, refresh to view updates.
This document is simply a text copy of the Steam guide (https://steamcommunity.com/sharedfiles/filedetails/?id=1725204346); there is no need to reread if you followed it.
Enable "Format > Word Wrap" in Notepad for easier reading.
All references to "Counter-Strike 1.6" refer to the Steam game "Counter-Strike" (https://store.steampowered.com/app/10).
[ Installation ]