Skip to content

Instantly share code, notes, and snippets.

@ChrisFeline
ChrisFeline / set-vrc_launch_world-desktop.bat
Created August 8, 2024 04:48
Batch script for VRChat to launch worlds from the website in Desktop mode instead of VR.
rem Created by Kittenji.
rem https://github.com/ChrisFeline
@echo off
setlocal enabledelayedexpansion
rem Find VRChat Installation Path
set "regKey=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Steam App 438100"
set "regKeyVRC=HKLM\SOFTWARE\Classes\VRChat\shell\open\command"
set "regValue=InstallLocation"
@ChrisFeline
ChrisFeline / thunderstore-manifest.json
Created March 19, 2024 22:52
Thunderstore Manifest Schema
{
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Package name.",
"maxLength": 128,
"pattern": "[a-zA-Z0-9_]"
},
"version_number": {
@ChrisFeline
ChrisFeline / TryOpenIn_dnSpy.cs
Created January 7, 2024 11:17
Lethal Company editor utility script for using the Context Menu on scripts to open it's type reference on dnSpy. This tries to match the Assembly name inside the game's managed folder.
/*
* Created by @Kittenji
* https://github.com/ChrisFeline
*/
#if UNITY_EDITOR
using System;
using UnityEditor;
using System.Diagnostics;
using System.IO;
@ChrisFeline
ChrisFeline / CopySerializedProperties.cs
Last active January 5, 2024 19:13
UnityEditor Utility to facilitate copying similar properties from one script instance to another.
/*
* Created by @Kittenji
* https://github.com/ChrisFeline
*/
#if UNITY_EDITOR
using UnityEngine;
using UnityEditor;
namespace Kittenji.Editor
@ChrisFeline
ChrisFeline / xso_notif.js
Last active September 28, 2023 08:07
NodeJS XSOverlay Notifications API Example
const dgram = require('dgram');
const client = dgram.createSocket('udp4');
const msg = {
messageType: 1,
title: "Example Notification!",
content: "It's an example!",
height: 120,
sourceApp: "XSOverlay_Example_UDP_NodeJS",
timeout: 6,