You are an unregistered user, you can register here
Navigation

Information

Site

Donations
If you wish to make a donation you can by clicking the image below.


 
Go Back   The Unreal Admins Page > Forums > Unreal Admins > Unreal Tournament > UT Server - Linux Specific

Reply
Thread Tools Display Modes
  #1  
Unread 29th March, 2011, 02:08 PM
back4more's Avatar
back4more back4more is offline
Holy Shit!!
 
Join Date: Oct 2008
Location: NextDoor
Posts: 1,908
Question (problem) Linux server & compressing files

does anyone know how to compress files on a linux server to .uz please?

Ive tried ./ucc-bin compress etc

not happening...

also I would only want the needed files compressed maps/textures/sounds/music etc

but some how do this from the cmdline thanks.
Reply With Quote
  #2  
Unread 31st March, 2011, 09:04 PM
back4more's Avatar
back4more back4more is offline
Holy Shit!!
 
Join Date: Oct 2008
Location: NextDoor
Posts: 1,908
Default

maybe found what I needed , thanks Rush

Unreal Zip

ps: was http://www.google.com/search?q=compr...a+linux+server
that helped in this case.
Reply With Quote
  #3  
Unread 2nd April, 2011, 05:17 PM
rork's Avatar
rork rork is offline
Godlike
 
Join Date: Nov 2007
Posts: 265
Default

If you want to use ucc compress on linux you have to use the full path for the file. Also use --nohomedir so the file will be created in the current directory and not in ~/.loki/ut/System/

e.g.

