I hereby claim:
- I am invoxiplaygames on github.
- I am invoxiplaygames (https://keybase.io/invoxiplaygames) on keybase.
- I have a public key ASDZ-ab_kWmb4TMRim3eOA-yMH3OlfTspE7dAKFh0EP_fQo
To claim this, I am signing this object:
/* | |
ppcasm.h by InvoxiPlayGames, 2021 | |
WTFPL License | |
*/ | |
#include <stdint.h> | |
// Poke values | |
#define POKE_8(addr, val) do { *(uint8_t*)(addr) = (uint8_t)(val); } while (0) | |
#define POKE_16(addr, val) do { *(uint16_t*)(addr) = (uint16_t)(val); } while (0) |
/* | |
RBWiiKeytarUnderstander.cs by InvoxiPlayGames 2022 | |
Licensed under WTFPL | |
Requires LibUsbDotNet NuGet package, licensed under LGPLv3 | |
Use Zadig to install WinUSB or LibUSB drivers for the device | |
*/ | |
using LibUsbDotNet; | |
using LibUsbDotNet.Main; | |
using LibUsbDotNet.WinUsb; | |
using System; |
# python ubiart (?) crc32 implementation by github.com/InvoxiPlayGames | |
# function usage - crc(bytearray), if using a string, crc(bytearray(uppercasestring, "utf8")) | |
# code licensing: don't be a dick with it, credit for general usage would be nice but not required | |
# if you use parts of this python script in your own project, credit is required | |
import math | |
def shifter(a, b, c): | |
# the masks are because python likes to get excited with bit shifting | |
d = 0 | |
a = (a - b - c) ^ (c >> 0xd) |
# string-gecko.py by github.com/InvoxiPlayGames | |
# command usage: python string-gecko.py [dol|dump] [filename] [oldstring] [newstring] | |
# code licensing: don't be a dick with it, credit for general usage would be nice but not required | |
# but if you use parts of this python script in your own project, credit is required | |
import struct | |
import sys | |
memorybase = 0x80000000 | |
memorysize = 0x01800000 # size of Wii MEM1, i think |
var dgram = require("dgram"); | |
var udp4 = dgram.createSocket("udp4"); | |
var udp6 = dgram.createSocket("udp6"); | |
var stunServer = "stun.l.google.com"; | |
var stunPort = 19302; | |
function makeSTUNRequest() { | |
var buffer = Buffer.alloc(20); | |
buffer.writeUInt16BE(0x0001, 0); // STUN request |
/* | |
crappy implementation of gamespy's rc4 challenge algorithm in NodeJS | |
basically just eyed from https://github.com/barronwaffles/dwc_network_server_emulator/blob/master/gamespy/gs_utility.py | |
strkey = String of "secret key" used by client | |
data = Buffer of challenge data sent by server | |
return value = String of base64 encoded challenge response | |
i only tested this once, it could probably be improved, idk if it works 100% | |
*/ | |
function gamespyChallengeRC4(strkey, data) { | |
key = Buffer.from(strkey); |
{ | |
"date":"1632407807322", | |
"DEVICE_CHOICE_slash_Create_0_gml_28_0":"NO", | |
"DEVICE_CHOICE_slash_Create_0_gml_29_0":"YES", | |
"DEVICE_CHOICE_slash_Create_0_gml_64_0":"GRAINS", | |
"DEVICE_CHOICE_slash_Create_0_gml_65_0":"MEAT", | |
"DEVICE_CHOICE_slash_Create_0_gml_66_0":"DAIRY", | |
"DEVICE_CHOICE_slash_Create_0_gml_67_0":"SWEETS", | |
"DEVICE_CHOICE_slash_Create_0_gml_68_0":"FRUIT", | |
"DEVICE_CHOICE_slash_Create_0_gml_69_0":"VEGETABLE", |
/* | |
DOLLoader.c | |
Copyright 2021 InvoxiPlayGames | |
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | |
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | |
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION W |
I hereby claim:
To claim this, I am signing this object: