{
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
- Introduction
- Phase 1: Getting animations syncronized
- Phase 2: Exposing this to LSL
- Phase 3: Possibly re-exploring puppetry and LSL generated animations
Syncing animations in Second Life has been something long desired by Residents. I am proposing a multi-phase solution to that problem and more.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| import tarfile | |
| import glob | |
| import os | |
| import tempfile | |
| import urllib.request | |
| import platform | |
| import time | |
| def installMetamod(mmsource, addonsdir): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // 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) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #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; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| from Crypto.Cipher import AES | |
| from Crypto.Util.Padding import unpad | |
| import gzip | |
| STEAMCHINA_ENCRYPTION_KEY = bytes([ | |
| 0x06, 0x89, 0x2a, 0x9c, 0x7d, 0x9b, 0xc6, 0x98, | |
| 0xc0, 0xf9, 0x03, 0x36, 0x0e, 0x3c, 0x22, 0x88, | |
| 0xba, 0x3d, 0xe4, 0x0f, 0xf7, 0x11, 0x01, 0xc2, | |
| 0x04, 0xb5, 0x20, 0xbe, 0x22, 0xc2, 0xad, 0xa4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include "fox5.h" | |
| #if __has_include("fox5cipher.h") | |
| #include "fox5cipher.h" | |
| #define HAS_CIPHER | |
| #endif | |
| #include <fstream> | |
| #include <string> | |
| #include "LzmaDec.h" | |
| #include <iostream> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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 |
NewerOlder