Skip to content

Instantly share code, notes, and snippets.

View BinToss's full-sized avatar
✍️
Making progress...

Noah Sherwin BinToss

✍️
Making progress...
View GitHub Profile
Game Version: v1.22.1 (Stable)
4/29/2026 11:29:54 PM: Critical error occurred
Loaded Mods: <loaded-mods.csv>
System.NullReferenceException: Object reference not set to an instance of an object.
at InterestingOreGen.Generators.IOGDepositBlock.Resolve(String fileForLogging, ICoreServerAPI api, Block inblock, String key, String value) in C:\Users\thedo\OneDrive\Desktop\Modding\Mod Sources\interestingoregen\InterestingOreGen\Generators\IOGDepositBlock.cs:line 31
at InterestingOreGen.Generators.TiltedDiscDepositGenerator.Init_Patch2(TiltedDiscDepositGenerator this)
at InterestingOreGen.Generators.TiltedAnywhereDiscGenerator.Init() in C:\Users\thedo\OneDrive\Desktop\Modding\Mod Sources\interestingoregen\InterestingOreGen\Generators\TiltedDiscAnywhere.cs:line 28
at Vintagestory.ServerMods.DepositVariant.Init(ICoreServerAPI api, LCGRandom depositRand, NormalizedSimplexNoise noiseGen) in VSEssentials\Systems\WorldGen\Standard\ChunkGen\5.GenDeposits\DepositVariant.cs:line 79
at Vintagestory.ServerMods.Ge
#!/usr/bin/fish
set -l desc_mods_dir "(Optional) Specify the directory to manage mods. Defaults to Rustique's mod_dir."
complete -c rustique_list_disabled -s m -l mods-dir -d "$desc_mods_dir"
function rustique_list_disabled
argparse -S h/help 'm/mods-dir=!test' -- $argv
or return
# cache the output of `rustique config list` so it is never executed more than once if at all.
@BinToss
BinToss / rustique_outdated.fish
Last active August 11, 2026 16:01
`rustique_outdated` is a wrapper for Rustique mod manager that lists which installed mods may be incompatible with a given version of Vintage Story.
#!/bin/fish
# INSTALL/UPDATE: curl -Lso ~/.config/fish/functions/rustique_outdated.fish https://gist.githubusercontent.com/BinToss/894bb90e8d4514132a5abfc5c513061f/raw/rustique_outdated.fish
# VERSION: 1.0.3
set -l desc "rustique_outdated is a wrapper for Rustique mod manager that lists which installed mods may be incompatible with a given version of Vintage Story."
set -l desc_help "Print help"
set -l desc_mods_dir "(Optional) Specify the directory to manage mods. Defaults to Rustique's mod_dir."
set -l desc_game_version "(Optional) Specify the game version to manage. MAJOR.MINOR format is recommended e.g. '1.22'. Defaults to Rustique's pinned_game_version."
complete -c rustique_outdated -s h -l help -d "$desc_help"
@BinToss
BinToss / rustique_outdated.fish
Created April 24, 2026 09:22
rustique_outdated is a wrapper for Rustique mod manager that lists which installed mods may be incompatible with a given version of Vintage Story.
#!/bin/fish
# INSTALL: cp rustique_outdated.fish ~/.config/fish/functions/
set -l desc "rustique_outdated is a wrapper for Rustique mod manager that lists which installed mods may be incompatible with a given version of Vintage Story."
set -l desc_help "Print help"
set -l desc_mods_dir "(Optional) Specify the directory to manage mods. Defaults to Rustique's mod_dir."
set -l desc_game_version "(Optional) Specify the game version to manage. MAJOR.MINOR format is recommended e.g. '1.22'. Defaults to Rustique's pinned_game_version."
complete -c rustique_outdated -s h -l help -d "$desc_help"
complete -c rustique_outdated -s m -l mods-dir -d "$desc_mods_dir"
@BinToss
BinToss / README.md
Last active April 22, 2026 05:03
Rustique game-version wrappers

Background

When Vintage Story 1.22.0 released on April 21st, 2026, I realized my preferred mod manager, Rustique, had an inconvenient solution to switching between game versions e.g. rustique config set --pinned-game-version 1.22.0

I spent that afternoon and evening writing Fish functions to wrap rustique commands for Vintage Story 1.21.x and 1.22.x. Two scripts were the result, but it took only another hour to merge two and make the result argument-driven.

This time would have been better spent contributing a solution upstream so Rustique users can specify pinned_game_version on a per-mod-dir basis.

Examples

@BinToss
BinToss / README.md
Last active April 17, 2026 23:35
Linux Maximize Backlight Brightness

fullbright

This shell script, fullbright, selects one of your backlight of one of your displays and (if its backlight brightness is not maximized) sets the backlight to the value found in its max_brightness file.

At the time of writing, this script will only attempt to maximize the brightness of the first backlight it finds; It does not have a Choice prompt.

@BinToss
BinToss / QuickFT_Menu.xml
Last active March 12, 2026 21:01
Fallout 76 - Uni Map v1.3.3 + Treasure Hunter 2025 Fast Travel points
<?xml version="1.0" encoding="UTF-8"?>
<UniMap>
<QuickFT>
<Menu List="Main">
<Title>Main</Title>
<ID>92</ID> <!-- Mark this location -->
<ID>1</ID> <!-- Custom Marker -->
<ID>0</ID>
<ID>80</ID> <!-- Camp -->
<ID>81</ID> <!-- Tent -->
@BinToss
BinToss / CreateScripts.sh
Created January 2, 2026 03:31
ImprovedSocialMenuPatch scripts for Bourne Shell + Wine on Unix/Linux systems
#! /usr/bin/sh
# OPTIONAL. This writes the other scripts in this gist and flags them as executable.
if [ ! -r "../SeventySix - Interface.ba2" ]; then
echo "Error: SeventySix - Interface.ba2 not found!"
echo "Make sure you are running script in the correct directory: Fallout 76/Data/ImprovedSocialMenuPatch/"
echo $PWD
exit 1
fi
@BinToss
BinToss / NOAH-RAZERPC.pacmanity
Last active June 15, 2026 00:53
NOAH-RAZERPC: List of installed packages
7zip
a52dec
aalib
aardvark-dns
abseil-cpp
accountsservice
acl
act
ada
adobe-source-han-sans-cn-fonts
@BinToss
BinToss / VSCode_versions_internal_deps.md
Created March 6, 2025 11:23
VSCode versions and their internal dependencies (e.g. Chromium, Electron, Node.js)

VSCode versions and their internal deps

VSCode Chromium Electron Node.js release notes
1.59 91.0.4472.124 13 14.16.0 https://code.visualstudio.com/updates/v1_59#_electron-13-update
1.66 98.0.4758.109 17 16.13.0 https://code.visualstudio.com/updates/v1_66#_electron-17-update
1.69 100.0.4896.160 18 16.13.2 https://code.visualstudio.com/updates/v1_69#_electron-18-update
1.71 102.0.5005.167 19 16.14.2 https://code.visualstudio.com/updates/v1_71#_electron-19-update
1.78 108.0.5359.215 22 16.17.1 https://code.visualstudio.com/updates/v1_78#_electron-22-update
1.82 114.0.5735.289 25 18.15.0