https://bugs.winehq.org/show_bug.cgi?id=19153
Michael Müller michael@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |michael@fds-team.de
--- Comment #16 from Michael Müller michael@fds-team.de --- (In reply to Andrew D'Addesio from comment #12)
This my first time posting to the Wine bugtracker / mailing lists and this is my first time entering the Wine community, and I'm not sure what your policy is towards online games which are no longer ("officially") playable. I can see why it might be undesirable to rename devices to appear as if they were Microsoft's, just to provide compatibility to a few titles.
If the application works on Windows but fails to run in Wine than this is a bug and it should be fixed. I am not sure if there is a strict policy for patched game clients, but there is at least another open bug report for a different game. Nevertheless, fixing this bug might also fix other games and you can also show the problem using a wine test. The actual game is therefore not so important.
The first step would be to integrate your test program into the existing ddraw wine tests: http://source.winehq.org/git/wine.git/tree/HEAD:/dlls/ddraw/tests (or ddrawex if it only happens when using DirectDrawCreateEx)
Using the "RGB Emulation" string for the device is also no problem. The device is already enumerated depending on the ddraw version: http://source.winehq.org/git/wine.git/blob/HEAD:/dlls/ddraw/ddraw.c#l3616
There is a lengthy comment about the consequences of (not) enumerating the reference renderer (i.e. the RGB emulation device) and it seems hard to find a solution which suits all games. The DirectDraw / IDirect3DDevice3 API is quite old and it is possible that the behavior changed between windows versions. It might therefore be necessary to add a registry to enable / disable the RGB emulation device as it is the case on (at least older versions of) Windows. If you find a solution which works with all mentioned games without adding more registry keys, this would be better.