Skip to content

VTSTech/VTSPS2-CRC32

Repository files navigation

libcrc for PS2 v0.24 by VTSTech

An example CRC32 implementation for the PS2

Usage:

file_crc32(char device[], char path[], char fn[])

Expected param format

device "mc0:/"

path "APPS/"

fn "FILE.EXT"

	strcpy(ldevice,"mc0:/");
	strcpy(path,"APPS/");
	strcpy(fn,"1MB.BIN");
	scr_printf("%s \n",file_crc32(ldevice,path,fn));

str_crc32(char str[])

Expected param format

str "any string"

	strcpy(str,"a string");
	scr_printf("CRC32: %s \n",str_crc32(str));

crc32.c written by Lammert Bies, (c) 1999-2016 Lammert Bies. File is licensed under the MIT License https://github.com/lammertb/libcrc/blob/master/src/crc32.c

Compiled with PS2SDK https://github.com/ps2dev/ps2sdk