exoscoriae / eXoDOS

eXoDOS
65 stars 3 forks source link

unzip.exe crashes on Windows Server 2022 #5105

Open robvdl opened 2 months ago

robvdl commented 2 months ago

eXoDOS includes a version of unzip.exe that doesn't work on Windows Server 2022, it always crashes.

As a workaround I have tried to:

  1. Download eXoDOS lite v6
  2. Install it on a Windows 10 machine
  3. Copy it over to a Windows Server 2022 machine

That gets it running, but off course the first game you try to install, unzip.exe is run again and crashes.

This makes eXoDOS completely unusable on Windows Server 2002, I am using Standard Evaluation.

image

robvdl commented 2 months ago

Where did unzip.exe come from in eXoDOS v6? What source?

robvdl commented 2 months ago

I am aware that running on Windows Server 2022 is strange, but I just wanted to try it out of interest.

I am running on a KVM host on a Ryzen 5950x and given it 16 cores. Everything else works but unzip.exe from eXoDOS is crashing. I have no idea where unzip.exe comes from, if it is really old possibly.

edit: probably here https://sourceforge.net/projects/infozip/files/

I'll play around replacing unzip.exe from this source, but yeah it's very old

robvdl commented 2 months ago

The InfoZip project is very old and full of issues. I wonder if going forward relying on such a tool is wise, or if it is possible to just use a Python script to unzip.

But anyway, I have managed to find a binary that works, unzip.exe version 5.52 from 2005, replaced unzip.exe from eXoDOS with it, and it is now working on Windows Server 2022.

SmilingSpectre commented 2 months ago

unzip.exe is too new, actually. It was compiled specifically for the eXoDOS to allow unicode names. All old unzips cannot manage Japanese/Chinese and such things. Affects several extras and one or two games right now, I think. Maybe less. But then under Windows collection unzip asks for C libraries. No idea if will it work under Windows 2022 at all.

robvdl commented 2 months ago

Yeah it doesn't, it crashes.

I've veen that patched version of unzip's source code as well. Makes me wonder how long people are going to keep trying to compile 10+ year software with just minimal fixes to keep it on life-support (this is not eXo's problem but InfoZip abandoning it over a decade ago. I've done enough Googling that there isn't really much of a solution as nobody is maintaining unzip.exe

I would have thought Windows Server 2022 has a similar foundation to Windows 10.