/home/rork/ut-server/ucc compress /home/rork/ut-server/Maps/DM-Deck16][.unr --nohomedir

Took me a couple of years to find that out/google that tbh, I just thought it couldn't be done. As you found out other tools are available also.
__________________
Admin of XOL DOG CTF Fun server: 81.169.188.18 - Stats & dU Coop: 85.14.203.180:5555 - Forum
Reply With Quote
  #4  
Unread 2nd April, 2011, 11:13 PM
back4more's Avatar
back4more back4more is offline
Holy Shit!!
 
Join Date: Oct 2008
Location: NextDoor
Posts: 1,908
Cool

Thanks Rork , the one posted by Rush does not seem to work for me :\

I am told that I may need the fullversion of the game in order to use the compress facilities install in the server.. tbh not sure.

Q. what causes the files to be stored in the ~/loki folder I wonder.
also the symbolic links , lib.1.1.so.0 , lib.1.2..so.0 links - how do these work?, are they based on the current folders that they are linked from and hence need to be re-linked in each new copy of the server or can you link the first server , and copy / paste to all others..

I must look into --nohomedir function and see what it does differently.

I will attempt at some stage a small script that will compress & ftp all files from all server's to the redirect server in the future.
perhaps a redirect checker for linux , that would be good. (may need some help with this)

as well as grep the 'Failed to send' , 'Sending file' to clients from .log's , I think

I will try your method now , again thank you.

Last edited by back4more : 3rd April, 2011 at 01:18 AM.
Reply With Quote
  #5  
Unread 3rd April, 2011, 12:28 AM
2399Skillz 2399Skillz is offline
Super Moderator
 
Join Date: Jan 2004
Location: North Carolina
Posts: 2,245
Default

Maybe if you post the error you are getting, we can help you. I use that script on the Linux server install just fine.

Those .so files are not symbolic links, a symbolic link will have the @ symbol at the end of the name.
__________________

UT-FILES.COM
Get your files
Reply With Quote
  #6  
Unread 3rd April, 2011, 12:57 AM
back4more's Avatar
back4more back4more is offline
Holy Shit!!
 
Join Date: Oct 2008
Location: NextDoor
Posts: 1,908
Default

ahh yip ok will do , here is the links I was referring to;

ln -s libSDL-1.1.so.0 libSDL-1.2.so.0
Reply With Quote
  #7  
Unread 3rd April, 2011, 10:25 PM
back4more's Avatar
back4more back4more is offline
Holy Shit!!
 
Join Date: Oct 2008
Location: NextDoor
Posts: 1,908
Default

Quote:
Originally Posted by rork View Post

/home/rork/ut-server/ucc compress /home/rork/ut-server/Maps/DM-Deck16][.unr --nohomedir

Took me a couple of years to find that out/google that tbh, I just thought it couldn't be done. As you found out other tools are available also.
=======================================
ucc.exe: UnrealOS execution environment
Copyright 1999 Epic Games Inc
=======================================

Commandlet compress not found

and.. --nohomedir

WARNING: Not using preference directory
=======================================
ucc.exe: UnrealOS execution environment
Copyright 1999 Epic Games Inc
=======================================

Commandlet compress not found

Last edited by back4more : 3rd April, 2011 at 10:28 PM.
Reply With Quote
  #8  
Unread 3rd April, 2011, 10:34 PM
back4more's Avatar
back4more back4more is offline
Holy Shit!!
 
Join Date: Oct 2008
Location: NextDoor
Posts: 1,908
Question

Quote:
Originally Posted by 2399Skillz View Post
.. I use that script on the Linux server install just fine.
so this method works fine on the linux install (tutorial) that you pasted here Skillz?

Iam thinking of starting from scratch to see it I can get it going.
Reply With Quote
  #9  
Unread 5th April, 2011, 09:42 AM
2399Skillz 2399Skillz is offline
Super Moderator
 
Join Date: Jan 2004
Location: North Carolina
Posts: 2,245
Default

Yes I use the Linux server package patched to 451 to compress files just fine using the command

./ucc-bin compress [filename]



Use this command to make it compress within' the System directory.
./ucc-bin compress [filename] -nohomedir

Rush's script, uzip requires you to edit some variables at the top of the script. Just open it with a text editor and set it to your system environment.
__________________

UT-FILES.COM
Get your files
Reply With Quote
  #10  
Unread 6th April, 2011, 09:26 AM
back4more's Avatar
back4more back4more is offline
Holy Shit!!
 
Join Date: Oct 2008
Location: NextDoor
Posts: 1,908
Default

ohkay.. let me try something else then . I am thinking that the version I have is incomplete in some way ...

as I do-not have ucc-bin but rather ucc , now weather thats because my co admin likes to rename everything and make it difficult for me or not I am not sure.

I will get to the bottom of this somehow.. at least I can see... that it works for at least yourself which is promising.. once I have nailed it I will no doubt be B4M to report my adventure's in achieving this somewhat menial feat.

Cheers
Reply With Quote
  #11  
Unread 7th April, 2011, 07:16 AM
2399Skillz 2399Skillz is offline
Super Moderator
 
Join Date: Jan 2004
Location: North Carolina
Posts: 2,245
Default

Well if you used the linux server install, then it should be in the System directory.
__________________

UT-FILES.COM
Get your files
Reply With Quote
  #12  
Unread 7th April, 2011, 12:22 PM
back4more's Avatar
back4more back4more is offline
Holy Shit!!
 
Join Date: Oct 2008
Location: NextDoor
Posts: 1,908
Default

Code:
-bash-3.2$ ./ucc-bin compress Xloc-DAVID.u -nohomedir
WARNING: Not using preference directory
=======================================
ucc.exe: UnrealOS execution environment
Copyright 1999 Epic Games Inc
=======================================

Commandlet compress not found
... yer not happening - manual or otherwise.

these servers have been abused over the years with all sorts of crap and Iam not surprised that something like this hasn't happened earlier..

I will see if we have space and do the complete install from scratch in a few days or so .. and see if it is indeed a problem with the server's we now possess
thanks for your input all the same and I will nail it soon enough

cheers

Last edited by back4more : 7th April, 2011 at 12:53 PM.
Reply With Quote
  #13  
Unread 8th April, 2011, 07:51 AM
2399Skillz 2399Skillz is offline
Super Moderator
 
Join Date: Jan 2004
Location: North Carolina
Posts: 2,245
Default

What directory are you in?
__________________

UT-FILES.COM
Get your files
Reply With Quote
  #14  
Unread 8th April, 2011, 09:21 AM
back4more's Avatar
back4more back4more is offline
Holy Shit!!
 
Join Date: Oct 2008
Location: NextDoor
Posts: 1,908
Default

ok I think I've nailed it

one of the server's produces that error ...

so I tested with another server that I had made from scratch a while ago

simply ./ucc-bin compress produced no error

which indicates to me that this particular server has compress-ability which is all I need

it was the system folder btw.

Thanks mate.

Much appreciated.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:23 PM.


 

All pages are copyright The Unreal Admins Page.
You may not copy any pages without our express permission.