lol actually i found it when prepared to leave my PC today
I like I said i never released a program ... thats because i never wrote anything besides this checksum fixer... i assume the first part is for custom trainers but i dont completely remember.
#include <stdio.h>
main() {
FILE *fp;
fp = fopen("OrigKey.dmp", "rb");
unsigned long buffer;
unsigned long add=0;
FILE *fpout;
fpout = fopen("Key.dmp","wb");
for(int i=0; i<0x2D+1; i++)
{
fread(&buffer, 4, 1, fp);
fwrite(&buffer, 4, 1, fpout);
add+=buffer;
}
fwrite(&add, 4, 1, fpout);
fclose(fp);
fclose(fpout);
fp = fopen("yago.DMP", "rb");
fpout = fopen("yago-real.DMP","wb");
unsigned long chk=0;
unsigned char u;
for(int i=0; i<0x52C; i++)
{
if(i<0xC || i>=0x14)
{
u=fgetc(fp);
chk+=u;
fputc(u, fpout);
}
else
fputc(fgetc(fp), fpout);
}
fwrite(&chk, 4, 1, fpout);
printf("Chk: %08X", chk);//
fclose(fp);
fclose(fpout);
}
pikaBERRY..zip