Skip to content

Instantly share code, notes, and snippets.

View spongeyperson's full-sized avatar
🤒
Sick with COVID-19. Slowly recovering, but Updates will be slow.

Tyler Phoenix spongeyperson

🤒
Sick with COVID-19. Slowly recovering, but Updates will be slow.
View GitHub Profile
@spongeyperson
spongeyperson / unreal-multicore-tweaks.md
Last active January 27, 2024 08:36
Unreal Engine 4 Multicore Tweaks and Performance Options

Unreal Engine 4 Multicore Tweaks

This guide gives you some tweaks you can try in various config files and launch arguments inside your Unreal Engine 4 Game to get some more performance out of your Multi-core system.

After %command% Launch Options to Try (Steam):

(place these in your Launch Options in Steam, after %command%)
  • -USEALLAVAILABLECORES

    • Explicitly make the game utilize all available CPU cores, self explanitory
  • -NOTEXTURESTREAMING

    • Disable streaming textures in and out of VRAM based on player location. This can be benefitial for systems with lots of VRAM avalilable, or when the game doesn't stream textures correctly, causing textures to stay blurry for far too long.
  • -nomansky (not the game)

@spongeyperson
spongeyperson / unity-multicore-tweaks.md
Last active January 18, 2024 20:42
How to *attempt* to get Unity to use more Cores on a heavily Multi-core system.

Unity Multicore Tweaks

This guide gives you some tweaks you can try in boot.config inside your Unity Game to get some more performance out of your Multi-core system.

Performance Flags to Try:

  • gc-max-time-slice=3

    • This increases the slice of time Unity's Garbage Collector is allowed to spend on a single frame. Increasing this value increases the amount of time until the Garbage Collector is run. Setting this helps limit the impact of garbage collection on framerate by specifying a maximum time that the garbage collector is allowed to consume during a frame. If the garbage collection process exceeds this time limit, it may be interupted, and the remaining work may be moved to the next frame. Value is in Milliseconds.
  • gfx-enable-gfx-jobs=1

    • Enables Standard Graphics Jobs. Enabling this, Unity will attempt to use multiple CPU cores for certain graphics tasks, which can result in better performance.
  • gfx-enable-native-gfx-jobs=1

  • Explicitly
@spongeyperson
spongeyperson / proxmox_nvidia.md
Created December 26, 2023 11:56 — forked from egg82/proxmox_nvidia.md
NVidia Proxmox + LXC

Proxmox

Find the proper driver at the NVidia website.

Note: Make sure to select "Linux 64-bit" as your OS

Hit the "Search" button.

@spongeyperson
spongeyperson / ssh-ident.sh
Last active April 29, 2023 02:42
Spongey's Shitty Shell Script to Automate Creating SSH Identities
#!/bin/bash
#Greeting
echo -e "\e[0m"
echo -e "\e[96m##################################"
echo -e "\e[96m# Welcome to \e[93mSpongey's\e[0m \e[96m#\e[0m"
echo -e "\e[96m# \e[4mNo Excuses\e[0m \e[96mSSH Security Script #\e[0m"
echo -e "\e[96m# \e[31mrev. 4.1\e[0m \e[96m#\e[0m"
echo -e "\e[96m##################################"
# Reset, then ask user to continue script
@spongeyperson
spongeyperson / Windows - AMD GPU Driver Stability Report.md
Last active May 1, 2023 19:04
Windows - AMD GPU Driver Stability Report.md

AMD GPU Driver Stability Report (Windows):

This page is a general stability report and / or cautionary tale showing how stable or buggy AMD GPU Drivers on Windows can be based on my own personal experiences over the years with Daily driving AMD Hardware.

Note: All AMD Drivers installed after 23.2.2 will be clean installed via DisplayDriverUninstaller (DDU) in Safe Mode Prior to testing to ensure accurate results, due to AMD Disabling the "Factory Reset" option in the Driver installer as of Driver 23.3.1

Testing Hardware:

@spongeyperson
spongeyperson / TypeClipboard.md
Created November 11, 2021 02:00 — forked from ethack/TypeClipboard.md
Scripts that simulate typing the clipboard contents. Useful when pasting is not allowed.

It "types" the contents of the clipboard.

Why can't you just paste the contents you ask? Sometimes pasting just doesn't work.

  • One example is in system password fields on OSX.
  • Sometimes you're working in a VM and the clipboard isn't shared.
  • Other times you're working via Remote Desktop and again, the clipboard doesn't work in password boxes such as the system login prompts.
  • Connected via RDP and clipboard sharing is disabled and so is mounting of local drives. If the system doesn't have internet access there's no easy way to get things like payloads or Powershell scripts onto it... until now.

Windows

The Windows version is written in AutoHotKey and easily compiles to an executable. It's a single line script that maps Ctrl-Shift-V to type the clipboard.