Skip to content

Instantly share code, notes, and snippets.

View ckx's full-sized avatar

ckx ckx

View GitHub Profile
@ckx
ckx / slippi_fixpixbuf.py
Created May 9, 2025 08:06
Fix silly "pixbuf" librsvg-2 error on some Linux OS when running Dolphin via Slippi
# USAGE:
## 1) Install & setup Slippi normally, make sure it is fully updated
## 2) Install Python3 from your favorite package manager
## 3) Run this script from a terminal:
### python3 slippi_fixpixbuf.py
## Credits: Niah, Nikkis (original workaround), FlavorKicker (compiled guide), me (scripted)
# ---------- CONFIG START ----------
SLIPPI_NETPLAY_ABSOLUTE = ""
APPIMAGETOOL_URL = "https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage"
SLIPPI_APPIMAGE = "Slippi_Online-x86_64.AppImage"
@ckx
ckx / deploy_patcher.py
Created May 9, 2025 04:23
Automated patch-server deployment from a git repo for any Elurair compatible Action MMORPG game client (rAthena/Hercules).
#!/usr/bin/env python3
## Documentation in repo wiki or last resort is https://ckx.mikomiko.org/2025/05/08/elurair_deploy/
import zipfile
import subprocess
import shutil
import os
from datetime import datetime
from pathlib import Path
from enum import Enum
@ckx
ckx / kokona napkin.md
Last active May 9, 2025 01:12
kokona napkin

numbers might be +/- 16.6ms or so in some cases, calculations are rough.

ADS speed

no upgrades

  • 29 crosshair rest (481ms)
  • 32 charge begin (531ms)

ADS speed upgrade

  • brings ADS speed from 42 to 54, an increase of 23%
  • 22 crosshair rest (365ms)
@ckx
ckx / dfospam.ahk
Last active August 31, 2016 15:25
; ---------------------------------------
; Dungeon & Fighter - Spam
; ---------------------------------------
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
DELAY :=1
; ---------------------------------------
; Keys
@ckx
ckx / auction.ahk
Last active October 23, 2015 07:19
; ---------------------------------------
; Dungeon & Fighter - Auction House
; ---------------------------------------
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
#IfWinActive Dungeon Fighter Online ; only active when DFO is
SendMode Event ; Recommended for new scripts due to its superior speed and reliability.
; ---------------------------------------
; Usage
; ---------------------------------------
@ckx
ckx / summoner.ahk
Created September 4, 2015 14:48
dnf summoner ahk
; ---------------------------------------
; Dungeon & Fighter - Summoner
; ---------------------------------------
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
#IfWinActive Dungeon Fighter Online ; only active when DFO is
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
; ---------------------------------------
; Delays
; ---------------------------------------
@ckx
ckx / ele.ahk
Created September 4, 2015 14:00
dnf ele ahk
; ---------------------------------------
; Dungeon & Fighter - Elementalist
; ---------------------------------------
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
#IfWinActive Dungeon Fighter Online ; only active when DFO is
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
; ---------------------------------------
; Delays
; ---------------------------------------
@ckx
ckx / witch.ahk
Created September 4, 2015 13:50
dnf witch ahk
; ---------------------------------------
; Dungeon & Fighter - Witch
; ---------------------------------------
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
#IfWinActive Dungeon Fighter Online ; only active when DFO is
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
; ---------------------------------------
; Delays
; ---------------------------------------