Skip to content

Instantly share code, notes, and snippets.

View strzlee's full-sized avatar

Straussn strzlee

View GitHub Profile
@AeroGenesiX
AeroGenesiX / readme(Linux).md
Last active December 19, 2025 18:34 — forked from polyfjord/batch_reconstruct.bat
Batch script for automated photogrammetry tracking workflow

Automated Video to 3D Scan Workflow for linux

This repository contains a robust Bash script for automating a photogrammetry workflow on Linux. It takes video files as input and uses FFmpeg and COLMAP to generate a 3D sparse point cloud, complete with intelligent error handling and automatic GPU detection.

This script is a heavily modified and debugged Linux version of an original concept by polyfjord.


Features

#!/bin/bash
##
## Session globals
##
# unset DISPLAY
export XDG_CURRENT_DESKTOP=gamescope # necessary for ryujinx to render properly
export SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS=0

Preface

I'm comparing Godot mostly to Unity due to my ~10 years of Unity experience. I'm also primarily working in 3D and C# and that is what I want to use Godot for.

Terms:

  • by "export" I mean a variable exposed in the inspector, that's how Godot calls them
  • I use the word "prefab" to mean a scene that is intended to be instantiated multiple times, unlike a "level"
  • Godot's Resources == Unity's ScriptableObjects
  • Godot's collision shapes == Unity's colliders

Pros

Setting, DefaultValue, INIValue, CurrentValue, Origin
fSpatialGraphSpaceCollectionGridDistance:Pathfinding, 15000.000000, 15000.000000, 15000.000000, INI
fSpatialGraphSpaceCollectionGridUpdateDistance:Pathfinding, 500.000000, 500.000000, 500.000000, INI
bMergeInstStatCol:Packin, True, True, True, INI
bSkipFurnitureMarkerVisualization:AI, False, False, False, INI
bShowFurnitureEntryMarkers:AI, True, True, True, INI
bShowFurnitureExitMarkers:AI, True, True, True, INI
bShowFurnitureMarkersForSelectedOnly:AI, False, False, False, INI
bPlanetContentLogDiffing:Planet, False, False, False, INI
bDebugCombatCoverReservations:Combat, False, False, False, INI
@ammuench
ammuench / 8BitDoUltimateWifi_Linux.MD
Last active December 20, 2025 05:33
8BitDo Ultimate 2.4GHz wifi working in linux
#!/bin/bash
# Fix intel color corruption
# might come with some performance degradation but is better than a corrupted
# color image
export INTEL_DEBUG=norbc
# Some environment variables by default (taken from Deck session)
export SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS=0
import tweepy, json, time, sys
auth = tweepy.OAuth1UserHandler(
<api keys here>
)
api = tweepy.API(auth)
d = json.loads(open(sys.argv[1]).read().split("=", 1)[1])
/*=============================================================================
ReShade 5 effect file
github.com/martymcmodding
Author: Pascal Gilcher / Marty McFly
ReShade Motion Estimation Shader for dense 2D UV-space motion vectors
Based on ReShade Motion Estimation by Jakob Wapenhensch
(https://github.com/JakobPCoder/ReshadeMotionEstimation)
@Ishindri
Ishindri / UMM on Steam Deck.md
Last active September 25, 2025 13:33
Installing Unity Mod Manager into Pathfinder: Kingmaker and Pathfinder: Wrath of the Righteous on Steam Deck

Installing Unity Mod Manager into Pathfinder: Kingmaker and Pathfinder: Wrath of the Righteous on Steam Deck

n.b. These are the steps that worked for me. I can't guarantee that they'll work for you, but I don't have any reason to believe they won't. I tested this process on the GOG version of Pathfinder: Wrath of the Righteous installed via Heroic Games Launcher. If you test it and find that different steps are needed, please comment below!

  1. Install the Pathfinder game of your choice, via Steam or otherwise. Make sure you note down the install location of the game - in my case I installed it to the SD card via Heroic, so it ended up in /run/media/mmcblk0p1/Heroic/Pathfinder Wrath of the Righteous/.
  2. In Desktop mode, download Unity Mod Manager and extract it wherever you like. I personally put it in /home/deck/Games/Unity Mod Manager/.
  3. In Steam, still in Desktop mode, navigate to Library > Add A Game > Add a Non-Steam Game > Browse and select UnityModMan
@rizerzero
rizerzero / bash_strict_mode.md
Created May 23, 2022 10:28 — forked from mohanpedala/bash_strict_mode.md
set -e, -u, -o, -x pipefail explanation