Fast UZ compressor, drop-in replacement UCC.exe for compress/decompress unreal .uz files
-
- Inhuman
- Posts: 812
- Joined: Mon Dec 09, 2019 5:49 am
- Personal rank: ...
Re: Fast UZ compressor, drop-in replacement UCC.exe for compress/decompress unreal .uz files
perhaps in new version we could have ability to throw *.* or *.unr at uz.exe
makes sense as no0ne will be compressing 1 file at a time
perhaps you could include in readme Secktor2111 example for bulk processing for time being.
makes sense as no0ne will be compressing 1 file at a time
perhaps you could include in readme Secktor2111 example for bulk processing for time being.
*Join our Discord Here.*
Our mods - MVX , SSB , SmartWFL , UTCmds , BotCommands , Smart Stats , join/leave announcer , NoSmoke , UTLogin , BrightSkins , Server Tran…
*Our Servers
-
- Godlike
- Posts: 3226
- Joined: Sat Mar 21, 2020 5:32 am
Re: Fast UZ compressor, drop-in replacement UCC.exe for compress/decompress unreal .uz files
I do not think so.
1. Workaround exists. So it is not a problem at all.
2. Such things must be handled by command interpreter, not by tool itself. Initially bad design in DOS.
I prefer follow Unix way in this question.
1. Workaround exists. So it is not a problem at all.
2. Such things must be handled by command interpreter, not by tool itself. Initially bad design in DOS.
I prefer follow Unix way in this question.
-
- Godlike
- Posts: 6442
- Joined: Sun May 09, 2010 6:15 pm
- Location: On the roof.
Re: Fast UZ compressor, drop-in replacement UCC.exe for compress/decompress unreal .uz files
A member was writing that batch stuff for compressing UZ files but using UCC - of course, I don't like the way with SPACES, here being shown clearly what SPACE is for... - separating command from its switches... anyway, I think that toy can be converted for UZ processing and message "Please, be patient" can be a bit changed as long as this UZ is faster than lightning...
-
- Godlike
- Posts: 2955
- Joined: Fri Sep 25, 2015 9:01 pm
- Location: moved without proper hashing
Re: Fast UZ compressor, drop-in replacement UCC.exe for compress/decompress unreal .uz files
Does that mean that a *nix version will be available soon?
"If Origin not in center it be not in center." --Buggie
-
- Godlike
- Posts: 3226
- Joined: Sat Mar 21, 2020 5:32 am
Re: Fast UZ compressor, drop-in replacement UCC.exe for compress/decompress unreal .uz files
No. This mean one tool for one task.
But i find solution from MS - add special link to setargv.obj file:
https://docs.microsoft.com/en-us/cpp/c- ... ew=vs-2019
I hope this not break work in old Windows like WinXP.
About Linux version - maybe later if I able setup VM with GCC and add support to it.
But i find solution from MS - add special link to setargv.obj file:
https://docs.microsoft.com/en-us/cpp/c- ... ew=vs-2019
I hope this not break work in old Windows like WinXP.
About Linux version - maybe later if I able setup VM with GCC and add support to it.
-
- Godlike
- Posts: 3226
- Joined: Sat Mar 21, 2020 5:32 am
Re: Fast UZ compressor, drop-in replacement UCC.exe for compress/decompress unreal .uz files
New version v5.0:
- faster compress
- support Linux
- support files masks on Windows
https://github.com/SeriousBuggie/UZ/releases/latest
Linux:
Windows:
- faster compress
- support Linux
- support files masks on Windows
https://github.com/SeriousBuggie/UZ/releases/latest
Linux:
Code: Select all
# ./uz compress CTF-Blice-Alpha.unr
Used 2 threads.
Compressing CTF-Blice-Alpha.unr (87328898 bytes)
stage 0: 0.458020 secs
stage 1: 2.085494 secs
stage 2: 1.748025 secs
stage 3: 1.609433 secs
Total: 5.900972 secs
Compressed CTF-Blice-Alpha.unr -> CTF-Blice-Alpha.unr.uz (20%)
Code: Select all
uz compress CTF-Blice-Alpha.unr
Used 8 threads.
Compressing CTF-Blice-Alpha.unr (87328898 bytes)
stage 0: 0.609000 secs
stage 1: 1.029000 secs
stage 2: 1.747000 secs
stage 3: 1.263000 secs
Total: 4.648000 secs
Compressed CTF-Blice-Alpha.unr -> CTF-Blice-Alpha.unr.uz (20%)
Code: Select all
uz compress E1M4.umx
Used 8 threads.
Compressing E1M4.umx (98087852 bytes)
stage 0: 0.796000 secs
stage 1: 1.747000 secs
stage 2: 10.468000 secs
stage 3: 7.316000 secs
Total: 20.327000 secs
Compressed E1M4.umx -> E1M4.umx.uz (95%)
Code: Select all
uz compress AS-HiSpeed.unr
Used 8 threads.
Compressing AS-HiSpeed.unr (4418189 bytes)
stage 0: 0.031000 secs
stage 1: 0.078000 secs
stage 2: 0.125000 secs
stage 3: 0.109000 secs
Total: 0.343000 secs
Compressed AS-HiSpeed.unr -> AS-HiSpeed.unr.uz (29%)
Code: Select all
uz decompress CTF-Blice-Alpha.unr.uz
Used 8 threads.
stage 0: 0.796000 secs
stage 1: 0.967000 secs
stage 2: 0.655000 secs
stage 3: 0.359000 secs
Total: 2.777000 secs
Decompressed CTF-Blice-Alpha.unr.uz -> CTF-Blice-Alpha.unr
Code: Select all
uz decompress E1M4.umx.uz
Used 8 threads.
stage 0: 3.666000 secs
stage 1: 4.649000 secs
stage 2: 1.373000 secs
stage 3: 0.406000 secs
Total: 10.094001 secs
Decompressed E1M4.umx.uz -> E1M4.umx
Code: Select all
uz decompress AS-HiSpeed.unr.uz
Used 8 threads.
stage 0: 0.062000 secs
stage 1: 0.078000 secs
stage 2: 0.047000 secs
stage 3: 0.031000 secs
Total: 0.218000 secs
Decompressed AS-HiSpeed.unr.uz -> AS-HiSpeed.unr
-
- Inhuman
- Posts: 812
- Joined: Mon Dec 09, 2019 5:49 am
- Personal rank: ...
Re: Fast UZ compressor, drop-in replacement UCC.exe for compress/decompress unreal .uz files
Excellent!!!
Last edited by Que on Sun Oct 11, 2020 9:31 am, edited 1 time in total.
*Join our Discord Here.*
Our mods - MVX , SSB , SmartWFL , UTCmds , BotCommands , Smart Stats , join/leave announcer , NoSmoke , UTLogin , BrightSkins , Server Tran…
*Our Servers
-
- Godlike
- Posts: 3226
- Joined: Sat Mar 21, 2020 5:32 am
Re: Fast UZ compressor, drop-in replacement UCC.exe for compress/decompress unreal .uz files
New version v5.1:
- fix possible issues on Linux systems with more than 32 CPU
https://github.com/SeriousBuggie/UZ/releases/latest
- fix possible issues on Linux systems with more than 32 CPU
https://github.com/SeriousBuggie/UZ/releases/latest
-
- Godlike
- Posts: 6442
- Joined: Sun May 09, 2010 6:15 pm
- Location: On the roof.
Re: Fast UZ compressor, drop-in replacement UCC.exe for compress/decompress unreal .uz files
Buggie is the UZ Boss...
-
- Godlike
- Posts: 2955
- Joined: Fri Sep 25, 2015 9:01 pm
- Location: moved without proper hashing
Signal: SIGSEGV [segmentation fault]
Sadly I got a SIGSEGV. Is it because I run it on a 32 bit system? (I know that it is outdated )
ut99@ubuntu-x32:~/bin$ uname -rm
3.13.0-35-generic i686
ut99@ubuntu-x32:~/bin$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.5 LTS
Release: 12.04
Codename: precise
ut99@ubuntu-x32:~/bin$ ls -l
total 1408
-rwxr-xr-x 1 ut99 ut99 919164 Okt 13 2007 Core.so
-rwxr-xr-x 1 ut99 ut99 336728 Okt 10 21:05 libSDL-1.1.so.0
-rwxr-xr-x 1 ut99 ut99 174549 Okt 10 21:23 uz
-rw-rw-r-- 1 ut99 ut99 3192 Okt 11 21:04 uz.log
ut99@ubuntu-x32:~/bin$ ./uz compress ../ut-server/System/MapPatcherClt.u
Used 4 threads.
Compressing ../ut-server/System/MapPatcherClt.u (9571 bytes)
stage 0: 0.000207 secs
stage 1: 0.003140 secs
stage 2: 0.000681 secs
Signal: SIGSEGV [segmentation fault]
Aborting.
----------------------------------------------------------------------
ut99@ubuntu-x32:~/bin$ uname -rm
3.13.0-35-generic i686
ut99@ubuntu-x32:~/bin$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.5 LTS
Release: 12.04
Codename: precise
ut99@ubuntu-x32:~/bin$ ls -l
total 1408
-rwxr-xr-x 1 ut99 ut99 919164 Okt 13 2007 Core.so
-rwxr-xr-x 1 ut99 ut99 336728 Okt 10 21:05 libSDL-1.1.so.0
-rwxr-xr-x 1 ut99 ut99 174549 Okt 10 21:23 uz
-rw-rw-r-- 1 ut99 ut99 3192 Okt 11 21:04 uz.log
ut99@ubuntu-x32:~/bin$ ./uz compress ../ut-server/System/MapPatcherClt.u
Used 4 threads.
Compressing ../ut-server/System/MapPatcherClt.u (9571 bytes)
stage 0: 0.000207 secs
stage 1: 0.003140 secs
stage 2: 0.000681 secs
Signal: SIGSEGV [segmentation fault]
Aborting.
----------------------------------------------------------------------
Forum Software wrote:Invalid file extension: uz.log
You do not have the required permissions to view the files attached to this post.
"If Origin not in center it be not in center." --Buggie
-
- Godlike
- Posts: 3226
- Joined: Sat Mar 21, 2020 5:32 am
Re: Fast UZ compressor, drop-in replacement UCC.exe for compress/decompress unreal .uz files
Attach MapPatcherClt.u file for reproduce.
-
- Godlike
- Posts: 2955
- Joined: Fri Sep 25, 2015 9:01 pm
- Location: moved without proper hashing
Re: Fast UZ compressor, drop-in replacement UCC.exe for compress/decompress unreal .uz files
It happened with every file I tried, also when I used root account. I added MapPatcherClt.u anyway.
Where should the compressed file go to? Current directory or source file directory?
ut99@ubuntu-x32:~/bin$ ./uz compress ../ut-server/Maps/MH-Crescendo.unr
Used 4 threads.
Compressing ../ut-server/Maps/MH-Crescendo.unr (8934042 bytes)
stage 0: 0.113069 secs
stage 1: 0.188290 secs
stage 2: 0.301423 secs
Signal: SIGSEGV [segmentation fault]
Aborting.
Where should the compressed file go to? Current directory or source file directory?
ut99@ubuntu-x32:~/bin$ ./uz compress ../ut-server/Maps/MH-Crescendo.unr
Used 4 threads.
Compressing ../ut-server/Maps/MH-Crescendo.unr (8934042 bytes)
stage 0: 0.113069 secs
stage 1: 0.188290 secs
stage 2: 0.301423 secs
Signal: SIGSEGV [segmentation fault]
Aborting.
You do not have the required permissions to view the files attached to this post.
"If Origin not in center it be not in center." --Buggie
-
- Godlike
- Posts: 3226
- Joined: Sat Mar 21, 2020 5:32 am
Re: Fast UZ compressor, drop-in replacement UCC.exe for compress/decompress unreal .uz files
New version v5.2:
- fix crash on Linux
https://github.com/SeriousBuggie/UZ/releases/latest
Source path + ".uz".
- fix crash on Linux
https://github.com/SeriousBuggie/UZ/releases/latest
"source file directory".
Source path + ".uz".
-
- Godlike
- Posts: 3226
- Joined: Sat Mar 21, 2020 5:32 am
Re: Fast UZ compressor, drop-in replacement UCC.exe for compress/decompress unreal .uz files
New version v5.3:
- remove bad compressed files.
https://github.com/SeriousBuggie/UZ/releases/latest
- remove bad compressed files.
https://github.com/SeriousBuggie/UZ/releases/latest
-
- Novice
- Posts: 17
- Joined: Sun Dec 08, 2019 7:55 pm
Re: Fast UZ compressor, drop-in replacement UCC.exe for compress/decompress unreal .uz files
My (rented) server returns "Download package 'Terrain' failed: Server refused to send 'Terrain'".
Could someone compress 'terrain.umx' for me please? 'UZ.exe' crashes immediately the moment I run it.
Could someone compress 'terrain.umx' for me please? 'UZ.exe' crashes immediately the moment I run it.
You do not have the required permissions to view the files attached to this post.