http://bugs.winehq.org/show_bug.cgi?id=31844
Bug #: 31844 Summary: CitiesXL (all versions) needs native D3DXCreateSphere (purist) Product: Wine Version: 1.5.12 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: directx-d3dx9 AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com CC: wine-bugs@winehq.org Classification: Unclassified
The free CitiesXL demo http://www.fileplanet.com/204724/200000/fileinfo/Cities-XL-Demo 53833dbbe9cf49eb7e05c85b4be9acf217e91a28 CitiesXLDemo.zip crashes on startup with 'winetricks alldlls=builtin'; the log says
fixme:d3dx:D3DXCreateSphere Case of adjacency != NULL not implemented. wine: Unhandled page fault on read access to 0x00000000 at address 0x4544d2 (thread 003c), starting debugger... Backtrace: =>0 0x004544d2 in graph3d 1 0x0047fdd4 in graph3d 2 0x00bd4ff6 in gameengine_win32shipping
This also affects the gamefly download version of CitiesXL 2011 and reportedly also CitiesXL 2012.
'winetricks d3dx9_36=native' works around the problem, and lets you get past the intro movie. (The demo then puts up a dialog saying the beta is over.)
http://bugs.winehq.org/show_bug.cgi?id=31844
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://www.fileplanet.com/2 | |04724/200000/fileinfo/Citie | |s-XL-Demo
http://bugs.winehq.org/show_bug.cgi?id=31844
Andrew Aladjev aladjev.andrew@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |aladjev.andrew@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=31844
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #1 from joaopa jeremielapuree@yahoo.fr 2012-10-15 15:04:48 CDT --- Title of this bug needs to be changed in Adjacency needs to be implemented in D3DXCreateSphere
since D3DXCreateSphere is already implemented.
http://bugs.winehq.org/show_bug.cgi?id=31844
--- Comment #2 from nozomi kodama nozomi.kodama@yahoo.com 2013-06-15 23:53:40 CDT --- Created attachment 44823 --> http://bugs.winehq.org/attachment.cgi?id=44823 implement the missing functionality
Hello.
Can you give a try to this patch?
http://bugs.winehq.org/show_bug.cgi?id=31844
--- Comment #3 from Dan Kegel dank@kegel.com 2013-06-18 06:50:44 CDT --- Crashes with a null pointer read at
0x7de6c684 D3DXCreateSphere+0x5c4 [dlls/d3dx9_36/mesh.c:4745] in d3dx9_36: movl 0x0(%eax),%edx 4745 buffer = ID3DXBuffer_GetBufferPointer(*adjacency);
To repeat, I did cd $WINEPREFIX/"drive_c/Program Files/Monte Cristo/Cities XL - Demo" sh ~/winetricks/src/winetricks d3dx9_36=builtin $WINE CitiesXL_Game.exe
http://bugs.winehq.org/show_bug.cgi?id=31844
nozomi kodama nozomi.kodama@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #44823|0 |1 is obsolete| |
--- Comment #4 from nozomi kodama nozomi.kodama@yahoo.com 2013-06-20 06:33:57 CDT --- Created attachment 44885 --> http://bugs.winehq.org/attachment.cgi?id=44885 Implement adjacency (try 2)
Can you give a try to this patch?
All the tests pass in Windows.
http://bugs.winehq.org/show_bug.cgi?id=31844
--- Comment #5 from Dan Kegel dank@kegel.com 2013-06-20 10:19:24 CDT --- That prevents the crash.
The next bug is bug 26379.
http://bugs.winehq.org/show_bug.cgi?id=31844
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
http://bugs.winehq.org/show_bug.cgi?id=31844
Qian Hong fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fracting@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=31844
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gyebro69@gmail.com
--- Comment #6 from GyB gyebro69@gmail.com 2013-12-10 10:12:25 CST --- Still present in wine-1.7.8-6-g288f3ac
http://bugs.winehq.org/show_bug.cgi?id=31844
--- Comment #7 from Andrey Gusev andrey.goosev@gmail.com --- Still in 1.7.17
http://bugs.winehq.org/show_bug.cgi?id=31844
--- Comment #8 from Gediminas Jakutis gediminas@varciai.lt --- Adjacency generation for D3DXCreateSphere is now implemented since commit dc115a2c917f9fa2b951292795e5717703755c93 Can You retest with the latest git, please?
http://bugs.winehq.org/show_bug.cgi?id=31844
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |dc115a2c917f9fa2b951292795e | |5717703755c93 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #9 from Béla Gyebrószki gyebro69@gmail.com --- Now it's crashing due to unimplemented D3DXComputeNormals function which is bug #26379.
... wine: Unimplemented function d3dx9_36.dll.D3DXComputeNormals called at address 0x7b83aa8e (thread 000d), starting debugger... Unhandled exception: unimplemented function d3dx9_36.dll.D3DXComputeNormals called in 32-bit code (0x7b83aa8e). ...
wine-1.7.21-50-g10e6a66
https://bugs.winehq.org/show_bug.cgi?id=31844
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.22.
https://bugs.winehq.org/show_bug.cgi?id=31844
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.fileplanet.com/2 |https://web.archive.org/web |04724/200000/fileinfo/Citie |/20210706063729/http://down |s-XL-Demo |load.fileplanet.com/ftp1/09 | |2009/CitiesXLDemo.zip?st=Wb | |3c1V2woO0QBfz-c6vCJw&e=1625 | |564232 CC| |focht@gmx.net