Home Search Tutorials Forum Downloads Web Links Help & Support
UTPad.com Header
  Jan 09, 2009
Community Navigation
Home Page
Community News
Calendar
Who's Online
Forum
FAQ
Categories
Gamers
Server Admins
Mappers
Skinners
Modders
Site Content
Downloads
Tutorials
Newsroom
Reviews
Site Information
Member Listing
Site Statistics
Website Projects
About Us
Our Policies
Guestbook
Recommend Us

Help Us Improve our Ranking
by clicking on banners below

Vote on the Unreal Tournament Top 200 Top 100 Unreal Tournament sites
Top 100 Unreal Tournament sites\ Top 100 Unreal Tournament sites Unreal Tournament Unreal Tournament
Unreal 1/2 & Unreal Tournament 2003/2004 Mod DB Top 100
Top 100 Unreal Tournament sites\ Top 100 Unreal Tournament sites UT99TopSites.com


TopGameSites 100
   
Online Now

We have
7 guests and
0 members online

You are an anonymous user. You can login here or register for free by clicking here.

UT99 GOTY Game


    Printer Friendly Page Printer Friendly Page
Homepage My Account Download Search Submit News Logout    
 
 
   
 
 Forum FAQForum FAQ  SearchSearch   UsergroupsUsergroups  PreferencesPreferences 
   Watched TopicsWatched Topics  Watched ForumsWatched Forums  Sub-ForumSub-Forum   MaximizeMaximize  

UT/UTGOTY and Linux
Post new topic Reply to topic
 
« View previous topic - View next topic »  
Author Message
{BL}TicklemonsterOffline
Joined: Dec 20, 2005
Posts: 22
Location: Rome, Ga.
Status: Offline
Post Posted: Jan 02, 2006 - 02:14 AM Reply with quote
Post subject: UT/UTGOTY and Linux

Okay, actually, Ubuntu Linux, but I'm sure if you know linux, you can work around this:

Assuming you used one of these http://www.liflg.org/?catid=6&gameid=51 or this http://www.princessleia.com/tools//ut/ut-install-436-GOTY.run to install ut in ubuntu....

Here's how to make a cache cleaner for UT. It takes the files that you download from servers from a temporary folder ( /.loki/ut/Cache *note, to see /.loki/ one must press ctrl+h to view hidden files and folders*) and puts them in the proper places where they belong according to extension, i.e. .utx, .uax, etc.


Go to synaptic package manager, download gawk (just a thingy that is used by cache cleaner. I would tell you exactly what gawk is and what it does, but it's so freaking technical it would make your head explode gelatinous material about the place, rendering your keyboard useless for replying "OMGOMGOMG1337" to this thread when you're done).

Open text editor, and copy and paste the following in to it:

Code:
#!/bin/bash
cd ~/.loki/ut/Cache || exit 1 # change this to your UT user dir
if [ -f cache.ini ] ; then
{
export utdir="/home/yourname/ut/" # change this to your main UT folder
gawk -F= '
utdir = "${utdir}"
function moveit(targ)
{
print "mv -v "$1".uxx" " " utdir targ substr($2, 1, length($2)-1) | "sh";
}
{
if(match($2,".unr")) moveit("Maps/");
else if(match($2,".utx")) moveit("Textures/");
else if(match($2,".uax")) moveit("Sounds/");
else if(match($2,".umx")) moveit("Music/");
else if(match($2,".u")) moveit("System/");
}
END { close("sh") }' cache.ini
rm *.uxx cache.ini
}
fi;
if [ -f $utdir"System/De.u" ]; then rm $utdir"System/De.u" ;fi
if [ -f $utdir"System/de.u" ]; then rm $utdir"System/de.u" ;fi
# end script


Notice this: /home/yourname/ut/ . Change according to your personal set up. Also, the De.u and de.u things can be #ed out if you don't worry about de version mismatches.

Save in /home/you/ as utcleaner. Notice all the pretty colors that the text changed to? This means something important, but I am a total noob, so it's above my pay grade, therefore there's no telling what it means.

Open terminal, and type this:

Code:
chmod +x utcleaner


The file utcleaner is now executable.

To run it, from terminal, type

Code:
./utcleaner


Now to make things cooler, how about a desktop launcher?

Right click on the desktop, click create launcher, name it UTCleaner, go down to where it says command: and put ./utcleaner and check where it says run in terminal (I tried it without running in terminal, and for some reason all it does is delete uxx files, so click on run in terminal for sure). If you want an icon, go ahead and use one. You can create custom icons, too, if you want to.. Click OK.

Now you can double click and clean all your .uxx files.

Nifty, huh?

UT2k4:

