[Scummvm-cvs-logs] SF.net SVN: scummvm: [23759] scummvm/trunk/tools/scumm-md5.txt

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Sat Aug 26 15:38:07 CEST 2006


Revision: 23759
Author:   fingolfin
Date:     2006-08-26 06:38:02 -0700 (Sat, 26 Aug 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=23759&view=rev

Log Message:
-----------
Added my simple shell script which I used to batch-update the MD5 table with size information

Modified Paths:
--------------
    scummvm/trunk/tools/scumm-md5.txt
Modified: scummvm/trunk/tools/scumm-md5.txt
===================================================================
--- scummvm/trunk/tools/scumm-md5.txt	2006-08-26 13:06:32 UTC (rev 23758)
+++ scummvm/trunk/tools/scumm-md5.txt	2006-08-26 13:38:02 UTC (rev 23759)
@@ -36,6 +36,22 @@
 #	Gerald Vincent	silverfo (AT) club-internet (DOT) fr
 #	Peter Eckerlein	master (DOT) eckes (AT) web (DOT) de
 #
+#
+#
+# The following shell script can be used to extract the file sizes of a bunch
+# of detect files, autonmatically inserting the values in here:
+#
+# #!/bin/sh
+# OIFS=$IFS
+# IFS="
+# "
+# for i in `find -name *.??0` `find -name *Data*` ; do
+# 	m=`head -c 1048576 "$i" | md5sum | cut -f1 -d' '` ;
+# 	s=`du -b "$i" | cut -f1` ;
+# 	echo perl -pi -e "s/$m\t-1/$m\t$s/" /PATH/TO/tools/scumm-md5.txt ;
+# done
+# IFS=$OIFS
+#
 maniac	Maniac Mansion
 	d831f7c048574dd9d5d85db2a1468099	-1	en	C64	C64	-	-	
 	c4a7f7398ac9ae588940f9912ea5fd8f	-1	de	C64	C64	-	-	


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.





More information about the Scummvm-git-logs mailing list