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
| Have you ever wanted to access the Nintendo- or, now Pretendo Network friends list server, but you don't want to use the same old NintendoClients/examples/wiiu/friends.py being used for years and is kinda stinky and yucky because it's Python? | |
| Well, Cemu has (I believe) the only NEX client that's not in Python, like NintendoClients. Because it's in C++, it should be much easier/painless to use and call from.. whatever else. | |
| NOTE that the library is async and multi-threaded, but the example above does not properly await yet. Ooooooooops! | |
| Compile command (Works on my macOS): | |
| - Change: Boost platform, Boost/fmt includes, potentially the output target, potentially remove test.cpp from being built if you do not need it | |
| clang++ -DBOOST_OS_MACOS=1 -Wno-macro-redefined -std=c++20 -I /opt/homebrew/Cellar/boost/1.89.0_1/include/ -I /opt/homebrew/Cellar/fmt/12.1.0/include/ -I ../../ -include ../../Common/precompiled.h ../../Common/unix/platform.cpp ./nex.cpp ./nexFriends.cpp ./nexThread.cpp ./prudp.cpp ../../util/cryp |
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
| // (soon to be) A header for initializing OpenGL headlessly without a window. | |
| // TODO: | |
| // - Find a way to report errors other than TraceLog from raylib, to remove dependency. | |
| // - Provide a "Finalize" function to clean up the context - requires state keeping | |
| // - Potentially delete and refactor "borrowed" code to be all original and public domain. | |
| // | |
| #include "raylib.h" // TraceLog, LOG_ERROR | |
| #include <stddef.h> // NULL |
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
| #pragma description "RFLiCharData (aka RFLStoreData, CFLiRFLMiiDataCore, FFLiMiiDataCoreRFL, FFLiMiiDataOfficialRFL)" | |
| #pragma endian big | |
| // Enums | |
| enum Gender : u8 { | |
| male = 0, | |
| female = 1, | |
| all = 2 | |
| }; |
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
| // This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild | |
| (function (root, factory) { | |
| if (typeof define === 'function' && define.amd) { | |
| define(['kaitai-struct/KaitaiStream'], factory); | |
| } else if (typeof module === 'object' && module.exports) { | |
| module.exports = factory(require('kaitai-struct/KaitaiStream')); | |
| } else { | |
| root.RFLResource = factory(root.KaitaiStream); | |
| } |
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
| /** | |
| * \file FFLTestingThumbProvider.cpp | |
| * \author Arian Kordi (https://github.com/ariankordi) | |
| * \date 2025/07/12 | |
| * | |
| * \brief Windows thumbnail provider for Mii data files using | |
| * the FFL-Testing Mii renderer server: https://github.com/ariankordi/FFL-Testing | |
| * \details Requires setting up and running on default port of 12346. | |
| * Not ideal for real use. Should be considered a proof-of-concept/toy. | |
| * https://github.com/ariankordi |
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
| <body> | |
| <h1>upload an FFL resource, then open your console</h1> | |
| <p> | |
| if you need it, get it from archive.org: <a target="_blank" href="https://web.archive.org/web/20180502054513/http://download-cdn.miitomo.com/native/20180125111639/android/v2/asset_model_character_mii_AFLResHigh_2_3_dat.zip">https://web.archive.org/web/20180502054513/http://download-cdn.miitomo.com/native/20180125111639/android/v2/asset_model_character_mii_AFLResHigh_2_3_dat.zip</a> | |
| <div style="font-size: 11px;"> | |
| before you try, if you paste that below it won't work since archive.org has no CORS policy :( this proxy from kaeru would work if it were https: <a target="_blank" href="http://ia-proxy.fs3d.net:8989/20180502054513id_/http://download-cdn.miitomo.com/native/20180125111639/android/v2/asset_model_character_mii_AFLResHigh_2_3_dat.zip">http://ia-proxy.fs3d.net:8989/20180502054513id_/http://download-cdn.miitomo.com/native/20180125111639/android/v2/asset_model_character_mii_AFLResHigh_2_3_dat.zip</a> | |
| </div> | |
| </p> | |
| <!-- Inline HTML |
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
| // @ts-check | |
| /*! | |
| * Utility for converting 3DS/Wii U format Mii data (Ver3StoreData/FFLStoreData) | |
| * to URL data format used on studio.mii.nintendo.com rendering API. | |
| * @author Arian Kordi <https://github.com/ariankordi> | |
| */ | |
| /* eslint @stylistic/indent: ['error', 4] -- Define indent rules. */ |
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
| import mitmproxy.http | |
| from mitmproxy import ctx | |
| import lz4.block | |
| import binascii | |
| # NOTE: miitomo common key is '9ec1c78fa2cb34e2bed5691c08432f04' | |
| COMMON_KEY = "9ec1c78fa2cb34e2bed5691c08432f04" | |
| SESSION_ID_COOKIE_NAME = "player_session_id" | |
| def transform_common_key(s): |
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
| https://sentry.io/api/* | |
| # remove DISCORD(tm) NITRO(tm) button below friends list button in most cases | |
| discord.com##[href="/store"] | |
| discord.com##[href="/shop"] | |
| discord.com##[href="/discovery"] | |
| discord.com##[href="//discord.com/snowsgiving"] | |
| discord.com##[href="/activities"] | |
| discord.com##div[data-list-item-id=private-channels-uid_40___snowsgiving] | |
| # remove discord ready animation n video | |
| discord.com##video[class^="ready"] |
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
| import sys | |
| from struct import pack | |
| import os | |
| from kaitaistruct import KaitaiStream, BytesIO | |
| if len(sys.argv) < 4: | |
| print("CLI Usage: python mii2studio.py <input mii file / qr code / cmoc entry number> <output studio mii file> <input type (wii/ds/3ds/wiiu/miitomo/switchdb/switch/studio)>\n") | |
| input_file = input("Enter the path to the input file (binary file or QR Code), a CMOC entry number, or a URL to a QR Code: ") | |
| output_file = input("Enter the path to the output file (which will be importable with Mii Studio): ") |
NewerOlder