Skip to content

Instantly share code, notes, and snippets.

View etra0's full-sized avatar
need more coffee

Sebastián A. etra0

need more coffee
View GitHub Profile
@simontime
simontime / yakuza.c
Created May 22, 2020 23:27
Encrypts & decrypts Yakuza Kiwami 2 saves (doesn't do checksum yet)
#include <stdio.h>
#include <stdlib.h>
static const char Key[] = "STarYZgr3DL11";
static const int KeyLen = 13;
int main(int argc, char **argv)
{
FILE *in, *out;
char *data;