the Rainbow Networks
RN|VQ3 DEFRAG
Map: pornstar-15percent
Players: 0 / 18

+++eXy FFA
Map: phantq3dm1
Players: 6 / 18
The golden pot › DEV › Art and design › textures still to be replaced - by hyp3rfocus
textures still to be replaced - by hyp3rfocus
3d, Photoshop, GIMP or pen & paper, this is where you find it all.
Post new topic   Reply to topic   Printer Friendly Page     Forum IndexArt and design
View previous topic :: View next topic  
Author Message
W1ZrD
Founder
Founder


Joined: Aug 15, 2007
Posts: 1108
Location: Finland

PostPosted: Sat Sep 22, 2007 8:22 pm    Post subject: textures still to be replaced - by hyp3rfocus Reply with quote

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

there are 1086 textures in quake 3 and openarena has replaced 649 of them.

that's 59.76%, which is pretty respectable.

http://openarena.wikia.com/wiki/Pak0.pk3/Textures
Back to top
View user's profile Send e-mail Visit poster's website
hyp3rfocus
Forum Addict
Forum Addict


Joined: Aug 25, 2007
Posts: 466
Location: england

PostPosted: Sat Sep 22, 2007 11:30 pm    Post subject: Re: textures still to be replaced - by hyp3rfocus Reply with quote

here is the quakelist.txt file.



quakelist.txt
 Description:
 Filename:  quakelist.txt
 Filesize:  31.49 KB
 Downloaded:  193 Time(s)
Back to top
View user's profile Send e-mail
Display posts from previous:   
Post new topic   Reply to topic   Printer Friendly Page     Forum Index -> Art and design All times are GMT + 1 Hour
Page 1 of 1


Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Welcome Anonymous


Membership:
Latest: kontol
New Today: 0
New Yesterday: 0
Overall: 355

People Online:
Members: 0
Visitors: 17
Total: 17
Who Is Where:
 Visitors:
01: Maps
02: The golden pot
03: The golden pot
04: My Account
05: The golden pot
06: The golden pot
07: The golden pot
08: The golden pot
09: The golden pot
10: The golden pot
11: The golden pot
12: The golden pot
13: The golden pot
14: The golden pot
15: The golden pot
16: Home
17: The golden pot

Staff Online:

No staff members are online!

The Rainbow Networks website is hosted by JockeTF and Soder on furver.se.

The Rainbow Networks
Interactive software released under GNU GPL, Code Credits, Privacy Policy
Azul theme and related images designed by Jamin