http://bugs.winehq.org/show_bug.cgi?id=32572
Bug #: 32572 Summary: Alpha Polaris doesn't play well with built-in d3dx9 libraries Product: Wine Version: 1.5.20 Platform: x86 URL: http://www.gamershell.com/download_75822.shtml OS/Version: Linux Status: NEW Keywords: download Severity: minor Priority: P2 Component: directx-d3dx9 AssignedTo: wine-bugs@winehq.org ReportedBy: gyebro69@gmail.com CC: wine-bugs@winehq.org Classification: Unclassified
Created attachment 42985 --> http://bugs.winehq.org/attachment.cgi?id=42985 terminal output
The game comes with native d3dx9_34.dll installed in the game directory, the reported problems happen only when you set it to built-in. wine-1.5.20-57-gdabde6a or newer is needed to test this bug (a follow-up to bug #27627).
The game starts and loads to the menu fine with the built-in d3dx9_34 but you will face several issues throughout the game.
Install the demo then start it with AlphaPolaris.exe. Click <OK> in the launcher and get in the game. Start a new game from the menu, skip the intro video. Here are some issues I noticed with built-in d3dx:
- anytime you press a key (either in the menu or in mid-game) a black bar appears in the upper left corner. An error message from the game engine (Wintermute) is hiding behind those black bars, as I've seen those in the game from bug #29495. "Script runtime error. View log for details". - the game begins with a conversation but dialogues/subtitles are displayed so fast that you can hardly read them. Probably due to this, most of the audio (speech) is missing from the game. - when the opening conversation ends you should see the main character standing in front of his bed. With built-in d3dx the character is missing (invisible). - the game tends to crash on exit as can be seen in the attached log file.
All those issues are non-existent when d3dx9_34=native.
Saved games that were created with built-in d3dx9_34 are also affected. If you load a saved game created with built-in, those issues are present, even if the game was started with native.
http://bugs.winehq.org/show_bug.cgi?id=32572
--- Comment #1 from GyB gyebro69@gmail.com 2012-12-27 23:33:45 CST --- Created attachment 42986 --> http://bugs.winehq.org/attachment.cgi?id=42986 +d3dx log (uncompressed 1.9 MB)
http://bugs.winehq.org/show_bug.cgi?id=32572
Christian Costa titan.costa@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |titan.costa@gmail.com
--- Comment #2 from Christian Costa titan.costa@gmail.com 2013-01-20 12:43:20 CST --- Builtin d3dx9_34 forwards all calls to d3dx9_36. You can use builtin d3dx9_34 and native d3dx9_36 to workaround the problem. Current builtin d3dx9_36 has limited support for X files. Development is in progress. just wait a bit until the implementation is finished.
http://bugs.winehq.org/show_bug.cgi?id=32572
--- Comment #3 from Christian Costa titan.costa@gmail.com 2013-05-09 08:02:36 CDT --- D3DXFile implementation is complete. There is 2 bugs remaining tough. I sent patches for them: - patch 96112 - patch 96139 (needs some more work)
The next step is implementing D3DXLoadSkinMeshFromXof. It's done in my tree. I can get the character displayed but the skinning does not work well. We are very close...
http://bugs.winehq.org/show_bug.cgi?id=32572
--- Comment #4 from Christian Costa titan.costa@gmail.com 2013-05-10 12:16:35 CDT --- Ok. I got the skinning code working. But I need patch 96112 to be commited somehow before submitting all next patches.
http://bugs.winehq.org/show_bug.cgi?id=32572
--- Comment #5 from Christian Costa titan.costa@gmail.com 2013-05-10 12:20:31 CDT --- Note that all dialogs and subtitles works fine with all the patches. I noticed font problems in load/save game screen. I'm working on it.
http://bugs.winehq.org/show_bug.cgi?id=32572
--- Comment #6 from Christian Costa titan.costa@gmail.com 2013-05-26 04:23:17 CDT --- The font issue in load/save screen is fixed by: http://source.winehq.org/git/wine.git/?a=commit;h=aa1d24f09bd78ebfc5c15438f3... http://source.winehq.org/git/wine.git/?a=commit;h=a131d714ffb0c0dd9415e6b3b3... http://source.winehq.org/git/wine.git/?a=commit;h=edb01d2662748125b7ef7d9a1d...
Last ID3DXFile bug is fixed by: http://source.winehq.org/git/wine.git/?a=commit;h=635f76b085c46f4056684fd185...
Mesh code is fixed by: http://source.winehq.org/patches/data/96378 http://source.winehq.org/patches/data/96379
The is one remaining patch I need to submit for skinning.
http://bugs.winehq.org/show_bug.cgi?id=32572
--- Comment #7 from Christian Costa titan.costa@gmail.com 2013-05-29 15:07:33 CDT --- Mesh patches commited: - http://source.winehq.org/git/wine.git/?a=commit;h=31ae8b6a1252dc1553b3f4e8fd... - http://source.winehq.org/git/wine.git/?a=commit;h=e558925d75eac467ea793697a2...
1 remaining patch for skinning and we're done.
http://bugs.winehq.org/show_bug.cgi?id=32572
--- Comment #8 from Bruno Jesus 00cpxxx@gmail.com --- (In reply to comment #7)
Mesh patches commited: ... 1 remaining patch for skinning and we're done.
Any news on the remaining patch?
https://bugs.winehq.org/show_bug.cgi?id=32572
--- Comment #9 from Béla Gyebrószki gyebro69@gmail.com --- The only remaining problem (models not animating) is fixed by the patch from wine-staging: https://github.com/wine-compholio/wine-staging/blob/master/patches/d3dx9_36-...
wine-1.7.34-36-g4493323
https://bugs.winehq.org/show_bug.cgi?id=32572
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian@fds-team.de
https://bugs.winehq.org/show_bug.cgi?id=32572
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net
--- Comment #10 from Anastasius Focht focht@gmx.net --- Hello folks,
next time please avoid this meta "feature" tickets but target individual issues. You reused the ticket multiple times (ending up with potential dupes).
Regards
https://bugs.winehq.org/show_bug.cgi?id=32572
Michael Müller michael@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |STAGED CC| |michael@fds-team.de Staged patchset| |https://github.com/wine-com | |pholio/wine-staging/tree/ma | |ster/patches/d3dx9_36-Updat | |eSkinnedMesh
https://bugs.winehq.org/show_bug.cgi?id=32572
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
https://bugs.winehq.org/show_bug.cgi?id=32572
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nerv@dawncrow.de Staged patchset|https://github.com/wine-com |https://github.com/wine-sta |pholio/wine-staging/tree/ma |ging/wine-staging/tree/mast |ster/patches/d3dx9_36-Updat |er/patches/d3dx9_36-UpdateS |eSkinnedMesh |kinnedMesh
https://bugs.winehq.org/show_bug.cgi?id=32572
Andrey Gusev andrey.goosev@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Alpha Polaris doesn't play |Multiple games have no |well with built-in d3dx9 |character animation (Alpha |libraries |Polaris, Face Noir, A | |Stroke of Fate series)