Skip to content

Instantly share code, notes, and snippets.

@S22F5
S22F5 / xfpm-power-backlight-helper
Created August 5, 2025 10:17
xfpm-power-backlight-helper xbrightness shim ​ ! backup original xfpm-power-backlight-helper !
#!/bin/bash
MAX_SLIDER=65535
# get default display
if [[ -n "$PKEXEC_UID" ]]; then
USERNAME=$(id -nu "$PKEXEC_UID")
else
USERNAME=$(logname 2>/dev/null || echo "$SUDO_USER")
fi
HOME_DIR=$(getent passwd "$USERNAME" | cut -d: -f6)
@S22F5
S22F5 / select_every_second.py
Created July 22, 2025 09:14
GIMP 3.0 Plugin that selects every second layer
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import gi, sys
gi.require_version('Gimp', '3.0')
from gi.repository import Gimp, GLib
class SelectEverySecondLayerPlugIn(Gimp.PlugIn):
def do_query_procedures(self):
@S22F5
S22F5 / main.c
Created June 17, 2025 14:05
Rosetta Stone 3 RSD Extract
// compile: x86_64-w64-mingw32-gcc -O3 main.c -o rsd_extract.exe
// based on DataInstaller.dll Version 1.1.5.0
#include <direct.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <wchar.h>
@S22F5
S22F5 / HyperbowlArcWin10.md
Last active June 4, 2025 20:52
Hyperbowl Arcade on Windows 10 Tutorial

Guide on Playing Hyperbowl Arcade Edition on Windows 10

  • Install the Game from an ISO or your own CD
  • Download CD-Cops Emulator v1.0
    go to the game install dir
  • Run CopsEmu.exe and select HyperBowl.exe and name the output something convenient like HyperBowlEMU.exe
  • Run HyperBowlEMU.exe as Administrator
  • Done

Patching higher res should be easy by using a custom ddraw.dll

@S22F5
S22F5 / EldenRingNightreign.md
Last active May 30, 2025 19:22
notes on Elden Ring Nightreign
  • for some reason they still use "Global\SekiroMutex" which they have used for 3 games now.
  • the primal debug menu still exists inside the game code.
  • the sl2 save files can still be edited with key from exe.
  • guardit and eos are badly implemented or are just bad (maybe thats a bit harsh).
  • h̶a̶v̶e̶n̶t̶ found the playtester menu like in ds3. 14081b6b0 ))

playtest menu options:

Option Translation
会話メニュー Conversation menu
@S22F5
S22F5 / DS3SteamReleaseLog.txt
Last active May 27, 2025 10:52
DS3SteamReleaseLog
CS::OpenFileEx: Fromsoft\DarkSouls3\Game\font\matissepron\font.gfx
CS::OpenFileEx: Fromsoft\DarkSouls3\Game\font\tsukuoldminpro\font.gfx
CS::OpenFileEx: Fromsoft\DarkSouls3\Game\menu\win\01_900_black.gfx
GFXLoaderErr: Loader failed to open Fromsoft\DarkSouls3\Game\menu\win\01_900_black.gfx
CS::OpenFileEx: Fromsoft\DarkSouls3\Game\menu\01_900_black.gfx
CS::OpenFileEx: Fromsoft\DarkSouls3\Game\menu\win\01_080_emergencynotice.gfx
GFXLoaderErr: Loader failed to open Fromsoft\DarkSouls3\Game\menu\win\01_080_emergencynotice.gfx
CS::OpenFileEx: Fromsoft\DarkSouls3\Game\menu\01_080_emergencynotice.gfx
CS::OpenFileEx: Fromsoft\DarkSouls3\Game\menu\win\01_090_summonmessage.gfx
GFXLoaderErr: Loader failed to open Fromsoft\DarkSouls3\Game\menu\win\01_090_summonmessage.gfx
@S22F5
S22F5 / ds3LatestSteamAssetLogUniq.txt
Last active May 20, 2025 11:14
DS3 LatestSteam Asset Load Order Uniq
&L"shader:/gxshader.shaderbnd.dcx"
&L"other:/systex.tpf.dcx"
&L"other:/movtae.movtae.dcx"
&L"shader:/gxgui.shaderbnd.dcx"
&L"shader:/gxrenderershader.shaderbnd.dcx"
&L"shader:/gxposteffect.shaderbnd.dcx"
&L"shader:/gxflvershader.shaderbnd.dcx"
&L"shader:/gxflvershader.shaderbnddebug.dcx"
&L"shader:/gxffxshader.shaderbnd.dcx"
&L"shader:/gxdecal.shaderbnd.dcx"
@S22F5
S22F5 / FSVidFormats.txt
Last active May 29, 2025 22:40
FROMSOFT Video Formats
NB = wmv
DSPtDE = wmv
DS2 = wmv
DS2SotFS = wmv
DS1R = bik
DS3 = bik
ER = bk2
SK = bk2
AC6 = bk2
BB = mp4
@S22F5
S22F5 / ds3srcTree.txt
Created May 9, 2025 19:27
Dark Souls 3 Source Code Tree
FDP/
├── Build
├── Source
│ ├── AES
│ │ └── DLAesCipher.cpp
│ ├── AI
│ │ ├── Script
│ │ │ └── Goal
│ │ │ ├── Implement
│ │ │ │ └── SprjGoalSpinStep.cpp
@S22F5
S22F5 / FROMSOFT_CoreLib
Last active May 10, 2025 11:36
FROMSOFT Libraries
- (PC)Dark Souls 2 SotFS 1.0.2:
--------------------------------------------------------
dantelion2 v11.6.16#0 (build:Thu Jul 17 15:19:47 2014)
--------------------------------------------------------
EzState v2.25.0#0 (build:Dec 11 2014 18:44:31)
--------------------------------------------------------
ffx v5.13.2#0 (build:Feb 11 2015 14:32:38)
--------------------------------------------------------
--------------------------------------------------------
--------------------------------------------------------