Pages: [1]
  Print  
Author Topic: textures still to be replaced  (Read 10774 times)
hyp3rfocus
Guest
« 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

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

Logged
hyp3rfocus
Guest
« Reply #1 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.
« Last Edit: August 01, 2007, 06:12:58 AM by hyp3rfocus » Logged
anyone
Half-Nub


Cakes 2
Posts: 86


I may weep openly


WWW
« Reply #2 on: August 01, 2007, 08:57:29 AM »

((DO NOT LINK) h t t p s : / / openarena . wikia . com/wiki/Pak0.pk3/Textures)
Logged

I'll wear my badge, a vinyl sticker with big block letters adherent to my chest, tells to all your friends: "I am a visitor here, I am not permanent"
(The postal service "district sleeps alone tonight")
Promoted Mapper of the Century by some CPMA mid/high experienced player (luvyoalot, man)
fromhell
Administrator
GET A LIFE!
**********

Cakes 35
Posts: 14520



WWW
« Reply #3 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
Logged

asking when OA3 will be done won't get OA3 done.
Progress of OA3 currently occurs behind closed doors alone

I do not provide technical support either.

new code development on github
dmn_clown
Posts a lot
*

Cakes 1
Posts: 1324


« Reply #4 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.
Logged

hyp3rfocus
Guest
« Reply #5 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?
Logged
atphalix
Nub


Cakes 2
Posts: 45


« Reply #6 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. 
Logged
Sausage
Half-Nub


Cakes 0
Posts: 92


Ilaa


« Reply #7 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. Wink

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

- Sausage
Pages: [1]
  Print  
 
Jump to: