http://bugs.winehq.org/show_bug.cgi?id=26189
Summary: Wine32bi (kernel32)t: Crysis Wars Dedicated Server no longer shows console on start under X Product: Wine Version: 1.3.14 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: kernel32 AssignedTo: wine-bugs@winehq.org ReportedBy: armin.kazmi@tu-dortmund.de
If you want to launch a crysis wars dedicated server, e.g. via
wine CrysisWars/Bin32/CrysisWarsDedicatedServer.exe -mod MWLL -root C:/Program Files/CrysisWars/server +exec server.cfg
you expect it to spawn a console window (using windows console host it seems) to show further output and provide a control interface. Via git bisect I tracked down the offending patch, which was added quite a long time ago.
e4d090277b3f4f76b39e55480e5d1387798dbabe is the first bad commit commit e4d090277b3f4f76b39e55480e5d1387798dbabe Author: Eric Pouech eric.pouech@orange.fr Date: Mon Aug 30 22:19:24 2010 +0200
kernel32: Properly handle bare console on input.
:040000 040000 79337f5cf3c9c78a557b10f8b1147476815470ac 860f197e56f714bea54dacbafe881c0ede7b19e9 M dlls
Automatic revert of the patch from HEAD fails.
http://bugs.winehq.org/show_bug.cgi?id=26189
--- Comment #1 from Armin Kazmi armin.kazmi@tu-dortmund.de 2011-02-21 10:56:37 CST --- Launching the server with:
wine wineconsole CrysisWars/Bin32/CrysisWarsDedicatedServer.exe -mod MWLL -root C:/Program Files/CrysisWars/server +exec server.cfg
shows up the console as wanted. If this is intended "new" behaviour, just flag this bug as invalid.
http://bugs.winehq.org/show_bug.cgi?id=26189
Eric Pouech eric.pouech@orange.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |eric.pouech@orange.fr
--- Comment #2 from Eric Pouech eric.pouech@orange.fr 2011-02-21 11:14:17 CST --- if you use the command line from an X shell, the console output should be in that shell with the "new" behavior (you shouldn't need to use wineconsole) can you post the output of (assuming you're using bash):
WINEDEBUG=+server wine CrysisWars/Bin32/CrysisWarsDedicatedServer.exe -mod MWLL -root C:/Program Files/CrysisWars/server +exec server.cfg 2> err grep -n console err > err1 grep -n process err > err2
and post the err1 and err2 files TIA
http://bugs.winehq.org/show_bug.cgi?id=26189
haarp liquitsnake@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |liquitsnake@gmx.net
http://bugs.winehq.org/show_bug.cgi?id=26189
--- Comment #3 from Armin Kazmi armin.kazmi@tu-dortmund.de 2011-02-21 12:48:34 CST --- Created an attachment (id=33388) --> (http://bugs.winehq.org/attachment.cgi?id=33388) console part of debug messages
(truncated to 1000KB, ignore process killed part)
http://bugs.winehq.org/show_bug.cgi?id=26189
--- Comment #4 from Armin Kazmi armin.kazmi@tu-dortmund.de 2011-02-21 12:49:06 CST --- Created an attachment (id=33389) --> (http://bugs.winehq.org/attachment.cgi?id=33389) process debug messages
(truncated to 1000KB, ignore process killed part)
http://bugs.winehq.org/show_bug.cgi?id=26189
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression Summary|Wine32bi (kernel32)t: |Crysis Wars Dedicated |Crysis Wars Dedicated |Server no longer shows |Server no longer shows |console on start under X |console on start under X |
http://bugs.winehq.org/show_bug.cgi?id=26189
--- Comment #5 from Eric Pouech eric.pouech@orange.fr 2011-04-24 07:56:26 CDT --- Created an attachment (id=34324) --> (http://bugs.winehq.org/attachment.cgi?id=34324) patch for SetConsoleActiveBuffer
does the attached patch help ?
http://bugs.winehq.org/show_bug.cgi?id=26189
--- Comment #6 from Armin Kazmi armin.kazmi@tu-dortmund.de 2011-04-26 19:29:23 CDT --- Hi, no, the bug does not resolve the issue. The console just doesn't appear nor is the executing one used instead.
http://bugs.winehq.org/show_bug.cgi?id=26189
Henri Verbeet hverbeet@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |e4d090277b3f4f76b39e55480e5 | |d1387798dbabe
http://bugs.winehq.org/show_bug.cgi?id=26189
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #7 from joaopa jeremielapuree@yahoo.fr 2013-04-19 22:35:47 CDT --- Still a bug in current wine?
http://bugs.winehq.org/show_bug.cgi?id=26189
hxpxtss4d7@snkmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hxpxtss4d7@snkmail.com
--- Comment #8 from hxpxtss4d7@snkmail.com 2013-06-18 08:10:40 CDT --- Have you tried launching it this way?
wine start /wait CrysisWars/Bin32/CrysisWarsDedicatedServer.exe ...
I found that this is now required under WINE for recent versions of Valve's Source Dedicated Server (SRCDS).
http://bugs.winehq.org/show_bug.cgi?id=26189
--- Comment #9 from haarp liquitsnake@gmx.net 2013-06-18 11:37:08 CDT --- Tested with wine-1.6-rc2:
'wine Bin32/CrysisDedicatedServer.exe' - app starts, no console 'wine start Bin32/CrysisDedicatedServer.exe' - app starts, spawns console window 'wineconsole Bin32/CrysisDedicatedServer.exe' - app starts, spawns console window 'wineconsole --backend=curses Bin32/CrysisDedicatedServer.exe' - app starts, shows console inside the terminal
https://bugs.winehq.org/show_bug.cgi?id=26189
--- Comment #10 from Austin English austinenglish@gmail.com --- This is your friendly reminder that there has been no bug activity for over a year. Is this still an issue in current (1.7.37 or newer) wine? If so, please attach the terminal output in 1.7.37 (see http://wiki.winehq.org/FAQ#get_log).
https://bugs.winehq.org/show_bug.cgi?id=26189
--- Comment #11 from haarp main.haarp@gmail.com --- Still bugged in Wine 3.0
Terminal output is innocent:
002b:fixme:heap:RtlSetHeapInformation 0x5a20000 0 0x22e220 4 stub 002b:fixme:winsock:_remap_optname Unknown optname 22, can't remap! 002b:fixme:winsock:WS_setsockopt Unknown IPPROTO_IP optname 0x00000016 002b:fixme:system:SystemParametersInfoW Unimplemented action: 59 (SPI_SETSTICKYKEYS) 002b:fixme:system:SystemParametersInfoW Unimplemented action: 53 (SPI_SETTOGGLEKEYS) 002b:fixme:system:SystemParametersInfoW Unimplemented action: 51 (SPI_SETFILTERKEYS)
https://bugs.winehq.org/show_bug.cgi?id=26189
tokktokk fdsfgs@krutt.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fdsfgs@krutt.org
https://bugs.winehq.org/show_bug.cgi?id=26189
--- Comment #12 from joaopa jeremielapuree@yahoo.fr --- Does the bug still occur with wine-5.15?
https://bugs.winehq.org/show_bug.cgi?id=26189
--- Comment #13 from haarp main.haarp@gmail.com --- Yes. Testing in Wine 5.15:
wine Bin32/CrysisWarsDedicatedServer.exe: No console popping up wine start Bin32/CrysisWarsDedicatedServer.exe: Console popping up, but not receiving keyboard input wine wineconsole Bin32/CrysisWarsDedicatedServer.exe: Console popping up and usable wine wineconsole --backend=curses Bin32/CrysisWarsDedicatedServer.exe: Terminal being used as console, but seems to default to 120x60 instead of the terminal size
https://bugs.winehq.org/show_bug.cgi?id=26189
Jacek Caban jacek@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jacek@codeweavers.com
--- Comment #14 from Jacek Caban jacek@codeweavers.com --- Please retest with current code. Relevant code was changed quite a lot.
https://bugs.winehq.org/show_bug.cgi?id=26189
Linards linards.liepins@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |linards.liepins@gmail.com
--- Comment #15 from Linards linards.liepins@gmail.com --- The startup went w/o issues; the Server Log Window (terminal) showed up fine. Using the Crysis Wars 1.5 from https://crysiswarsmp.com/
I doubt this still is an issue TBH.
My System:
$ cat /etc/fedora-release Fedora release 33 (Thirty Three)
$ wine --version wine-6.7 (Staging)
$ inxi -Gxxx Graphics: Device-1: AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] vendor: XFX Pine driver: amdgpu v: kernel bus-ID: 01:00.0 chip-ID: 1002:67df class-ID: 0300 Display: x11 server: Fedora Project X.org 1.20.11 compositor: gnome-shell v: 3.38.4 driver: loaded: ati,modesetting unloaded: fbdev,vesa alternate: amdgpu resolution: 1920x1080 s-dpi: 96 OpenGL: renderer: Radeon RX 580 Series (POLARIS10 DRM 3.40.0 5.11.14-200.fc33.x86_64 LLVM 11.0.0) v: 4.6 Mesa 20.3.5 direct render: Yes
$ sudo lshw -short | egrep -v '(volume|disk|bus)' H/W path Device Class Description ================================================================= system System Product Name (SKU) /0/0 memory 64KiB BIOS /0/4 processor Intel(R) Core(TM) i7-3770S CPU @ 3.10GHz /0/4/5 memory 256KiB L1 cache /0/4/6 memory 1MiB L2 cache /0/4/7 memory 8MiB L3 cache /0/5e memory 16GiB System Memory /0/5e/0 memory 4GiB DIMM DDR3 Synchronous 1333 MHz (0.8 ns) /0/5e/1 memory 4GiB DIMM DDR3 Synchronous 1333 MHz (0.8 ns) /0/5e/2 memory 4GiB DIMM DDR3 Synchronous 1333 MHz (0.8 ns) /0/5e/3 memory 4GiB DIMM DDR3 Synchronous 1333 MHz (0.8 ns) /0/100 bridge Xeon E3-1200 v2/3rd Gen Core processor DRAM Controller /0/100/1 bridge Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port /0/100/1/0 display Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] /0/100/1/0.1 multimedia Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590] /0/100/16 communication 6 Series/C200 Series Chipset Family MEI Controller #1 /0/100/19 eno1 network 82579V Gigabit Network Connection /0/100/1a/1/1/2 scsi10 storage Mass Storage Device /0/100/1a/1/1/3 scsi11 storage LaCie DVDRW USB /0/100/1a/1/1/5 input Logitech Illuminated Keyboard /0/100/1a/1/1/6 scsi12 storage USB Mass Storage Device /0/100/1b multimedia 6 Series/C200 Series Chipset Family High Definition Audio Controller /0/100/1c bridge 6 Series/C200 Series Chipset Family PCI Express Root Port 1 /0/100/1c.1 bridge 6 Series/C200 Series Chipset Family PCI Express Root Port 2 /0/100/1c.3 bridge 6 Series/C200 Series Chipset Family PCI Express Root Port 4 /0/100/1c.3/0 storage JMB362 SATA Controller /0/100/1c.4 bridge 6 Series/C200 Series Chipset Family PCI Express Root Port 5 /0/100/1c.6 bridge 82801 PCI Bridge /0/100/1c.6/0 bridge ASM1083/1085 PCIe to PCI Bridge /0/100/1c.6/0/0 multimedia CMI8788 [Oxygen HD Audio] /0/100/1c.7 bridge 6 Series/C200 Series Chipset Family PCI Express Root Port 8 /0/100/1c.7/0 storage 88SE9172 SATA 6Gb/s Controller /0/100/1d/1/1/2 input Positive Gaming Impact USB pad /0/100/1d/1/1/4/1 input VoIP USB Dual RF Receiver /0/100/1d/1/1/4/2 multimedia Logitech EasyCall Speakerphone /0/100/1d/1/1/8 input Corsair M65 Gaming Mouse /0/100/1f bridge P67 Express Chipset LPC Controller /0/100/1f.2 scsi1 storage 6 Series/C200 Series Chipset Family 6 port Desktop SATA AHCI Controller /0/1 system PnP device PNP0c01 /0/2 system PnP device PNP0c02 /0/3 system PnP device PNP0b00 /0/5 generic PnP device INT3f0d /0/6 system PnP device PNP0c02 /0/7 system PnP device PNP0c02 /0/8 communication PnP device PNP0501 /0/9 system PnP device PNP0c02 /1 power To Be Filled By O.E.M. /2 power To Be Filled By O.E.M.
https://bugs.winehq.org/show_bug.cgi?id=26189
Jacek Caban jacek@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED
--- Comment #16 from Jacek Caban jacek@codeweavers.com --- Marking fixed, thanks for testing.
https://bugs.winehq.org/show_bug.cgi?id=26189
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #17 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 6.8.