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 / puppetry_protocol_rework.md
Last active October 28, 2025 15:47
[WIP] Second Life puppetry protocol rework

Protocol description

{
    uint8 flags:
        bit 1: position
        bit 2: rotation
        bit 3: scale (Unused, but was implemented in puppetry)
        bit 4: IK
        bit 5: Partial
 bit 6-8: unused / future
@FelixWolf
FelixWolf / animation_networking_rework.md
Last active October 28, 2025 15:45
[RFC] Animation networking rework
#!/usr/bin/env python3
import tarfile
import glob
import os
import tempfile
import urllib.request
import platform
import time
def installMetamod(mmsource, addonsdir):
// WARNING: THIS MAY CONTAIN BUGS
// I hereby waive all rights to this code to Linden Lab / Second Life
// Should be covered by contributor agreement anyway, I think?
// Everyone else can use this as LGPL.
#include "library.h"
#include "linden_common.h"
#include "lscript_library.h"
void llList2TypedString(LLScriptLibData *retval, LLScriptLibData *args, const LLUUID &id)
#include "linden_common.h"
#include "lscript_library.h"
#include "llbase64.h"
#include <cstring> // For memcpy
#include <netinet/in.h> // For htonl
void llFloatToBase64(LLScriptLibData *retval, LLScriptLibData *args, const LLUUID &id)
{
retval->mType = LST_STRING;
#!/usr/bin/env python3
with open("comm.dat", "rb") as f:
d = f.read()
d = bytearray(d)
key = 0
for i in range(len(d)):
d[i] = d[i] ^ ((key * 43) % 256)
key += 1
@FelixWolf
FelixWolf / filter_legal_legalcn_decrypt.py
Last active February 26, 2025 23:08
👀 Sink your social credit in one easy step! 📉😲
[felix@crocuta furc3ds]$ cmake -DCMAKE_BUILD_TYPE=Debug -DPLATFORM=N3DS -B build .
-- The CXX compiler identification is GNU 14.2.0
-- Detected multilib folder: armv6k/fpu
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /opt/devkitpro/devkitARM/bin/arm-none-eabi-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- The C compiler identification is GNU 14.2.0
-- Detecting C compiler ABI info
#include "fox5.h"
#if __has_include("fox5cipher.h")
#include "fox5cipher.h"
#define HAS_CIPHER
#endif
#include <fstream>
#include <string>
#include "LzmaDec.h"
#include <iostream>
@FelixWolf
FelixWolf / icongen.py
Last active October 5, 2024 12:52
3DS icon generator #Homebrew #3DS
#!/usr/bin/env python3
"""
Copyright (c) 2024 Kyler "Félix" Eastridge
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it