Besides wrestool, might want to take a look at the md5sum command that creates an icon based on the file md5sum when there's no icon embedded - this also creates a lot of disk activity and cached RAM. I hacked up a solution with changing a line to 'HUE=$(head -c 16384 "$INPUTFILE" | md5sum | cut -c 1-2)', too lazy to make a proper patch.
Using CRC instead of md5sum would probably be sufficient for this purpose.
6 years later, and this is still a problem.
Besides wrestool, might want to take a look at the md5sum command that creates an icon based on the file md5sum when there's no icon embedded - this also creates a lot of disk activity and cached RAM. I hacked up a solution with changing a line to 'HUE=$(head -c 16384 "$INPUTFILE" | md5sum | cut -c 1-2)', too lazy to make a proper patch.
Using CRC instead of md5sum would probably be sufficient for this purpose.