Donations
|
If you wish to make a donation you can by clicking the image below.
|
|
|
|
29th March, 2011, 02:08 PM
|
|
Holy Shit!!
|
|
Join Date: Oct 2008
Location: NextDoor
Posts: 1,908
|
|
(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.
|
2nd April, 2011, 05:17 PM
|
|
Godlike
|
|
Join Date: Nov 2007
Posts: 265
|
|
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.
|
2nd April, 2011, 11:13 PM
|
|
Holy Shit!!
|
|
Join Date: Oct 2008
Location: NextDoor
Posts: 1,908
|
|
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.
|
3rd April, 2011, 12:28 AM
|
Super Moderator
|
|
Join Date: Jan 2004
Location: North Carolina
Posts: 2,245
|
|
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.
|
3rd April, 2011, 12:57 AM
|
|
Holy Shit!!
|
|
Join Date: Oct 2008
Location: NextDoor
Posts: 1,908
|
|
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
|
3rd April, 2011, 10:25 PM
|
|
Holy Shit!!
|
|
Join Date: Oct 2008
Location: NextDoor
Posts: 1,908
|
|
Quote:
Originally Posted by rork
/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.
|
3rd April, 2011, 10:34 PM
|
|
Holy Shit!!
|
|
Join Date: Oct 2008
Location: NextDoor
Posts: 1,908
|
|
Quote:
Originally Posted by 2399Skillz
.. 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.
|
5th April, 2011, 09:42 AM
|
Super Moderator
|
|
Join Date: Jan 2004
Location: North Carolina
Posts: 2,245
|
|
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.
|
6th April, 2011, 09:26 AM
|
|
Holy Shit!!
|
|
Join Date: Oct 2008
Location: NextDoor
Posts: 1,908
|
|
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
|
7th April, 2011, 07:16 AM
|
Super Moderator
|
|
Join Date: Jan 2004
Location: North Carolina
Posts: 2,245
|
|
Well if you used the linux server install, then it should be in the System directory.
|
7th April, 2011, 12:22 PM
|
|
Holy Shit!!
|
|
Join Date: Oct 2008
Location: NextDoor
Posts: 1,908
|
|
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.
|
8th April, 2011, 07:51 AM
|
Super Moderator
|
|
Join Date: Jan 2004
Location: North Carolina
Posts: 2,245
|
|
What directory are you in?
|
8th April, 2011, 09:21 AM
|
|
Holy Shit!!
|
|
Join Date: Oct 2008
Location: NextDoor
Posts: 1,908
|
|
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.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|