https://bugs.winehq.org/show_bug.cgi?id=8051
--- Comment #181 from Chebanenko Igor chebanenkoigor93@gmail.com --- My ideas about The Sims 2. Looks like it will be stupid ideas,but still...
From Wine logs:
00e0:trace:d3d9:d3d9_device_SetVertexShaderConstantF iface 010E8870, reg_idx 0, data 011111D0, count 1024. 00e0:warn:d3d9:d3d9_device_SetVertexShaderConstantF Trying to access 1024 constants, but d3d9 only supports 256
The Sims 2 needs 1024 constants,but we have only 256.
Maths tells that 256*4=1024.
And so,in theory,we can make 4 array data structures with 256 constants. And it will be 1024 constants. But in that case,Wine must cooperate with array structures in proper way,if program will ask some constants,which is in 2 or more arrays,it have to switch between arrays,Wine will extract data and game will be happy.
That's stupid idea #1.
Stupid idea #2. We still can make 4 array data structures (256*4),but we need to make Wine's interpretation of this,as ONE big array with 1024 constants.
That's All Folks! :)