the Rainbow Networks
+++eXy FFA
Map: q3dm18
Players: 6 / 18
The golden pot › RNuts|Clan › Main RNuts|Clan section › urban terror texture reducer
urban terror texture reducer
For RN Urban Terror Squad related discussions.
Post new topic   Reply to topic   Printer Friendly Page     Forum IndexMain RNuts|Clan section
View previous topic :: View next topic  
Author Message
hyp3rfocus
Forum Addict
Forum Addict


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

PostPosted: Sat Aug 08, 2009 4:16 pm    Post subject: urban terror texture reducer Reply with quote

Code::
#!/bin/bash
#
# urban terror texture reducer
#
# stick this in UrbanTerror's q3ut4 folder.
# make it executable and run it.
# it will make a new pk3 full of single pixel
# textures that will override everything else.

#extract folder containing textures
rm -rf working
rm zzz-reduced-textures.pk3
unzip zpak000_assets.pk3 textures/*
unzip zpak000_assets.pk3 env/*
unzip zpak000_assets.pk3 models/*
mkdir working
mv textures working
mv env working
mv models working
cd working

#sort out permissions
chmod -R 777 textures/*
chmod -R 777 env/*
chmod -R 777 models/*

#clear out non texture stuff
find . -name "*.md3" -type f -exec  rm {} \;
find . -name "*.skin" -type f -exec  rm {} \;
find . -name "*.txt" -type f -exec  rm {} \;
find . -name "*.cfg" -type f -exec  rm {} \;
find . -name "*.MD3" -type f -exec  rm {} \;
find . -name "*.h" -type f -exec  rm {} \;
find . -name "*.ANI" -type f -exec  rm {} \;
find . -name "*.ani" -type f -exec  rm {} \;
find . -name "*.tri" -type f -exec  rm {} \;
find . -name "*.wav" -type f -exec  rm {} \;
find . -name "*.WAV" -type f -exec  rm {} \;


#go through and turn all the images into single pixels
find . -name "*.jpg" -type f -exec  convert -resize x1 {} {} \;
find . -name "*.tga" -type f -exec  convert -resize x1 {} {} \;
find . -name "*.JPG" -type f -exec  convert -resize x1 {} {} \;
find . -name "*.TGA" -type f -exec  convert -resize x1 {} {} \;


#make a new pk3 containing the reduced images
zip -9r zzz-reduced-textures.pk3 textures
zip -9r zzz-reduced-textures.pk3 env
zip -9r zzz-reduced-textures.pk3 models
mv zzz-reduced-textures.pk3 ..
Back to top
View user's profile Send e-mail
PopeJo
Übergod
Übergod


Joined: Oct 05, 2007
Posts: 931
Location: precise!

PostPosted: Sat Aug 08, 2009 8:53 pm    Post subject: Re: urban terror texture reducer Reply with quote

EDIT: moved this thread from the RN forum. =)

but I'd like to have something like this for standard OA, if it reduces fps-hunger of player models =D
any chance for that hyp3r?

_________________
LOGIC, n.
The art of thinking and reasoning in strict accordance with the limitations and incapacities of the human misunderstanding. (Devil's dictionary)
Back to top
View user's profile Visit poster's website ICQ Number
Joki
Übergod
Übergod


Joined: Apr 16, 2008
Posts: 1037
Location: at tiled stove

PostPosted: Sat Aug 08, 2009 9:16 pm    Post subject: Re: urban terror texture reducer Reply with quote

use model test_bigbox or whats it called.

_________________
Back to top
View user's profile Visit poster's website
PopeJo
Übergod
Übergod


Joined: Oct 05, 2007
Posts: 931
Location: precise!

PostPosted: Sun Aug 09, 2009 8:44 am    Post subject: Re: urban terror texture reducer Reply with quote

its simply not loading, when I put it in main/modfolders

I tried jacks/hyp3r boxes: rainbow.furver.se/inde...=9340#9340

when put in baseoa, nothing happens

edit:
Quote::
set cg_forceModel "1"
set headmodel "hitbox2"
set model "hitbox2"
set team_headmodel "hitbox"
set team_model "hitbox"

using this, only works in free for all.

what about CTF and TDM?

_________________
LOGIC, n.
The art of thinking and reasoning in strict accordance with the limitations and incapacities of the human misunderstanding. (Devil's dictionary)
Back to top
View user's profile Visit poster's website ICQ Number
hyp3rfocus
Forum Addict
Forum Addict


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

PostPosted: Sun Aug 09, 2009 10:14 pm    Post subject: Re: urban terror texture reducer Reply with quote

popejo - sorry i posted it in the wrong forum. :/

here is the openarena version you asked for. :grin:
Back to top
View user's profile Send e-mail
-ME-
Active Fragger
Active Fragger


Joined: Aug 20, 2007
Posts: 97
Location: Argentina

PostPosted: Sat Aug 15, 2009 12:00 am    Post subject: Re: urban terror texture reducer Reply with quote

´Hello old friends.

Ive been playing UrT 6 days now, and Im just wondering how can I use those codes Hyp3r mentioned... Im using Windows and im a total noob in UrT :(
Plz help :D

_________________
valheurs.ucoz.com NEW SITE!!!
Back to top
View user's profile Send e-mail
a_clown
Happy Camper
Happy Camper


Joined: Jun 21, 2009
Posts: 26
Location: Germany, Marburg

PostPosted: Sun Aug 23, 2009 11:36 am    Post subject: Re: urban terror texture reducer Reply with quote

You can't :(

_________________
Back to top
View user's profile Send e-mail
Unrealized
Happy Camper
Happy Camper


Joined: Oct 15, 2009
Posts: 19
Location: Finland

PostPosted: Sat Oct 17, 2009 11:30 am    Post subject: Re: urban terror texture reducer Reply with quote

a_clown wrote:
You can't :(

You actually can. I done this with cygwin ;)

_________________
0
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 -> Main RNuts|Clan section 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: 33
Total: 33
Who Is Where:
 Visitors:
01: Rainbow Media
02: The golden pot
03: Home
04: The golden pot
05: The golden pot
06: The golden pot
07: Rainbow Media
08: The golden pot
09: Maps
10: The golden pot
11: The golden pot
12: The golden pot
13: The golden pot
14: The golden pot
15: Maps
16: The golden pot
17: The golden pot
18: Maps
19: The golden pot
20: Rainbow Media
21: The golden pot
22: Maps
23: Maps
24: Maps
25: The golden pot
26: The golden pot
27: The golden pot
28: The golden pot
29: The golden pot
30: Maps
31: Rainbow Media
32: The golden pot
33: 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