Fast UZ compressor, drop-in replacement UCC.exe for compress/decompress unreal .uz files

External tools, software and sites for creating or editing UT99 resources.
Buggie
Godlike
Posts: 1762
Joined: Sat Mar 21, 2020 5:32 am

Re: Fast UZ compressor, drop-in replacement UCC.exe for compress/decompress unreal .uz files

Post by Buggie » Mon Mar 22, 2021 12:56 am

What exactly written of message crash?

User avatar
Que
Masterful
Posts: 671
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

Post by Que » Mon Mar 22, 2021 1:21 am

here you go ;)
Buggie wrote:
Mon Mar 22, 2021 12:56 am
What exactly written of message crash?
I presume he means it just closes the dos window after he tries running the application.
this is because he *likely* did not go through the command prompt and execute the app through there.

Windows+R > cmd > enter
cd [path to uz.exe] - to get the path open the folder where uz.exe is stored. copy that path and then cd [CTRL+V]

uz compress *.umx

done.
You do not have the required permissions to view the files attached to this post.
*Join our Discord Here.*
Our most popular mods - MVX , SSB , SmartWFL , UTCmds
Show
~Our Servers~

Reino
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

Post by Reino » Mon Mar 22, 2021 8:15 pm

Haha, no. I'm fully aware of what a command-line program is and how it works.

Running just UZ.exe does return the "Usage"-text, but the moment I enter UZ.exe compress terrain.umx I get...

Code: Select all

UZ.exe - Application Error

The exception Illegal Instruction
an attempt was made to execute an illegal instruction
(0xc000001d) occurred in the application at location 0x0040568b.

Click on OK to terminate the program
Click on CANCEL to debug the program
...in a typical window.

Thanks for the compressed umx-file. It didn't solve my problem however. My server still refuses to send the file.
I guess my only options left are either to update the game to 4.51 (or 4.69?), or turn off compression and upload all the files uncompressed to my dedicated server.

Buggie
Godlike
Posts: 1762
Joined: Sat Mar 21, 2020 5:32 am

Re: Fast UZ compressor, drop-in replacement UCC.exe for compress/decompress unreal .uz files

Post by Buggie » Mon Mar 22, 2021 9:19 pm

UZ version? OS version? Your CPU?

Check on Win XP with Celeron M - UZ v5.3.
Need only install https://aka.ms/vs/16/release/vc_redist.x86.exe And all work fine. No any crash.

User avatar
Barbie
Godlike
Posts: 2478
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

Post by Barbie » Mon Mar 22, 2021 10:36 pm

Reino wrote:
Mon Mar 22, 2021 8:15 pm
Thanks for the compressed umx-file. It didn't solve my problem however. My server still refuses to send the file.
Is it probably a letter case problem? "terrain.umx" vs. "Terrain.umx"? Do you have access to the web server's log file? Look for status code 404 then.
"Multiple exclamation marks," he went on, shaking his head, "are a sure sign of a diseased mind." --Terry Pratchett

Reino
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

Post by Reino » Mon Mar 22, 2021 10:45 pm

UZ 5.3. Windows XP Pro SP3. AMD Athlon XP 3200+ (no, I'm not kidding! :twisted: ), so no SSE2 (which could very well be the cause).
But don't bother trying to fix this for my very old cpu, I'd say. I came to this thread because of this post in the hope it would be the cause of my server problem, but it wasn't.

Reino
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

Post by Reino » Mon Mar 22, 2021 11:00 pm

Barbie wrote:
Mon Mar 22, 2021 10:36 pm
Is it probably a letter case problem? "terrain.umx" vs. "Terrain.umx"?
That's it! Wow, but that's weird. Officially the umx-file comes as terrain.umx, but changing that to Terrain.umx the server now suddenly sends me the file.

I've actually tried this already with the uz-file I created with UCC.exe, but that didn't make any difference then. Probably because the UCC.exe created uz-file was corrupt anyway.

Buggie
Godlike
Posts: 1762
Joined: Sat Mar 21, 2020 5:32 am

Re: Fast UZ compressor, drop-in replacement UCC.exe for compress/decompress unreal .uz files

Post by Buggie » Mon Mar 22, 2021 11:01 pm

Yep. No SSE2. So it crash on first SSE2 instruction.

Server is linux so case matters. for .umx and for .uz too.

--- EDIT ---
Reino wrote:
Mon Mar 22, 2021 10:45 pm
UZ 5.3. Windows XP Pro SP3. AMD Athlon XP 3200+ (no, I'm not kidding! :twisted: ), so no SSE2 (which could very well be the cause).
I rebuild and update release on github. SSE2 not more need. Tests not show any significant performance difference.
So now you can run it. Please check it.

User avatar
sektor2111
Godlike
Posts: 6028
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

Post by sektor2111 » Tue Mar 23, 2021 1:56 pm

Buggie wrote:
Mon Mar 22, 2021 11:01 pm
Tests not show any significant performance difference.
Perhaps it can be faster than with SSE2... When I'm saying this it's because I disabled SSE2 from D3D9 render months ago and it looks noticeable faster... thus demonstrating that SSE2 isn't really a "NeedForSpeed" for all CPUs.

Reino
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

Post by Reino » Tue Mar 23, 2021 11:25 pm

Buggie wrote:
Mon Mar 22, 2021 11:01 pm
I rebuild and update release on github. SSE2 not more need.

Code: Select all

UZ.exe - Application Error

The instruction at "0x10109637" referenced memory at "0x00419000". The memory could not be "read".
Thanks though.

Buggie
Godlike
Posts: 1762
Joined: Sat Mar 21, 2020 5:32 am

Re: Fast UZ compressor, drop-in replacement UCC.exe for compress/decompress unreal .uz files

Post by Buggie » Wed Mar 24, 2021 12:29 am

Weird. 0x10109637 even not in UZ.exe. So I can not help. Look like something other fail. Possible MS Visual Studio libs not intended for WinXP and such old CPU. :noidea

Reino
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

Post by Reino » Wed Mar 24, 2021 12:55 am

Initially I installed https://www.microsoft.com/en-us/downloa ... x?id=53840 to run UZ.exe. It mentions "Supported Operating System ... Windows XP Service Pack 3".
Buggie wrote:
Mon Mar 22, 2021 9:19 pm
Need only install https://aka.ms/vs/16/release/vc_redist.x86.exe And all work fine. No any crash.
I've tried to install this one, but immediately I'm getting a The exception Illegal Instruction application error again.

Eternity
Experienced
Posts: 120
Joined: Sat Nov 30, 2019 10:56 pm

Re: Fast UZ compressor, drop-in replacement UCC.exe for compress/decompress unreal .uz files

Post by Eternity » Thu Mar 25, 2021 2:00 am

I can't install this version in WinXP SP3... Maybe it is incompatible...
With this version installed, UZ works fine.
If it is not installed, UZ returns a error message that "vcruntime140.dll" file is missing.

Image

User avatar
sektor2111
Godlike
Posts: 6028
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

Post by sektor2111 » Thu Mar 25, 2021 6:45 pm

Now I'm curious if it will be compiled an UT 469 for these CPU types - I have one almost the same...

Reino
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

Post by Reino » Thu Mar 25, 2021 11:51 pm

Eternity wrote:
Thu Mar 25, 2021 2:00 am
Image
Interesting. It could be my memory is starting to fail, which is causing the error I'm facing. Hmm.