Skip to content

Instantly share code, notes, and snippets.

View horseslmao's full-sized avatar
💭
I may be slow to respond.

🐴 horseslmao

💭
I may be slow to respond.
View GitHub Profile
@horseslmao
horseslmao / Stream Health Hud.lua
Created January 10, 2026 09:59
Quick Modification of MMLTech's Stream health HUD. Adds FPS and padding to make it amenable to scrolling. Original Work: https://obsproject.com/forum/resources/stream-health-hud.2286/
-- Stream Health HUD (Overlay Text Source Updater)
-- Targets Text (GDI+) sources (id = text_gdiplus_v3)
-- Updates a Text source with:
-- • Stream/Record time
-- • Dropped frames
-- • CPU %
-- • FPS
-- • Bitrate (kbps, if available)
local obs = obslua
@horseslmao
horseslmao / askuser.ahk
Created December 29, 2025 22:21
Run a shell command from OBS Advanced scene switcher while storing the output in a variable ... without a temporary file 👀 is OBS Python -> Batch -> Autohotkey
#Requires Autohotkey v2
outputtext := InputBox("put somethin here", "messageboxtitle",,A_Args[1]).value
stdout := FileOpen("*", 0x1)
stdout.Write(outputtext)
stdout.Close()
ExitApp
@horseslmao
horseslmao / _EXPLORERPP.bat
Last active January 1, 2026 19:04
scripts for new vegas modding sheneghanians, some meant to run from inside mo2, some not
@echo off
set activeprofile=Default
for /f "tokens=2 delims=()" %%z IN ('inifile "%~dp0\..\MO2\ModOrganizer.ini" [General] selected_profile' ) do set activeprofile=%%z
cd ..\MO2\explorer++
start "" "Explorer++.exe" "%__CD__%\..\..\..\GAME\data" "%__CD__%\..\..\..\GAME" "%__CD__%\..\..\..\MO2\overwrite" "%__CD__%\..\..\..\MO2\profiles\%activeprofile%" "%__CD__%\..\..\..\MO2\mods" "%__CD__%\..\..\..\..\SHARED"
exit /b