i recently bought a copy of quake III arena. i was curious to see what textures still need to be replace so i unpacked the textures into a folder, cd'd into it and used this command...
find | egrep "\.jpg$|\.tga$" > ~/quakelist.txt
... to create a text file called quakelist.txt that listed of all the jpgs and tgas in the original game. a zipped copy of this list is available here...
...now i needed to compare it to what was in the subversion repository. so i downloaded the textures from the repository with this command...
svn co http://openarena.ws/svn/textures/
...now all i need to do is generate a list of the openarena textures and compare it to quakelist.txt to see what textures still need to be replaced. i wrote a little script to do this...
#define where quakelist.txt file is. (EDIT THIS).
#define the folder that contains the openarena textures. (EDIT THIS).
#refresh the textures before comparing.
#generate a list of textures that openarena has.
find | egrep "\.jpg$|\.tga$" > /tmp/oalist
#compare quakelist to oalist, filter out which ones quakelist has that oalist doesn't and send the output to a new text file.
diff $quakelist /tmp/oalist | grep "<" > /tmp/missing-textures.txt
#show the list and how many there are
there are 1086 textures in quake 3 and openarena has replaced 649 of them.
that's 59.76%, which is pretty respectable.