Skip to content

Instantly share code, notes, and snippets.

Frank Dai 3096

Block or report user

Report or block 3096

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View findbytes.py
# If you see very long/bad variable names and questionable design choice, probably because I wrote this in sleep deprivation
import sys
def findBytesInTarget(findingBytes, target):
foundList = []
findingOffestInTarget = 0
while True:
offset = target.find(findingBytes, findingOffestInTarget)
if offset is -1:
@3096
3096 / crcfix.py
Last active Sep 24, 2018
Fix Splatoon 2 save file CRC in the header (for plaintext body)
View crcfix.py
import zlib
import struct
import os
import sys
DEFAULT_FILENAME = "save.dat"
def fixcrc(fileName):
HEADER_SIZE = 0x10
FOOTER_SIZE = 0x30
@3096
3096 / DumpSave.js
Last active Apr 3, 2018 — forked from Reisyukaku/DumpSave.js
Game save dumper
View DumpSave.js
sc.getFSPPR = function () {
if (sc.closed_pr !== undefined) {
return;
}
sc.enableTurbo();
var i = 0;
var srv = null;
while (true) {
sc.ipcMsg(2).setType(5).sendTo('pm:shell');
You can’t perform that action at this time.