[Bug 21539] New: Using "Bare Streams" console mode with SRCDS does not work.
wine-bugs at winehq.org
wine-bugs at winehq.org
Fri Jan 29 17:00:54 CST 2010
http://bugs.winehq.org/show_bug.cgi?id=21539
Summary: Using "Bare Streams" console mode with SRCDS does not
work.
Product: Wine
Version: 1.1.37
Platform: x86
URL: http://srcds.com
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: kernel32
AssignedTo: wine-bugs at winehq.org
ReportedBy: laurikoivunen at hotmail.com
SRCDS ( Source Dedicated Server ) is designed to run both in GUI and CLI modes.
However, when trying to run the server in pure console without X and using
"bare streams" as described here (
http://www.winehq.org/docs/wineusr-guide/cui-programs ) I still receive the
error:
DISPLAY='' WINEDEBUG=+console wine srcds.exe -console ...
trace:console:AllocConsole ()
err:curses:WCCURSES_InitBackend (n)curses was not found.
err:wineconsole:WINECON_Init failed to init.
This is probably due to srcds running in "hybrid" mode where it is marked as a
GUI application, but uses AllocConsole to create a console hence resulting in a
new console creation, which currently fails.
As a workaround I stubbed AllocConsole and only returned TRUE. This allows the
application to start and reach a point where it tries to read the console and
where it then fails due to wine not being able to read from the console.
Could you add an option for true "bare streams" and so that input would also
work?
ps: I know that there is a linux version of SRCDS but there are no linux
binaries for the server I am trying to run. This bug forces a lot of server
hosters run X on their servers to be able to run SRCDS in wine. The server is
free to download and use.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the wine-bugs
mailing list