ucc compress and http redirect

Pages : [1] 2

nixor
10-16-2004, 02:30 PM
Modified the info posted by Expunged over at this site (http://forums.theplatoon.com/topic.asp?TOPIC_ID=18791) . Just tweaked her up to work with Tribes:Veng. Hope this clears the air. This is some good info though. Expunged's examples works great.

Example compression:

I compressed this map and received the following results.

before:
MP-Spiridian-NoRape.tvm - 11.8 MB (12,447,946 bytes)

after:
MP-Spiridian-NoRape.tvm.uz2 - 2.48 MB (2,604,771 bytes)

Here you go.

Step 1: Getting ready for compression

* Depending on your computer, some files take a very long time to compress. It might take you a few minutes to a few hours, so patience is required.


Step 2: Compressing

* To compress the file some knowledge of command prompt and navigating in dos is required
* so, under command prompt, navigate to the Tribes Vengeance\Program\Bin folder where you copied those map files.
* Once there, type ucc compress filename including the extension and hit enter. You can also use wildcards such as ucc compress *.tvm which will compress one tvm file after another.
* When the compression is complete, a file with the .uz extension will be sitting in the system folder.

example:
C:\Program Files\VUGames\Tribes Vengeance\Program\Bin>ucc compress *.tvm




Step 3: Setting up a redirect server with the compressed files

Don't know what a redirect server is? Well, as a server admin, you dump all your map files on a fast webserver somewhere. Say, www.yourwebsite.com/tvmaps/. Now when a player connects to your game server, he/she will actually be downloading those maps from your website instead of the game server which caps it maximum upload at around 2.5Kbytes/s.

* Open up the Beta_Dedicated_Server.ini file on your server and locate usecompression. If you have already been using a redirect server, chances are this is set to false. Set this value to true.
* Next find AllowDownloads and set it to false. Again, if you already have a redirect server setup, chances are that this value is already set to false. False meaning that you don't wish to download off of the game server but wish to use the redirect server.
* And finally, find RedirecToRUL and add the path to your webserver where the map files reside. Remember to end the path with a /. For example RedirectToURL=http://www.yourwebsite.com/tvmaps/




You did remember to send all the compressed map files to the website didn't you? When copying them to the website, you don't have to preserve the directory path for those maps. All the files, map, sound, texture, staticmeshes, must reside under one directory as in the above case /tvmaps/ or whatever you decide to call it. That's it, you are done.

I guess http redirect doesn't work at this time, but hopefully it will be fixed soon.

ZenTseTse
10-16-2004, 02:37 PM
Good info

I was under the impression that redirect isnt working in TV thus far. Is that not true?

nixor
10-16-2004, 02:39 PM
not sure yet, gonna try it out on mine here in a sec.

mda
10-16-2004, 02:56 PM
I have 2 servers that are setup to display my company logo. I choose not to do the HTTP redirect, just yet. The image is only 20K. Once some good maps hit, I will setup a ded for maps and mods.

If you want to see what the client will see when connecting and DLing, jump on one of my servers. Either Gamevault or Gamevault TX ....

nixor
10-16-2004, 03:15 PM
yea, the redirect doesn't work yet. But when it does, thats how you do it :(

Plasmatic
10-16-2004, 03:49 PM
Feature complete.

Expunged
10-16-2004, 10:53 PM
Removed..

nixor
10-16-2004, 11:01 PM
I have some servers that i use this on in raven so when they fix it, it should work in Tribes.

Asura
10-16-2004, 11:03 PM
mods, stickey this.

Expunged
10-16-2004, 11:43 PM
Removed..

BrightEyes
10-17-2004, 12:07 AM
Copy and paste know it alls rock ;)

byteasc
10-17-2004, 12:14 AM
Yeh, This has been reported and logged.. I spent a few hours with Cowboy from CkB working with it and seeing what it did...

Redirect works as far as the Server is concerned, and we even got it to work fine once... but theres an issue with it Timing out basically, so it tells server to go ahead and send

nixor
10-17-2004, 12:42 AM
Fixed.

Expunged
10-17-2004, 01:04 AM
Removed..

nixor
10-17-2004, 01:08 AM
actually I did, check your pm

ViRGE
10-17-2004, 01:15 AM
If compression works, my only question is why didn't VUGames ship T:V compressed, ala UT2004. Even if not everything compresses well, they would have been able to at least squeeze it down to 3 CD's, no?

nixor
10-18-2004, 01:10 AM
If compression works, my only question is why didn't VUGames ship T:V compressed, ala UT2004. Even if not everything compresses well, they would have been able to at least squeeze it down to 3 CD's, no?
Not sure if it works that way. Good question though.

Shoddy
10-18-2004, 03:21 AM
There's something appropriate about a guy named Expunged deleting the content of all his posts.

Njal Storm
10-20-2004, 09:40 PM
does it matter what directory?

nixor
10-20-2004, 09:44 PM
does it matter what directory?
Are you trying to do the compression? If so it goes into your bin folder.