[Bug 19939] New: SRCDS - Console only
wine-bugs at winehq.org
wine-bugs at winehq.org
Fri Sep 4 14:44:32 CDT 2009
http://bugs.winehq.org/show_bug.cgi?id=19939
Summary: SRCDS - Console only
Product: Wine
Version: unspecified
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: kernel32
AssignedTo: wine-bugs at winehq.org
ReportedBy: laurikoivunen at hotmail.com
While using SRCDS (valve's Source Dedicated Server) over wine you are required
to use X even if one issues -console in the program parameters (will launch a
wine console). This is extremely frustrating because then you also need to use
X to even see something on the console window.
I found a workaround.
Hack kernel32's AllocConsole to just return true and make something like this
with GetNumberOfConsoleInputEvents:
================
BOOL WINAPI GetNumberOfConsoleInputEvents( HANDLE handle, LPDWORD nrofevents )
{
if (nrofevents) *nrofevents = 0;
return TRUE;
}
================
.. and issue export DISPLAY=''
This will allow running the server in console only mode but this naturally
disables text input. My C skills are nonexistent so I am asking here if a wine
developer could make this work.
--
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