https://bugs.winehq.org/show_bug.cgi?id=46012
Bug ID: 46012 Summary: Command & Conquer 3: Kane's Wrath (1.03) Invisible units and tiberium Product: Wine-staging Version: 3.18 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: huematrix@mailinator.com CC: leslie_alistair@hotmail.com, z.figura12@gmail.com Distribution: ---
Created attachment 62582 --> https://bugs.winehq.org/attachment.cgi?id=62582 Log file
When loading in Command and Conquer 3: Kane's Wrath (Unofficial patch 1.03, but from Origin), every unit, tiberium, as well as some of the scenery, are invisible.
Changing the graphics settings didn't change anything, attached is the log with tons of d3d9 errors.
https://bugs.winehq.org/show_bug.cgi?id=46012
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #1 from joaopa jeremielapuree@yahoo.fr --- Does a native d3dx9_36.dll help?
https://bugs.winehq.org/show_bug.cgi?id=46012
--- Comment #2 from huematrix@mailinator.com --- (In reply to joaopa from comment #1)
Does a native d3dx9_36.dll help?
Nope, still the same issue.
https://bugs.winehq.org/show_bug.cgi?id=46012
--- Comment #3 from joaopa jeremielapuree@yahoo.fr --- Can you add a new log file with using native d3dx9_36 dll
https://bugs.winehq.org/show_bug.cgi?id=46012
--- Comment #4 from Zebediah Figura z.figura12@gmail.com --- It may also be a different d3dx DLL that this game is trying to use; I'd check a +loaddll log to see which.
In any case, does this error occur with upstream Wine? Or if the game is unplayable (or breaks sooner) with upstream Wine, is it known which Staging patches are necessary for the game to work?
https://bugs.winehq.org/show_bug.cgi?id=46012
--- Comment #5 from huematrix@mailinator.com --- Created attachment 62586 --> https://bugs.winehq.org/attachment.cgi?id=62586 Using native d3dx9_36.dll
@joaopa Attached is the log using the native d3dx9_36.dll.
https://bugs.winehq.org/show_bug.cgi?id=46012
--- Comment #6 from huematrix@mailinator.com --- Created attachment 62587 --> https://bugs.winehq.org/attachment.cgi?id=62587 Log file with WINEDEBUG=+loaddll
@Zebediah Figura According to the WineHQ page it worked on Wine 2.2, but there aren't any recent tests on newer versions.
Attached is the log file with WINEDEBUG=+loaddll
https://bugs.winehq.org/show_bug.cgi?id=46012
--- Comment #7 from joaopa jeremielapuree@yahoo.fr --- If you actually used a native d3dx9_36 dll, you would not have such messages: fixme:d3dx:ID3DXEffectImpl_ValidateTechnique iface 0x1768ac08, technique 0x17690130 semi-stub
You misused native dll.
https://bugs.winehq.org/show_bug.cgi?id=46012
--- Comment #8 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- (In reply to joaopa from comment #3)
Can you add a new log file with using native d3dx9_36 dll
You will need to override d3dx9_29 based of the loaddll log.
0035:trace:loaddll:load_builtin_dll Loaded L"C:\windows\system32\d3dx9_29.dll" at 0x7d710000: builtin
https://bugs.winehq.org/show_bug.cgi?id=46012
Matteo Bruni matteo.mystral@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Product|Wine-staging |Wine Component|-unknown |directx-d3dx9
https://bugs.winehq.org/show_bug.cgi?id=46012
--- Comment #9 from Matteo Bruni matteo.mystral@gmail.com --- I guess unimplemented SetRawValue() is the issue here.
https://bugs.winehq.org/show_bug.cgi?id=46012
--- Comment #10 from joaopa jeremielapuree@yahoo.fr --- SetRawValue is still not implemented in wine-5.0-rc5. Maybe Paul Gofman would be interested in implementing it ....
https://bugs.winehq.org/show_bug.cgi?id=46012
Patrick Hibbs hibbsncc1701@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hibbsncc1701@gmail.com
--- Comment #11 from Patrick Hibbs hibbsncc1701@gmail.com --- Still present in wine-7.18. It also affects the base game (Command and Conquer 3: Tiberium Wars) as well.
https://bugs.winehq.org/show_bug.cgi?id=46012
kolAflash kolAflash@kolahilft.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |kolAflash@kolahilft.de
--- Comment #12 from kolAflash kolAflash@kolahilft.de --- Easy workaround: winetricks d3dx9
Related: wine-staging-8.0 regression (not working): Command & Conquer 3: Tiberium Wars Kane's Wrath https://bugs.winehq.org/show_bug.cgi?id=54436
https://bugs.winehq.org/show_bug.cgi?id=46012
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |imwellcushtymelike@gmail.co | |m
https://bugs.winehq.org/show_bug.cgi?id=46012
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |NEW Severity|normal |minor
--- Comment #13 from Ken Sharp imwellcushtymelike@gmail.com --- Still an issue in Wine 9.6. Native d3dx9_29 is the workaround with patch 1.02. The unoffical patch may need another DLL (as suggested above).
https://bugs.winehq.org/show_bug.cgi?id=46012
Aida Jonikienė aidas957@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |aidas957@gmail.com
--- Comment #14 from Aida Jonikienė aidas957@gmail.com --- Created attachment 76323 --> https://bugs.winehq.org/attachment.cgi?id=76323 WIP patch for SetRawValue()
I tried to implement the SetRawValue() function (because Need for Speed: World seems to need it for rendering the game) but it doesn't work well in that game (I get vertex explosions instead of no rendering)
I'm leaving this patch here to see if anyone knows what's wrong with it (or just to experiment with it in this game)
https://bugs.winehq.org/show_bug.cgi?id=46012
--- Comment #15 from Aida Jonikienė aidas957@gmail.com --- I forgot to check the merge request list because someone else already made a MR for that function (with tests too): https://gitlab.winehq.org/wine/wine/-/merge_requests/979
So you should test that instead of my hacky patch
https://bugs.winehq.org/show_bug.cgi?id=46012
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
https://bugs.winehq.org/show_bug.cgi?id=46012
--- Comment #16 from Ken Sharp imwellcushtymelike@gmail.com --- It doesn't look like that MR will be merged any time soon.