http://bugs.winehq.org/show_bug.cgi?id=10404
Summary: Wineconsole fails to display text or change color for Renegade FDS Product: Wine Version: 0.9.49. Platform: PC URL: http://www.game- maps.net/index.php?action=download&id=520 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-console AssignedTo: wine-bugs@winehq.org ReportedBy: nodisgod@yahoo.com
Created an attachment (id=9093) --> (http://bugs.winehq.org/attachment.cgi?id=9093) Renegade FDS server.ini
The Renegade Free Dedicated Server is a program that enables the hosting of a C&C Renegade server. When launched, it should start a separate console, change color, and display text, while reading in input which is interpreted as commands. When running the Renegade FDS under Wine via wineconsole --backend=user server.dat, a separate console is launched, but the color does not change, and no text is outputted. No output in the terminal where the wineconsole command was invoked is present. To install the FDS, download the installer, and when prompted for user/password/serial, the user/password can be made up, and the serial can be made up, but must start with 0669. Use this particular server.ini, which should be placed in the installation directory's Server directory, for testing purposes. The actual binary that launches the server is server.dat, in the Server directory.
http://bugs.winehq.org/show_bug.cgi?id=10404
--- Comment #1 from H. Verbeet hverbeet@gmail.com 2007-11-11 16:47:44 --- While this doesn't change anything wrt the bug, there is of course also the Linux FDS, even though it has some limitations.
http://bugs.winehq.org/show_bug.cgi?id=10404
--- Comment #2 from scguy318 nodisgod@yahoo.com 2007-11-11 23:07:31 --- I'm aware, but it's exactly those limitations that prompted me to test running the Windows FDS on Wine :).
http://bugs.winehq.org/show_bug.cgi?id=10404
Reijo Sund reijo.sund@helsinki.fi changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |reijo.sund@helsinki.fi
--- Comment #3 from Reijo Sund reijo.sund@helsinki.fi 2007-12-18 07:09:10 --- The problem is due to the failing AllocConsole() function, that occurs because wineconsole has already started a console for the server.dat process.
Actually that is not a bug. Because server.dat does not call FreeConsole() to drop the existing console, the AllocConsole function should fail, because a process can be associated with only one console: (http://msdn2.microsoft.com/en-us/library/ms681944.aspx).
Try running server.dat (or RenegadeServer.exe) with a standard wine. The starting console gets a correct title, and something happens in the screen. There seems to be problems with the output, but that is an issue for another bug..
http://bugs.winehq.org/show_bug.cgi?id=10404
--- Comment #4 from scguy318 nodisgod@yahoo.com 2007-12-20 02:24:13 --- I ran server.dat with plain Wine (wine server.dat) with same apparent results from what I saw.
http://bugs.winehq.org/show_bug.cgi?id=10404
James Hawkins truiken@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|_obsolete_console |programs
http://bugs.winehq.org/show_bug.cgi?id=10404
Benny mail2benny@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mail2benny@gmail.com
--- Comment #5 from Benny mail2benny@gmail.com 2008-01-13 07:31:36 --- When you run the program with plain wine in a terminal, with shell output (enabled), what happens?
http://bugs.winehq.org/show_bug.cgi?id=10404
--- Comment #6 from Kirill K. Smirnov lich@math.spbu.ru 2008-01-13 13:26:43 --- Created an attachment (id=10218) --> (http://bugs.winehq.org/attachment.cgi?id=10218) hack to get it working
My investigations:
1) Use "wine start" instead of "wine", "wineconsole" or "wineconsole --backend=user"
$ wine start RenegadeServer.exe
Otherwise this will not work.
2) For unknown reason this application always use 0xa3 as a console output handle. Use the attached hack to work around this problem.
3) So I managed to get the following text in wineconsole: [QUOTE] Renegade Free Dedicated Server v1.037 BH-838 01/23/2003 - 10:59:26 Console mode active File svrcfg_cnc.ini - Error: Max player count must be greater than 0
Error - server settings file 'svrcfg_cnc.ini' contains errors - aborting ** Press any key to continue ** [/QUOTE]
http://bugs.winehq.org/show_bug.cgi?id=10404
--- Comment #7 from scguy318 nodisgod@yahoo.com 2008-01-13 22:56:25 --- I've tested this patch, and I'm afraid to report that it does not work. Are there any traces you wish for me to obtain?
http://bugs.winehq.org/show_bug.cgi?id=10404
--- Comment #8 from scguy318 nodisgod@yahoo.com 2008-01-13 23:04:06 --- Oh, I should have mentioned with my earlier comment that doing anything with the created (and non-functional) console like Properties or using the scrollbar causes an X BadAlloc error:
X Error of failed request: BadAlloc (insufficient resources for operation) Major opcode of failed request: 53 (X_CreatePixmap) Serial number of failed request: 1427 Current serial number in output stream: 27459
http://bugs.winehq.org/show_bug.cgi?id=10404
--- Comment #9 from Austin English austinenglish@gmail.com 2008-06-04 14:27:15 --- Is this still an issue in 1.0-rc3?
http://bugs.winehq.org/show_bug.cgi?id=10404
scguy318 nodisgod@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #10 from scguy318 nodisgod@yahoo.com 2008-06-05 14:41:38 --- Original console issues seem to be fixed, there is still a problem that will be described in a different bug.
http://bugs.winehq.org/show_bug.cgi?id=10404
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #11 from Alexandre Julliard julliard@winehq.org 2008-06-06 10:39:23 --- Closing bugs fixed in 1.0-rc4.