Dedicated server in wine

Moderators: Uros, Tom, OXO

Post Reply
El_Loco
Posts: 24
Joined: Sun Jan 22, 2006 12:16 pm

Dedicated server in wine

Post by El_Loco » Mon Jan 27, 2020 8:41 pm

Hi

Have anybody had any success in running dedicated server in Wine?
Installed wine 4.0.3 and installed directplay with winetricks.

Dedicated server is starting, and will respond to broadcasts from the Condor client (the server will show up in the LAN-list)
But when the client tries to connect to the server, the server does not respond. It's like the server does not bind to the correct IP...

El_Loco
Posts: 24
Joined: Sun Jan 22, 2006 12:16 pm

Re: Dedicated server in wine

Post by El_Loco » Thu Jan 30, 2020 8:17 am

Fixed it. Had a couple of bridge interfaces that confused Wine. With only loopback and one ethernet interface it works.

User avatar
jmurtari
Posts: 47
Joined: Thu Jan 10, 2019 8:10 pm
Location: Lyons, NY
Contact:

Re: Dedicated server in wine

Post by jmurtari » Tue Oct 27, 2020 6:03 pm

I'm trying to run the dedicated server on a Centos 7 Server that I have that is up 24x7. It's a 64 bit install.

Never used wine before on Linux. Did the basic install with yum for wine, that seemed to go ok. Then I zipped up just the top Condor2 directory with the .exe and some .dll files and unpacked it.

When I tried to run the server I got a bad EXE format, then realized Condor is a 32 bit app. Tried switch to 32 bit, and it complains about that?

Any help is welcome! Showing the steps I took below:

Code: Select all

[root@hammer-new /]# yum install wine 
[root@hammer-new ~]# wine --version
wine-4.0.4

### then as other user
[thebook@hammer-new ~]$ winecfg
.... bunch of messages, installed more stuff

[thebook@hammer-new ~]$ cd .wine
/home/thebook/.wine
[thebook@hammer-new .wine]$ cd drive_c
/home/thebook/.wine/drive_c
[thebook@hammer-new drive_c]$ dir
ProgramData/  Program Files/  Program Files (x86)/  users/  windows/
[thebook@hammer-new drive_c]$ mkdir Condor2

[thebook@hammer-new drive_c]$ cd Condor2
/home/thebook/.wine/drive_c/Condor2
[thebook@hammer-new Condor2]$ unzip /home/jmurtari/condor/DedicatedServer.zip

[thebook@hammer-new Condor2]$ wine CondorDedicated.exe 
wine: Bad EXE format for C:\Condor2\CondorDedicated.exe.

### changed to 32 bit

[thebook@hammer-new ~]$ rm -r .wine
[thebook@hammer-new ~]$ export WINEARCH=win32
[thebook@hammer-new ~]$ winecfg
wine: created the configuration directory '/home/thebook/.wine'
wine: '/home/thebook/.wine' is a 32-bit installation, it cannot support 64-bit applications.
[thebook@hammer-new ~]$ dir .wine
dosdevices/  drive_c/

[thebook@hammer-new .wine]$ cd drive_c
/home/thebook/.wine/drive_c
[thebook@hammer-new drive_c]$ dir
[thebook@hammer-new drive_c]$ mkdir Condor2
[thebook@hammer-new Condor2]$ unzip /home/jmurtari/condor/DedicatedServer.zip

[thebook@hammer-new Condor2]$ wine CondorDedicated.exe
wine: '/home/thebook/.wine' is a 32-bit installation, it cannot support 64-bit applications.

Post Reply