Skip to content

Instantly share code, notes, and snippets.

Avatar

Connor ckurtz22

View GitHub Profile
View roll_blades.py
#!/usr/bin/env python3
import random
class Blade:
def __init__(self, name, pity, probs, elem, weapon=None):
self.name = name
self.pity = pity
self.probs = probs
self.count = 0
View caffeine.js
if (!sc.did_init) {
if (!sc.didModules) {
sc.memcpy = function(dst, src, size) { sc.call(utils.add2(sc.base, 0xF41B08), [dst, src, size]); }
if (sc.nv.vers == "3.0.1") {
sc.nv.modules.fatal.writePayloadAndPatch(0x167CB8); // 3.0.1
} else if (sc.nv.vers == "4.0.1") {
sc.nv.modules.fatal.writePayloadAndPatch(0x163278); // 4.0.1
} else if (sc.nv.vers == "4.1.0") {
sc.nv.modules.fatal.writePayloadAndPatch(0x163158); // 4.1.0
View 01483827704_2200000000000100.log
Atmosphère Crash Report (v1.3):
Result: 0x4A8 (2168-0002)
Process Info:
Process Name: SplitNX
Title ID: 2200000000000100
Process ID: 0000000000000083
Process Flags: 00000033
Exception Info:
Type: Data Abort
@ckurtz22
ckurtz22 / resize-user.py
Last active Mar 28, 2020
Script to resize an emuMMC image for the Nintendo Switch.
View resize-user.py
import sys
import os
import math
import uuid
import struct
import configparser
from struct import unpack, pack
from binascii import crc32
if len(sys.argv) > 4 or len(sys.argv) < 2:
You can’t perform that action at this time.