Skip to content

Instantly share code, notes, and snippets.

View frostworx's full-sized avatar

frostworx

  • usually BKAC or in (rapidly dying) nature
View GitHub Profile
@frostworx
frostworx / gist:6f1c12bdf5c0f319bcbd0ef18e3e301b
Created September 10, 2021 13:27
PKGBUILD for decklink-12.1 with patch for linux-5.14
# patch is from here: https://forum.blackmagicdesign.com/viewtopic.php?f=12&t=144876#p788448
# not sure if it is worth to download it from there
# Maintainers: Perry Hung <perry@leaflabs.com> Florent Thiery <fthiery@gmail.com> Théo Le Calvar <tlc@kher.nl>
pkgbase=decklink
pkgname=(decklink mediaexpress)
_pkgname=decklink
pkgver=12.1
pkgrel=2
pkgdesc="Drivers for Blackmagic Design DeckLink, Intensity or Multibridge video editing cards"
arch=('i686' 'x86_64')
# any valid steam appid as arg1
#!/bin/bash
AIVDF="$HOME/.local/share/Steam/appcache/appinfo.vdf"
STLAPPINFOIDDIR="$HOME/.config/stl/games/appinfo"
function getRawAppIDInfo {
SEARCHID="$1"
HXTST="$(printf '%x\n' "$SEARCHID" | fold -w2 | tail -n1)"
@frostworx
frostworx / gist:ca24fe761d33365e24076f9745579e39
Created July 25, 2021 07:52
Special K 0.11.0.45 dxgi.log with debugging symbols using Proton 6.3-5
#################
dxgi.log (game gets stuck with a black screen and needs to be killed)
#################
07/25/2021 07:46:04.637: dxgi.log created (Special K 0.11.0.45, Jun 23 2020)
07/25/2021 07:46:04.645: [DebugUtils] [!] > First Call: ZwSetInformationThread_Detour
-------------------------------------------------------------------------------------------
07/25/2021 07:46:04.647: >> (AI.exe) [dxgi.dll] <<
07/25/2021 07:46:04.647: Loading user preferences from dxgi.ini... 07/25/2021 07:46:04.658: [Window Mgr] [!] > First Call: GetFocus_Detour
07/25/2021 07:46:04.658: [Window Mgr] [!] > First Call: GetActiveWindow_Detour
@frostworx
frostworx / gist:5d271b4ebb48164b25e4520ca104b2ce
Created July 25, 2021 07:37
Special K 21.04.04 dxgi.log and crash.log with debugging symbols using Proton 6.3-5
##########################
dxgi.log:
##########################
07/25/2021 07:31:14.628: dxgi.log created (Special K 21.04.04, Apr 4 2021)
07/25/2021 07:31:14.628: [DebugUtils] [!] > First Call: ZwCreateThreadEx_Detour
-------------------------------------------------------------------------------------------
07/25/2021 07:31:14.641: >> (AI.exe) [dxgi.dll] <<
07/25/2021 07:31:14.641: Loading user preferences from dxgi.ini... 07/25/2021 07:31:14.650: [Window Mgr] [!] > First Call: GetFocus_Detour
07/25/2021 07:31:14.650: [Window Mgr] [!] > First Call: GetActiveWindow_Detour
Computerinformationen:
Hersteller: Unknown
Modell: Unknown
Formfaktor: Desktop
Keine Touch-Eingabe erkannt
Prozessor:
CPU-Hersteller: AuthenticAMD
CPU-Marke: AMD Ryzen 9 5900X 12-Core Processor
CPU-Familie: 0x19
@frostworx
frostworx / getInstSteamGames
Last active March 22, 2021 11:26
getInstSteamGames - lists all installed Games in Steam from all SteamLibraries
#!/usr/bin/env bash
# getInstSteamGames
# Usage: just start it - no args
function setSteamPath {
HSR="$HOME/.steam/root"
HSS="$HOME/.steam/steam"
if [ -z "${!1}" ]; then
@frostworx
frostworx / fixVRDash
Last active October 1, 2021 15:43
Quick little bash script 'fixVRDash' which fixes this issue https://github.com/ValveSoftware/SteamVR-for-Linux/issues/255
#!/usr/bin/env bash
# shellcheck source=/dev/null
# fixVRDash - fixes this issue https://github.com/ValveSoftware/SteamVR-for-Linux/issues/255
# by automating Supreeemes fix found here: https://github.com/ValveSoftware/SteamVR-for-Linux/issues/255#issuecomment-775624892
# all kudos to him!
# Pretty harmless, it also creates backups and tries to make sure it wasn't used before but use at your risk
# Usage:
# just start it (only applies the changes in SteamVR)
@frostworx
frostworx / gist:ecba4f66c578e7efdff2c84e6a934029
Created February 18, 2021 11:01
Proton log (vrclient and vulkan) of an experimental HelixVision SuperDepth3D_exp crash
This file has been truncated, but you can view the full file.
used
WINEDEBUG="-all,+vrclient,+vulkan"
======================
Proton: 1613580574 experimental-5.13-20210217
SteamGameId: 622650
Command: ['/media/ssdeam/SteamLibrary/steamapps/common/Bendy and the Ink Machine/Bendy and the Ink Machine.exe']
Options: {'forcelgadd'}
@frostworx
frostworx / gist:908ce88573dc7163fc777918dd1d1069
Created February 17, 2021 09:54
Proton log of an experimental HelixVision SuperDepth3D_exp crash
SuperDepth3D_exp binary via https://steamcommunity.com/app/1127310/discussions/0/3106889614412452696/#c3108016336250659418
======================
Proton: 1612904805 proton-5.13-6
SteamGameId: 622650
Command: ['/media/ssdeam/SteamLibrary/steamapps/common/Bendy and the Ink Machine/Bendy and the Ink Machine.exe']
Options: {'forcelgadd'}
======================
ERROR: ld.so: object '/home/frostwork/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
@frostworx
frostworx / STLsetDefault.sh
Last active April 25, 2021 03:40
little script to set stl as default starter for every steam game. works with a copy of the steam config
#!/bin/bash
YOURID=0
SUD="$HOME/.steam/steam/userdata/"
LCVDFO="$SUD/$YOURID/config/localconfig.vdf"
LCVDF="/tmp/localconfig.vdf"
LOPT="\\\t\t\t\t\t\t\"LaunchOptions\" \"stl %command%\""
if [ -n "$1" ]; then