Skip to content

Instantly share code, notes, and snippets.

View FairlySadPanda's full-sized avatar
🏠
Back in the office!

Hannah Giovanna Dawson FairlySadPanda

🏠
Back in the office!
View GitHub Profile
@FairlySadPanda
FairlySadPanda / advice.txt
Created December 10, 2025 14:44
DNA performance advice
After getting a Legion Go S (Zen 2 Go, 16GB one) at a Black Friday sale, I decided to try and get DNA running on it and ended up spiralling into madness.
I leave my advice here for other internet explorers.
This applies to the **1.0 Fina patch**.
###
# Installation (of the game)
@FairlySadPanda
FairlySadPanda / Engine.ini
Last active December 11, 2025 19:57
Engine.ini for DNA (for Reddit)
# Credits to DragonPhase for the base file for this. Comments below starting with ; are theirs.
# No link here to the original to avoid breaking TOS (I sourced it from a mod-hosting site).
# My main changes were some auditing of changes to make sure they
# actually decreased (or did not increase) frametime.
# I also did a sweep to remove changes that changed visual quality for the worse;
# you can absolutely make DNA look worse than this.
# Warning: this version may cause nasty blurriness when FSR is enabled.
# This was made using the 1.0 Fina patch, 11th Dec 2025.
# Important: the devs can and will change optimization over time!
@FairlySadPanda
FairlySadPanda / Scalability.ini
Last active December 11, 2025 19:56
Scalability.ini for DNA (for Reddit)
# Credits to DragonPhase for the base file for this. Comments below starting with ; are theirs.
# No link here to the original to avoid breaking TOS (I sourced it from a mod-hosting site).
# My main changes were some auditing of changes to make sure they
# actually decreased (or did not increase) frametime.
# I also did a sweep to remove changes that changed visual quality for the worse;
# you can absolutely make DNA look worse than this.
# Warning: this version may cause nasty blurriness when FSR is enabled.
# HOW THIS WORKS
# Unreal Engine has internal settings for performance levels.
@FairlySadPanda
FairlySadPanda / main.go
Last active December 5, 2024 02:09
Advent Of Code 2025 - Day 1 - Clean Golang
package main
import (
"encoding/json"
"flag"
"fmt"
"os"
"path/filepath"
"slices"
"strconv"
@FairlySadPanda
FairlySadPanda / SyncOnStart.cs
Created November 22, 2024 13:50
SyncOnStart test cases
using UdonSharp;
using UnityEngine;
using VRC.SDKBase;
namespace FairlySadPanda.TestCases
{
[UdonBehaviourSyncMode(BehaviourSyncMode.Manual)]
public class SyncOnStart : UdonSharpBehaviour
{
[SerializeField] private string testCaseName;
@FairlySadPanda
FairlySadPanda / ButtonEditorEnhancer.cs
Last active October 19, 2024 19:31
Some handy editor scripting for working with UI text and buttons in VRChat Udon development
using System.Linq;
using TMPro;
using TMPro.EditorUtilities;
using UnityEditor;
using UnityEditor.Events;
using UnityEditor.SceneManagement;
using UnityEngine;
using UnityEngine.UI;
using VRC.Udon;
@FairlySadPanda
FairlySadPanda / MainMenu.cs
Created October 14, 2024 23:27
Example of registration and use of event bus pattern in UdonSharp for VRChat :)
using UnityEngine;
using VRCBilliardsCE.Packages.com.vrcbilliards.vrcbce.Runtime.ScriptsV2.Core;
using VRCBilliardsCE.Packages.com.vrcbilliards.vrcbce.Runtime.ScriptsV2.Core.Infrastructure;
namespace VRCBilliardsCE.Packages.com.vrcbilliards.vrcbce.Runtime.ScriptsV2.Menu.Domain
{
public enum State
{
// The main menu is closed.
Closed,
@FairlySadPanda
FairlySadPanda / EventBus.cs
Created October 14, 2024 23:24
Event Bus pattern in UdonSharp for VRChat :)
using UdonSharp;
using UnityEngine;
using VRC.SDK3.Data;
using VRC.SDKBase;
using VRC.Udon;
using Event = VRCBilliardsCE.Packages.com.vrcbilliards.vrcbce.Runtime.ScriptsV2.Core.Domain.Event;
namespace VRCBilliardsCE.Packages.com.vrcbilliards.vrcbce.Runtime.ScriptsV2.Core.Infrastructure
{
// An event bus. This manager handles discrete events being issued to it from VRCBilliards, and dispatches these
@FairlySadPanda
FairlySadPanda / ChatValidator.cs
Created February 20, 2024 13:44
ChatValidator
using Content.Server.Administration.Logs;
using Content.Server.Administration.Managers;
using Content.Server.Chat.Managers;
using Content.Server.Chat.V2.Repository;
using Content.Shared.CCVar;
using Content.Shared.Chat.V2;
using Content.Shared.Chat.V2.Components;
using Content.Shared.Database;
using Content.Shared.Ghost;
using Content.Shared.Mobs.Systems;
using System.Linq;
using Robust.Shared.Serialization;
namespace Content.Server.Chat.V2.Repository;
/// <summary>
/// Stores <see cref="IStorableChatEvent"/>, gives them UIDs, and issues them again locally for actioning.
/// </summary>
/// <remarks>
/// This is an <see cref="EntitySystem"/> because: