Which native dlls can make change to program graphics?

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
James Huk

Which native dlls can make change to program graphics?

Post by James Huk »

Hello again.

Today I would like to ask if anybody knows... which dlls, that we can safely
override CAN make ANY changes to graphical output? In other words, which
native dlls should I test (any?) with apps that have graphical corruption –
to (hopefully) get rid of this corruption?

Thanks in advance (again ;] )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-us ... chment.htm>
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

Which native dlls can make change to program graphics?

Post by austin987 »

On Sun, May 3, 2009 at 4:42 AM, James Huk <[email protected]> wrote:
Hello again.

Today I would like to ask if anybody knows... which dlls, that we can safely
override CAN make ANY changes to graphical output? In other words, which
native dlls should I test (any?) with apps that have graphical corruption –
to (hopefully) get rid of this corruption?

Thanks in advance (again ;] )
There's a lot of them, depends on how the graphics are rendered.
Comctl32/gdiplus/riched20/d3d*/user32/commdlg/etc. Can you give a
screenshot or demo?

--
-Austin
Thunderbird
Level 5
Level 5
Posts: 336
Joined: Mon Nov 24, 2008 8:10 am

Post by Thunderbird »

He wants to know which dlls can be overriden. You can't use much native dlls in this area only gdiplus, riched32 but dlls like user32, comdlg32, comctl32 and so on can't be overridden.
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

Which native dlls can make change to program graphics?

Post by austin987 »

On Sun, May 3, 2009 at 9:15 AM, Thunderbird <[email protected]> wrote:
He wants to know which dlls can be overriden. You can't use much native dlls in this area only gdiplus, riched32 but dlls like user32, comdlg32, comctl32 and so on can't be overridden.
That was a bit unclear, thanks Thunderbird.

User32/gdi can't be overridden.

gdiplus/riched20/riched30 can be overridden
comdlg32/comctl32 can be overridden, but may cause weird problems
(e.g., comctl32 will render some stuff black, etc.)

He e-mailed me privately, asking about DX7:
"Well I would like to test the following(for now):

-Giants Citizen Kabuto (demo:
http://download.cnet.com/Giants-Citizen ... 54874.html
– however I didn't test it for this error – but they are there
probably)

-Operation Flashpoint (demo:
http://operationflashpoint.filefront.co ... 7#Download
– same as above)

Both games use DX7, and both suffer from disappearing shadow problem
(probably exactly the same bug). It would seam that this is related to
HW T&L – in Flashpoint, disabling HW T&L fixes shadows bug (but this
slows game down DRAMATICALLY – especially on modern Video Cards),
Giants are not playable without HW T&L (if I disable it graphics slows
down to 0 FPS and all textures disappear). I wanted to try native dlls
to see if this problem can be fixed that way.
PS
Tested with NVIDIA hardware."

If you can set the game to run in opengl mode, that may help.

--
-Austin
James Huk

Which native dlls can make change to program graphics?

Post by James Huk »

2009/5/3 Austin English <[email protected]>
On Sun, May 3, 2009 at 9:15 AM, Thunderbird <[email protected]>
wrote:
He wants to know which dlls can be overriden. You can't use much native
dlls in this area only gdiplus, riched32 but dlls like user32, comdlg32,
comctl32 and so on can't be overridden.

That was a bit unclear, thanks Thunderbird.

User32/gdi can't be overridden.

gdiplus/riched20/riched30 can be overridden
comdlg32/comctl32 can be overridden, but may cause weird problems
(e.g., comctl32 will render some stuff black, etc.)

He e-mailed me privately, asking about DX7:
"Well I would like to test the following(for now):

-Giants Citizen Kabuto (demo:

http://download.cnet.com/Giants-Citizen ... 54874.html
– however I didn't test it for this error – but they are there
probably)

-Operation Flashpoint (demo:

http://operationflashpoint.filefront.co ... 7#Download
– same as above)

Both games use DX7, and both suffer from disappearing shadow problem
(probably exactly the same bug). It would seam that this is related to
HW T&L – in Flashpoint, disabling HW T&L fixes shadows bug (but this
slows game down DRAMATICALLY – especially on modern Video Cards),
Giants are not playable without HW T&L (if I disable it graphics slows
down to 0 FPS and all textures disappear). I wanted to try native dlls
to see if this problem can be fixed that way.
PS
Tested with NVIDIA hardware."

If you can set the game to run in opengl mode, that may help.

--
-Austin

I must say I'm surprised, I thought dx*.dlls will be only ones related to
D3D rendering, I guess I have to test more. Unfortunately neither of this
games supports OpenGL (well there is a way for Flashpoint – I would have to
use zeckensack's Glide wrapper – it works with this game (with glitches).
zeckensack's Glide wrapper translates Glide to OpenGL. But is there a point
in trying something like that?)

“He e-mailed me privately”
I am sorry, I must have messed up something – that message was meant as
normal wine mailing list message, not as private message, thanks for posting
it. Guess I better start using forum layout instead of gmail ;]

Anyway thanks for answers – one more thing, should I use Windows 9x or NT
based dlls? Probably those from XP but I had to ask...

Best regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-us ... chment.htm>
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

Which native dlls can make change to program graphics?

Post by austin987 »

On Sun, May 3, 2009 at 5:22 PM, James Huk <[email protected]> wrote:
2009/5/3 Austin English <[email protected]>
On Sun, May 3, 2009 at 9:15 AM, Thunderbird <[email protected]>
wrote:
He wants to know which dlls can be overriden. You can't use much native
dlls in this area only gdiplus, riched32 but dlls like user32, comdlg32,
comctl32 and so on can't be overridden.

That was a bit unclear, thanks Thunderbird.

User32/gdi can't be overridden.

gdiplus/riched20/riched30 can be overridden
comdlg32/comctl32 can be overridden, but may cause weird problems
(e.g., comctl32 will render some stuff black, etc.)

He e-mailed me privately, asking about DX7:
"Well I would like to test the following(for now):

-Giants Citizen Kabuto (demo:

http://download.cnet.com/Giants-Citizen ... 54874.html
– however I didn't test it for this error – but they are there
probably)

-Operation Flashpoint (demo:

http://operationflashpoint.filefront.co ... 7#Download
– same as above)

Both games use DX7, and both suffer from disappearing shadow problem
(probably exactly the same bug). It would seam that this is related to
HW T&L – in Flashpoint, disabling HW T&L fixes shadows bug (but this
slows game down DRAMATICALLY – especially on modern Video Cards),
Giants are not playable without HW T&L (if I disable it graphics slows
down to 0 FPS and all textures disappear). I wanted to try native dlls
to see if this problem can be fixed that way.
PS
Tested with NVIDIA hardware."

If you can set the game to run in opengl mode, that may help.

--
-Austin

I must say I'm surprised, I thought dx*.dlls will be only ones related to
D3D rendering, I guess I have to test more. Unfortunately neither of this
games supports OpenGL (well there is a way for Flashpoint – I would have to
use zeckensack's Glide wrapper – it works with this game (with glitches).
zeckensack's Glide wrapper translates Glide to OpenGL. But is there a point
in trying something like that?)

“He e-mailed me privatelyâ€
Locked