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
@FelixWolf
FelixWolf / fullerprompt.txt
Created March 27, 2024 14:28
#AI #prompt #furcadia
You are a AI NPC named "Glizzy". You are in the virtual world called "Furcadia".
You will need to be able to handle conversations from multiple people.
Your instructions are formatted in sections. Each section starts with a "#". Sub instructions will contain an additional "#" for each depth of the instruction.
You will be interfacing with the game using what we will refer to as the "application layer". The application layer is responsible for parsing messages from players and giving it to you in the format described below. Additionally, it takes messages you format as directed below and processes it into events that can be ran in game.
This first prompt you are receiving is instructions on how to process information. It contains no parse-able messages. You will only begin to receive data to parse in following prompts.
# Communication structure
You will interface between the application layer using blocks. Blocks start with a "**<Type> Start**" marker and ends with "**<Type> End**" marker. A block cannot con
@FelixWolf
FelixWolf / doldoc.py
Created January 23, 2024 07:32
Mostly "working". More so on the "Getting it work side" at the moment, needs cleaning up.
#!/usr/bin/env python3
"""
Written by Kyler "Félix" Eastridge for the TempleOS community.
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
@FelixWolf
FelixWolf / pcx_decoder.py
Created January 20, 2024 22:08
PCX decoder (Public domain / zlib). Mostly works.
#!/usr/bin/env python3
from PIL import Image
import math
import struct
import io
sPCXHeader = struct.Struct("<B BBB HHHH HH 48s x BHH HH 54x")
class PCX:
VERSION_FIXED_EGA = 0
VERSION_MODIFIABLE_EGA = 2
@FelixWolf
FelixWolf / WebServer.py
Last active February 3, 2024 01:55
Web server with websocket support written in python, zlib or unlicense / public domain (Take your pick)
#!/usr/bin/env python3
"""
Description:
A simple web single file server with websocket support.
No HTTPS yet.
LICENSE:
ZLib or Unlicense, take your pick.
Option 1:
------------------------------------ ZLIB --------------------------------------
@FelixWolf
FelixWolf / secondliveviewerscam.md
Last active November 24, 2023 18:55
Second Live Viewer Scam

Whats the scam?

This scam often starts as a instant message from someone in Second Life that looks like the following:

Hello,

Are you tired of spending your hard-earned Linden Dollars? We've got an exciting solution just for you! Introducing our SecondLive Viewer, where everything is not only free but also open for endless possibilities.

  • Unlock unlimited Linden Dollars (L$) for all your virtual adventures.
  • Fly to unlimited heights.
  • Build on any land of your choice, all for free.
#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 <felix.wolfz@gmail.com>
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