Skip to content

Instantly share code, notes, and snippets.

@Experiment5X
Experiment5X / mc02_fixer.c
Last active March 27, 2021 23:11
This is a short and simple program that will fix the 3 checksums at the top of some games published by EA for the Xbox 360 console. I know that both Dead Space 1 and 3 have the MC02 header, but I think a lot of other EA games do as well.
#include <stdio.h>
#include <stdlib.h>
typedef unsigned long DWORD;
typedef unsigned char BYTE;
typedef struct
{
DWORD magic; // 0x4D433032, ASCII = "MC02"
DWORD fileLength;