http://bugs.winehq.org/show_bug.cgi?id=6028
Summary: Rome: Total War too many shaders error (appears to be hardcoded to max of 64) Product: Wine Version: CVS Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: djones9960@gmail.com
Using wine 0.9.19 (and wine CVS from 19/08/2006), Rome: Total War installs fine and you can get all the way to the menu screen. Unfortunately, when it comes to the campaign map the thing crashes out with a 'd3d8: too many shaders' error.
Looking in the code, I found in $WINE_SOURCE/dlls/d3d8/d3d8_private.h the following setting:
#define MAX_SHADERS 64
This is just to say that I changed that to:
#define MAX_SHADERS 256
...and I got to the campaign map. I don't know what knock-on effect this will have (or indeed why there is a limit) so I'm submitting this as an FYI bug.