OpenArena Message Boards

OpenArena Contributions => Graphics => Topic started by: hyp3rfocus on August 01, 2007, 05:35:26 AM



Title: textures still to be replaced
Post by: hyp3rfocus on August 01, 2007, 05:35:26 AM
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...

http://www.mediafire.com/?08nm1g0j9pu (http://www.mediafire.com/?08nm1g0j9pu)

...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...



#!/bin/bash

#define where quakelist.txt file is. (EDIT THIS).
quakelist="/home/hyp3r/quakelist.txt"

#define the folder that contains the openarena textures. (EDIT THIS).
openfolder="/home/hyp3r/games/openarena-subversion/textures"

#refresh the textures before comparing.
cd $openfolder
svn update

#generate a list of textures that openarena has.
cd $openfolder
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
nl /tmp/missing-textures.txt



Title: Re: textures still to be replaced
Post by: hyp3rfocus on August 01, 2007, 05:36:58 AM
there are 1086 textures in quake 3 and openarena has replaced 649 of them.

that's 59.76%, which is pretty respectable.


Title: Re: textures still to be replaced
Post by: anyone on August 01, 2007, 08:57:29 AM
((DO NOT LINK) h t t p s : / / openarena . wikia . com/wiki/Pak0.pk3/Textures)


Title: Re: textures still to be replaced
Post by: fromhell on August 01, 2007, 09:04:33 AM
excellent

should be a lot less painful than whatever milesteg does to go through the wiki and bolding everything


Title: Re: textures still to be replaced
Post by: dmn_clown on August 01, 2007, 11:54:04 AM
Of course that doesn't include TA textures, misses the textures that weren't in pak0, and completely ignores shaders.


Title: Re: textures still to be replaced
Post by: hyp3rfocus on August 01, 2007, 12:45:36 PM
not a problem, they could all be added to the script. what are the filepaths for those?


Title: Re: textures still to be replaced
Post by: atphalix on August 02, 2007, 06:34:32 AM
I think OA textures that looks like Q3A textures should use the same name from Q3A textures so it can replace them. And also if someone created new texture it's better to use a quake texture name even if it is not the same, it's better than the ugly gray/white missing texture. 


Title: Re: textures still to be replaced
Post by: Sausage on August 29, 2007, 05:28:42 AM
Atphalix - If you havent noticed, Alot of the maps are similar Texture's to Q3A - Like the Black and red steel flooring, I used that in SSGDM01, My old pile of shit i call i map. ;)

Jeez, I need to get a working linux copy for GTKRadiant.