Skip to content

Instantly share code, notes, and snippets.

View FelixWolf's full-sized avatar
💭
https://youtu.be/NvVFHIr6T9Y

Kyler "Félix" Eastridge FelixWolf

💭
https://youtu.be/NvVFHIr6T9Y
View GitHub Profile
#name|anthro|feral|flags|pos|rot
Walk Right|stand|wolf_stance1|8|<-0.25,-0.65,0>
Walk Left|stand|wolf_stance1|8|<-0.25,0.65,0>
Sit|stand|wolf_sit,wolf_head_1|0|<0,0,0>|<0,0,0,0>
Lap|sitting_pet|wolf_lay6|0|<-0.081803, 0.226859, -0.460814>|<0.000000, 0.000000, -0.707107, 0.707107>
@FelixWolf
FelixWolf / furc_mitm_agent.py
Created September 11, 2023 00:54
zlib licensed. Provided AS-IS, without warranty.
#!/usr/bin/env python3
import struct
import socket
import sys
import traceback
import random
import libfurc.client
import libfurc.base
import io
import asyncio
@FelixWolf
FelixWolf / 0001-Fix-OpenSSL-V21-padding-deprecation.patch
Created July 19, 2023 18:02
Fix for OpenSSL deprecation on quickbms v0.12.0
From 2add8423816e98c76419a8aeb22b599e4f5097a1 Mon Sep 17 00:00:00 2001
From: Kyler Eastridge <[email protected]>
Date: Wed, 19 Jul 2023 14:00:35 -0400
Subject: [PATCH] Fix OpenSSL V21 padding deprecation
---
perform.c | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/perform.c b/perform.c
@FelixWolf
FelixWolf / ps2romfs.py
Last active July 20, 2023 19:44
PS2 ROMFS tool
#!/usr/bin/env python3
import argparse
import struct
import os
ROMHeader = b"Sony Computer Entertainment Inc\x2e\0"
ConsoleTypes = {
"C": "Retail",
"D": "Debug",
"T": "Developer",
#!/usr/bin/env python3
import asyncio
import math
def b95encode(i, size = None):
out = b""
while i > 0:
out = bytes([i % 95 + 32]) + out
i = i // 95
#!/usr/bin/env python3
from PIL import Image
from PIL import ImageShow
ImageShow.register(ImageShow.DisplayViewer, 0)
def lerp(a, b, p):
return a + p * (b - a)
def bilinear(a, b, c, d, x, y):
@FelixWolf
FelixWolf / shutdown.ds
Created January 12, 2023 02:07
Close dream
* Ensure it is set to zero. It should already be set to zero but do it just in case.
(0:0) When everything is starting up,
(5:300) set variable %dreamclosed to the value 0.
* Restrict it to the owner
(0:31) When someone says {!closedream},
(1:10) and they are the Dream owner,
(5:300) set variable %dreamclosed to the value 1.
* This works because anyone entering the dream will trigger it
import logging
from django.conf import settings
from django.urls import get_urlconf, set_urlconf
logger = logging.getLogger(__name__)
#We only really need the lower case variant, so cast it to lower case
#instead of doing it every time
ROOT_HOSTROOT = ("localhost",)
if hasattr(settings, "ROOT_HOSTROOT"):
#!/usr/bin/env python3
import struct
import io
"""
* indicates comment, this is read until newline
{ indicates string literal start.
} indicates string literal end.
@ indicates raw integer variable number. (EG: @12)
% indicates integer variable. (EG: %fdsa)
~ indicates a string variable.