{
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
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
| """ | |
| Author: Kyler "Félix" Eastridge | |
| License: CC0 | |
| No Copyright | |
| The person who associated a work with this deed has dedicated the work to | |
| the public domain by waiving all of his or her rights to the work worldwide | |
| under copyright law, including all related and neighboring rights, to the | |
| extent allowed by law. |
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
| -- URL handling | |
| local gURL = "" | |
| function requestURL() | |
| ll.ReleaseURL(gURL) | |
| ll.RequestURL() | |
| end | |
| -- Async routines | |
| local asyncRoutines = {} |
- 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 |
NewerOlder