Code:
#!/bin/bash
cd ~/.ut2004/Cache || exit 1 # change this to your ut2004 user dir
if [ -f cache.ini ] ; then
{
export ut2004dir="/home/yourname/ut2004/" # change this to your main ut2004 folder
gawk -F= '
ut2004dir = "${ut2004dir}"
function moveit(targ)
{
print "mv -v "$1".uxx" " " ut2004dir targ $2 | "sh";
}
{
if(match($2,".ut2")) moveit("/Maps/");
else if(match($2,".utx")) moveit("Textures/");
else if(match($2,".uax")) moveit("Sounds/");
else if(match($2,".ogg")) moveit("Music/");
else if(match($2,".u")) moveit("System/");
else if(match($2,".usx")) moveit("StaticMeshes/");
else if(match($2,".ukx")) moveit("Animations/");
}
END { close("sh") }' cache.ini
#rm *.uxx cache.ini
}
fi;
# end script


Name it different, of course, if you have both games on your machine.


And here's the ultimate in being a total nerd:

Image

ubuntu, vmware, XP, UT online.


THANKS TO ~V~ AT UNREALADMINS.ORG (Who's motto is "There's no place like 127.0.0.1" ) FOR THIS.


I'll post more later. Like oglrenderer upgrades and all.
Back to top
View user's profile Visit poster's website MSN Messenger  
Display posts from previous:   
Post new topic Reply to topic
Jump to:  
All times are GMT + 7 Hours
 
Powered by MDForum 2.0.1© 2003-2005 MAXdev Team
Credits
 
Community Login
  Username
  Forgot Password?
  Password
  Not Registered?
Recent Forum Posts
goto PostSwitching drivers fr…(1)
 by kidcobalt
 on 06. Jan 
goto Postgreetings from Digit…(0)
 by skary
 on 05. Jan 
goto PostUT Optical Mouse Pro…(1)
 by Tomcat
 on 29. Dec 
goto PostMISSING FILE(1)
 by Tomcat
 on 28. Dec 
goto Post"Connection Fai…(1)
 by Tomcat
 on 28. Dec 
goto PostMonopoly map(2)
 by Tomcat
 on 28. Dec 
goto PostServer Crashes with …(1)
 by Tomcat
 on 28. Dec 
goto Post{AZ}AirZone is Recru…(0)
 by airman
 on 15. Dec 
goto Posthelp identify this w…(1)
 by shadowkid342
 on 14. Dec 
goto Postany australian clans…(0)
 by cannonfodder
 on 02. Dec 
goto PostNew anti cheat on th…(2)
 by FordTech
 on 15. Nov 
goto Post1v1 Tournament with …(0)
 by Se7eN
 on 13. Nov 
goto Post"Connection Fai…(0)
 by clamneck
 on 10. Nov 
goto PostConnection Failed Ab…(0)
 by clamneck
 on 10. Nov 
goto PostBye bye utpad(5)
 by Se7eN
 on 01. Nov 
goto Post[C]W[L] Servers &…(0)
 by Cardiff
 on 01. Nov 
goto PostLaG - Livid and Gift…(0)
 by Se7eN
 on 30. Oct 
goto PostUnrael 2 the awakeni…(0)
 by McParadox
 on 14. Oct 
goto PostZark Fun Nights(0)
 by FordTech
 on 26. Aug 
goto PostTNP CLAN(0)
 by FordTech
 on 26. Aug 
goto PostWhat tools to i need…(1)
 by Zzzt!
 on 23. Aug 
goto PostVista(0)
 by BeagleBreath
 on 17. Aug 
goto PostUT Patch 436 - Won't…(3)
 by graystripe
 on 16. Aug 
goto PostDownload UT99(7)
 by graystripe
 on 16. Aug 
goto PostHi - Im New!(1)
 by Zzzt!
 on 14. Aug 
goto Postwhatever happened to…(1)
 by Zzzt!
 on 14. Aug 
goto Postserver. 8.9.30.167(0)
 by FTBBUZZKILL
 on 10. Aug 
goto Post*SGR* Cyber's Lair(0)
 by *SGR*Cyber
 on 03. Aug 
goto PostI need more friends.…(0)
 by Houseanxiety
 on 26. July 
goto PostHow to Increase the …(1)
 by Hook
 on 24. July 

[Access Forum]

 
Site Poll
Which UT game do you play the most?

Sorry, the admin has reserved this poll for site users only. Register now! It's free!

[ Results | Polls ]

Votes: 115 | Comments: 2

Newsletter

Subscribe to our
Monthly Newsletter!

Your e-mail:

Format 

[Advanced Registration]
Install Our Toolbar

a Conduit toolbar
Chat & meet other members!
Add to My Yahoo!
Page created in 0.526866 Seconds